@unocss/preset-wind3 66.5.11 → 66.5.12

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.d.mts CHANGED
@@ -1,2 +1,362 @@
1
- import { t as colors } from "./colors-B7ImWeE4.mjs";
1
+ import "@unocss/core";
2
+
3
+ //#region ../preset-mini/src/_theme/types.d.ts
4
+
5
+ interface Colors {
6
+ [key: string]: Colors & {
7
+ DEFAULT?: string;
8
+ } | string;
9
+ }
10
+ //#endregion
11
+ //#region ../preset-mini/src/_theme/colors.d.ts
12
+ declare const colors: {
13
+ inherit: string;
14
+ current: string;
15
+ transparent: string;
16
+ black: string;
17
+ white: string;
18
+ rose: {
19
+ 50: string;
20
+ 100: string;
21
+ 200: string;
22
+ 300: string;
23
+ 400: string;
24
+ 500: string;
25
+ 600: string;
26
+ 700: string;
27
+ 800: string;
28
+ 900: string;
29
+ 950: string;
30
+ };
31
+ pink: {
32
+ 50: string;
33
+ 100: string;
34
+ 200: string;
35
+ 300: string;
36
+ 400: string;
37
+ 500: string;
38
+ 600: string;
39
+ 700: string;
40
+ 800: string;
41
+ 900: string;
42
+ 950: string;
43
+ };
44
+ fuchsia: {
45
+ 50: string;
46
+ 100: string;
47
+ 200: string;
48
+ 300: string;
49
+ 400: string;
50
+ 500: string;
51
+ 600: string;
52
+ 700: string;
53
+ 800: string;
54
+ 900: string;
55
+ 950: string;
56
+ };
57
+ purple: {
58
+ 50: string;
59
+ 100: string;
60
+ 200: string;
61
+ 300: string;
62
+ 400: string;
63
+ 500: string;
64
+ 600: string;
65
+ 700: string;
66
+ 800: string;
67
+ 900: string;
68
+ 950: string;
69
+ };
70
+ violet: {
71
+ 50: string;
72
+ 100: string;
73
+ 200: string;
74
+ 300: string;
75
+ 400: string;
76
+ 500: string;
77
+ 600: string;
78
+ 700: string;
79
+ 800: string;
80
+ 900: string;
81
+ 950: string;
82
+ };
83
+ indigo: {
84
+ 50: string;
85
+ 100: string;
86
+ 200: string;
87
+ 300: string;
88
+ 400: string;
89
+ 500: string;
90
+ 600: string;
91
+ 700: string;
92
+ 800: string;
93
+ 900: string;
94
+ 950: string;
95
+ };
96
+ blue: {
97
+ 50: string;
98
+ 100: string;
99
+ 200: string;
100
+ 300: string;
101
+ 400: string;
102
+ 500: string;
103
+ 600: string;
104
+ 700: string;
105
+ 800: string;
106
+ 900: string;
107
+ 950: string;
108
+ };
109
+ sky: {
110
+ 50: string;
111
+ 100: string;
112
+ 200: string;
113
+ 300: string;
114
+ 400: string;
115
+ 500: string;
116
+ 600: string;
117
+ 700: string;
118
+ 800: string;
119
+ 900: string;
120
+ 950: string;
121
+ };
122
+ cyan: {
123
+ 50: string;
124
+ 100: string;
125
+ 200: string;
126
+ 300: string;
127
+ 400: string;
128
+ 500: string;
129
+ 600: string;
130
+ 700: string;
131
+ 800: string;
132
+ 900: string;
133
+ 950: string;
134
+ };
135
+ teal: {
136
+ 50: string;
137
+ 100: string;
138
+ 200: string;
139
+ 300: string;
140
+ 400: string;
141
+ 500: string;
142
+ 600: string;
143
+ 700: string;
144
+ 800: string;
145
+ 900: string;
146
+ 950: string;
147
+ };
148
+ emerald: {
149
+ 50: string;
150
+ 100: string;
151
+ 200: string;
152
+ 300: string;
153
+ 400: string;
154
+ 500: string;
155
+ 600: string;
156
+ 700: string;
157
+ 800: string;
158
+ 900: string;
159
+ 950: string;
160
+ };
161
+ green: {
162
+ 50: string;
163
+ 100: string;
164
+ 200: string;
165
+ 300: string;
166
+ 400: string;
167
+ 500: string;
168
+ 600: string;
169
+ 700: string;
170
+ 800: string;
171
+ 900: string;
172
+ 950: string;
173
+ };
174
+ lime: {
175
+ 50: string;
176
+ 100: string;
177
+ 200: string;
178
+ 300: string;
179
+ 400: string;
180
+ 500: string;
181
+ 600: string;
182
+ 700: string;
183
+ 800: string;
184
+ 900: string;
185
+ 950: string;
186
+ };
187
+ yellow: {
188
+ 50: string;
189
+ 100: string;
190
+ 200: string;
191
+ 300: string;
192
+ 400: string;
193
+ 500: string;
194
+ 600: string;
195
+ 700: string;
196
+ 800: string;
197
+ 900: string;
198
+ 950: string;
199
+ };
200
+ amber: {
201
+ 50: string;
202
+ 100: string;
203
+ 200: string;
204
+ 300: string;
205
+ 400: string;
206
+ 500: string;
207
+ 600: string;
208
+ 700: string;
209
+ 800: string;
210
+ 900: string;
211
+ 950: string;
212
+ };
213
+ orange: {
214
+ 50: string;
215
+ 100: string;
216
+ 200: string;
217
+ 300: string;
218
+ 400: string;
219
+ 500: string;
220
+ 600: string;
221
+ 700: string;
222
+ 800: string;
223
+ 900: string;
224
+ 950: string;
225
+ };
226
+ red: {
227
+ 50: string;
228
+ 100: string;
229
+ 200: string;
230
+ 300: string;
231
+ 400: string;
232
+ 500: string;
233
+ 600: string;
234
+ 700: string;
235
+ 800: string;
236
+ 900: string;
237
+ 950: string;
238
+ };
239
+ gray: {
240
+ 50: string;
241
+ 100: string;
242
+ 200: string;
243
+ 300: string;
244
+ 400: string;
245
+ 500: string;
246
+ 600: string;
247
+ 700: string;
248
+ 800: string;
249
+ 900: string;
250
+ 950: string;
251
+ };
252
+ slate: {
253
+ 50: string;
254
+ 100: string;
255
+ 200: string;
256
+ 300: string;
257
+ 400: string;
258
+ 500: string;
259
+ 600: string;
260
+ 700: string;
261
+ 800: string;
262
+ 900: string;
263
+ 950: string;
264
+ };
265
+ zinc: {
266
+ 50: string;
267
+ 100: string;
268
+ 200: string;
269
+ 300: string;
270
+ 400: string;
271
+ 500: string;
272
+ 600: string;
273
+ 700: string;
274
+ 800: string;
275
+ 900: string;
276
+ 950: string;
277
+ };
278
+ neutral: {
279
+ 50: string;
280
+ 100: string;
281
+ 200: string;
282
+ 300: string;
283
+ 400: string;
284
+ 500: string;
285
+ 600: string;
286
+ 700: string;
287
+ 800: string;
288
+ 900: string;
289
+ 950: string;
290
+ };
291
+ stone: {
292
+ 50: string;
293
+ 100: string;
294
+ 200: string;
295
+ 300: string;
296
+ 400: string;
297
+ 500: string;
298
+ 600: string;
299
+ 700: string;
300
+ 800: string;
301
+ 900: string;
302
+ 950: string;
303
+ };
304
+ light: {
305
+ 50: string;
306
+ 100: string;
307
+ 200: string;
308
+ 300: string;
309
+ 400: string;
310
+ 500: string;
311
+ 600: string;
312
+ 700: string;
313
+ 800: string;
314
+ 900: string;
315
+ 950: string;
316
+ };
317
+ dark: {
318
+ 50: string;
319
+ 100: string;
320
+ 200: string;
321
+ 300: string;
322
+ 400: string;
323
+ 500: string;
324
+ 600: string;
325
+ 700: string;
326
+ 800: string;
327
+ 900: string;
328
+ 950: string;
329
+ };
330
+ readonly lightblue: string | (Colors & {
331
+ DEFAULT?: string;
332
+ });
333
+ readonly lightBlue: string | (Colors & {
334
+ DEFAULT?: string;
335
+ });
336
+ readonly warmgray: string | (Colors & {
337
+ DEFAULT?: string;
338
+ });
339
+ readonly warmGray: string | (Colors & {
340
+ DEFAULT?: string;
341
+ });
342
+ readonly truegray: string | (Colors & {
343
+ DEFAULT?: string;
344
+ });
345
+ readonly trueGray: string | (Colors & {
346
+ DEFAULT?: string;
347
+ });
348
+ readonly coolgray: string | (Colors & {
349
+ DEFAULT?: string;
350
+ });
351
+ readonly coolGray: string | (Colors & {
352
+ DEFAULT?: string;
353
+ });
354
+ readonly bluegray: string | (Colors & {
355
+ DEFAULT?: string;
356
+ });
357
+ readonly blueGray: string | (Colors & {
358
+ DEFAULT?: string;
359
+ });
360
+ };
361
+ //#endregion
2
362
  export { colors };
