@unocss/preset-mini 66.5.11 → 66.6.0-beta.1
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.
- package/dist/colors-C9l2trjD.d.mts +431 -0
- package/dist/colors.d.mts +1 -1
- package/dist/{index-RNt7vgvR.d.mts → index-CnsmLem5.d.mts} +4 -2
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{rules-CuP-xMI2.mjs → rules-Cc0JK3VG.mjs} +15 -3
- package/dist/rules.d.mts +3 -1
- package/dist/rules.mjs +1 -2
- package/dist/{theme-B_nKnyti.d.mts → theme-5nLH7UVx.d.mts} +3 -2
- package/dist/{theme-DeYMqZAV.mjs → theme-B2Jp9h34.mjs} +1 -1
- package/dist/theme.d.mts +2 -2
- package/dist/theme.mjs +1 -2
- package/dist/utils-CNv_IKMQ.d.mts +122 -0
- package/dist/utils.d.mts +5 -2
- package/dist/variants.d.mts +5 -2
- package/package.json +4 -4
- package/dist/colors-CdGFctaC.d.mts +0 -1377
- package/dist/utils-BIIzJZek.d.mts +0 -234
|
@@ -0,0 +1,431 @@
|
|
|
1
|
+
import { Arrayable, CSSObject } from "@unocss/core";
|
|
2
|
+
|
|
3
|
+
//#region src/_theme/types.d.ts
|
|
4
|
+
interface ThemeAnimation {
|
|
5
|
+
keyframes?: Record<string, string>;
|
|
6
|
+
durations?: Record<string, string>;
|
|
7
|
+
timingFns?: Record<string, string>;
|
|
8
|
+
properties?: Record<string, object>;
|
|
9
|
+
counts?: Record<string, string | number>;
|
|
10
|
+
category?: Record<string, string>;
|
|
11
|
+
}
|
|
12
|
+
interface Colors {
|
|
13
|
+
[key: string]: Colors & {
|
|
14
|
+
DEFAULT?: string;
|
|
15
|
+
} | string;
|
|
16
|
+
}
|
|
17
|
+
interface Theme {
|
|
18
|
+
width?: Record<string, string>;
|
|
19
|
+
height?: Record<string, string>;
|
|
20
|
+
maxWidth?: Record<string, string>;
|
|
21
|
+
maxHeight?: Record<string, string>;
|
|
22
|
+
minWidth?: Record<string, string>;
|
|
23
|
+
minHeight?: Record<string, string>;
|
|
24
|
+
inlineSize?: Record<string, string>;
|
|
25
|
+
blockSize?: Record<string, string>;
|
|
26
|
+
maxInlineSize?: Record<string, string>;
|
|
27
|
+
maxBlockSize?: Record<string, string>;
|
|
28
|
+
minInlineSize?: Record<string, string>;
|
|
29
|
+
minBlockSize?: Record<string, string>;
|
|
30
|
+
borderRadius?: Record<string, string>;
|
|
31
|
+
breakpoints?: Record<string, string>;
|
|
32
|
+
verticalBreakpoints?: Record<string, string>;
|
|
33
|
+
colors?: Colors;
|
|
34
|
+
borderColor?: Colors;
|
|
35
|
+
backgroundColor?: Colors;
|
|
36
|
+
textColor?: Colors;
|
|
37
|
+
shadowColor?: Colors;
|
|
38
|
+
accentColor?: Colors;
|
|
39
|
+
fontFamily?: Record<string, string>;
|
|
40
|
+
fontSize?: Record<string, string | [string, string | CSSObject] | [string, string, string]>;
|
|
41
|
+
fontWeight?: Record<string, string>;
|
|
42
|
+
lineHeight?: Record<string, string>;
|
|
43
|
+
letterSpacing?: Record<string, string>;
|
|
44
|
+
wordSpacing?: Record<string, string>;
|
|
45
|
+
boxShadow?: Record<string, string | string[]>;
|
|
46
|
+
textIndent?: Record<string, string>;
|
|
47
|
+
textShadow?: Record<string, string | string[]>;
|
|
48
|
+
textStrokeWidth?: Record<string, string>;
|
|
49
|
+
ringWidth?: Record<string, string>;
|
|
50
|
+
lineWidth?: Record<string, string>;
|
|
51
|
+
spacing?: Record<string, string>;
|
|
52
|
+
duration?: Record<string, string>;
|
|
53
|
+
aria?: Record<string, string>;
|
|
54
|
+
data?: Record<string, string>;
|
|
55
|
+
zIndex?: Record<string, string>;
|
|
56
|
+
blur?: Record<string, string>;
|
|
57
|
+
dropShadow?: Record<string, string | string[]>;
|
|
58
|
+
easing?: Record<string, string>;
|
|
59
|
+
transitionProperty?: Record<string, string>;
|
|
60
|
+
media?: Record<string, string>;
|
|
61
|
+
supports?: Record<string, string>;
|
|
62
|
+
containers?: Record<string, string>;
|
|
63
|
+
animation?: ThemeAnimation;
|
|
64
|
+
gridAutoColumn?: Record<string, string>;
|
|
65
|
+
gridAutoRow?: Record<string, string>;
|
|
66
|
+
gridColumn?: Record<string, string>;
|
|
67
|
+
gridRow?: Record<string, string>;
|
|
68
|
+
gridTemplateColumn?: Record<string, string>;
|
|
69
|
+
gridTemplateRow?: Record<string, string>;
|
|
70
|
+
container?: {
|
|
71
|
+
center?: boolean;
|
|
72
|
+
padding?: string | Record<string, string>;
|
|
73
|
+
maxWidth?: Record<string, string>;
|
|
74
|
+
};
|
|
75
|
+
/** Used to generate CSS custom properties placeholder in preflight */
|
|
76
|
+
preflightRoot?: Arrayable<string>;
|
|
77
|
+
preflightBase?: Record<string, string | number>;
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/_theme/colors.d.ts
|
|
81
|
+
declare const colors: {
|
|
82
|
+
inherit: string;
|
|
83
|
+
current: string;
|
|
84
|
+
transparent: string;
|
|
85
|
+
black: string;
|
|
86
|
+
white: string;
|
|
87
|
+
rose: {
|
|
88
|
+
50: string;
|
|
89
|
+
100: string;
|
|
90
|
+
200: string;
|
|
91
|
+
300: string;
|
|
92
|
+
400: string;
|
|
93
|
+
500: string;
|
|
94
|
+
600: string;
|
|
95
|
+
700: string;
|
|
96
|
+
800: string;
|
|
97
|
+
900: string;
|
|
98
|
+
950: string;
|
|
99
|
+
};
|
|
100
|
+
pink: {
|
|
101
|
+
50: string;
|
|
102
|
+
100: string;
|
|
103
|
+
200: string;
|
|
104
|
+
300: string;
|
|
105
|
+
400: string;
|
|
106
|
+
500: string;
|
|
107
|
+
600: string;
|
|
108
|
+
700: string;
|
|
109
|
+
800: string;
|
|
110
|
+
900: string;
|
|
111
|
+
950: string;
|
|
112
|
+
};
|
|
113
|
+
fuchsia: {
|
|
114
|
+
50: string;
|
|
115
|
+
100: string;
|
|
116
|
+
200: string;
|
|
117
|
+
300: string;
|
|
118
|
+
400: string;
|
|
119
|
+
500: string;
|
|
120
|
+
600: string;
|
|
121
|
+
700: string;
|
|
122
|
+
800: string;
|
|
123
|
+
900: string;
|
|
124
|
+
950: string;
|
|
125
|
+
};
|
|
126
|
+
purple: {
|
|
127
|
+
50: string;
|
|
128
|
+
100: string;
|
|
129
|
+
200: string;
|
|
130
|
+
300: string;
|
|
131
|
+
400: string;
|
|
132
|
+
500: string;
|
|
133
|
+
600: string;
|
|
134
|
+
700: string;
|
|
135
|
+
800: string;
|
|
136
|
+
900: string;
|
|
137
|
+
950: string;
|
|
138
|
+
};
|
|
139
|
+
violet: {
|
|
140
|
+
50: string;
|
|
141
|
+
100: string;
|
|
142
|
+
200: string;
|
|
143
|
+
300: string;
|
|
144
|
+
400: string;
|
|
145
|
+
500: string;
|
|
146
|
+
600: string;
|
|
147
|
+
700: string;
|
|
148
|
+
800: string;
|
|
149
|
+
900: string;
|
|
150
|
+
950: string;
|
|
151
|
+
};
|
|
152
|
+
indigo: {
|
|
153
|
+
50: string;
|
|
154
|
+
100: string;
|
|
155
|
+
200: string;
|
|
156
|
+
300: string;
|
|
157
|
+
400: string;
|
|
158
|
+
500: string;
|
|
159
|
+
600: string;
|
|
160
|
+
700: string;
|
|
161
|
+
800: string;
|
|
162
|
+
900: string;
|
|
163
|
+
950: string;
|
|
164
|
+
};
|
|
165
|
+
blue: {
|
|
166
|
+
50: string;
|
|
167
|
+
100: string;
|
|
168
|
+
200: string;
|
|
169
|
+
300: string;
|
|
170
|
+
400: string;
|
|
171
|
+
500: string;
|
|
172
|
+
600: string;
|
|
173
|
+
700: string;
|
|
174
|
+
800: string;
|
|
175
|
+
900: string;
|
|
176
|
+
950: string;
|
|
177
|
+
};
|
|
178
|
+
sky: {
|
|
179
|
+
50: string;
|
|
180
|
+
100: string;
|
|
181
|
+
200: string;
|
|
182
|
+
300: string;
|
|
183
|
+
400: string;
|
|
184
|
+
500: string;
|
|
185
|
+
600: string;
|
|
186
|
+
700: string;
|
|
187
|
+
800: string;
|
|
188
|
+
900: string;
|
|
189
|
+
950: string;
|
|
190
|
+
};
|
|
191
|
+
cyan: {
|
|
192
|
+
50: string;
|
|
193
|
+
100: string;
|
|
194
|
+
200: string;
|
|
195
|
+
300: string;
|
|
196
|
+
400: string;
|
|
197
|
+
500: string;
|
|
198
|
+
600: string;
|
|
199
|
+
700: string;
|
|
200
|
+
800: string;
|
|
201
|
+
900: string;
|
|
202
|
+
950: string;
|
|
203
|
+
};
|
|
204
|
+
teal: {
|
|
205
|
+
50: string;
|
|
206
|
+
100: string;
|
|
207
|
+
200: string;
|
|
208
|
+
300: string;
|
|
209
|
+
400: string;
|
|
210
|
+
500: string;
|
|
211
|
+
600: string;
|
|
212
|
+
700: string;
|
|
213
|
+
800: string;
|
|
214
|
+
900: string;
|
|
215
|
+
950: string;
|
|
216
|
+
};
|
|
217
|
+
emerald: {
|
|
218
|
+
50: string;
|
|
219
|
+
100: string;
|
|
220
|
+
200: string;
|
|
221
|
+
300: string;
|
|
222
|
+
400: string;
|
|
223
|
+
500: string;
|
|
224
|
+
600: string;
|
|
225
|
+
700: string;
|
|
226
|
+
800: string;
|
|
227
|
+
900: string;
|
|
228
|
+
950: string;
|
|
229
|
+
};
|
|
230
|
+
green: {
|
|
231
|
+
50: string;
|
|
232
|
+
100: string;
|
|
233
|
+
200: string;
|
|
234
|
+
300: string;
|
|
235
|
+
400: string;
|
|
236
|
+
500: string;
|
|
237
|
+
600: string;
|
|
238
|
+
700: string;
|
|
239
|
+
800: string;
|
|
240
|
+
900: string;
|
|
241
|
+
950: string;
|
|
242
|
+
};
|
|
243
|
+
lime: {
|
|
244
|
+
50: string;
|
|
245
|
+
100: string;
|
|
246
|
+
200: string;
|
|
247
|
+
300: string;
|
|
248
|
+
400: string;
|
|
249
|
+
500: string;
|
|
250
|
+
600: string;
|
|
251
|
+
700: string;
|
|
252
|
+
800: string;
|
|
253
|
+
900: string;
|
|
254
|
+
950: string;
|
|
255
|
+
};
|
|
256
|
+
yellow: {
|
|
257
|
+
50: string;
|
|
258
|
+
100: string;
|
|
259
|
+
200: string;
|
|
260
|
+
300: string;
|
|
261
|
+
400: string;
|
|
262
|
+
500: string;
|
|
263
|
+
600: string;
|
|
264
|
+
700: string;
|
|
265
|
+
800: string;
|
|
266
|
+
900: string;
|
|
267
|
+
950: string;
|
|
268
|
+
};
|
|
269
|
+
amber: {
|
|
270
|
+
50: string;
|
|
271
|
+
100: string;
|
|
272
|
+
200: string;
|
|
273
|
+
300: string;
|
|
274
|
+
400: string;
|
|
275
|
+
500: string;
|
|
276
|
+
600: string;
|
|
277
|
+
700: string;
|
|
278
|
+
800: string;
|
|
279
|
+
900: string;
|
|
280
|
+
950: string;
|
|
281
|
+
};
|
|
282
|
+
orange: {
|
|
283
|
+
50: string;
|
|
284
|
+
100: string;
|
|
285
|
+
200: string;
|
|
286
|
+
300: string;
|
|
287
|
+
400: string;
|
|
288
|
+
500: string;
|
|
289
|
+
600: string;
|
|
290
|
+
700: string;
|
|
291
|
+
800: string;
|
|
292
|
+
900: string;
|
|
293
|
+
950: string;
|
|
294
|
+
};
|
|
295
|
+
red: {
|
|
296
|
+
50: string;
|
|
297
|
+
100: string;
|
|
298
|
+
200: string;
|
|
299
|
+
300: string;
|
|
300
|
+
400: string;
|
|
301
|
+
500: string;
|
|
302
|
+
600: string;
|
|
303
|
+
700: string;
|
|
304
|
+
800: string;
|
|
305
|
+
900: string;
|
|
306
|
+
950: string;
|
|
307
|
+
};
|
|
308
|
+
gray: {
|
|
309
|
+
50: string;
|
|
310
|
+
100: string;
|
|
311
|
+
200: string;
|
|
312
|
+
300: string;
|
|
313
|
+
400: string;
|
|
314
|
+
500: string;
|
|
315
|
+
600: string;
|
|
316
|
+
700: string;
|
|
317
|
+
800: string;
|
|
318
|
+
900: string;
|
|
319
|
+
950: string;
|
|
320
|
+
};
|
|
321
|
+
slate: {
|
|
322
|
+
50: string;
|
|
323
|
+
100: string;
|
|
324
|
+
200: string;
|
|
325
|
+
300: string;
|
|
326
|
+
400: string;
|
|
327
|
+
500: string;
|
|
328
|
+
600: string;
|
|
329
|
+
700: string;
|
|
330
|
+
800: string;
|
|
331
|
+
900: string;
|
|
332
|
+
950: string;
|
|
333
|
+
};
|
|
334
|
+
zinc: {
|
|
335
|
+
50: string;
|
|
336
|
+
100: string;
|
|
337
|
+
200: string;
|
|
338
|
+
300: string;
|
|
339
|
+
400: string;
|
|
340
|
+
500: string;
|
|
341
|
+
600: string;
|
|
342
|
+
700: string;
|
|
343
|
+
800: string;
|
|
344
|
+
900: string;
|
|
345
|
+
950: string;
|
|
346
|
+
};
|
|
347
|
+
neutral: {
|
|
348
|
+
50: string;
|
|
349
|
+
100: string;
|
|
350
|
+
200: string;
|
|
351
|
+
300: string;
|
|
352
|
+
400: string;
|
|
353
|
+
500: string;
|
|
354
|
+
600: string;
|
|
355
|
+
700: string;
|
|
356
|
+
800: string;
|
|
357
|
+
900: string;
|
|
358
|
+
950: string;
|
|
359
|
+
};
|
|
360
|
+
stone: {
|
|
361
|
+
50: string;
|
|
362
|
+
100: string;
|
|
363
|
+
200: string;
|
|
364
|
+
300: string;
|
|
365
|
+
400: string;
|
|
366
|
+
500: string;
|
|
367
|
+
600: string;
|
|
368
|
+
700: string;
|
|
369
|
+
800: string;
|
|
370
|
+
900: string;
|
|
371
|
+
950: string;
|
|
372
|
+
};
|
|
373
|
+
light: {
|
|
374
|
+
50: string;
|
|
375
|
+
100: string;
|
|
376
|
+
200: string;
|
|
377
|
+
300: string;
|
|
378
|
+
400: string;
|
|
379
|
+
500: string;
|
|
380
|
+
600: string;
|
|
381
|
+
700: string;
|
|
382
|
+
800: string;
|
|
383
|
+
900: string;
|
|
384
|
+
950: string;
|
|
385
|
+
};
|
|
386
|
+
dark: {
|
|
387
|
+
50: string;
|
|
388
|
+
100: string;
|
|
389
|
+
200: string;
|
|
390
|
+
300: string;
|
|
391
|
+
400: string;
|
|
392
|
+
500: string;
|
|
393
|
+
600: string;
|
|
394
|
+
700: string;
|
|
395
|
+
800: string;
|
|
396
|
+
900: string;
|
|
397
|
+
950: string;
|
|
398
|
+
};
|
|
399
|
+
readonly lightblue: string | (Colors & {
|
|
400
|
+
DEFAULT?: string;
|
|
401
|
+
});
|
|
402
|
+
readonly lightBlue: string | (Colors & {
|
|
403
|
+
DEFAULT?: string;
|
|
404
|
+
});
|
|
405
|
+
readonly warmgray: string | (Colors & {
|
|
406
|
+
DEFAULT?: string;
|
|
407
|
+
});
|
|
408
|
+
readonly warmGray: string | (Colors & {
|
|
409
|
+
DEFAULT?: string;
|
|
410
|
+
});
|
|
411
|
+
readonly truegray: string | (Colors & {
|
|
412
|
+
DEFAULT?: string;
|
|
413
|
+
});
|
|
414
|
+
readonly trueGray: string | (Colors & {
|
|
415
|
+
DEFAULT?: string;
|
|
416
|
+
});
|
|
417
|
+
readonly coolgray: string | (Colors & {
|
|
418
|
+
DEFAULT?: string;
|
|
419
|
+
});
|
|
420
|
+
readonly coolGray: string | (Colors & {
|
|
421
|
+
DEFAULT?: string;
|
|
422
|
+
});
|
|
423
|
+
readonly bluegray: string | (Colors & {
|
|
424
|
+
DEFAULT?: string;
|
|
425
|
+
});
|
|
426
|
+
readonly blueGray: string | (Colors & {
|
|
427
|
+
DEFAULT?: string;
|
|
428
|
+
});
|
|
429
|
+
};
|
|
430
|
+
//#endregion
|
|
431
|
+
export { ThemeAnimation as i, Colors as n, Theme as r, colors as t };
|
package/dist/colors.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as colors } from "./colors-
|
|
1
|
+
import { t as colors } from "./colors-C9l2trjD.mjs";
|
|
2
2
|
export { colors };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as Theme } from "./colors-C9l2trjD.mjs";
|
|
2
|
+
import * as _unocss_core0 from "@unocss/core";
|
|
3
|
+
import { Postprocessor, Preflight, PresetOptions } from "@unocss/core";
|
|
2
4
|
|
|
3
5
|
//#region src/preflights.d.ts
|
|
4
6
|
declare function preflights(options: PresetMiniOptions): Preflight<Theme>[] | undefined;
|
|
@@ -63,7 +65,7 @@ interface PresetMiniOptions extends PresetOptions {
|
|
|
63
65
|
*
|
|
64
66
|
* @see https://unocss.dev/presets/mini
|
|
65
67
|
*/
|
|
66
|
-
declare const presetMini: PresetFactory<Theme, PresetMiniOptions>;
|
|
68
|
+
declare const presetMini: _unocss_core0.PresetFactory<Theme, PresetMiniOptions>;
|
|
67
69
|
declare function VarPrefixPostprocessor(prefix: string): Postprocessor | undefined;
|
|
68
70
|
//#endregion
|
|
69
71
|
export { preflights as a, presetMini as i, PresetMiniOptions as n, VarPrefixPostprocessor as r, DarkModeSelectors as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as ThemeAnimation, r as Theme, t as colors } from "./colors-
|
|
2
|
-
import { N as theme } from "./theme-
|
|
3
|
-
import { a as preflights, i as presetMini, n as PresetMiniOptions, r as VarPrefixPostprocessor, t as DarkModeSelectors } from "./index-
|
|
4
|
-
import { l as parseColor } from "./utils-
|
|
1
|
+
import { i as ThemeAnimation, r as Theme, t as colors } from "./colors-C9l2trjD.mjs";
|
|
2
|
+
import { N as theme } from "./theme-5nLH7UVx.mjs";
|
|
3
|
+
import { a as preflights, i as presetMini, n as PresetMiniOptions, r as VarPrefixPostprocessor, t as DarkModeSelectors } from "./index-CnsmLem5.mjs";
|
|
4
|
+
import { l as parseColor } from "./utils-CNv_IKMQ.mjs";
|
|
5
5
|
export { DarkModeSelectors, PresetMiniOptions, Theme, ThemeAnimation, VarPrefixPostprocessor, colors, presetMini as default, presetMini, parseColor, preflights, theme };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as globalKeywords, d as parseColor } from "./utils-DLpYZ57Q.mjs";
|
|
2
|
-
import { t as rules } from "./rules-
|
|
2
|
+
import { t as rules } from "./rules-Cc0JK3VG.mjs";
|
|
3
3
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
4
|
-
import { t as theme } from "./theme-
|
|
4
|
+
import { t as theme } from "./theme-B2Jp9h34.mjs";
|
|
5
5
|
import { variants } from "./variants.mjs";
|
|
6
6
|
import { definePreset, entriesToCss, toArray } from "@unocss/core";
|
|
7
7
|
import { extractorArbitraryVariants } from "@unocss/extractor-arbitrary-variants";
|
|
@@ -790,9 +790,20 @@ const whitespaces = [[
|
|
|
790
790
|
]];
|
|
791
791
|
const contentVisibility = [
|
|
792
792
|
[
|
|
793
|
-
/^intrinsic
|
|
794
|
-
([, d]) =>
|
|
795
|
-
|
|
793
|
+
/^intrinsic(?:-(block|inline|w|h))?(?:-size)?-(.+)$/,
|
|
794
|
+
([, d, s]) => {
|
|
795
|
+
return { [`contain-intrinsic-${{
|
|
796
|
+
block: "block-size",
|
|
797
|
+
inline: "inline-size",
|
|
798
|
+
w: "width",
|
|
799
|
+
h: "height"
|
|
800
|
+
}[d] ?? "size"}`]: h.bracket.cssvar.global.fraction.rem(s) };
|
|
801
|
+
},
|
|
802
|
+
{ autocomplete: [
|
|
803
|
+
"intrinsic-size-<num>",
|
|
804
|
+
"intrinsic-<num>",
|
|
805
|
+
"intrinsic-(block|inline|w|h)-<num>"
|
|
806
|
+
] }
|
|
796
807
|
],
|
|
797
808
|
["content-visibility-visible", { "content-visibility": "visible" }],
|
|
798
809
|
["content-visibility-hidden", { "content-visibility": "hidden" }],
|
|
@@ -983,6 +994,7 @@ function getSizeValue(minmax, hw, theme, prop) {
|
|
|
983
994
|
case "fit":
|
|
984
995
|
case "max":
|
|
985
996
|
case "min": return `${prop}-content`;
|
|
997
|
+
case "stretch": return "stretch";
|
|
986
998
|
}
|
|
987
999
|
return h.bracket.cssvar.global.auto.fraction.rem(prop);
|
|
988
1000
|
}
|
package/dist/rules.d.mts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as Theme } from "./colors-C9l2trjD.mjs";
|
|
2
|
+
import "./theme-5nLH7UVx.mjs";
|
|
3
|
+
import { CSSEntries, Rule, StaticRule } from "@unocss/core";
|
|
2
4
|
|
|
3
5
|
//#region src/_rules/align.d.ts
|
|
4
6
|
declare const verticalAligns: Rule[];
|
package/dist/rules.mjs
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { $ as flex, A as fontStyles, B as alignments, C as contains, D as displays, E as cursors, F as textWraps, G as justifies, H as flexGridJustifiesAlignments, I as userSelects, J as positions, K as orders, L as varEmpty, M as resizes, N as textOverflows, O as fieldSizing, P as textTransforms, Q as gaps, R as whitespaces, S as breaks, T as contents, U as floats, V as boxSizing, W as insets, X as overflows, Y as zIndexes, Z as grids, _ as boxShadows, a as tabSizes, at as borderStyles, b as rings, c as textStrokes, ct as appearance, d as transforms, dt as textAligns, et as textDecorations, f as svgUtilities, ft as verticalAligns, g as sizes, h as aspectRatio, i as fonts, it as opacity, j as pointerEvents, k as fontSmoothings, l as transitions, lt as outline, m as paddings, n as cssProperty, nt as bgColors, o as textIndents, ot as borders, p as margins, q as placements, r as cssVariables, rt as colorScheme, s as textShadows, st as handlerBorderStyle, t as rules, tt as containerParent, u as transformBase, ut as willChange, v as boxShadowsBase, w as contentVisibility, x as appearances, y as ringBase, z as questionMark } from "./rules-CuP-xMI2.mjs";
|
|
1
|
+
import { $ as flex, A as fontStyles, B as alignments, C as contains, D as displays, E as cursors, F as textWraps, G as justifies, H as flexGridJustifiesAlignments, I as userSelects, J as positions, K as orders, L as varEmpty, M as resizes, N as textOverflows, O as fieldSizing, P as textTransforms, Q as gaps, R as whitespaces, S as breaks, T as contents, U as floats, V as boxSizing, W as insets, X as overflows, Y as zIndexes, Z as grids, _ as boxShadows, a as tabSizes, at as borderStyles, b as rings, c as textStrokes, ct as appearance, d as transforms, dt as textAligns, et as textDecorations, f as svgUtilities, ft as verticalAligns, g as sizes, h as aspectRatio, i as fonts, it as opacity, j as pointerEvents, k as fontSmoothings, l as transitions, lt as outline, m as paddings, n as cssProperty, nt as bgColors, o as textIndents, ot as borders, p as margins, q as placements, r as cssVariables, rt as colorScheme, s as textShadows, st as handlerBorderStyle, t as rules, tt as containerParent, u as transformBase, ut as willChange, v as boxShadowsBase, w as contentVisibility, x as appearances, y as ringBase, z as questionMark } from "./rules-Cc0JK3VG.mjs";
|
|
3
2
|
|
|
4
3
|
export { alignments, appearance, appearances, aspectRatio, bgColors, borderStyles, borders, boxShadows, boxShadowsBase, boxSizing, breaks, colorScheme, containerParent, contains, contentVisibility, contents, cssProperty, cssVariables, cursors, displays, fieldSizing, flex, flexGridJustifiesAlignments, floats, fontSmoothings, fontStyles, fonts, gaps, grids, handlerBorderStyle, insets, justifies, margins, opacity, orders, outline, overflows, paddings, placements, pointerEvents, positions, questionMark, resizes, ringBase, rings, rules, sizes, svgUtilities, tabSizes, textAligns, textDecorations, textIndents, textOverflows, textShadows, textStrokes, textTransforms, textWraps, transformBase, transforms, transitions, userSelects, varEmpty, verticalAligns, whitespaces, willChange, zIndexes };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { n as Colors, r as Theme
|
|
1
|
+
import { n as Colors, r as Theme } from "./colors-C9l2trjD.mjs";
|
|
2
|
+
import * as _unocss_core0 from "@unocss/core";
|
|
2
3
|
|
|
3
4
|
//#region src/_theme/default.d.ts
|
|
4
5
|
declare const theme: {
|
|
@@ -548,7 +549,7 @@ declare const theme: {
|
|
|
548
549
|
serif: string;
|
|
549
550
|
mono: string;
|
|
550
551
|
};
|
|
551
|
-
fontSize: Record<string, string | [string, string | CSSObject] | [string, string, string]> | undefined;
|
|
552
|
+
fontSize: Record<string, string | [string, string | _unocss_core0.CSSObject] | [string, string, string]> | undefined;
|
|
552
553
|
fontWeight: {
|
|
553
554
|
thin: string;
|
|
554
555
|
extralight: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { u as transformBase, v as boxShadowsBase, y as ringBase } from "./rules-
|
|
1
|
+
import { u as transformBase, v as boxShadowsBase, y as ringBase } from "./rules-Cc0JK3VG.mjs";
|
|
2
2
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/_theme/filters.ts
|
package/dist/theme.d.mts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { i as ThemeAnimation, n as Colors, r as Theme, t as colors } from "./colors-
|
|
2
|
-
import { A as wordSpacing, C as fontSize, D as textIndent, E as lineHeight, M as dropShadow, N as theme, O as textShadow, S as fontFamily, T as letterSpacing, _ as media, a as inlineSize, b as verticalBreakpoints, c as maxInlineSize, d as preflightBase, f as borderRadius, g as lineWidth, h as duration, i as height, j as blur, k as textStrokeWidth, l as maxWidth, m as breakpoints, n as blockSize, o as maxBlockSize, p as boxShadow, r as containers, s as maxHeight, t as baseSize, u as width, v as ringWidth, w as fontWeight, x as zIndex, y as spacing } from "./theme-
|
|
1
|
+
import { i as ThemeAnimation, n as Colors, r as Theme, t as colors } from "./colors-C9l2trjD.mjs";
|
|
2
|
+
import { A as wordSpacing, C as fontSize, D as textIndent, E as lineHeight, M as dropShadow, N as theme, O as textShadow, S as fontFamily, T as letterSpacing, _ as media, a as inlineSize, b as verticalBreakpoints, c as maxInlineSize, d as preflightBase, f as borderRadius, g as lineWidth, h as duration, i as height, j as blur, k as textStrokeWidth, l as maxWidth, m as breakpoints, n as blockSize, o as maxBlockSize, p as boxShadow, r as containers, s as maxHeight, t as baseSize, u as width, v as ringWidth, w as fontWeight, x as zIndex, y as spacing } from "./theme-5nLH7UVx.mjs";
|
|
3
3
|
export { Colors, Theme, ThemeAnimation, baseSize, blockSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, fontFamily, fontSize, fontWeight, height, inlineSize, letterSpacing, lineHeight, lineWidth, maxBlockSize, maxHeight, maxInlineSize, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing, zIndex };
|
package/dist/theme.mjs
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "./utils-DLpYZ57Q.mjs";
|
|
2
1
|
import { t as colors } from "./colors-Cxq9P2g9.mjs";
|
|
3
|
-
import { A as textStrokeWidth, C as fontFamily, D as lineHeight, E as letterSpacing, M as blur, N as dropShadow, O as textIndent, S as zIndex, T as fontWeight, _ as lineWidth, a as height, b as spacing, c as maxHeight, d as width, f as preflightBase, g as duration, h as breakpoints, i as containers, j as wordSpacing, k as textShadow, l as maxInlineSize, m as boxShadow, n as baseSize, o as inlineSize, p as borderRadius, r as blockSize, s as maxBlockSize, t as theme, u as maxWidth, v as media, w as fontSize, x as verticalBreakpoints, y as ringWidth } from "./theme-
|
|
2
|
+
import { A as textStrokeWidth, C as fontFamily, D as lineHeight, E as letterSpacing, M as blur, N as dropShadow, O as textIndent, S as zIndex, T as fontWeight, _ as lineWidth, a as height, b as spacing, c as maxHeight, d as width, f as preflightBase, g as duration, h as breakpoints, i as containers, j as wordSpacing, k as textShadow, l as maxInlineSize, m as boxShadow, n as baseSize, o as inlineSize, p as borderRadius, r as blockSize, s as maxBlockSize, t as theme, u as maxWidth, v as media, w as fontSize, x as verticalBreakpoints, y as ringWidth } from "./theme-B2Jp9h34.mjs";
|
|
4
3
|
|
|
5
4
|
export { baseSize, blockSize, blur, borderRadius, boxShadow, breakpoints, colors, containers, dropShadow, duration, fontFamily, fontSize, fontWeight, height, inlineSize, letterSpacing, lineHeight, lineWidth, maxBlockSize, maxHeight, maxInlineSize, maxWidth, media, preflightBase, ringWidth, spacing, textIndent, textShadow, textStrokeWidth, theme, verticalBreakpoints, width, wordSpacing, zIndex };
|