@unocss/preset-mini 0.58.9 → 0.59.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.
@@ -1,593 +0,0 @@
1
- 'use strict';
2
-
3
- const core = require('@unocss/core');
4
- const ruleUtils = require('@unocss/rule-utils');
5
-
6
- const directionMap = {
7
- "l": ["-left"],
8
- "r": ["-right"],
9
- "t": ["-top"],
10
- "b": ["-bottom"],
11
- "s": ["-inline-start"],
12
- "e": ["-inline-end"],
13
- "x": ["-left", "-right"],
14
- "y": ["-top", "-bottom"],
15
- "": [""],
16
- "bs": ["-block-start"],
17
- "be": ["-block-end"],
18
- "is": ["-inline-start"],
19
- "ie": ["-inline-end"],
20
- "block": ["-block-start", "-block-end"],
21
- "inline": ["-inline-start", "-inline-end"]
22
- };
23
- const insetMap = {
24
- ...directionMap,
25
- s: ["-inset-inline-start"],
26
- start: ["-inset-inline-start"],
27
- e: ["-inset-inline-end"],
28
- end: ["-inset-inline-end"],
29
- bs: ["-inset-block-start"],
30
- be: ["-inset-block-end"],
31
- is: ["-inset-inline-start"],
32
- ie: ["-inset-inline-end"],
33
- block: ["-inset-block-start", "-inset-block-end"],
34
- inline: ["-inset-inline-start", "-inset-inline-end"]
35
- };
36
- const cornerMap = {
37
- "l": ["-top-left", "-bottom-left"],
38
- "r": ["-top-right", "-bottom-right"],
39
- "t": ["-top-left", "-top-right"],
40
- "b": ["-bottom-left", "-bottom-right"],
41
- "tl": ["-top-left"],
42
- "lt": ["-top-left"],
43
- "tr": ["-top-right"],
44
- "rt": ["-top-right"],
45
- "bl": ["-bottom-left"],
46
- "lb": ["-bottom-left"],
47
- "br": ["-bottom-right"],
48
- "rb": ["-bottom-right"],
49
- "": [""],
50
- "bs": ["-start-start", "-start-end"],
51
- "be": ["-end-start", "-end-end"],
52
- "s": ["-end-start", "-start-start"],
53
- "is": ["-end-start", "-start-start"],
54
- "e": ["-start-end", "-end-end"],
55
- "ie": ["-start-end", "-end-end"],
56
- "ss": ["-start-start"],
57
- "bs-is": ["-start-start"],
58
- "is-bs": ["-start-start"],
59
- "se": ["-start-end"],
60
- "bs-ie": ["-start-end"],
61
- "ie-bs": ["-start-end"],
62
- "es": ["-end-start"],
63
- "be-is": ["-end-start"],
64
- "is-be": ["-end-start"],
65
- "ee": ["-end-end"],
66
- "be-ie": ["-end-end"],
67
- "ie-be": ["-end-end"]
68
- };
69
- const xyzMap = {
70
- "x": ["-x"],
71
- "y": ["-y"],
72
- "z": ["-z"],
73
- "": ["-x", "-y"]
74
- };
75
- const xyzArray = ["x", "y", "z"];
76
- const basePositionMap = [
77
- "top",
78
- "top center",
79
- "top left",
80
- "top right",
81
- "bottom",
82
- "bottom center",
83
- "bottom left",
84
- "bottom right",
85
- "left",
86
- "left center",
87
- "left top",
88
- "left bottom",
89
- "right",
90
- "right center",
91
- "right top",
92
- "right bottom",
93
- "center",
94
- "center top",
95
- "center bottom",
96
- "center left",
97
- "center right",
98
- "center center"
99
- ];
100
- const positionMap = Object.assign(
101
- {},
102
- ...basePositionMap.map((p) => ({ [p.replace(/ /, "-")]: p })),
103
- ...basePositionMap.map((p) => ({ [p.replace(/\b(\w)\w+/g, "$1").replace(/ /, "")]: p }))
104
- );
105
- const globalKeywords = [
106
- "inherit",
107
- "initial",
108
- "revert",
109
- "revert-layer",
110
- "unset"
111
- ];
112
- const cssMathFnRE = /^(calc|clamp|min|max)\s*\((.+)\)(.*)/;
113
-
114
- const numberWithUnitRE = /^(-?\d*(?:\.\d+)?)(px|pt|pc|%|r?(?:em|ex|lh|cap|ch|ic)|(?:[sld]?v|cq)(?:[whib]|min|max)|in|cm|mm|rpx)?$/i;
115
- const numberRE = /^(-?\d*(?:\.\d+)?)$/i;
116
- const unitOnlyRE = /^(px|[sld]?v[wh])$/i;
117
- const unitOnlyMap = {
118
- px: 1,
119
- vw: 100,
120
- vh: 100,
121
- svw: 100,
122
- svh: 100,
123
- dvw: 100,
124
- dvh: 100,
125
- lvh: 100,
126
- lvw: 100
127
- };
128
- const bracketTypeRe = /^\[(color|length|size|position|quoted|string):/i;
129
- const splitComma = /,(?![^()]*\))/g;
130
-
131
- const cssProps = [
132
- // basic props
133
- "color",
134
- "border-color",
135
- "background-color",
136
- "flex-grow",
137
- "flex",
138
- "flex-shrink",
139
- "caret-color",
140
- "font",
141
- "gap",
142
- "opacity",
143
- "visibility",
144
- "z-index",
145
- "font-weight",
146
- "zoom",
147
- "text-shadow",
148
- "transform",
149
- "box-shadow",
150
- // positions
151
- "background-position",
152
- "left",
153
- "right",
154
- "top",
155
- "bottom",
156
- "object-position",
157
- // sizes
158
- "max-height",
159
- "min-height",
160
- "max-width",
161
- "min-width",
162
- "height",
163
- "width",
164
- "border-width",
165
- "margin",
166
- "padding",
167
- "outline-width",
168
- "outline-offset",
169
- "font-size",
170
- "line-height",
171
- "text-indent",
172
- "vertical-align",
173
- "border-spacing",
174
- "letter-spacing",
175
- "word-spacing",
176
- // enhances
177
- "stroke",
178
- "filter",
179
- "backdrop-filter",
180
- "fill",
181
- "mask",
182
- "mask-size",
183
- "mask-border",
184
- "clip-path",
185
- "clip",
186
- "border-radius"
187
- ];
188
- function round(n) {
189
- return n.toFixed(10).replace(/\.0+$/, "").replace(/(\.\d+?)0+$/, "$1");
190
- }
191
- function numberWithUnit(str) {
192
- const match = str.match(numberWithUnitRE);
193
- if (!match)
194
- return;
195
- const [, n, unit] = match;
196
- const num = Number.parseFloat(n);
197
- if (unit && !Number.isNaN(num))
198
- return `${round(num)}${unit}`;
199
- }
200
- function auto(str) {
201
- if (str === "auto" || str === "a")
202
- return "auto";
203
- }
204
- function rem(str) {
205
- if (!str)
206
- return;
207
- if (unitOnlyRE.test(str))
208
- return `${unitOnlyMap[str]}${str}`;
209
- const match = str.match(numberWithUnitRE);
210
- if (!match)
211
- return;
212
- const [, n, unit] = match;
213
- const num = Number.parseFloat(n);
214
- if (!Number.isNaN(num)) {
215
- if (num === 0)
216
- return "0";
217
- return unit ? `${round(num)}${unit}` : `${round(num / 4)}rem`;
218
- }
219
- }
220
- function px(str) {
221
- if (unitOnlyRE.test(str))
222
- return `${unitOnlyMap[str]}${str}`;
223
- const match = str.match(numberWithUnitRE);
224
- if (!match)
225
- return;
226
- const [, n, unit] = match;
227
- const num = Number.parseFloat(n);
228
- if (!Number.isNaN(num))
229
- return unit ? `${round(num)}${unit}` : `${round(num)}px`;
230
- }
231
- function number(str) {
232
- if (!numberRE.test(str))
233
- return;
234
- const num = Number.parseFloat(str);
235
- if (!Number.isNaN(num))
236
- return round(num);
237
- }
238
- function percent(str) {
239
- if (str.endsWith("%"))
240
- str = str.slice(0, -1);
241
- if (!numberRE.test(str))
242
- return;
243
- const num = Number.parseFloat(str);
244
- if (!Number.isNaN(num))
245
- return `${round(num / 100)}`;
246
- }
247
- function fraction(str) {
248
- if (!str)
249
- return;
250
- if (str === "full")
251
- return "100%";
252
- const [left, right] = str.split("/");
253
- const num = Number.parseFloat(left) / Number.parseFloat(right);
254
- if (!Number.isNaN(num)) {
255
- if (num === 0)
256
- return "0";
257
- return `${round(num * 100)}%`;
258
- }
259
- }
260
- function bracketWithType(str, requiredType) {
261
- if (str && str.startsWith("[") && str.endsWith("]")) {
262
- let base;
263
- let hintedType;
264
- const match = str.match(bracketTypeRe);
265
- if (!match) {
266
- base = str.slice(1, -1);
267
- } else {
268
- if (!requiredType)
269
- hintedType = match[1];
270
- base = str.slice(match[0].length, -1);
271
- }
272
- if (!base)
273
- return;
274
- if (base === '=""')
275
- return;
276
- if (base.startsWith("--"))
277
- base = `var(${base})`;
278
- let curly = 0;
279
- for (const i of base) {
280
- if (i === "[") {
281
- curly += 1;
282
- } else if (i === "]") {
283
- curly -= 1;
284
- if (curly < 0)
285
- return;
286
- }
287
- }
288
- if (curly)
289
- return;
290
- switch (hintedType) {
291
- case "string":
292
- return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_");
293
- case "quoted":
294
- return base.replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(["\\])/g, "\\$1").replace(/^(.+)$/, '"$1"');
295
- }
296
- return base.replace(/(url\(.*?\))/g, (v) => v.replace(/_/g, "\\_")).replace(/(^|[^\\])_/g, "$1 ").replace(/\\_/g, "_").replace(/(?:calc|clamp|max|min)\((.*)/g, (match2) => {
297
- const vars = [];
298
- return match2.replace(/var\((--.+?)[,)]/g, (match3, g1) => {
299
- vars.push(g1);
300
- return match3.replace(g1, "--un-calc");
301
- }).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(/--un-calc/g, () => vars.shift());
302
- });
303
- }
304
- }
305
- function bracket(str) {
306
- return bracketWithType(str);
307
- }
308
- function bracketOfColor(str) {
309
- return bracketWithType(str, "color");
310
- }
311
- function bracketOfLength(str) {
312
- return bracketWithType(str, "length");
313
- }
314
- function bracketOfPosition(str) {
315
- return bracketWithType(str, "position");
316
- }
317
- function cssvar(str) {
318
- if (/^\$[^\s'"`;{}]/.test(str)) {
319
- const [name, defaultValue] = str.slice(1).split(",");
320
- return `var(--${core.escapeSelector(name)}${defaultValue ? `, ${defaultValue}` : ""})`;
321
- }
322
- }
323
- function time(str) {
324
- const match = str.match(/^(-?[0-9.]+)(s|ms)?$/i);
325
- if (!match)
326
- return;
327
- const [, n, unit] = match;
328
- const num = Number.parseFloat(n);
329
- if (!Number.isNaN(num)) {
330
- if (num === 0 && !unit)
331
- return "0s";
332
- return unit ? `${round(num)}${unit}` : `${round(num)}ms`;
333
- }
334
- }
335
- function degree(str) {
336
- const match = str.match(/^(-?[0-9.]+)(deg|rad|grad|turn)?$/i);
337
- if (!match)
338
- return;
339
- const [, n, unit] = match;
340
- const num = Number.parseFloat(n);
341
- if (!Number.isNaN(num)) {
342
- if (num === 0)
343
- return "0";
344
- return unit ? `${round(num)}${unit}` : `${round(num)}deg`;
345
- }
346
- }
347
- function global(str) {
348
- if (globalKeywords.includes(str))
349
- return str;
350
- }
351
- function properties(str) {
352
- if (str.split(",").every((prop) => cssProps.includes(prop)))
353
- return str;
354
- }
355
- function position(str) {
356
- if (["top", "left", "right", "bottom", "center"].includes(str))
357
- return str;
358
- }
359
-
360
- const valueHandlers = {
361
- __proto__: null,
362
- auto: auto,
363
- bracket: bracket,
364
- bracketOfColor: bracketOfColor,
365
- bracketOfLength: bracketOfLength,
366
- bracketOfPosition: bracketOfPosition,
367
- cssvar: cssvar,
368
- degree: degree,
369
- fraction: fraction,
370
- global: global,
371
- number: number,
372
- numberWithUnit: numberWithUnit,
373
- percent: percent,
374
- position: position,
375
- properties: properties,
376
- px: px,
377
- rem: rem,
378
- time: time
379
- };
380
-
381
- const handler = ruleUtils.createValueHandler(valueHandlers);
382
- const h = handler;
383
-
384
- const CONTROL_MINI_NO_NEGATIVE = "$$mini-no-negative";
385
- function directionSize(propertyPrefix) {
386
- return ([_, direction, size], { theme }) => {
387
- const v = theme.spacing?.[size || "DEFAULT"] ?? h.bracket.cssvar.global.auto.fraction.rem(size);
388
- if (v != null)
389
- return directionMap[direction].map((i) => [`${propertyPrefix}${i}`, v]);
390
- };
391
- }
392
- function getThemeColorForKey(theme, colors, key = "colors") {
393
- let obj = theme[key];
394
- let index = -1;
395
- for (const c of colors) {
396
- index += 1;
397
- if (obj && typeof obj !== "string") {
398
- const camel = colors.slice(index).join("-").replace(/(-[a-z])/g, (n) => n.slice(1).toUpperCase());
399
- if (obj[camel])
400
- return obj[camel];
401
- if (obj[c]) {
402
- obj = obj[c];
403
- continue;
404
- }
405
- }
406
- return void 0;
407
- }
408
- return obj;
409
- }
410
- function getThemeColor(theme, colors, key) {
411
- return getThemeColorForKey(theme, colors, key) || getThemeColorForKey(theme, colors, "colors");
412
- }
413
- function splitShorthand(body, type) {
414
- const [front, rest] = ruleUtils.getStringComponent(body, "[", "]", ["/", ":"]) ?? [];
415
- if (front != null) {
416
- const match = (front.match(bracketTypeRe) ?? [])[1];
417
- if (match == null || match === type)
418
- return [front, rest];
419
- }
420
- }
421
- function parseColor(body, theme, key) {
422
- const split = splitShorthand(body, "color");
423
- if (!split)
424
- return;
425
- const [main, opacity] = split;
426
- const colors = main.replace(/([a-z])([0-9])/g, "$1-$2").split(/-/g);
427
- const [name] = colors;
428
- if (!name)
429
- return;
430
- let color;
431
- const bracket = h.bracketOfColor(main);
432
- const bracketOrMain = bracket || main;
433
- if (h.numberWithUnit(bracketOrMain))
434
- return;
435
- if (/^#[\da-fA-F]+$/.test(bracketOrMain))
436
- color = bracketOrMain;
437
- else if (/^hex-[\da-fA-F]+$/.test(bracketOrMain))
438
- color = `#${bracketOrMain.slice(4)}`;
439
- else if (main.startsWith("$"))
440
- color = h.cssvar(main);
441
- color = color || bracket;
442
- if (!color) {
443
- const colorData = getThemeColor(theme, [main], key);
444
- if (typeof colorData === "string")
445
- color = colorData;
446
- }
447
- let no = "DEFAULT";
448
- if (!color) {
449
- let colorData;
450
- const [scale] = colors.slice(-1);
451
- if (/^\d+$/.test(scale)) {
452
- no = scale;
453
- colorData = getThemeColor(theme, colors.slice(0, -1), key);
454
- if (!colorData || typeof colorData === "string")
455
- color = void 0;
456
- else
457
- color = colorData[no];
458
- } else {
459
- colorData = getThemeColor(theme, colors, key);
460
- if (!colorData && colors.length <= 2) {
461
- [, no = no] = colors;
462
- colorData = getThemeColor(theme, [name], key);
463
- }
464
- if (typeof colorData === "string")
465
- color = colorData;
466
- else if (no && colorData)
467
- color = colorData[no];
468
- }
469
- }
470
- return {
471
- opacity,
472
- name,
473
- no,
474
- color,
475
- cssColor: ruleUtils.parseCssColor(color),
476
- alpha: h.bracket.cssvar.percent(opacity ?? "")
477
- };
478
- }
479
- function colorResolver(property, varName, key, shouldPass) {
480
- return ([, body], { theme }) => {
481
- const data = parseColor(body, theme, key);
482
- if (!data)
483
- return;
484
- const { alpha, color, cssColor } = data;
485
- const css = {};
486
- if (cssColor) {
487
- if (alpha != null) {
488
- css[property] = ruleUtils.colorToString(cssColor, alpha);
489
- } else {
490
- const opacityVar = `--un-${varName}-opacity`;
491
- const result = ruleUtils.colorToString(cssColor, `var(${opacityVar})`);
492
- if (result.includes(opacityVar))
493
- css[opacityVar] = ruleUtils.colorOpacityToString(cssColor);
494
- css[property] = result;
495
- }
496
- } else if (color) {
497
- if (alpha != null) {
498
- css[property] = ruleUtils.colorToString(color, alpha);
499
- } else {
500
- const opacityVar = `--un-${varName}-opacity`;
501
- const result = ruleUtils.colorToString(color, `var(${opacityVar})`);
502
- if (result.includes(opacityVar))
503
- css[opacityVar] = 1;
504
- css[property] = result;
505
- }
506
- }
507
- if (shouldPass?.(css) !== false)
508
- return css;
509
- };
510
- }
511
- function colorableShadows(shadows, colorVar) {
512
- const colored = [];
513
- shadows = core.toArray(shadows);
514
- for (let i = 0; i < shadows.length; i++) {
515
- const components = ruleUtils.getStringComponents(shadows[i], " ", 6);
516
- if (!components || components.length < 3)
517
- return shadows;
518
- let isInset = false;
519
- const pos = components.indexOf("inset");
520
- if (pos !== -1) {
521
- components.splice(pos, 1);
522
- isInset = true;
523
- }
524
- let colorVarValue = "";
525
- if (ruleUtils.parseCssColor(components.at(0))) {
526
- const color = ruleUtils.parseCssColor(components.shift());
527
- if (color)
528
- colorVarValue = `, ${ruleUtils.colorToString(color)}`;
529
- } else if (ruleUtils.parseCssColor(components.at(-1))) {
530
- const color = ruleUtils.parseCssColor(components.pop());
531
- if (color)
532
- colorVarValue = `, ${ruleUtils.colorToString(color)}`;
533
- }
534
- colored.push(`${isInset ? "inset " : ""}${components.join(" ")} var(${colorVar}${colorVarValue})`);
535
- }
536
- return colored;
537
- }
538
- function hasParseableColor(color, theme, key) {
539
- return color != null && !!parseColor(color, theme, key)?.color;
540
- }
541
- function resolveBreakpoints({ theme, generator }, key = "breakpoints") {
542
- let breakpoints;
543
- if (generator.userConfig && generator.userConfig.theme)
544
- breakpoints = generator.userConfig.theme[key];
545
- if (!breakpoints)
546
- breakpoints = theme[key];
547
- return breakpoints ? Object.entries(breakpoints).sort((a, b) => Number.parseInt(a[1].replace(/[a-z]+/gi, "")) - Number.parseInt(b[1].replace(/[a-z]+/gi, ""))).map(([point, size]) => ({ point, size })) : void 0;
548
- }
549
- function resolveVerticalBreakpoints(context) {
550
- return resolveBreakpoints(context, "verticalBreakpoints");
551
- }
552
- function makeGlobalStaticRules(prefix, property) {
553
- return globalKeywords.map((keyword) => [`${prefix}-${keyword}`, { [property ?? prefix]: keyword }]);
554
- }
555
- function isCSSMathFn(value) {
556
- return value != null && cssMathFnRE.test(value);
557
- }
558
- function isSize(str) {
559
- if (str[0] === "[" && str.slice(-1) === "]")
560
- str = str.slice(1, -1);
561
- return cssMathFnRE.test(str) || numberWithUnitRE.test(str);
562
- }
563
- function transformXYZ(d, v, name) {
564
- const values = v.split(splitComma);
565
- if (d || !d && values.length === 1)
566
- return xyzMap[d].map((i) => [`--un-${name}${i}`, v]);
567
- return values.map((v2, i) => [`--un-${name}-${xyzArray[i]}`, v2]);
568
- }
569
-
570
- exports.CONTROL_MINI_NO_NEGATIVE = CONTROL_MINI_NO_NEGATIVE;
571
- exports.colorResolver = colorResolver;
572
- exports.colorableShadows = colorableShadows;
573
- exports.cornerMap = cornerMap;
574
- exports.cssMathFnRE = cssMathFnRE;
575
- exports.directionMap = directionMap;
576
- exports.directionSize = directionSize;
577
- exports.globalKeywords = globalKeywords;
578
- exports.h = h;
579
- exports.handler = handler;
580
- exports.hasParseableColor = hasParseableColor;
581
- exports.insetMap = insetMap;
582
- exports.isCSSMathFn = isCSSMathFn;
583
- exports.isSize = isSize;
584
- exports.makeGlobalStaticRules = makeGlobalStaticRules;
585
- exports.parseColor = parseColor;
586
- exports.positionMap = positionMap;
587
- exports.resolveBreakpoints = resolveBreakpoints;
588
- exports.resolveVerticalBreakpoints = resolveVerticalBreakpoints;
589
- exports.splitShorthand = splitShorthand;
590
- exports.transformXYZ = transformXYZ;
591
- exports.valueHandlers = valueHandlers;
592
- exports.xyzArray = xyzArray;
593
- exports.xyzMap = xyzMap;
@@ -1,77 +0,0 @@
1
- import { CSSObject, Arrayable } from '@unocss/core';
2
-
3
- interface ThemeAnimation {
4
- keyframes?: Record<string, string>;
5
- durations?: Record<string, string>;
6
- timingFns?: Record<string, string>;
7
- properties?: Record<string, object>;
8
- counts?: Record<string, string | number>;
9
- }
10
- interface Colors {
11
- [key: string]: Colors & {
12
- DEFAULT?: string;
13
- } | string;
14
- }
15
- interface Theme {
16
- width?: Record<string, string>;
17
- height?: Record<string, string>;
18
- maxWidth?: Record<string, string>;
19
- maxHeight?: Record<string, string>;
20
- minWidth?: Record<string, string>;
21
- minHeight?: Record<string, string>;
22
- inlineSize?: Record<string, string>;
23
- blockSize?: Record<string, string>;
24
- maxInlineSize?: Record<string, string>;
25
- maxBlockSize?: Record<string, string>;
26
- minInlineSize?: Record<string, string>;
27
- minBlockSize?: Record<string, string>;
28
- borderRadius?: Record<string, string>;
29
- breakpoints?: Record<string, string>;
30
- verticalBreakpoints?: Record<string, string>;
31
- colors?: Colors;
32
- borderColor?: Colors;
33
- backgroundColor?: Colors;
34
- textColor?: Colors;
35
- shadowColor?: Colors;
36
- accentColor?: Colors;
37
- fontFamily?: Record<string, string>;
38
- fontSize?: Record<string, string | [string, string | CSSObject] | [string, string, string]>;
39
- fontWeight?: Record<string, string>;
40
- lineHeight?: Record<string, string>;
41
- letterSpacing?: Record<string, string>;
42
- wordSpacing?: Record<string, string>;
43
- boxShadow?: Record<string, string | string[]>;
44
- textIndent?: Record<string, string>;
45
- textShadow?: Record<string, string | string[]>;
46
- textStrokeWidth?: Record<string, string>;
47
- ringWidth?: Record<string, string>;
48
- lineWidth?: Record<string, string>;
49
- spacing?: Record<string, string>;
50
- duration?: Record<string, string>;
51
- aria?: Record<string, string>;
52
- data?: Record<string, string>;
53
- zIndex?: Record<string, string>;
54
- blur?: Record<string, string>;
55
- dropShadow?: Record<string, string | string[]>;
56
- easing?: Record<string, string>;
57
- media?: Record<string, string>;
58
- supports?: Record<string, string>;
59
- containers?: Record<string, string>;
60
- animation?: ThemeAnimation;
61
- gridAutoColumn?: Record<string, string>;
62
- gridAutoRow?: Record<string, string>;
63
- gridColumn?: Record<string, string>;
64
- gridRow?: Record<string, string>;
65
- gridTemplateColumn?: Record<string, string>;
66
- gridTemplateRow?: Record<string, string>;
67
- container?: {
68
- center?: boolean;
69
- padding?: string | Record<string, string>;
70
- maxWidth?: Record<string, string>;
71
- };
72
- /** Used to generate CSS custom properties placeholder in preflight */
73
- preflightRoot?: Arrayable<string>;
74
- preflightBase?: Record<string, string | number>;
75
- }
76
-
77
- export type { Colors as C, Theme as T, ThemeAnimation as a };