@@ -1,7 +1,7 @@
1
- import { n as Theme } from "./colors-B7ImWeE4.mjs";
2
- import { t as PresetMiniOptions } from "./index-DHUr3Ij6.mjs";
3
1
  import * as _unocss_core0 from "@unocss/core";
4
2
  import { Variant, VariantFunction, VariantObject } from "@unocss/core";
3
+ import * as _unocss_preset_mini0 from "@unocss/preset-mini";
4
+ import { PresetMiniOptions, Theme as Theme$1, colors, preflights } from "@unocss/preset-mini";
5
5
 
6
6
  //#region src/variants/combinators.d.ts
7
7
  declare const variantCombinators: Variant[];
@@ -10,7 +10,7 @@ declare const variantCombinators: Variant[];
10
10
  declare const variantColorsScheme: Variant[];
11
11
  //#endregion
12
12
  //#region src/variants/default.d.ts
13
- declare function variants(options: PresetWind3Options): Variant<Theme>[];
13
+ declare function variants(options: PresetWind3Options): Variant<Theme$1>[];
14
14
  //#endregion
15
15
  //#region src/variants/media.d.ts
16
16
  declare const variantContrasts: Variant[];
@@ -27,7 +27,7 @@ declare const variantStickyHover: Variant[];
27
27
  * Shading mixes the color with black, Tinting mixes the color with white.
