@skeletonlabs/skeleton 3.0.0-next.1 → 3.0.0-next.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,270 +0,0 @@
1
- import * as tailwindcss_types_config_js from 'tailwindcss/types/config.js';
2
-
3
- type Theme = {
4
- name: string;
5
- properties: ThemeProperties;
6
- };
7
- type ThemeProperties = {
8
- '--space-scale-factor': string;
9
- '--type-scale-factor': string;
10
- '--type-scale-1': string;
11
- '--type-scale-2': string;
12
- '--type-scale-3': string;
13
- '--type-scale-4': string;
14
- '--type-scale-5': string;
15
- '--type-scale-6': string;
16
- '--type-scale-7': string;
17
- '--type-scale-8': string;
18
- '--type-scale-9': string;
19
- '--type-scale-10': string;
20
- '--type-scale-11': string;
21
- '--type-scale-12': string;
22
- '--type-scale-13': string;
23
- '--base-font-color': string;
24
- '--base-font-color-dark': string;
25
- '--base-font-family': string;
26
- '--base-font-size': string;
27
- '--base-line-height': string;
28
- '--base-font-weight': string;
29
- '--base-font-style': string;
30
- '--base-letter-spacing': string;
31
- '--heading-font-color': string;
32
- '--heading-font-color-dark': string;
33
- '--heading-font-family': string;
34
- '--heading-font-weight': string;
35
- '--heading-font-style': string;
36
- '--heading-letter-spacing': string;
37
- '--anchor-font-color': string;
38
- '--anchor-font-color-dark': string;
39
- '--anchor-font-family': string;
40
- '--anchor-font-size': string;
41
- '--anchor-line-height': string;
42
- '--anchor-font-weight': string;
43
- '--anchor-font-style': string;
44
- '--anchor-letter-spacing': string;
45
- '--anchor-text-decoration': string;
46
- '--anchor-text-decoration-hover': string;
47
- '--anchor-text-decoration-active': string;
48
- '--anchor-text-decoration-focus': string;
49
- '--body-background-color': string;
50
- '--body-background-color-dark': string;
51
- '--radii-default': string;
52
- '--radii-container': string;
53
- '--border-width-default': string;
54
- '--ring-width-default': string;
55
- '--outline-width-default': string;
56
- '--divide-width-default': string;
57
- '--color-primary-50': string;
58
- '--color-primary-100': string;
59
- '--color-primary-200': string;
60
- '--color-primary-300': string;
61
- '--color-primary-400': string;
62
- '--color-primary-500': string;
63
- '--color-primary-600': string;
64
- '--color-primary-700': string;
65
- '--color-primary-800': string;
66
- '--color-primary-900': string;
67
- '--color-primary-950': string;
68
- '--color-primary-contrast-dark': string;
69
- '--color-primary-contrast-light': string;
70
- '--color-primary-contrast-50': string;
71
- '--color-primary-contrast-100': string;
72
- '--color-primary-contrast-200': string;
73
- '--color-primary-contrast-300': string;
74
- '--color-primary-contrast-400': string;
75
- '--color-primary-contrast-500': string;
76
- '--color-primary-contrast-600': string;
77
- '--color-primary-contrast-700': string;
78
- '--color-primary-contrast-800': string;
79
- '--color-primary-contrast-900': string;
80
- '--color-primary-contrast-950': string;
81
- '--color-secondary-50': string;
82
- '--color-secondary-100': string;
83
- '--color-secondary-200': string;
84
- '--color-secondary-300': string;
85
- '--color-secondary-400': string;
86
- '--color-secondary-500': string;
87
- '--color-secondary-600': string;
88
- '--color-secondary-700': string;
89
- '--color-secondary-800': string;
90
- '--color-secondary-900': string;
91
- '--color-secondary-950': string;
92
- '--color-secondary-contrast-dark': string;
93
- '--color-secondary-contrast-light': string;
94
- '--color-secondary-contrast-50': string;
95
- '--color-secondary-contrast-100': string;
96
- '--color-secondary-contrast-200': string;
97
- '--color-secondary-contrast-300': string;
98
- '--color-secondary-contrast-400': string;
99
- '--color-secondary-contrast-500': string;
100
- '--color-secondary-contrast-600': string;
101
- '--color-secondary-contrast-700': string;
102
- '--color-secondary-contrast-800': string;
103
- '--color-secondary-contrast-900': string;
104
- '--color-secondary-contrast-950': string;
105
- '--color-tertiary-50': string;
106
- '--color-tertiary-100': string;
107
- '--color-tertiary-200': string;
108
- '--color-tertiary-300': string;
109
- '--color-tertiary-400': string;
110
- '--color-tertiary-500': string;
111
- '--color-tertiary-600': string;
112
- '--color-tertiary-700': string;
113
- '--color-tertiary-800': string;
114
- '--color-tertiary-900': string;
115
- '--color-tertiary-950': string;
116
- '--color-tertiary-contrast-dark': string;
117
- '--color-tertiary-contrast-light': string;
118
- '--color-tertiary-contrast-50': string;
119
- '--color-tertiary-contrast-100': string;
120
- '--color-tertiary-contrast-200': string;
121
- '--color-tertiary-contrast-300': string;
122
- '--color-tertiary-contrast-400': string;
123
- '--color-tertiary-contrast-500': string;
124
- '--color-tertiary-contrast-600': string;
125
- '--color-tertiary-contrast-700': string;
126
- '--color-tertiary-contrast-800': string;
127
- '--color-tertiary-contrast-900': string;
128
- '--color-tertiary-contrast-950': string;
129
- '--color-success-50': string;
130
- '--color-success-100': string;
131
- '--color-success-200': string;
132
- '--color-success-300': string;
133
- '--color-success-400': string;
134
- '--color-success-500': string;
135
- '--color-success-600': string;
136
- '--color-success-700': string;
137
- '--color-success-800': string;
138
- '--color-success-900': string;
139
- '--color-success-950': string;
140
- '--color-success-contrast-dark': string;
141
- '--color-success-contrast-light': string;
142
- '--color-success-contrast-50': string;
143
- '--color-success-contrast-100': string;
144
- '--color-success-contrast-200': string;
145
- '--color-success-contrast-300': string;
146
- '--color-success-contrast-400': string;
147
- '--color-success-contrast-500': string;
148
- '--color-success-contrast-600': string;
149
- '--color-success-contrast-700': string;
150
- '--color-success-contrast-800': string;
151
- '--color-success-contrast-900': string;
152
- '--color-success-contrast-950': string;
153
- '--color-warning-50': string;
154
- '--color-warning-100': string;
155
- '--color-warning-200': string;
156
- '--color-warning-300': string;
157
- '--color-warning-400': string;
158
- '--color-warning-500': string;
159
- '--color-warning-600': string;
160
- '--color-warning-700': string;
161
- '--color-warning-800': string;
162
- '--color-warning-900': string;
163
- '--color-warning-950': string;
164
- '--color-warning-contrast-dark': string;
165
- '--color-warning-contrast-light': string;
166
- '--color-warning-contrast-50': string;
167
- '--color-warning-contrast-100': string;
168
- '--color-warning-contrast-200': string;
169
- '--color-warning-contrast-300': string;
170
- '--color-warning-contrast-400': string;
171
- '--color-warning-contrast-500': string;
172
- '--color-warning-contrast-600': string;
173
- '--color-warning-contrast-700': string;
174
- '--color-warning-contrast-800': string;
175
- '--color-warning-contrast-900': string;
176
- '--color-warning-contrast-950': string;
177
- '--color-error-50': string;
178
- '--color-error-100': string;
179
- '--color-error-200': string;
180
- '--color-error-300': string;
181
- '--color-error-400': string;
182
- '--color-error-500': string;
183
- '--color-error-600': string;
184
- '--color-error-700': string;
185
- '--color-error-800': string;
186
- '--color-error-900': string;
187
- '--color-error-950': string;
188
- '--color-error-contrast-dark': string;
189
- '--color-error-contrast-light': string;
190
- '--color-error-contrast-50': string;
191
- '--color-error-contrast-100': string;
192
- '--color-error-contrast-200': string;
193
- '--color-error-contrast-300': string;
194
- '--color-error-contrast-400': string;
195
- '--color-error-contrast-500': string;
196
- '--color-error-contrast-600': string;
197
- '--color-error-contrast-700': string;
198
- '--color-error-contrast-800': string;
199
- '--color-error-contrast-900': string;
200
- '--color-error-contrast-950': string;
201
- '--color-surface-50': string;
202
- '--color-surface-100': string;
203
- '--color-surface-200': string;
204
- '--color-surface-300': string;
205
- '--color-surface-400': string;
206
- '--color-surface-500': string;
207
- '--color-surface-600': string;
208
- '--color-surface-700': string;
209
- '--color-surface-800': string;
210
- '--color-surface-900': string;
211
- '--color-surface-950': string;
212
- '--color-surface-contrast-dark': string;
213
- '--color-surface-contrast-light': string;
214
- '--color-surface-contrast-50': string;
215
- '--color-surface-contrast-100': string;
216
- '--color-surface-contrast-200': string;
217
- '--color-surface-contrast-300': string;
218
- '--color-surface-contrast-400': string;
219
- '--color-surface-contrast-500': string;
220
- '--color-surface-contrast-600': string;
221
- '--color-surface-contrast-700': string;
222
- '--color-surface-contrast-800': string;
223
- '--color-surface-contrast-900': string;
224
- '--color-surface-contrast-950': string;
225
- };
226
-
227
- type ConfigOptions = {
228
- /**
229
- * Prefixes Skeleton component classes with a specified string.
230
- *
231
- * This should be used when there are Skeleton class names
232
- * that conflict with other plugins. For example, our `btn` class
233
- * can often conflict with other UI libraries.
234
- *
235
- * **NOTE:** Only use this if you're using this plugin WITHOUT
236
- * our accompanying component library, `@skeletonlabs/skeleton`.
237
- *
238
- * @example
239
- * // Skeleton classes will be prefixed with 'sk-' (e.g., sk-btn)
240
- * prefix = 'sk-'
241
- *
242
- * @default ''
243
- */
244
- prefix?: string;
245
- /**
246
- * Whether to include Skeleton's base styles.
247
- * @default true
248
- */
249
- base?: boolean;
250
- /**
251
- * Theme config for configuring your themes.
252
- *
253
- * @example
254
- * import * as themes from "@skeletonlabs/skeleton/themes";
255
- * import myCustomTheme from "./custom-theme.js"
256
- *
257
- * skeleton({ themes: [myCustomTheme, themes.cerberus, themes.pine] })
258
- */
259
- themes?: Array<Theme>;
260
- };
261
-
262
- declare const skeleton: {
263
- (options: ConfigOptions): {
264
- handler: tailwindcss_types_config_js.PluginCreator;
265
- config?: Partial<tailwindcss_types_config_js.Config> | undefined;
266
- };
267
- __isOptionsFunction: true;
268
- };
269
-
270
- export { ConfigOptions, Theme, skeleton };