28
28
  * @see {@link mixColor}
29
29
  */
30
- declare function variantColorMix<Theme$1 extends object>(): VariantObject<Theme$1>;
30
+ declare function variantColorMix<Theme$2 extends object>(): VariantObject<Theme$2>;
31
31
  //#endregion
32
32
  //#region src/variants/placeholder.d.ts
33
33
  declare const placeholderModifier: VariantFunction;
@@ -52,6 +52,6 @@ interface PresetWind3Options extends PresetMiniOptions {
52
52
  *
53
53
  * @see https://unocss.dev/presets/wind3
54
54
  */
55
- declare const presetWind3: _unocss_core0.PresetFactory<Theme, PresetWind3Options>;
55
+ declare const presetWind3: _unocss_core0.PresetFactory<_unocss_preset_mini0.Theme, PresetWind3Options>;
56
56
  //#endregion
57
- export { variantSpaceAndDivide as a, variantMotions as c, variantColorsScheme as d, variantCombinators as f, variantColorMix as i, variantOrientations as l, presetWind3 as n, variantStickyHover as o, placeholderModifier as r, variantContrasts as s, PresetWind3Options as t, variants as u };
57
+ export { presetWind3 as a, variantSpaceAndDivide as c, variantMotions as d, variantOrientations as f, variantCombinators as h, preflights as i, variantStickyHover as l, variantColorsScheme as m, Theme$1 as n, placeholderModifier as o, variants as p, colors as r, variantColorMix as s, PresetWind3Options as t, variantContrasts as u };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,5 @@
1
- import { n as Theme, t as colors } from "./colors-B7ImWeE4.mjs";
2
- import { n as preflights } from "./index-DHUr3Ij6.mjs";
3
- import "./index-Cc_71NsC.mjs";
4
- import { O as rules } from "./rules-DJ1ZMsEe.mjs";
5
- import { t as shortcuts } from "./shortcuts-D5yU9xI_.mjs";
6
- import { t as theme } from "./theme-BNdAqsEU.mjs";
7
- import { n as presetWind3, t as PresetWind3Options, u as variants } from "./index-DX06SQ1b.mjs";
1
+ import { O as rules } from "./rules-Dd5IWQsx.mjs";
2
+ import { t as shortcuts } from "./shortcuts-DRxVPoH8.mjs";
3
+ import { t as theme } from "./theme-D8rOP0iB.mjs";
4
+ import { a as presetWind3, i as preflights, n as Theme, p as variants, r as colors, t as PresetWind3Options } from "./index-hA29nYTP.mjs";
8
5
  export { PresetWind3Options, Theme, colors, presetWind3 as default, presetWind3 as presetWind, presetWind3, preflights, rules, shortcuts, theme, variants };
@@ -1,5 +1,5 @@
1
- import { n as Theme } from "./colors-B7ImWeE4.mjs";
2
1
  import { Rule, Shortcut } from "@unocss/core";
2
+ import { Theme } from "@unocss/preset-mini";
3
3
 
4
4
  //#region src/rules/animation.d.ts
5
5
  declare const animations: Rule<Theme>[];
@@ -16,7 +16,7 @@ declare const overscrolls: Rule[];
16
16
  declare const scrollBehaviors: Rule[];
17
17
  //#endregion
18
18
  //#region src/rules/columns.d.ts
19
- declare const columns: Rule[];
19
+ declare const columns: Rule<Theme>[];
20
20
  //#endregion
21
21
  //#region src/rules/container.d.ts
22
22
  declare const container: Rule<Theme>[];
package/dist/rules.d.mts CHANGED
@@ -1,5 +1,2 @@
1
- import "./colors-B7ImWeE4.mjs";
2
- import "./index-DHUr3Ij6.mjs";
3
- import "./index-Cc_71NsC.mjs";
4
- import { A as containerShortcuts, C as lineClamps, D as divides, E as filters, F as listStyle, I as overscrolls, L as scrollBehaviors, M as accents, N as carets, O as rules, P as imageRenderings, R as backgroundStyles, S as placeholders, T as filterBase, _ as writingModes, a as touchActionBase, b as scrollSnapTypeBase, c as tables, d as hyphens, f as isolations, g as textTransforms, h as screenReadersAccess, i as fontVariantNumericBase, j as columns, k as container, l as backgroundBlendModes, m as objectPositions, n as cssVariables, o as touchActions, p as mixBlendModes, r as fontVariantNumeric, s as borderSpacingBase, t as viewTransition, u as dynamicViewportHeight, v as writingOrientations, w as backdropFilterBase, x as scrolls, y as spaces, z as animations } from "./rules-DJ1ZMsEe.mjs";
1
+ import { A as containerShortcuts, C as lineClamps, D as divides, E as filters, F as listStyle, I as overscrolls, L as scrollBehaviors, M as accents, N as carets, O as rules, P as imageRenderings, R as backgroundStyles, S as placeholders, T as filterBase, _ as writingModes, a as touchActionBase, b as scrollSnapTypeBase, c as tables, d as hyphens, f as isolations, g as textTransforms, h as screenReadersAccess, i as fontVariantNumericBase, j as columns, k as container, l as backgroundBlendModes, m as objectPositions, n as cssVariables, o as touchActions, p as mixBlendModes, r as fontVariantNumeric, s as borderSpacingBase, t as viewTransition, u as dynamicViewportHeight, v as writingOrientations, w as backdropFilterBase, x as scrolls, y as spaces, z as animations } from "./rules-Dd5IWQsx.mjs";
5
2
  export { accents, animations, backdropFilterBase, backgroundBlendModes, backgroundStyles, borderSpacingBase, carets, columns, container, containerShortcuts, cssVariables, divides, dynamicViewportHeight, filterBase, filters, fontVariantNumeric, fontVariantNumericBase, hyphens, imageRenderings, isolations, lineClamps, listStyle, mixBlendModes, objectPositions, overscrolls, placeholders, rules, screenReadersAccess, scrollBehaviors, scrollSnapTypeBase, scrolls, spaces, tables, textTransforms, touchActionBase, touchActions, viewTransition, writingModes, writingOrientations };
package/dist/rules.mjs CHANGED
@@ -334,9 +334,13 @@ const scrollBehaviors = [
334
334
  const columns = [
335
335
  [
336
336
  /^columns-(.+)$/,
337
- ([, v]) => ({ columns: h.bracket.global.number.auto.numberWithUnit(v) }),
338
- { autocomplete: "columns-<num>" }
337
+ ([, v], { theme }) => {
338
+ if (theme.containers && v in theme.containers) return { columns: theme.containers[v] };
339
+ return { columns: h.bracket.numberWithUnit.number.cssvar(v) };
340
+ },
341
+ { autocomplete: ["columns-<num>", "columns-$containers"] }
339
342
  ],
343
+ ["columns-auto", { columns: "auto" }],
340
344
  ["break-before-auto", { "break-before": "auto" }],
341
345
  ["break-before-avoid", { "break-before": "avoid" }],
342
346
  ["break-before-all", { "break-before": "all" }],
@@ -0,0 +1,7 @@
1
+ import * as _unocss_core0 from "@unocss/core";
2
+ import * as _unocss_preset_mini0 from "@unocss/preset-mini";
3
+
4
+ //#region src/shortcuts.d.ts
5
+ declare const shortcuts: _unocss_core0.Shortcut<_unocss_preset_mini0.Theme>[];
6
+ //#endregion
7
+ export { shortcuts as t };
@@ -1,5 +1,2 @@
1
- import "./colors-B7ImWeE4.mjs";
2
- import "./index-DHUr3Ij6.mjs";
3
- import "./index-Cc_71NsC.mjs";
4
- import { t as shortcuts } from "./shortcuts-D5yU9xI_.mjs";
1
+ import { t as shortcuts } from "./shortcuts-DRxVPoH8.mjs";
5
2
  export { shortcuts };
@@ -0,0 +1,6 @@
1
+ import { Theme } from "@unocss/preset-mini";
2
+
3
+ //#region src/theme.d.ts
4
+ declare const theme: Theme;
5
+ //#endregion
6
+ export { theme as t };
package/dist/theme.d.mts CHANGED
@@ -1,5 +1,2 @@
1
- import "./colors-B7ImWeE4.mjs";
2
- import "./index-DHUr3Ij6.mjs";
3
- import "./index-Cc_71NsC.mjs";
4
- import { t as theme } from "./theme-BNdAqsEU.mjs";
1
+ import { t as theme } from "./theme-D8rOP0iB.mjs";
5
2
  export { theme };
package/dist/utils.d.mts CHANGED
@@ -1,2 +1 @@
1
- import { A as ValueHandler, B as RGBAColorValue, C as variantMatcher, D as getStringComponents, E as getStringComponent, F as themeFnRE, G as cssColorFunctions, H as alphaPlaceholdersRE, I as transformThemeFn, J as isInterpolatedMethod, K as hex2rgba, L as transformThemeString, M as createValueHandler, N as calcMaxWidthBySize, O as hasIconFn, P as hasThemeFn, R as CSSColorValue, S as variantGetParameter, T as getBracket, U as colorOpacityToString, V as alphaPlaceholders, W as colorToString, X as polarColorSpace, Y as parseCssColor, Z as rectangularColorSpace, _ as createPseudoClassesAndElements, a as PseudoClassesAndElementsStr, b as excludedPseudo, c as PseudoClassesColonStr, d as PseudoClassesMultiStr, f as PseudoClassesStr, g as createPseudoClassFunctions, h as createPartClasses, i as PseudoClassesAndElementsColonStr, j as ValueHandlerCallback, k as iconFnRE, l as PseudoClassesKeys, m as PseudoVariantUtilities, n as PseudoClassFunctionsStr, o as PseudoClassesColon, p as PseudoVariantOptions, q as hueInterpolationMethods, r as PseudoClasses, s as PseudoClassesColonKeys, t as PseudoClassFunctions, u as PseudoClassesMulti, v as createTaggedPseudoClassMatcher, w as variantParentMatcher, x as variantGetBracket, y as createTaggedPseudoClasses, z as ParsedColorValue } from "./index-Cc_71NsC.mjs";
2
- export { CSSColorValue, ParsedColorValue, PseudoClassFunctions, PseudoClassFunctionsStr, PseudoClasses, PseudoClassesAndElementsColonStr, PseudoClassesAndElementsStr, PseudoClassesColon, PseudoClassesColonKeys, PseudoClassesColonStr, PseudoClassesKeys, PseudoClassesMulti, PseudoClassesMultiStr, PseudoClassesStr, PseudoVariantOptions, PseudoVariantUtilities, RGBAColorValue, ValueHandler, ValueHandlerCallback, alphaPlaceholders, alphaPlaceholdersRE, calcMaxWidthBySize, colorOpacityToString, colorToString, createPartClasses, createPseudoClassFunctions, createPseudoClassesAndElements, createTaggedPseudoClassMatcher, createTaggedPseudoClasses, createValueHandler, cssColorFunctions, excludedPseudo, getBracket, getStringComponent, getStringComponents, hasIconFn, hasThemeFn, hex2rgba, hueInterpolationMethods, iconFnRE, isInterpolatedMethod, parseCssColor, polarColorSpace, rectangularColorSpace, themeFnRE, transformThemeFn, transformThemeString, variantGetBracket, variantGetParameter, variantMatcher, variantParentMatcher };
1
+ export * from "@unocss/rule-utils";
@@ -1,8 +1,5 @@
1
- import "./colors-B7ImWeE4.mjs";
2
- import "./index-DHUr3Ij6.mjs";
3
- import "./index-Cc_71NsC.mjs";
4
- import "./rules-DJ1ZMsEe.mjs";
5
- import "./shortcuts-D5yU9xI_.mjs";
6
- import "./theme-BNdAqsEU.mjs";
7
- import { a as variantSpaceAndDivide, c as variantMotions, d as variantColorsScheme, f as variantCombinators, i as variantColorMix, l as variantOrientations, o as variantStickyHover, r as placeholderModifier, s as variantContrasts, u as variants } from "./index-DX06SQ1b.mjs";
1
+ import "./rules-Dd5IWQsx.mjs";
2
+ import "./shortcuts-DRxVPoH8.mjs";
3
+ import "./theme-D8rOP0iB.mjs";
4
+ import { c as variantSpaceAndDivide, d as variantMotions, f as variantOrientations, h as variantCombinators, l as variantStickyHover, m as variantColorsScheme, o as placeholderModifier, p as variants, s as variantColorMix, u as variantContrasts } from "./index-hA29nYTP.mjs";
8
5
  export { placeholderModifier, variantColorMix, variantColorsScheme, variantCombinators, variantContrasts, variantMotions, variantOrientations, variantSpaceAndDivide, variantStickyHover, variants };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/preset-wind3",
3
3
  "type": "module",
4
- "version": "66.5.11",
4
+ "version": "66.5.12",
5
5
  "description": "Tailwind 3 / Windi CSS compact preset for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -60,9 +60,9 @@
60
60
  "dist"
61
61
  ],
62
62
  "dependencies": {
63
- "@unocss/rule-utils": "66.5.11",
64
- "@unocss/preset-mini": "66.5.11",
65
- "@unocss/core": "66.5.11"
63
+ "@unocss/core": "66.5.12",
64
+ "@unocss/preset-mini": "66.5.12",
65
+ "@unocss/rule-utils": "66.5.12"
66
66
  },
67
67
  "scripts": {
68
68
  "build": "tsdown",
@@ -1,431 +0,0 @@
1
- import { Arrayable, CSSObject } from "@unocss/core";
2
-
3
- //#region ../preset-mini/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 ../preset-mini/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 { Theme as n, colors as t };
@@ -1,124 +0,0 @@
1
- import { Arrayable, VariantHandlerContext, VariantObject } from "@unocss/core";
2
-
3
- //#region ../rule-utils/src/colors.d.ts
4
- interface CSSColorValue {
5
- type: string;
6
- components: (string | number)[];
7
- alpha: string | number | undefined;
8
- }
9
- type RGBAColorValue = [number, number, number, number] | [number, number, number];
10
- interface ParsedColorValue {
11
- /**
12
- * Parsed color value.
13
- */
14
- color?: string;
15
- /**
16
- * Parsed opacity value.
17
- */
18
- opacity: string;
19
- /**
20
- * Color name.
21
- */
22
- name: string;
23
- /**
24
- * Color scale, preferably 000 - 999.
25
- */
26
- no: string;
27
- /**
28
- * {@link CSSColorValue}
29
- */
30
- cssColor: CSSColorValue | undefined;
31
- /**
32
- * Parsed alpha value from opacity
33
- */
34
- alpha: string | number | undefined;
35
- }
36
- declare const cssColorFunctions: string[];
37
- declare const rectangularColorSpace: string[];
38
- declare const polarColorSpace: string[];
39
- declare const hueInterpolationMethods: string[];
40
- declare const alphaPlaceholders: string[];
41
- declare const alphaPlaceholdersRE: RegExp;
42
- declare function isInterpolatedMethod(type?: string): boolean;
43
- declare function hex2rgba(hex?: string): RGBAColorValue | undefined;
44
- declare function parseCssColor(str?: string): CSSColorValue | undefined;
45
- declare function colorOpacityToString(color: CSSColorValue): string | number;
46
- declare function colorToString(color: CSSColorValue | string, alphaOverride?: string | number): string;
47
- //#endregion
48
- //#region ../rule-utils/src/directive.d.ts
49
- declare const themeFnRE: RegExp;
50
- declare function hasThemeFn(str: string): boolean;
51
- declare function transformThemeFn(code: string, theme: Record<string, any>, throwOnMissing?: boolean): string;
52
- declare function transformThemeString(code: string, theme: Record<string, any>, throwOnMissing?: boolean): string | undefined;
53
- declare function calcMaxWidthBySize(size: string): string;
54
- //#endregion
55
- //#region ../rule-utils/src/handlers.d.ts
56
- type ValueHandlerCallback<T extends object> = (str: string, theme?: T) => string | number | undefined;
57
- type ValueHandler<K extends string, T extends object> = { [S in K]: ValueHandler<K, T> } & {
58
- (str: string, theme?: T): string | undefined;
59
- __options: {
60
- sequence: K[];
61
- };
62
- };
63
- declare function createValueHandler<K extends string, T extends object>(handlers: Record<K, ValueHandlerCallback<T>>): ValueHandler<K, T>;
64
- //#endregion
65
- //#region ../rule-utils/src/icon.d.ts
66
- declare const iconFnRE: RegExp;
67
- declare function hasIconFn(str: string): boolean;
68
- //#endregion
69
- //#region ../rule-utils/src/utilities.d.ts
70
- declare function getBracket(str: string, open: string, close: string): string[] | undefined;
71
- declare function getStringComponent(str: string, open: string, close: string, separators: string | string[]): string[] | undefined;
72
- declare function getStringComponents(str: string, separators: string | string[], limit?: number, open?: string, close?: string): string[] | undefined;
73
- //#endregion
74
- //#region ../rule-utils/src/variants.d.ts
75
- declare function variantMatcher<T extends object = object>(name: string, handler: Arrayable<(input: VariantHandlerContext) => Record<string, any>>, options?: Omit<VariantObject<T>, 'match'>): VariantObject<T>;
76
- declare function variantParentMatcher<T extends object = object>(name: string, parent: string): VariantObject<T>;
77
- declare function variantGetBracket(prefix: string, matcher: string, separators: string[]): string[] | undefined;
78
- declare function variantGetParameter(prefix: Arrayable<string>, matcher: string, separators: string[]): string[] | undefined;
79
- //#endregion
80
- //#region ../rule-utils/src/pseudo.d.ts
81
- /**
82
- * Note: the order of following pseudo classes will affect the order of generated css.
83
- *
84
- * Reference: https://github.com/tailwindlabs/tailwindcss/blob/main/src/corePlugins.js#L83
85
- */
86
- declare const PseudoClasses: Record<string, string>;
87
- declare const PseudoClassesKeys: string[];
88
- declare const PseudoClassesColon: Record<string, string>;
89
- declare const PseudoClassesColonKeys: string[];
90
- declare const PseudoClassFunctions: string[];
91
- declare const PseudoClassesMulti: Record<string, string[]>;
92
- declare const PseudoClassesStr: string;
93
- declare const PseudoClassesColonStr: string;
94
- declare const PseudoClassFunctionsStr: string;
95
- declare const PseudoClassesMultiStr: string;
96
- declare const excludedPseudo: string[];
97
- declare const PseudoClassesAndElementsStr: string;
98
- declare const PseudoClassesAndElementsColonStr: string;
99
- interface PseudoVariantOptions {
100
- /**
101
- * Generate tagged pseudo selector as `[group=""]` instead of `.group`
102
- *
103
- * @default false
104
- */
105
- attributifyPseudo?: boolean;
106
- /**
107
- * Utils prefix
108
- */
109
- prefix?: string | string[];
110
- }
111
- interface PseudoVariantUtilities<Theme extends object = object> {
112
- getBracket: typeof getBracket;
113
- h: {
114
- bracket: (s: string, theme?: Theme) => string | undefined;
115
- };
116
- variantGetBracket: typeof variantGetBracket;
117
- }
118
- declare function createTaggedPseudoClassMatcher<T extends object = object>(tag: string, parent: string, combinator: string, utils: PseudoVariantUtilities): VariantObject<T>;
119
- declare function createPseudoClassesAndElements<T extends object = object>(utils: PseudoVariantUtilities): VariantObject<T>[];
120
- declare function createPseudoClassFunctions<T extends object = object>(utils: PseudoVariantUtilities): VariantObject<T>;
121
- declare function createTaggedPseudoClasses<T extends object = object>(options: PseudoVariantOptions, utils: PseudoVariantUtilities): VariantObject<T>[];
122
- declare function createPartClasses<T extends object = object>(): VariantObject<T>;
123
- //#endregion
124
- export { ValueHandler as A, RGBAColorValue as B, variantMatcher as C, getStringComponents as D, getStringComponent as E, themeFnRE as F, cssColorFunctions as G, alphaPlaceholdersRE as H, transformThemeFn as I, isInterpolatedMethod as J, hex2rgba as K, transformThemeString as L, createValueHandler as M, calcMaxWidthBySize as N, hasIconFn as O, hasThemeFn as P, CSSColorValue as R, variantGetParameter as S, getBracket as T, colorOpacityToString as U, alphaPlaceholders as V, colorToString as W, polarColorSpace as X, parseCssColor as Y, rectangularColorSpace as Z, createPseudoClassesAndElements as _, PseudoClassesAndElementsStr as a, excludedPseudo as b, PseudoClassesColonStr as c, PseudoClassesMultiStr as d, PseudoClassesStr as f, createPseudoClassFunctions as g, createPartClasses as h, PseudoClassesAndElementsColonStr as i, ValueHandlerCallback as j, iconFnRE as k, PseudoClassesKeys as l, PseudoVariantUtilities as m, PseudoClassFunctionsStr as n, PseudoClassesColon as o, PseudoVariantOptions as p, hueInterpolationMethods as q, PseudoClasses as r, PseudoClassesColonKeys as s, PseudoClassFunctions as t, PseudoClassesMulti as u, createTaggedPseudoClassMatcher as v, variantParentMatcher as w, variantGetBracket as x, createTaggedPseudoClasses as y, ParsedColorValue as z };
@@ -1,63 +0,0 @@
1
- import { n as Theme } from "./colors-B7ImWeE4.mjs";
2
- import { CSSObject, Preflight, PresetOptions } from "@unocss/core";
3
-
4
- //#region ../preset-mini/src/preflights.d.ts
5
- declare function preflights(options: PresetMiniOptions): Preflight<Theme>[] | undefined;
6
- //#endregion
7
- //#region ../preset-mini/src/index.d.ts
8
- interface DarkModeSelectors {
9
- /**
10
- * Selectors for light variant.
11
- *
12
- * @default '.light'
13
- */
14
- light?: string | string[];
15
- /**
16
- * Selectors for dark variant.
17
- *
18
- * @default '.dark'
19
- */
20
- dark?: string | string[];
21
- }
22
- interface PresetMiniOptions extends PresetOptions {
23
- /**
24
- * Dark mode options
25
- *
26
- * @default 'class'
27
- */
28
- dark?: 'class' | 'media' | DarkModeSelectors;
29
- /**
30
- * Generate tagged pseudo selector as `[group=""]` instead of `.group`
31
- *
32
- * @default false
33
- */
34
- attributifyPseudo?: boolean;
35
- /**
36
- * Prefix for CSS variables.
37
- *
38
- * @default 'un-'
39
- */
40
- variablePrefix?: string;
41
- /**
42
- * Utils prefix. When using tagged pseudo selector, only the first truthy prefix will be used.
43
- *
44
- * @default undefined
45
- */
46
- prefix?: string | string[];
47
- /**
48
- * Generate preflight
49
- *
50
- * @default true
51
- */
52
- preflight?: boolean | 'on-demand';
53
- /**
54
- * Enable arbitrary variants, for example `<div class="[&>*]:m-1 [&[open]]:p-2"></div>`.
55
- *
56
- * Disable this might slightly improve the performance.
57
- *
58
- * @default true
59
- */
60
- arbitraryVariants?: boolean;
61
- }
62
- //#endregion
63
- export { preflights as n, PresetMiniOptions as t };
@@ -1,7 +0,0 @@
1
- import { n as Theme } from "./colors-B7ImWeE4.mjs";
2
- import * as _unocss_core0 from "@unocss/core";
3
-
4
- //#region src/shortcuts.d.ts
5
- declare const shortcuts: _unocss_core0.Shortcut<Theme>[];
6
- //#endregion
7
- export { shortcuts as t };
@@ -1,6 +0,0 @@
1
- import { n as Theme } from "./colors-B7ImWeE4.mjs";
2
-
3
- //#region src/theme.d.ts
4
- declare const theme: Theme;
5
- //#endregion
6
- export { theme as t };