@sanity/ui 3.0.0-static.6 → 3.0.0-static.8
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/_chunks-cjs/_visual-editing.js +53 -53
- package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
- package/dist/_chunks-es/_visual-editing.mjs +54 -54
- package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/css.d.mts +207 -185
- package/dist/css.d.ts +207 -185
- package/dist/css.js +617 -547
- package/dist/css.js.map +1 -1
- package/dist/css.mjs +617 -547
- package/dist/css.mjs.map +1 -1
- package/dist/index.js +3 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -13
- package/dist/index.mjs.map +1 -1
- package/dist/sanity-theme.css +1 -1
- package/dist/system.css +1334 -914
- package/dist/theme.d.mts +84 -76
- package/dist/theme.d.ts +84 -76
- package/dist/theme.js +148 -124
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +148 -124
- package/dist/theme.mjs.map +1 -1
- package/package.json +1 -1
- package/src/css/aspects/index.ts +1 -0
- package/src/css/aspects/minWidth/index.ts +2 -0
- package/src/css/aspects/minWidth/minWidth.style.ts +13 -0
- package/src/css/aspects/minWidth/minWidth.ts +6 -0
- package/src/css/aspects/minWidth/types.ts +7 -0
- package/src/css/compile/compileRule.ts +1 -0
- package/src/css/compile/compileStyle.ts +1 -1
- package/src/css/compile/compileTheme_v3.ts +46 -37
- package/src/css/primitives/badge/badge.style.ts +1 -1
- package/src/css/primitives/box/box.style.ts +1 -1
- package/src/css/primitives/box/box.ts +2 -3
- package/src/css/primitives/box/types.ts +2 -0
- package/src/css/primitives/button/button.style.ts +20 -0
- package/src/css/primitives/card/card.style.ts +116 -44
- package/src/css/primitives/card/types.ts +0 -1
- package/src/css/primitives/kbd/kbd.style.ts +1 -1
- package/src/css/primitives/popover/popover.ts +4 -0
- package/src/css/primitives/switch/switch.style.ts +8 -83
- package/src/css/primitives/text/text.style.ts +11 -3
- package/src/css/system.style.ts +2 -0
- package/src/css/types.ts +200 -188
- package/src/css/varNames.ts +86 -76
- package/src/css/vars.ts +85 -76
- package/src/theme/v3/color/buildColor_v3.ts +43 -38
- package/src/theme/v3/color/card.ts +43 -38
- package/src/theme/v3/color/color.ts +42 -38
- package/src/theme/v3/defaults.ts +63 -47
- package/src/theme/v3/resolveTokens.ts +43 -38
- package/src/theme/versioning/themeColor_v3_v2.ts +1 -1
- package/src/ui/components/autocomplete/__workshop__/async.tsx +0 -1
- package/src/ui/components/autocomplete/autocomplete.tsx +2 -11
- package/src/ui/primitives/box/box.tsx +4 -3
- package/src/ui/primitives/card/card.tsx +2 -6
- package/src/ui/primitives/kbd/kbd.tsx +2 -2
- package/src/ui/primitives/popover/popoverCard.tsx +45 -39
- package/src/css/primitives/card/rules.ts +0 -473
package/dist/css.js
CHANGED
|
@@ -54,6 +54,9 @@ function margin(props) {
|
|
|
54
54
|
function maxWidth(props) {
|
|
55
55
|
return _resp("max-w", props.maxWidth) ?? "";
|
|
56
56
|
}
|
|
57
|
+
function minWidth(props) {
|
|
58
|
+
return _resp("min-w", props.minWidth) ?? "";
|
|
59
|
+
}
|
|
57
60
|
function overflow(props) {
|
|
58
61
|
return composeClassNames(_resp("overflow", props.overflow), _resp("overflow-x", props.overflowX), _resp("overflow-y", props.overflowY));
|
|
59
62
|
}
|
|
@@ -242,6 +245,48 @@ const varNames = {
|
|
|
242
245
|
backdrop: "--color-backdrop",
|
|
243
246
|
bg: "--color-bg",
|
|
244
247
|
border: "--color-border",
|
|
248
|
+
code: {
|
|
249
|
+
bg: "--color-code-bg",
|
|
250
|
+
fg: "--color-code-fg",
|
|
251
|
+
token: {
|
|
252
|
+
atrule: "--color-code-token-atrule",
|
|
253
|
+
attrName: "--color-code-token-attr-name",
|
|
254
|
+
attrValue: "--color-code-token-attr-value",
|
|
255
|
+
attribute: "--color-code-token-attribute",
|
|
256
|
+
boolean: "--color-code-token-boolean",
|
|
257
|
+
builtin: "--color-code-token-builtin",
|
|
258
|
+
cdata: "--color-code-token-cdata",
|
|
259
|
+
char: "--color-code-token-char",
|
|
260
|
+
class: "--color-code-token-class",
|
|
261
|
+
className: "--color-code-token-class-name",
|
|
262
|
+
comment: "--color-code-token-comment",
|
|
263
|
+
constant: "--color-code-token-constant",
|
|
264
|
+
deleted: "--color-code-token-deleted",
|
|
265
|
+
doctype: "--color-code-token-doctype",
|
|
266
|
+
entity: "--color-code-token-entity",
|
|
267
|
+
function: "--color-code-token-function",
|
|
268
|
+
hexcode: "--color-code-token-hexcode",
|
|
269
|
+
id: "--color-code-token-id",
|
|
270
|
+
important: "--color-code-token-important",
|
|
271
|
+
inserted: "--color-code-token-inserted",
|
|
272
|
+
keyword: "--color-code-token-keyword",
|
|
273
|
+
number: "--color-code-token-number",
|
|
274
|
+
operator: "--color-code-token-operator",
|
|
275
|
+
prolog: "--color-code-token-prolog",
|
|
276
|
+
property: "--color-code-token-property",
|
|
277
|
+
pseudoClass: "--color-code-token-pseudo-class",
|
|
278
|
+
pseudoElement: "--color-code-token-pseudo-element",
|
|
279
|
+
punctuation: "--color-code-token-punctuation",
|
|
280
|
+
regex: "--color-code-token-regex",
|
|
281
|
+
selector: "--color-code-token-selector",
|
|
282
|
+
string: "--color-code-token-string",
|
|
283
|
+
symbol: "--color-code-token-symbol",
|
|
284
|
+
tag: "--color-code-token-tag",
|
|
285
|
+
unit: "--color-code-token-unit",
|
|
286
|
+
url: "--color-code-token-url",
|
|
287
|
+
variable: "--color-code-token-variable"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
245
290
|
fg: "--color-fg",
|
|
246
291
|
focusRing: "--color-focus-ring",
|
|
247
292
|
input: {
|
|
@@ -267,44 +312,6 @@ const varNames = {
|
|
|
267
312
|
from: "--color-skeleton-from",
|
|
268
313
|
to: "--color-skeleton-to"
|
|
269
314
|
},
|
|
270
|
-
token: {
|
|
271
|
-
atrule: "--color-token-atrule",
|
|
272
|
-
attrName: "--color-token-attr-name",
|
|
273
|
-
attrValue: "--color-token-attr-value",
|
|
274
|
-
attribute: "--color-token-attribute",
|
|
275
|
-
boolean: "--color-token-boolean",
|
|
276
|
-
builtin: "--color-token-builtin",
|
|
277
|
-
cdata: "--color-token-cdata",
|
|
278
|
-
char: "--color-token-char",
|
|
279
|
-
class: "--color-token-class",
|
|
280
|
-
className: "--color-token-class-name",
|
|
281
|
-
comment: "--color-token-comment",
|
|
282
|
-
constant: "--color-token-constant",
|
|
283
|
-
deleted: "--color-token-deleted",
|
|
284
|
-
doctype: "--color-token-doctype",
|
|
285
|
-
entity: "--color-token-entity",
|
|
286
|
-
function: "--color-token-function",
|
|
287
|
-
hexcode: "--color-token-hexcode",
|
|
288
|
-
id: "--color-token-id",
|
|
289
|
-
important: "--color-token-important",
|
|
290
|
-
inserted: "--color-token-inserted",
|
|
291
|
-
keyword: "--color-token-keyword",
|
|
292
|
-
number: "--color-token-number",
|
|
293
|
-
operator: "--color-token-operator",
|
|
294
|
-
prolog: "--color-token-prolog",
|
|
295
|
-
property: "--color-token-property",
|
|
296
|
-
pseudoClass: "--color-token-pseudo-class",
|
|
297
|
-
pseudoElement: "--color-token-pseudo-element",
|
|
298
|
-
punctuation: "--color-token-punctuation",
|
|
299
|
-
regex: "--color-token-regex",
|
|
300
|
-
selector: "--color-token-selector",
|
|
301
|
-
string: "--color-token-string",
|
|
302
|
-
symbol: "--color-token-symbol",
|
|
303
|
-
tag: "--color-token-tag",
|
|
304
|
-
unit: "--color-token-unit",
|
|
305
|
-
url: "--color-token-url",
|
|
306
|
-
variable: "--color-token-variable"
|
|
307
|
-
},
|
|
308
315
|
solid: buildColorVariantVarNames({
|
|
309
316
|
variant: "solid"
|
|
310
317
|
}),
|
|
@@ -533,6 +540,48 @@ function buildColorCardVarNames(props) {
|
|
|
533
540
|
}
|
|
534
541
|
},
|
|
535
542
|
backdrop: `${sourcePrefix}-backdrop`,
|
|
543
|
+
code: {
|
|
544
|
+
bg: `${sourcePrefix}-code-bg`,
|
|
545
|
+
fg: `${sourcePrefix}-code-fg`,
|
|
546
|
+
token: {
|
|
547
|
+
atrule: `${sourcePrefix}-code-token-atrule`,
|
|
548
|
+
attrName: `${sourcePrefix}-code-token-attr-name`,
|
|
549
|
+
attrValue: `${sourcePrefix}-code-token-attr-value`,
|
|
550
|
+
attribute: `${sourcePrefix}-code-token-attribute`,
|
|
551
|
+
boolean: `${sourcePrefix}-code-token-boolean`,
|
|
552
|
+
builtin: `${sourcePrefix}-code-token-builtin`,
|
|
553
|
+
cdata: `${sourcePrefix}-code-token-cdata`,
|
|
554
|
+
char: `${sourcePrefix}-code-token-char`,
|
|
555
|
+
class: `${sourcePrefix}-code-token-class`,
|
|
556
|
+
className: `${sourcePrefix}-code-token-class-name`,
|
|
557
|
+
comment: `${sourcePrefix}-code-token-comment`,
|
|
558
|
+
constant: `${sourcePrefix}-code-token-constant`,
|
|
559
|
+
deleted: `${sourcePrefix}-code-token-deleted`,
|
|
560
|
+
doctype: `${sourcePrefix}-code-token-doctype`,
|
|
561
|
+
entity: `${sourcePrefix}-code-token-entity`,
|
|
562
|
+
function: `${sourcePrefix}-code-token-function`,
|
|
563
|
+
hexcode: `${sourcePrefix}-code-token-hexcode`,
|
|
564
|
+
id: `${sourcePrefix}-code-token-id`,
|
|
565
|
+
important: `${sourcePrefix}-code-token-important`,
|
|
566
|
+
inserted: `${sourcePrefix}-code-token-inserted`,
|
|
567
|
+
keyword: `${sourcePrefix}-code-token-keyword`,
|
|
568
|
+
number: `${sourcePrefix}-code-token-number`,
|
|
569
|
+
operator: `${sourcePrefix}-code-token-operator`,
|
|
570
|
+
prolog: `${sourcePrefix}-code-token-prolog`,
|
|
571
|
+
property: `${sourcePrefix}-code-token-property`,
|
|
572
|
+
pseudoClass: `${sourcePrefix}-code-token-pseudo-class`,
|
|
573
|
+
pseudoElement: `${sourcePrefix}-code-token-pseudo-element`,
|
|
574
|
+
punctuation: `${sourcePrefix}-code-token-punctuation`,
|
|
575
|
+
regex: `${sourcePrefix}-code-token-regex`,
|
|
576
|
+
selector: `${sourcePrefix}-code-token-selector`,
|
|
577
|
+
string: `${sourcePrefix}-code-token-string`,
|
|
578
|
+
symbol: `${sourcePrefix}-code-token-symbol`,
|
|
579
|
+
tag: `${sourcePrefix}-code-token-tag`,
|
|
580
|
+
unit: `${sourcePrefix}-code-token-unit`,
|
|
581
|
+
url: `${sourcePrefix}-code-token-url`,
|
|
582
|
+
variable: `${sourcePrefix}-code-token-variable`
|
|
583
|
+
}
|
|
584
|
+
},
|
|
536
585
|
focusRing: `${sourcePrefix}-focus-ring`,
|
|
537
586
|
link: {
|
|
538
587
|
fg: `${sourcePrefix}-link-fg`
|
|
@@ -551,44 +600,6 @@ function buildColorCardVarNames(props) {
|
|
|
551
600
|
from: `${sourcePrefix}-skeleton-from`,
|
|
552
601
|
to: `${sourcePrefix}-skeleton-to`
|
|
553
602
|
},
|
|
554
|
-
token: {
|
|
555
|
-
atrule: `${sourcePrefix}-token-atrule`,
|
|
556
|
-
attrName: `${sourcePrefix}-token-attr-name`,
|
|
557
|
-
attrValue: `${sourcePrefix}-token-attr-value`,
|
|
558
|
-
attribute: `${sourcePrefix}-token-attribute`,
|
|
559
|
-
boolean: `${sourcePrefix}-token-boolean`,
|
|
560
|
-
builtin: `${sourcePrefix}-token-builtin`,
|
|
561
|
-
cdata: `${sourcePrefix}-token-cdata`,
|
|
562
|
-
char: `${sourcePrefix}-token-char`,
|
|
563
|
-
class: `${sourcePrefix}-token-class`,
|
|
564
|
-
className: `${sourcePrefix}-token-class-name`,
|
|
565
|
-
comment: `${sourcePrefix}-token-comment`,
|
|
566
|
-
constant: `${sourcePrefix}-token-constant`,
|
|
567
|
-
deleted: `${sourcePrefix}-token-deleted`,
|
|
568
|
-
doctype: `${sourcePrefix}-token-doctype`,
|
|
569
|
-
entity: `${sourcePrefix}-token-entity`,
|
|
570
|
-
function: `${sourcePrefix}-token-function`,
|
|
571
|
-
hexcode: `${sourcePrefix}-token-hexcode`,
|
|
572
|
-
id: `${sourcePrefix}-token-id`,
|
|
573
|
-
important: `${sourcePrefix}-token-important`,
|
|
574
|
-
inserted: `${sourcePrefix}-token-inserted`,
|
|
575
|
-
keyword: `${sourcePrefix}-token-keyword`,
|
|
576
|
-
number: `${sourcePrefix}-token-number`,
|
|
577
|
-
operator: `${sourcePrefix}-token-operator`,
|
|
578
|
-
prolog: `${sourcePrefix}-token-prolog`,
|
|
579
|
-
property: `${sourcePrefix}-token-property`,
|
|
580
|
-
pseudoClass: `${sourcePrefix}-token-pseudo-class`,
|
|
581
|
-
pseudoElement: `${sourcePrefix}-token-pseudo-element`,
|
|
582
|
-
punctuation: `${sourcePrefix}-token-punctuation`,
|
|
583
|
-
regex: `${sourcePrefix}-token-regex`,
|
|
584
|
-
selector: `${sourcePrefix}-token-selector`,
|
|
585
|
-
string: `${sourcePrefix}-token-string`,
|
|
586
|
-
symbol: `${sourcePrefix}-token-symbol`,
|
|
587
|
-
tag: `${sourcePrefix}-token-tag`,
|
|
588
|
-
unit: `${sourcePrefix}-token-unit`,
|
|
589
|
-
url: `${sourcePrefix}-token-url`,
|
|
590
|
-
variable: `${sourcePrefix}-token-variable`
|
|
591
|
-
},
|
|
592
603
|
solid: buildColorVariantVarNames({
|
|
593
604
|
scheme,
|
|
594
605
|
tone,
|
|
@@ -716,6 +727,48 @@ const colorVars = {
|
|
|
716
727
|
backdrop: `var(${varNames.color.backdrop})`,
|
|
717
728
|
bg: `var(${varNames.color.bg})`,
|
|
718
729
|
border: `var(${varNames.color.border})`,
|
|
730
|
+
code: {
|
|
731
|
+
bg: `var(${varNames.color.code.bg})`,
|
|
732
|
+
fg: `var(${varNames.color.code.fg})`,
|
|
733
|
+
token: {
|
|
734
|
+
atrule: `var(${varNames.color.code.token.atrule})`,
|
|
735
|
+
attrName: `var(${varNames.color.code.token.attrName})`,
|
|
736
|
+
attrValue: `var(${varNames.color.code.token.attrValue})`,
|
|
737
|
+
attribute: `var(${varNames.color.code.token.attribute})`,
|
|
738
|
+
boolean: `var(${varNames.color.code.token.boolean})`,
|
|
739
|
+
builtin: `var(${varNames.color.code.token.builtin})`,
|
|
740
|
+
cdata: `var(${varNames.color.code.token.cdata})`,
|
|
741
|
+
char: `var(${varNames.color.code.token.char})`,
|
|
742
|
+
class: `var(${varNames.color.code.token.class})`,
|
|
743
|
+
className: `var(${varNames.color.code.token.className})`,
|
|
744
|
+
comment: `var(${varNames.color.code.token.comment})`,
|
|
745
|
+
constant: `var(${varNames.color.code.token.constant})`,
|
|
746
|
+
deleted: `var(${varNames.color.code.token.deleted})`,
|
|
747
|
+
doctype: `var(${varNames.color.code.token.doctype})`,
|
|
748
|
+
entity: `var(${varNames.color.code.token.entity})`,
|
|
749
|
+
function: `var(${varNames.color.code.token.function})`,
|
|
750
|
+
hexcode: `var(${varNames.color.code.token.hexcode})`,
|
|
751
|
+
id: `var(${varNames.color.code.token.id})`,
|
|
752
|
+
important: `var(${varNames.color.code.token.important})`,
|
|
753
|
+
inserted: `var(${varNames.color.code.token.inserted})`,
|
|
754
|
+
keyword: `var(${varNames.color.code.token.keyword})`,
|
|
755
|
+
number: `var(${varNames.color.code.token.number})`,
|
|
756
|
+
operator: `var(${varNames.color.code.token.operator})`,
|
|
757
|
+
prolog: `var(${varNames.color.code.token.prolog})`,
|
|
758
|
+
property: `var(${varNames.color.code.token.property})`,
|
|
759
|
+
pseudoClass: `var(${varNames.color.code.token.pseudoClass})`,
|
|
760
|
+
pseudoElement: `var(${varNames.color.code.token.pseudoElement})`,
|
|
761
|
+
punctuation: `var(${varNames.color.code.token.punctuation})`,
|
|
762
|
+
regex: `var(${varNames.color.code.token.regex})`,
|
|
763
|
+
selector: `var(${varNames.color.code.token.selector})`,
|
|
764
|
+
string: `var(${varNames.color.code.token.string})`,
|
|
765
|
+
symbol: `var(${varNames.color.code.token.symbol})`,
|
|
766
|
+
tag: `var(${varNames.color.code.token.tag})`,
|
|
767
|
+
unit: `var(${varNames.color.code.token.unit})`,
|
|
768
|
+
url: `var(${varNames.color.code.token.url})`,
|
|
769
|
+
variable: `var(${varNames.color.code.token.variable})`
|
|
770
|
+
}
|
|
771
|
+
},
|
|
719
772
|
fg: `var(${varNames.color.fg})`,
|
|
720
773
|
focusRing: `var(${varNames.color.focusRing})`,
|
|
721
774
|
input: {
|
|
@@ -741,44 +794,6 @@ const colorVars = {
|
|
|
741
794
|
from: `var(${varNames.color.skeleton.from})`,
|
|
742
795
|
to: `var(${varNames.color.skeleton.to})`
|
|
743
796
|
},
|
|
744
|
-
token: {
|
|
745
|
-
atrule: `var(${varNames.color.token.atrule})`,
|
|
746
|
-
attrName: `var(${varNames.color.token.attrName})`,
|
|
747
|
-
attrValue: `var(${varNames.color.token.attrValue})`,
|
|
748
|
-
attribute: `var(${varNames.color.token.attribute})`,
|
|
749
|
-
boolean: `var(${varNames.color.token.boolean})`,
|
|
750
|
-
builtin: `var(${varNames.color.token.builtin})`,
|
|
751
|
-
cdata: `var(${varNames.color.token.cdata})`,
|
|
752
|
-
char: `var(${varNames.color.token.char})`,
|
|
753
|
-
class: `var(${varNames.color.token.class})`,
|
|
754
|
-
className: `var(${varNames.color.token.className})`,
|
|
755
|
-
comment: `var(${varNames.color.token.comment})`,
|
|
756
|
-
constant: `var(${varNames.color.token.constant})`,
|
|
757
|
-
deleted: `var(${varNames.color.token.deleted})`,
|
|
758
|
-
doctype: `var(${varNames.color.token.doctype})`,
|
|
759
|
-
entity: `var(${varNames.color.token.entity})`,
|
|
760
|
-
function: `var(${varNames.color.token.function})`,
|
|
761
|
-
hexcode: `var(${varNames.color.token.hexcode})`,
|
|
762
|
-
id: `var(${varNames.color.token.id})`,
|
|
763
|
-
important: `var(${varNames.color.token.important})`,
|
|
764
|
-
inserted: `var(${varNames.color.token.inserted})`,
|
|
765
|
-
keyword: `var(${varNames.color.token.keyword})`,
|
|
766
|
-
number: `var(${varNames.color.token.number})`,
|
|
767
|
-
operator: `var(${varNames.color.token.operator})`,
|
|
768
|
-
prolog: `var(${varNames.color.token.prolog})`,
|
|
769
|
-
property: `var(${varNames.color.token.property})`,
|
|
770
|
-
pseudoClass: `var(${varNames.color.token.pseudoClass})`,
|
|
771
|
-
pseudoElement: `var(${varNames.color.token.pseudoElement})`,
|
|
772
|
-
punctuation: `var(${varNames.color.token.punctuation})`,
|
|
773
|
-
regex: `var(${varNames.color.token.regex})`,
|
|
774
|
-
selector: `var(${varNames.color.token.selector})`,
|
|
775
|
-
string: `var(${varNames.color.token.string})`,
|
|
776
|
-
symbol: `var(${varNames.color.token.symbol})`,
|
|
777
|
-
tag: `var(${varNames.color.token.tag})`,
|
|
778
|
-
unit: `var(${varNames.color.token.unit})`,
|
|
779
|
-
url: `var(${varNames.color.token.url})`,
|
|
780
|
-
variable: `var(${varNames.color.token.variable})`
|
|
781
|
-
},
|
|
782
797
|
solid: buildColorVariantVars({
|
|
783
798
|
variant: "solid"
|
|
784
799
|
}),
|
|
@@ -910,6 +925,48 @@ function buildColorCardVars(props) {
|
|
|
910
925
|
}), {})
|
|
911
926
|
},
|
|
912
927
|
backdrop: `var(${prefix.backdrop})`,
|
|
928
|
+
code: {
|
|
929
|
+
bg: `var(${prefix.code.bg})`,
|
|
930
|
+
fg: `var(${prefix.code.fg})`,
|
|
931
|
+
token: {
|
|
932
|
+
atrule: `var(${prefix.code.token.atrule})`,
|
|
933
|
+
attrName: `var(${prefix.code.token.attrName})`,
|
|
934
|
+
attrValue: `var(${prefix.code.token.attrValue})`,
|
|
935
|
+
attribute: `var(${prefix.code.token.attribute})`,
|
|
936
|
+
boolean: `var(${prefix.code.token.boolean})`,
|
|
937
|
+
builtin: `var(${prefix.code.token.builtin})`,
|
|
938
|
+
cdata: `var(${prefix.code.token.cdata})`,
|
|
939
|
+
char: `var(${prefix.code.token.char})`,
|
|
940
|
+
class: `var(${prefix.code.token.class})`,
|
|
941
|
+
className: `var(${prefix.code.token.className})`,
|
|
942
|
+
comment: `var(${prefix.code.token.comment})`,
|
|
943
|
+
constant: `var(${prefix.code.token.constant})`,
|
|
944
|
+
deleted: `var(${prefix.code.token.deleted})`,
|
|
945
|
+
doctype: `var(${prefix.code.token.doctype})`,
|
|
946
|
+
entity: `var(${prefix.code.token.entity})`,
|
|
947
|
+
function: `var(${prefix.code.token.function})`,
|
|
948
|
+
hexcode: `var(${prefix.code.token.hexcode})`,
|
|
949
|
+
id: `var(${prefix.code.token.id})`,
|
|
950
|
+
important: `var(${prefix.code.token.important})`,
|
|
951
|
+
inserted: `var(${prefix.code.token.inserted})`,
|
|
952
|
+
keyword: `var(${prefix.code.token.keyword})`,
|
|
953
|
+
number: `var(${prefix.code.token.number})`,
|
|
954
|
+
operator: `var(${prefix.code.token.operator})`,
|
|
955
|
+
prolog: `var(${prefix.code.token.prolog})`,
|
|
956
|
+
property: `var(${prefix.code.token.property})`,
|
|
957
|
+
pseudoClass: `var(${prefix.code.token.pseudoClass})`,
|
|
958
|
+
pseudoElement: `var(${prefix.code.token.pseudoElement})`,
|
|
959
|
+
punctuation: `var(${prefix.code.token.punctuation})`,
|
|
960
|
+
regex: `var(${prefix.code.token.regex})`,
|
|
961
|
+
selector: `var(${prefix.code.token.selector})`,
|
|
962
|
+
string: `var(${prefix.code.token.string})`,
|
|
963
|
+
symbol: `var(${prefix.code.token.symbol})`,
|
|
964
|
+
tag: `var(${prefix.code.token.tag})`,
|
|
965
|
+
unit: `var(${prefix.code.token.unit})`,
|
|
966
|
+
url: `var(${prefix.code.token.url})`,
|
|
967
|
+
variable: `var(${prefix.code.token.variable})`
|
|
968
|
+
}
|
|
969
|
+
},
|
|
913
970
|
focusRing: `var(${prefix.focusRing})`,
|
|
914
971
|
link: {
|
|
915
972
|
fg: `var(${prefix.link.fg})`
|
|
@@ -928,44 +985,6 @@ function buildColorCardVars(props) {
|
|
|
928
985
|
from: `var(${prefix.skeleton.from})`,
|
|
929
986
|
to: `var(${prefix.skeleton.to})`
|
|
930
987
|
},
|
|
931
|
-
token: {
|
|
932
|
-
atrule: `var(${prefix.token.atrule})`,
|
|
933
|
-
attrName: `var(${prefix.token.attrName})`,
|
|
934
|
-
attrValue: `var(${prefix.token.attrValue})`,
|
|
935
|
-
attribute: `var(${prefix.token.attribute})`,
|
|
936
|
-
boolean: `var(${prefix.token.boolean})`,
|
|
937
|
-
builtin: `var(${prefix.token.builtin})`,
|
|
938
|
-
cdata: `var(${prefix.token.cdata})`,
|
|
939
|
-
char: `var(${prefix.token.char})`,
|
|
940
|
-
class: `var(${prefix.token.class})`,
|
|
941
|
-
className: `var(${prefix.token.className})`,
|
|
942
|
-
comment: `var(${prefix.token.comment})`,
|
|
943
|
-
constant: `var(${prefix.token.constant})`,
|
|
944
|
-
deleted: `var(${prefix.token.deleted})`,
|
|
945
|
-
doctype: `var(${prefix.token.doctype})`,
|
|
946
|
-
entity: `var(${prefix.token.entity})`,
|
|
947
|
-
function: `var(${prefix.token.function})`,
|
|
948
|
-
hexcode: `var(${prefix.token.hexcode})`,
|
|
949
|
-
id: `var(${prefix.token.id})`,
|
|
950
|
-
important: `var(${prefix.token.important})`,
|
|
951
|
-
inserted: `var(${prefix.token.inserted})`,
|
|
952
|
-
keyword: `var(${prefix.token.keyword})`,
|
|
953
|
-
number: `var(${prefix.token.number})`,
|
|
954
|
-
operator: `var(${prefix.token.operator})`,
|
|
955
|
-
prolog: `var(${prefix.token.prolog})`,
|
|
956
|
-
property: `var(${prefix.token.property})`,
|
|
957
|
-
pseudoClass: `var(${prefix.token.pseudoClass})`,
|
|
958
|
-
pseudoElement: `var(${prefix.token.pseudoElement})`,
|
|
959
|
-
punctuation: `var(${prefix.token.punctuation})`,
|
|
960
|
-
regex: `var(${prefix.token.regex})`,
|
|
961
|
-
selector: `var(${prefix.token.selector})`,
|
|
962
|
-
string: `var(${prefix.token.string})`,
|
|
963
|
-
symbol: `var(${prefix.token.symbol})`,
|
|
964
|
-
tag: `var(${prefix.token.tag})`,
|
|
965
|
-
unit: `var(${prefix.token.unit})`,
|
|
966
|
-
url: `var(${prefix.token.url})`,
|
|
967
|
-
variable: `var(${prefix.token.variable})`
|
|
968
|
-
},
|
|
969
988
|
solid: buildColorVariantVars({
|
|
970
989
|
scheme,
|
|
971
990
|
tone,
|
|
@@ -1034,70 +1053,70 @@ function buildColorVariantVars(options) {
|
|
|
1034
1053
|
}
|
|
1035
1054
|
return vars2;
|
|
1036
1055
|
}
|
|
1037
|
-
const util$
|
|
1038
|
-
_responsiveRule(util$
|
|
1056
|
+
const util$t = {};
|
|
1057
|
+
_responsiveRule(util$t, "border", {
|
|
1039
1058
|
border: `1px solid ${vars.color.border}`
|
|
1040
1059
|
});
|
|
1041
|
-
_responsiveRule(util$
|
|
1060
|
+
_responsiveRule(util$t, "border-t", {
|
|
1042
1061
|
borderTop: `1px solid ${vars.color.border}`
|
|
1043
1062
|
});
|
|
1044
|
-
_responsiveRule(util$
|
|
1063
|
+
_responsiveRule(util$t, "border-r", {
|
|
1045
1064
|
borderRight: `1px solid ${vars.color.border}`
|
|
1046
1065
|
});
|
|
1047
|
-
_responsiveRule(util$
|
|
1066
|
+
_responsiveRule(util$t, "border-b", {
|
|
1048
1067
|
borderBottom: `1px solid ${vars.color.border}`
|
|
1049
1068
|
});
|
|
1050
|
-
_responsiveRule(util$
|
|
1069
|
+
_responsiveRule(util$t, "border-l", {
|
|
1051
1070
|
borderLeft: `1px solid ${vars.color.border}`
|
|
1052
1071
|
});
|
|
1053
1072
|
const borderStyle = {
|
|
1054
1073
|
layers: {
|
|
1055
|
-
util: util$
|
|
1074
|
+
util: util$t
|
|
1056
1075
|
}
|
|
1057
|
-
}, util$
|
|
1058
|
-
_responsiveRule(util$
|
|
1076
|
+
}, util$s = {};
|
|
1077
|
+
_responsiveRule(util$s, "block", {
|
|
1059
1078
|
"@nest": {
|
|
1060
1079
|
"&:not([hidden])": {
|
|
1061
1080
|
display: "block"
|
|
1062
1081
|
}
|
|
1063
1082
|
}
|
|
1064
1083
|
});
|
|
1065
|
-
_responsiveRule(util$
|
|
1084
|
+
_responsiveRule(util$s, "flex", {
|
|
1066
1085
|
"@nest": {
|
|
1067
1086
|
"&:not([hidden])": {
|
|
1068
1087
|
display: "flex"
|
|
1069
1088
|
}
|
|
1070
1089
|
}
|
|
1071
1090
|
});
|
|
1072
|
-
_responsiveRule(util$
|
|
1091
|
+
_responsiveRule(util$s, "grid", {
|
|
1073
1092
|
"@nest": {
|
|
1074
1093
|
"&:not([hidden])": {
|
|
1075
1094
|
display: "grid"
|
|
1076
1095
|
}
|
|
1077
1096
|
}
|
|
1078
1097
|
});
|
|
1079
|
-
_responsiveRule(util$
|
|
1098
|
+
_responsiveRule(util$s, "inline-block", {
|
|
1080
1099
|
"@nest": {
|
|
1081
1100
|
"&:not([hidden])": {
|
|
1082
1101
|
display: "inline-block"
|
|
1083
1102
|
}
|
|
1084
1103
|
}
|
|
1085
1104
|
});
|
|
1086
|
-
_responsiveRule(util$
|
|
1105
|
+
_responsiveRule(util$s, "inline-flex", {
|
|
1087
1106
|
"@nest": {
|
|
1088
1107
|
"&:not([hidden])": {
|
|
1089
1108
|
display: "inline-flex"
|
|
1090
1109
|
}
|
|
1091
1110
|
}
|
|
1092
1111
|
});
|
|
1093
|
-
_responsiveRule(util$
|
|
1112
|
+
_responsiveRule(util$s, "inline-grid", {
|
|
1094
1113
|
"@nest": {
|
|
1095
1114
|
"&:not([hidden])": {
|
|
1096
1115
|
display: "inline-grid"
|
|
1097
1116
|
}
|
|
1098
1117
|
}
|
|
1099
1118
|
});
|
|
1100
|
-
_responsiveRule(util$
|
|
1119
|
+
_responsiveRule(util$s, "none", {
|
|
1101
1120
|
"@nest": {
|
|
1102
1121
|
"&:not([hidden])": {
|
|
1103
1122
|
display: "none"
|
|
@@ -1106,125 +1125,125 @@ _responsiveRule(util$r, "none", {
|
|
|
1106
1125
|
});
|
|
1107
1126
|
const displayStyle = {
|
|
1108
1127
|
layers: {
|
|
1109
|
-
util: util$
|
|
1128
|
+
util: util$s
|
|
1110
1129
|
}
|
|
1111
|
-
}, util$
|
|
1112
|
-
_responsiveRule(util$
|
|
1130
|
+
}, util$r = {};
|
|
1131
|
+
_responsiveRule(util$r, "flex-align-flex-start", {
|
|
1113
1132
|
alignItems: "flex-start"
|
|
1114
1133
|
});
|
|
1115
|
-
_responsiveRule(util$
|
|
1134
|
+
_responsiveRule(util$r, "flex-align-flex-end", {
|
|
1116
1135
|
alignItems: "flex-end"
|
|
1117
1136
|
});
|
|
1118
|
-
_responsiveRule(util$
|
|
1137
|
+
_responsiveRule(util$r, "flex-align-center", {
|
|
1119
1138
|
alignItems: "center"
|
|
1120
1139
|
});
|
|
1121
|
-
_responsiveRule(util$
|
|
1140
|
+
_responsiveRule(util$r, "flex-align-stretch", {
|
|
1122
1141
|
alignItems: "stretch"
|
|
1123
1142
|
});
|
|
1124
|
-
_responsiveRule(util$
|
|
1143
|
+
_responsiveRule(util$r, "flex-align-baseline", {
|
|
1125
1144
|
alignItems: "baseline"
|
|
1126
1145
|
});
|
|
1127
1146
|
const flexAlignStyle = {
|
|
1128
1147
|
layers: {
|
|
1129
|
-
util: util$
|
|
1148
|
+
util: util$r
|
|
1130
1149
|
}
|
|
1131
|
-
}, util$
|
|
1132
|
-
_responsiveRule(util$
|
|
1150
|
+
}, util$q = {};
|
|
1151
|
+
_responsiveRule(util$q, "f-row", {
|
|
1133
1152
|
flexDirection: "row"
|
|
1134
1153
|
});
|
|
1135
|
-
_responsiveRule(util$
|
|
1154
|
+
_responsiveRule(util$q, "f-column", {
|
|
1136
1155
|
flexDirection: "column"
|
|
1137
1156
|
});
|
|
1138
1157
|
const flexDirectionStyle = {
|
|
1139
1158
|
layers: {
|
|
1140
|
-
util: util$
|
|
1159
|
+
util: util$q
|
|
1141
1160
|
}
|
|
1142
|
-
}, util$
|
|
1143
|
-
_responsiveRule(util$
|
|
1161
|
+
}, util$p = {};
|
|
1162
|
+
_responsiveRule(util$p, "flex-justify-flex-start", {
|
|
1144
1163
|
justifyContent: "flex-start"
|
|
1145
1164
|
});
|
|
1146
|
-
_responsiveRule(util$
|
|
1165
|
+
_responsiveRule(util$p, "flex-justify-flex-end", {
|
|
1147
1166
|
justifyContent: "flex-end"
|
|
1148
1167
|
});
|
|
1149
|
-
_responsiveRule(util$
|
|
1168
|
+
_responsiveRule(util$p, "flex-justify-center", {
|
|
1150
1169
|
justifyContent: "center"
|
|
1151
1170
|
});
|
|
1152
|
-
_responsiveRule(util$
|
|
1171
|
+
_responsiveRule(util$p, "flex-justify-space-between", {
|
|
1153
1172
|
justifyContent: "space-between"
|
|
1154
1173
|
});
|
|
1155
|
-
_responsiveRule(util$
|
|
1174
|
+
_responsiveRule(util$p, "flex-justify-space-around", {
|
|
1156
1175
|
justifyContent: "space-around"
|
|
1157
1176
|
});
|
|
1158
|
-
_responsiveRule(util$
|
|
1177
|
+
_responsiveRule(util$p, "flex-justify-space-evenly", {
|
|
1159
1178
|
justifyContent: "space-evenly"
|
|
1160
1179
|
});
|
|
1161
1180
|
const flexJustifyStyle = {
|
|
1162
1181
|
layers: {
|
|
1163
|
-
util: util$
|
|
1182
|
+
util: util$p
|
|
1164
1183
|
}
|
|
1165
|
-
}, util$
|
|
1166
|
-
_responsiveRule(util$
|
|
1184
|
+
}, util$o = {};
|
|
1185
|
+
_responsiveRule(util$o, "flex-nowrap", {
|
|
1167
1186
|
flexWrap: "nowrap"
|
|
1168
1187
|
});
|
|
1169
|
-
_responsiveRule(util$
|
|
1188
|
+
_responsiveRule(util$o, "flex-wrap", {
|
|
1170
1189
|
flexWrap: "wrap"
|
|
1171
1190
|
});
|
|
1172
|
-
_responsiveRule(util$
|
|
1191
|
+
_responsiveRule(util$o, "flex-wrap-reverse", {
|
|
1173
1192
|
flexWrap: "wrap-reverse"
|
|
1174
1193
|
});
|
|
1175
1194
|
const flexWrapStyle = {
|
|
1176
1195
|
layers: {
|
|
1177
|
-
util: util$
|
|
1196
|
+
util: util$o
|
|
1178
1197
|
}
|
|
1179
|
-
}, util$
|
|
1180
|
-
_responsiveRule(util$
|
|
1198
|
+
}, util$n = {};
|
|
1199
|
+
_responsiveRule(util$n, "f-none", {
|
|
1181
1200
|
flex: "none"
|
|
1182
1201
|
});
|
|
1183
|
-
_responsiveRule(util$
|
|
1202
|
+
_responsiveRule(util$n, "f-auto", {
|
|
1184
1203
|
flex: "auto"
|
|
1185
1204
|
});
|
|
1186
|
-
_responsiveRule(util$
|
|
1205
|
+
_responsiveRule(util$n, "f-initial", {
|
|
1187
1206
|
flex: "initial"
|
|
1188
1207
|
});
|
|
1189
|
-
_responsiveRule(util$
|
|
1208
|
+
_responsiveRule(util$n, "f-1", {
|
|
1190
1209
|
flex: 1
|
|
1191
1210
|
});
|
|
1192
|
-
_responsiveRule(util$
|
|
1211
|
+
_responsiveRule(util$n, "f-2", {
|
|
1193
1212
|
flex: 2
|
|
1194
1213
|
});
|
|
1195
|
-
_responsiveRule(util$
|
|
1214
|
+
_responsiveRule(util$n, "f-3", {
|
|
1196
1215
|
flex: 3
|
|
1197
1216
|
});
|
|
1198
|
-
_responsiveRule(util$
|
|
1217
|
+
_responsiveRule(util$n, "f-4", {
|
|
1199
1218
|
flex: 4
|
|
1200
1219
|
});
|
|
1201
|
-
_responsiveRule(util$
|
|
1220
|
+
_responsiveRule(util$n, "f-5", {
|
|
1202
1221
|
flex: 5
|
|
1203
1222
|
});
|
|
1204
|
-
_responsiveRule(util$
|
|
1223
|
+
_responsiveRule(util$n, "f-6", {
|
|
1205
1224
|
flex: 6
|
|
1206
1225
|
});
|
|
1207
|
-
_responsiveRule(util$
|
|
1226
|
+
_responsiveRule(util$n, "f-7", {
|
|
1208
1227
|
flex: 7
|
|
1209
1228
|
});
|
|
1210
|
-
_responsiveRule(util$
|
|
1229
|
+
_responsiveRule(util$n, "f-8", {
|
|
1211
1230
|
flex: 8
|
|
1212
1231
|
});
|
|
1213
|
-
_responsiveRule(util$
|
|
1232
|
+
_responsiveRule(util$n, "f-9", {
|
|
1214
1233
|
flex: 9
|
|
1215
1234
|
});
|
|
1216
|
-
_responsiveRule(util$
|
|
1235
|
+
_responsiveRule(util$n, "f-10", {
|
|
1217
1236
|
flex: 10
|
|
1218
1237
|
});
|
|
1219
|
-
_responsiveRule(util$
|
|
1238
|
+
_responsiveRule(util$n, "f-11", {
|
|
1220
1239
|
flex: 11
|
|
1221
1240
|
});
|
|
1222
|
-
_responsiveRule(util$
|
|
1241
|
+
_responsiveRule(util$n, "f-12", {
|
|
1223
1242
|
flex: 12
|
|
1224
1243
|
});
|
|
1225
1244
|
const flexStyle = {
|
|
1226
1245
|
layers: {
|
|
1227
|
-
util: util$
|
|
1246
|
+
util: util$n
|
|
1228
1247
|
}
|
|
1229
1248
|
}, rules$3 = {
|
|
1230
1249
|
".font": {
|
|
@@ -1302,509 +1321,532 @@ const fontStyle = {
|
|
|
1302
1321
|
layers: {
|
|
1303
1322
|
primitive: rules$3
|
|
1304
1323
|
}
|
|
1305
|
-
}, util$
|
|
1324
|
+
}, util$m = {};
|
|
1306
1325
|
for (const space of theme.SPACE)
|
|
1307
|
-
_responsiveRule(util$
|
|
1326
|
+
_responsiveRule(util$m, `g-${space}`, {
|
|
1308
1327
|
gap: vars.space[space]
|
|
1309
1328
|
});
|
|
1310
1329
|
for (const space of theme.SPACE)
|
|
1311
|
-
_responsiveRule(util$
|
|
1330
|
+
_responsiveRule(util$m, `gx-${space}`, {
|
|
1312
1331
|
columnGap: vars.space[space]
|
|
1313
1332
|
});
|
|
1314
1333
|
for (const space of theme.SPACE)
|
|
1315
|
-
_responsiveRule(util$
|
|
1334
|
+
_responsiveRule(util$m, `gy-${space}`, {
|
|
1316
1335
|
rowGap: vars.space[space]
|
|
1317
1336
|
});
|
|
1318
1337
|
const gapStyle = {
|
|
1319
1338
|
layers: {
|
|
1320
|
-
util: util$
|
|
1339
|
+
util: util$m
|
|
1321
1340
|
}
|
|
1322
|
-
}, util$
|
|
1323
|
-
_responsiveRule(util$
|
|
1341
|
+
}, util$l = {};
|
|
1342
|
+
_responsiveRule(util$l, "auto-cols-auto", {
|
|
1324
1343
|
gridAutoColumns: "auto"
|
|
1325
1344
|
});
|
|
1326
|
-
_responsiveRule(util$
|
|
1345
|
+
_responsiveRule(util$l, "auto-cols-min", {
|
|
1327
1346
|
gridAutoColumns: "min-content"
|
|
1328
1347
|
});
|
|
1329
|
-
_responsiveRule(util$
|
|
1348
|
+
_responsiveRule(util$l, "auto-cols-max", {
|
|
1330
1349
|
gridAutoColumns: "max-content"
|
|
1331
1350
|
});
|
|
1332
|
-
_responsiveRule(util$
|
|
1351
|
+
_responsiveRule(util$l, "auto-cols-fr", {
|
|
1333
1352
|
gridAutoColumns: "minmax(0, 1fr)"
|
|
1334
1353
|
});
|
|
1335
1354
|
const gridAutoColumnsStyle = {
|
|
1336
1355
|
layers: {
|
|
1337
|
-
util: util$
|
|
1356
|
+
util: util$l
|
|
1338
1357
|
}
|
|
1339
|
-
}, util$
|
|
1340
|
-
_responsiveRule(util$
|
|
1358
|
+
}, util$k = {};
|
|
1359
|
+
_responsiveRule(util$k, "auto-flow-row", {
|
|
1341
1360
|
gridAutoFlow: "row"
|
|
1342
1361
|
});
|
|
1343
|
-
_responsiveRule(util$
|
|
1362
|
+
_responsiveRule(util$k, "auto-flow-column", {
|
|
1344
1363
|
gridAutoFlow: "column"
|
|
1345
1364
|
});
|
|
1346
|
-
_responsiveRule(util$
|
|
1365
|
+
_responsiveRule(util$k, "auto-flow-row-dense", {
|
|
1347
1366
|
gridAutoFlow: "row dense"
|
|
1348
1367
|
});
|
|
1349
|
-
_responsiveRule(util$
|
|
1368
|
+
_responsiveRule(util$k, "auto-flow-column-dense", {
|
|
1350
1369
|
gridAutoFlow: "column dense"
|
|
1351
1370
|
});
|
|
1352
1371
|
const gridAutoFlowStyle = {
|
|
1353
1372
|
layers: {
|
|
1354
|
-
util: util$
|
|
1373
|
+
util: util$k
|
|
1355
1374
|
}
|
|
1356
|
-
}, util$
|
|
1357
|
-
_responsiveRule(util$
|
|
1375
|
+
}, util$j = {};
|
|
1376
|
+
_responsiveRule(util$j, "auto-rows-auto", {
|
|
1358
1377
|
gridAutoRows: "auto"
|
|
1359
1378
|
});
|
|
1360
|
-
_responsiveRule(util$
|
|
1379
|
+
_responsiveRule(util$j, "auto-rows-min", {
|
|
1361
1380
|
gridAutoRows: "min-content"
|
|
1362
1381
|
});
|
|
1363
|
-
_responsiveRule(util$
|
|
1382
|
+
_responsiveRule(util$j, "auto-rows-max", {
|
|
1364
1383
|
gridAutoRows: "max-content"
|
|
1365
1384
|
});
|
|
1366
|
-
_responsiveRule(util$
|
|
1385
|
+
_responsiveRule(util$j, "auto-rows-fr", {
|
|
1367
1386
|
gridAutoRows: "minmax(0, 1fr)"
|
|
1368
1387
|
});
|
|
1369
1388
|
const gridAutoRowsStyle = {
|
|
1370
1389
|
layers: {
|
|
1371
|
-
util: util$
|
|
1390
|
+
util: util$j
|
|
1372
1391
|
}
|
|
1373
|
-
}, util$
|
|
1374
|
-
_responsiveRule(util$
|
|
1392
|
+
}, util$i = {};
|
|
1393
|
+
_responsiveRule(util$i, "cols-1", {
|
|
1375
1394
|
gridTemplateColumns: "repeat(1, 1fr)"
|
|
1376
1395
|
});
|
|
1377
|
-
_responsiveRule(util$
|
|
1396
|
+
_responsiveRule(util$i, "cols-2", {
|
|
1378
1397
|
gridTemplateColumns: "repeat(2, 1fr)"
|
|
1379
1398
|
});
|
|
1380
|
-
_responsiveRule(util$
|
|
1399
|
+
_responsiveRule(util$i, "cols-3", {
|
|
1381
1400
|
gridTemplateColumns: "repeat(3, 1fr)"
|
|
1382
1401
|
});
|
|
1383
|
-
_responsiveRule(util$
|
|
1402
|
+
_responsiveRule(util$i, "cols-4", {
|
|
1384
1403
|
gridTemplateColumns: "repeat(4, 1fr)"
|
|
1385
1404
|
});
|
|
1386
|
-
_responsiveRule(util$
|
|
1405
|
+
_responsiveRule(util$i, "cols-5", {
|
|
1387
1406
|
gridTemplateColumns: "repeat(5, 1fr)"
|
|
1388
1407
|
});
|
|
1389
|
-
_responsiveRule(util$
|
|
1408
|
+
_responsiveRule(util$i, "cols-6", {
|
|
1390
1409
|
gridTemplateColumns: "repeat(6, 1fr)"
|
|
1391
1410
|
});
|
|
1392
|
-
_responsiveRule(util$
|
|
1411
|
+
_responsiveRule(util$i, "cols-7", {
|
|
1393
1412
|
gridTemplateColumns: "repeat(7, 1fr)"
|
|
1394
1413
|
});
|
|
1395
|
-
_responsiveRule(util$
|
|
1414
|
+
_responsiveRule(util$i, "cols-8", {
|
|
1396
1415
|
gridTemplateColumns: "repeat(8, 1fr)"
|
|
1397
1416
|
});
|
|
1398
|
-
_responsiveRule(util$
|
|
1417
|
+
_responsiveRule(util$i, "cols-9", {
|
|
1399
1418
|
gridTemplateColumns: "repeat(9, 1fr)"
|
|
1400
1419
|
});
|
|
1401
|
-
_responsiveRule(util$
|
|
1420
|
+
_responsiveRule(util$i, "cols-10", {
|
|
1402
1421
|
gridTemplateColumns: "repeat(10, 1fr)"
|
|
1403
1422
|
});
|
|
1404
|
-
_responsiveRule(util$
|
|
1423
|
+
_responsiveRule(util$i, "cols-12", {
|
|
1405
1424
|
gridTemplateColumns: "repeat(12, 1fr)"
|
|
1406
1425
|
});
|
|
1407
1426
|
const gridColumnsStyle = {
|
|
1408
1427
|
layers: {
|
|
1409
|
-
util: util$
|
|
1428
|
+
util: util$i
|
|
1410
1429
|
}
|
|
1411
|
-
}, util$
|
|
1412
|
-
_responsiveRule(util$
|
|
1430
|
+
}, util$h = {};
|
|
1431
|
+
_responsiveRule(util$h, "rows-1", {
|
|
1413
1432
|
gridTemplateRows: "repeat(1, 1fr)"
|
|
1414
1433
|
});
|
|
1415
|
-
_responsiveRule(util$
|
|
1434
|
+
_responsiveRule(util$h, "rows-2", {
|
|
1416
1435
|
gridTemplateRows: "repeat(2, 1fr)"
|
|
1417
1436
|
});
|
|
1418
|
-
_responsiveRule(util$
|
|
1437
|
+
_responsiveRule(util$h, "rows-3", {
|
|
1419
1438
|
gridTemplateRows: "repeat(3, 1fr)"
|
|
1420
1439
|
});
|
|
1421
|
-
_responsiveRule(util$
|
|
1440
|
+
_responsiveRule(util$h, "rows-4", {
|
|
1422
1441
|
gridTemplateRows: "repeat(4, 1fr)"
|
|
1423
1442
|
});
|
|
1424
|
-
_responsiveRule(util$
|
|
1443
|
+
_responsiveRule(util$h, "rows-5", {
|
|
1425
1444
|
gridTemplateRows: "repeat(5, 1fr)"
|
|
1426
1445
|
});
|
|
1427
|
-
_responsiveRule(util$
|
|
1446
|
+
_responsiveRule(util$h, "rows-6", {
|
|
1428
1447
|
gridTemplateRows: "repeat(6, 1fr)"
|
|
1429
1448
|
});
|
|
1430
|
-
_responsiveRule(util$
|
|
1449
|
+
_responsiveRule(util$h, "rows-7", {
|
|
1431
1450
|
gridTemplateRows: "repeat(7, 1fr)"
|
|
1432
1451
|
});
|
|
1433
|
-
_responsiveRule(util$
|
|
1452
|
+
_responsiveRule(util$h, "rows-8", {
|
|
1434
1453
|
gridTemplateRows: "repeat(8, 1fr)"
|
|
1435
1454
|
});
|
|
1436
|
-
_responsiveRule(util$
|
|
1455
|
+
_responsiveRule(util$h, "rows-9", {
|
|
1437
1456
|
gridTemplateRows: "repeat(9, 1fr)"
|
|
1438
1457
|
});
|
|
1439
|
-
_responsiveRule(util$
|
|
1458
|
+
_responsiveRule(util$h, "rows-10", {
|
|
1440
1459
|
gridTemplateRows: "repeat(10, 1fr)"
|
|
1441
1460
|
});
|
|
1442
|
-
_responsiveRule(util$
|
|
1461
|
+
_responsiveRule(util$h, "rows-12", {
|
|
1443
1462
|
gridTemplateRows: "repeat(12, 1fr)"
|
|
1444
1463
|
});
|
|
1445
1464
|
const gridRowsStyle = {
|
|
1446
1465
|
layers: {
|
|
1447
|
-
util: util$
|
|
1466
|
+
util: util$h
|
|
1448
1467
|
}
|
|
1449
|
-
}, util$
|
|
1450
|
-
_responsiveRule(util$
|
|
1468
|
+
}, util$g = {};
|
|
1469
|
+
_responsiveRule(util$g, "col-auto", {
|
|
1451
1470
|
gridColumn: "auto"
|
|
1452
1471
|
});
|
|
1453
|
-
_responsiveRule(util$
|
|
1472
|
+
_responsiveRule(util$g, "col-full", {
|
|
1454
1473
|
gridColumn: "1 / -1"
|
|
1455
1474
|
});
|
|
1456
|
-
_responsiveRule(util$
|
|
1475
|
+
_responsiveRule(util$g, "col-1", {
|
|
1457
1476
|
gridColumn: "span 1 / span 1"
|
|
1458
1477
|
});
|
|
1459
|
-
_responsiveRule(util$
|
|
1478
|
+
_responsiveRule(util$g, "col-2", {
|
|
1460
1479
|
gridColumn: "span 2 / span 2"
|
|
1461
1480
|
});
|
|
1462
|
-
_responsiveRule(util$
|
|
1481
|
+
_responsiveRule(util$g, "col-3", {
|
|
1463
1482
|
gridColumn: "span 3 / span 3"
|
|
1464
1483
|
});
|
|
1465
|
-
_responsiveRule(util$
|
|
1484
|
+
_responsiveRule(util$g, "col-4", {
|
|
1466
1485
|
gridColumn: "span 4 / span 4"
|
|
1467
1486
|
});
|
|
1468
|
-
_responsiveRule(util$
|
|
1487
|
+
_responsiveRule(util$g, "col-5", {
|
|
1469
1488
|
gridColumn: "span 5 / span 5"
|
|
1470
1489
|
});
|
|
1471
|
-
_responsiveRule(util$
|
|
1490
|
+
_responsiveRule(util$g, "col-6", {
|
|
1472
1491
|
gridColumn: "span 6 / span 6"
|
|
1473
1492
|
});
|
|
1474
|
-
_responsiveRule(util$
|
|
1493
|
+
_responsiveRule(util$g, "col-7", {
|
|
1475
1494
|
gridColumn: "span 7 / span 7"
|
|
1476
1495
|
});
|
|
1477
|
-
_responsiveRule(util$
|
|
1496
|
+
_responsiveRule(util$g, "col-8", {
|
|
1478
1497
|
gridColumn: "span 8 / span 8"
|
|
1479
1498
|
});
|
|
1480
|
-
_responsiveRule(util$
|
|
1499
|
+
_responsiveRule(util$g, "col-9", {
|
|
1481
1500
|
gridColumn: "span 9 / span 9"
|
|
1482
1501
|
});
|
|
1483
|
-
_responsiveRule(util$
|
|
1502
|
+
_responsiveRule(util$g, "col-10", {
|
|
1484
1503
|
gridColumn: "span 10 / span 10"
|
|
1485
1504
|
});
|
|
1486
|
-
_responsiveRule(util$
|
|
1505
|
+
_responsiveRule(util$g, "col-12", {
|
|
1487
1506
|
gridColumn: "span 12 / span 12"
|
|
1488
1507
|
});
|
|
1489
1508
|
const gridColumnStyle = {
|
|
1490
1509
|
layers: {
|
|
1491
|
-
util: util$
|
|
1510
|
+
util: util$g
|
|
1492
1511
|
}
|
|
1493
|
-
}, util$
|
|
1494
|
-
_responsiveRule(util$
|
|
1512
|
+
}, util$f = {};
|
|
1513
|
+
_responsiveRule(util$f, "col-end-auto", {
|
|
1495
1514
|
gridColumnEnd: "auto"
|
|
1496
1515
|
});
|
|
1497
|
-
_responsiveRule(util$
|
|
1516
|
+
_responsiveRule(util$f, "col-end-1", {
|
|
1498
1517
|
gridColumnEnd: "1"
|
|
1499
1518
|
});
|
|
1500
|
-
_responsiveRule(util$
|
|
1519
|
+
_responsiveRule(util$f, "col-end-2", {
|
|
1501
1520
|
gridColumnEnd: "2"
|
|
1502
1521
|
});
|
|
1503
|
-
_responsiveRule(util$
|
|
1522
|
+
_responsiveRule(util$f, "col-end-3", {
|
|
1504
1523
|
gridColumnEnd: "3"
|
|
1505
1524
|
});
|
|
1506
|
-
_responsiveRule(util$
|
|
1525
|
+
_responsiveRule(util$f, "col-end-4", {
|
|
1507
1526
|
gridColumnEnd: "4"
|
|
1508
1527
|
});
|
|
1509
|
-
_responsiveRule(util$
|
|
1528
|
+
_responsiveRule(util$f, "col-end-5", {
|
|
1510
1529
|
gridColumnEnd: "5"
|
|
1511
1530
|
});
|
|
1512
|
-
_responsiveRule(util$
|
|
1531
|
+
_responsiveRule(util$f, "col-end-6", {
|
|
1513
1532
|
gridColumnEnd: "6"
|
|
1514
1533
|
});
|
|
1515
|
-
_responsiveRule(util$
|
|
1534
|
+
_responsiveRule(util$f, "col-end-7", {
|
|
1516
1535
|
gridColumnEnd: "7"
|
|
1517
1536
|
});
|
|
1518
|
-
_responsiveRule(util$
|
|
1537
|
+
_responsiveRule(util$f, "col-end-8", {
|
|
1519
1538
|
gridColumnEnd: "8"
|
|
1520
1539
|
});
|
|
1521
|
-
_responsiveRule(util$
|
|
1540
|
+
_responsiveRule(util$f, "col-end-9", {
|
|
1522
1541
|
gridColumnEnd: "9"
|
|
1523
1542
|
});
|
|
1524
|
-
_responsiveRule(util$
|
|
1543
|
+
_responsiveRule(util$f, "col-end-10", {
|
|
1525
1544
|
gridColumnEnd: "10"
|
|
1526
1545
|
});
|
|
1527
|
-
_responsiveRule(util$
|
|
1546
|
+
_responsiveRule(util$f, "col-end-11", {
|
|
1528
1547
|
gridColumnEnd: "11"
|
|
1529
1548
|
});
|
|
1530
|
-
_responsiveRule(util$
|
|
1549
|
+
_responsiveRule(util$f, "col-end-12", {
|
|
1531
1550
|
gridColumnEnd: "12"
|
|
1532
1551
|
});
|
|
1533
1552
|
const gridColumnEndStyle = {
|
|
1534
1553
|
layers: {
|
|
1535
|
-
util: util$
|
|
1554
|
+
util: util$f
|
|
1536
1555
|
}
|
|
1537
|
-
}, util$
|
|
1538
|
-
_responsiveRule(util$
|
|
1556
|
+
}, util$e = {};
|
|
1557
|
+
_responsiveRule(util$e, "col-start-auto", {
|
|
1539
1558
|
gridColumnStart: "auto"
|
|
1540
1559
|
});
|
|
1541
|
-
_responsiveRule(util$
|
|
1560
|
+
_responsiveRule(util$e, "col-start-1", {
|
|
1542
1561
|
gridColumnStart: "1"
|
|
1543
1562
|
});
|
|
1544
|
-
_responsiveRule(util$
|
|
1563
|
+
_responsiveRule(util$e, "col-start-2", {
|
|
1545
1564
|
gridColumnStart: "2"
|
|
1546
1565
|
});
|
|
1547
|
-
_responsiveRule(util$
|
|
1566
|
+
_responsiveRule(util$e, "col-start-3", {
|
|
1548
1567
|
gridColumnStart: "3"
|
|
1549
1568
|
});
|
|
1550
|
-
_responsiveRule(util$
|
|
1569
|
+
_responsiveRule(util$e, "col-start-4", {
|
|
1551
1570
|
gridColumnStart: "4"
|
|
1552
1571
|
});
|
|
1553
|
-
_responsiveRule(util$
|
|
1572
|
+
_responsiveRule(util$e, "col-start-5", {
|
|
1554
1573
|
gridColumnStart: "5"
|
|
1555
1574
|
});
|
|
1556
|
-
_responsiveRule(util$
|
|
1575
|
+
_responsiveRule(util$e, "col-start-6", {
|
|
1557
1576
|
gridColumnStart: "6"
|
|
1558
1577
|
});
|
|
1559
|
-
_responsiveRule(util$
|
|
1578
|
+
_responsiveRule(util$e, "col-start-7", {
|
|
1560
1579
|
gridColumnStart: "7"
|
|
1561
1580
|
});
|
|
1562
|
-
_responsiveRule(util$
|
|
1581
|
+
_responsiveRule(util$e, "col-start-8", {
|
|
1563
1582
|
gridColumnStart: "8"
|
|
1564
1583
|
});
|
|
1565
|
-
_responsiveRule(util$
|
|
1584
|
+
_responsiveRule(util$e, "col-start-9", {
|
|
1566
1585
|
gridColumnStart: "9"
|
|
1567
1586
|
});
|
|
1568
|
-
_responsiveRule(util$
|
|
1587
|
+
_responsiveRule(util$e, "col-start-10", {
|
|
1569
1588
|
gridColumnStart: "10"
|
|
1570
1589
|
});
|
|
1571
|
-
_responsiveRule(util$
|
|
1590
|
+
_responsiveRule(util$e, "col-start-11", {
|
|
1572
1591
|
gridColumnStart: "11"
|
|
1573
1592
|
});
|
|
1574
|
-
_responsiveRule(util$
|
|
1593
|
+
_responsiveRule(util$e, "col-start-12", {
|
|
1575
1594
|
gridColumnStart: "12"
|
|
1576
1595
|
});
|
|
1577
1596
|
const gridColumnStartStyle = {
|
|
1578
1597
|
layers: {
|
|
1579
|
-
util: util$
|
|
1598
|
+
util: util$e
|
|
1580
1599
|
}
|
|
1581
|
-
}, util$
|
|
1582
|
-
_responsiveRule(util$
|
|
1600
|
+
}, util$d = {};
|
|
1601
|
+
_responsiveRule(util$d, "row-auto", {
|
|
1583
1602
|
gridRow: "auto"
|
|
1584
1603
|
});
|
|
1585
|
-
_responsiveRule(util$
|
|
1604
|
+
_responsiveRule(util$d, "row-full", {
|
|
1586
1605
|
gridRow: "1 / -1"
|
|
1587
1606
|
});
|
|
1588
|
-
_responsiveRule(util$
|
|
1607
|
+
_responsiveRule(util$d, "row-1", {
|
|
1589
1608
|
gridRow: "span 1 / span 1"
|
|
1590
1609
|
});
|
|
1591
|
-
_responsiveRule(util$
|
|
1610
|
+
_responsiveRule(util$d, "row-2", {
|
|
1592
1611
|
gridRow: "span 2 / span 2"
|
|
1593
1612
|
});
|
|
1594
|
-
_responsiveRule(util$
|
|
1613
|
+
_responsiveRule(util$d, "row-3", {
|
|
1595
1614
|
gridRow: "span 3 / span 3"
|
|
1596
1615
|
});
|
|
1597
|
-
_responsiveRule(util$
|
|
1616
|
+
_responsiveRule(util$d, "row-4", {
|
|
1598
1617
|
gridRow: "span 4 / span 4"
|
|
1599
1618
|
});
|
|
1600
|
-
_responsiveRule(util$
|
|
1619
|
+
_responsiveRule(util$d, "row-5", {
|
|
1601
1620
|
gridRow: "span 5 / span 5"
|
|
1602
1621
|
});
|
|
1603
|
-
_responsiveRule(util$
|
|
1622
|
+
_responsiveRule(util$d, "row-6", {
|
|
1604
1623
|
gridRow: "span 6 / span 6"
|
|
1605
1624
|
});
|
|
1606
|
-
_responsiveRule(util$
|
|
1625
|
+
_responsiveRule(util$d, "row-7", {
|
|
1607
1626
|
gridRow: "span 7 / span 7"
|
|
1608
1627
|
});
|
|
1609
|
-
_responsiveRule(util$
|
|
1628
|
+
_responsiveRule(util$d, "row-8", {
|
|
1610
1629
|
gridRow: "span 8 / span 8"
|
|
1611
1630
|
});
|
|
1612
|
-
_responsiveRule(util$
|
|
1631
|
+
_responsiveRule(util$d, "row-9", {
|
|
1613
1632
|
gridRow: "span 9 / span 9"
|
|
1614
1633
|
});
|
|
1615
|
-
_responsiveRule(util$
|
|
1634
|
+
_responsiveRule(util$d, "row-10", {
|
|
1616
1635
|
gridRow: "span 10 / span 10"
|
|
1617
1636
|
});
|
|
1618
|
-
_responsiveRule(util$
|
|
1637
|
+
_responsiveRule(util$d, "row-12", {
|
|
1619
1638
|
gridRow: "span 12 / span 12"
|
|
1620
1639
|
});
|
|
1621
1640
|
const gridRowStyle = {
|
|
1622
1641
|
layers: {
|
|
1623
|
-
util: util$
|
|
1642
|
+
util: util$d
|
|
1624
1643
|
}
|
|
1625
|
-
}, util$
|
|
1626
|
-
_responsiveRule(util$
|
|
1644
|
+
}, util$c = {};
|
|
1645
|
+
_responsiveRule(util$c, "row-end-auto", {
|
|
1627
1646
|
gridRowEnd: "auto"
|
|
1628
1647
|
});
|
|
1629
|
-
_responsiveRule(util$
|
|
1648
|
+
_responsiveRule(util$c, "row-end-1", {
|
|
1630
1649
|
gridRowEnd: "1"
|
|
1631
1650
|
});
|
|
1632
|
-
_responsiveRule(util$
|
|
1651
|
+
_responsiveRule(util$c, "row-end-2", {
|
|
1633
1652
|
gridRowEnd: "2"
|
|
1634
1653
|
});
|
|
1635
|
-
_responsiveRule(util$
|
|
1654
|
+
_responsiveRule(util$c, "row-end-3", {
|
|
1636
1655
|
gridRowEnd: "3"
|
|
1637
1656
|
});
|
|
1638
|
-
_responsiveRule(util$
|
|
1657
|
+
_responsiveRule(util$c, "row-end-4", {
|
|
1639
1658
|
gridRowEnd: "4"
|
|
1640
1659
|
});
|
|
1641
|
-
_responsiveRule(util$
|
|
1660
|
+
_responsiveRule(util$c, "row-end-5", {
|
|
1642
1661
|
gridRowEnd: "5"
|
|
1643
1662
|
});
|
|
1644
|
-
_responsiveRule(util$
|
|
1663
|
+
_responsiveRule(util$c, "row-end-6", {
|
|
1645
1664
|
gridRowEnd: "6"
|
|
1646
1665
|
});
|
|
1647
|
-
_responsiveRule(util$
|
|
1666
|
+
_responsiveRule(util$c, "row-end-7", {
|
|
1648
1667
|
gridRowEnd: "7"
|
|
1649
1668
|
});
|
|
1650
|
-
_responsiveRule(util$
|
|
1669
|
+
_responsiveRule(util$c, "row-end-8", {
|
|
1651
1670
|
gridRowEnd: "8"
|
|
1652
1671
|
});
|
|
1653
|
-
_responsiveRule(util$
|
|
1672
|
+
_responsiveRule(util$c, "row-end-9", {
|
|
1654
1673
|
gridRowEnd: "9"
|
|
1655
1674
|
});
|
|
1656
|
-
_responsiveRule(util$
|
|
1675
|
+
_responsiveRule(util$c, "row-end-10", {
|
|
1657
1676
|
gridRowEnd: "10"
|
|
1658
1677
|
});
|
|
1659
|
-
_responsiveRule(util$
|
|
1678
|
+
_responsiveRule(util$c, "row-end-11", {
|
|
1660
1679
|
gridRowEnd: "11"
|
|
1661
1680
|
});
|
|
1662
|
-
_responsiveRule(util$
|
|
1681
|
+
_responsiveRule(util$c, "row-end-12", {
|
|
1663
1682
|
gridRowEnd: "12"
|
|
1664
1683
|
});
|
|
1665
1684
|
const gridRowEndStyle = {
|
|
1666
1685
|
layers: {
|
|
1667
|
-
util: util$
|
|
1686
|
+
util: util$c
|
|
1668
1687
|
}
|
|
1669
|
-
}, util$
|
|
1670
|
-
_responsiveRule(util$
|
|
1688
|
+
}, util$b = {};
|
|
1689
|
+
_responsiveRule(util$b, "row-start-auto", {
|
|
1671
1690
|
gridRowStart: "auto"
|
|
1672
1691
|
});
|
|
1673
|
-
_responsiveRule(util$
|
|
1692
|
+
_responsiveRule(util$b, "row-start-1", {
|
|
1674
1693
|
gridRowStart: "1"
|
|
1675
1694
|
});
|
|
1676
|
-
_responsiveRule(util$
|
|
1695
|
+
_responsiveRule(util$b, "row-start-2", {
|
|
1677
1696
|
gridRowStart: "2"
|
|
1678
1697
|
});
|
|
1679
|
-
_responsiveRule(util$
|
|
1698
|
+
_responsiveRule(util$b, "row-start-3", {
|
|
1680
1699
|
gridRowStart: "3"
|
|
1681
1700
|
});
|
|
1682
|
-
_responsiveRule(util$
|
|
1701
|
+
_responsiveRule(util$b, "row-start-4", {
|
|
1683
1702
|
gridRowStart: "4"
|
|
1684
1703
|
});
|
|
1685
|
-
_responsiveRule(util$
|
|
1704
|
+
_responsiveRule(util$b, "row-start-5", {
|
|
1686
1705
|
gridRowStart: "5"
|
|
1687
1706
|
});
|
|
1688
|
-
_responsiveRule(util$
|
|
1707
|
+
_responsiveRule(util$b, "row-start-6", {
|
|
1689
1708
|
gridRowStart: "6"
|
|
1690
1709
|
});
|
|
1691
|
-
_responsiveRule(util$
|
|
1710
|
+
_responsiveRule(util$b, "row-start-7", {
|
|
1692
1711
|
gridRowStart: "7"
|
|
1693
1712
|
});
|
|
1694
|
-
_responsiveRule(util$
|
|
1713
|
+
_responsiveRule(util$b, "row-start-8", {
|
|
1695
1714
|
gridRowStart: "8"
|
|
1696
1715
|
});
|
|
1697
|
-
_responsiveRule(util$
|
|
1716
|
+
_responsiveRule(util$b, "row-start-9", {
|
|
1698
1717
|
gridRowStart: "9"
|
|
1699
1718
|
});
|
|
1700
|
-
_responsiveRule(util$
|
|
1719
|
+
_responsiveRule(util$b, "row-start-10", {
|
|
1701
1720
|
gridRowStart: "10"
|
|
1702
1721
|
});
|
|
1703
|
-
_responsiveRule(util$
|
|
1722
|
+
_responsiveRule(util$b, "row-start-11", {
|
|
1704
1723
|
gridRowStart: "11"
|
|
1705
1724
|
});
|
|
1706
|
-
_responsiveRule(util$
|
|
1725
|
+
_responsiveRule(util$b, "row-start-12", {
|
|
1707
1726
|
gridRowStart: "12"
|
|
1708
1727
|
});
|
|
1709
1728
|
const gridRowStartStyle = {
|
|
1710
1729
|
layers: {
|
|
1711
|
-
util: util$
|
|
1730
|
+
util: util$b
|
|
1712
1731
|
}
|
|
1713
|
-
}, util$
|
|
1714
|
-
_responsiveRule(util$
|
|
1732
|
+
}, util$a = {};
|
|
1733
|
+
_responsiveRule(util$a, "h-fill", {
|
|
1715
1734
|
height: "100%"
|
|
1716
1735
|
});
|
|
1717
|
-
_responsiveRule(util$
|
|
1736
|
+
_responsiveRule(util$a, "h-stretch", {
|
|
1718
1737
|
height: "stretch"
|
|
1719
1738
|
});
|
|
1720
1739
|
const heightStyle = {
|
|
1721
1740
|
layers: {
|
|
1722
|
-
util: util$
|
|
1741
|
+
util: util$a
|
|
1723
1742
|
}
|
|
1724
|
-
}, util$
|
|
1725
|
-
_responsiveRule(util$
|
|
1743
|
+
}, util$9 = {};
|
|
1744
|
+
_responsiveRule(util$9, "inset-0", {
|
|
1726
1745
|
top: 0,
|
|
1727
1746
|
left: 0,
|
|
1728
1747
|
right: 0,
|
|
1729
1748
|
bottom: 0
|
|
1730
1749
|
});
|
|
1731
|
-
_responsiveRule(util$
|
|
1750
|
+
_responsiveRule(util$9, "top-0", {
|
|
1732
1751
|
top: 0
|
|
1733
1752
|
});
|
|
1734
|
-
_responsiveRule(util$
|
|
1753
|
+
_responsiveRule(util$9, "right-0", {
|
|
1735
1754
|
right: 0
|
|
1736
1755
|
});
|
|
1737
|
-
_responsiveRule(util$
|
|
1756
|
+
_responsiveRule(util$9, "bottom-0", {
|
|
1738
1757
|
bottom: 0
|
|
1739
1758
|
});
|
|
1740
|
-
_responsiveRule(util$
|
|
1759
|
+
_responsiveRule(util$9, "left-0", {
|
|
1741
1760
|
left: 0
|
|
1742
1761
|
});
|
|
1743
1762
|
const insetStyle = {
|
|
1744
1763
|
layers: {
|
|
1745
|
-
util: util$
|
|
1764
|
+
util: util$9
|
|
1746
1765
|
}
|
|
1747
|
-
}, util$
|
|
1766
|
+
}, util$8 = {};
|
|
1748
1767
|
for (const space of theme.SPACE)
|
|
1749
|
-
_responsiveRule(util$
|
|
1768
|
+
_responsiveRule(util$8, `m-${space}`, {
|
|
1750
1769
|
margin: vars.space[space]
|
|
1751
1770
|
});
|
|
1752
1771
|
for (const space of theme.SPACE)
|
|
1753
|
-
_responsiveRule(util$
|
|
1772
|
+
_responsiveRule(util$8, `mx-${space}`, {
|
|
1754
1773
|
marginLeft: vars.space[space],
|
|
1755
1774
|
marginRight: vars.space[space]
|
|
1756
1775
|
});
|
|
1757
1776
|
for (const space of theme.SPACE)
|
|
1758
|
-
_responsiveRule(util$
|
|
1777
|
+
_responsiveRule(util$8, `my-${space}`, {
|
|
1759
1778
|
marginTop: vars.space[space],
|
|
1760
1779
|
marginBottom: vars.space[space]
|
|
1761
1780
|
});
|
|
1762
1781
|
for (const space of theme.SPACE)
|
|
1763
|
-
_responsiveRule(util$
|
|
1782
|
+
_responsiveRule(util$8, `mt-${space}`, {
|
|
1764
1783
|
marginTop: vars.space[space]
|
|
1765
1784
|
});
|
|
1766
1785
|
for (const space of theme.SPACE)
|
|
1767
|
-
_responsiveRule(util$
|
|
1786
|
+
_responsiveRule(util$8, `mr-${space}`, {
|
|
1768
1787
|
marginRight: vars.space[space]
|
|
1769
1788
|
});
|
|
1770
1789
|
for (const space of theme.SPACE)
|
|
1771
|
-
_responsiveRule(util$
|
|
1790
|
+
_responsiveRule(util$8, `mb-${space}`, {
|
|
1772
1791
|
marginBottom: vars.space[space]
|
|
1773
1792
|
});
|
|
1774
1793
|
for (const space of theme.SPACE)
|
|
1775
|
-
_responsiveRule(util$
|
|
1794
|
+
_responsiveRule(util$8, `ml-${space}`, {
|
|
1776
1795
|
marginLeft: vars.space[space]
|
|
1777
1796
|
});
|
|
1778
1797
|
const marginStyle = {
|
|
1779
1798
|
layers: {
|
|
1780
|
-
util: util$
|
|
1799
|
+
util: util$8
|
|
1781
1800
|
}
|
|
1782
|
-
}, util$
|
|
1783
|
-
_responsiveRule(util$
|
|
1801
|
+
}, util$7 = {};
|
|
1802
|
+
_responsiveRule(util$7, "max-w-0", {
|
|
1784
1803
|
maxWidth: vars.container[0]
|
|
1785
1804
|
});
|
|
1786
|
-
_responsiveRule(util$
|
|
1805
|
+
_responsiveRule(util$7, "max-w-1", {
|
|
1787
1806
|
maxWidth: vars.container[1]
|
|
1788
1807
|
});
|
|
1789
|
-
_responsiveRule(util$
|
|
1808
|
+
_responsiveRule(util$7, "max-w-2", {
|
|
1790
1809
|
maxWidth: vars.container[2]
|
|
1791
1810
|
});
|
|
1792
|
-
_responsiveRule(util$
|
|
1811
|
+
_responsiveRule(util$7, "max-w-3", {
|
|
1793
1812
|
maxWidth: vars.container[3]
|
|
1794
1813
|
});
|
|
1795
|
-
_responsiveRule(util$
|
|
1814
|
+
_responsiveRule(util$7, "max-w-4", {
|
|
1796
1815
|
maxWidth: vars.container[4]
|
|
1797
1816
|
});
|
|
1798
|
-
_responsiveRule(util$
|
|
1817
|
+
_responsiveRule(util$7, "max-w-5", {
|
|
1799
1818
|
maxWidth: vars.container[5]
|
|
1800
1819
|
});
|
|
1801
|
-
_responsiveRule(util$
|
|
1820
|
+
_responsiveRule(util$7, "max-w-auto", {
|
|
1802
1821
|
maxWidth: "none"
|
|
1803
1822
|
});
|
|
1804
|
-
_responsiveRule(util$
|
|
1823
|
+
_responsiveRule(util$7, "max-w-fill", {
|
|
1805
1824
|
maxWidth: "100%"
|
|
1806
1825
|
});
|
|
1807
1826
|
const maxWidthStyle = {
|
|
1827
|
+
layers: {
|
|
1828
|
+
util: util$7
|
|
1829
|
+
}
|
|
1830
|
+
}, util$6 = {};
|
|
1831
|
+
_responsiveRule(util$6, "min-w-0", {
|
|
1832
|
+
minWidth: "0"
|
|
1833
|
+
});
|
|
1834
|
+
_responsiveRule(util$6, "min-w-auto", {
|
|
1835
|
+
minWidth: "auto"
|
|
1836
|
+
});
|
|
1837
|
+
_responsiveRule(util$6, "min-w-full", {
|
|
1838
|
+
minWidth: "100%"
|
|
1839
|
+
});
|
|
1840
|
+
_responsiveRule(util$6, "min-w-min", {
|
|
1841
|
+
minWidth: "min-content"
|
|
1842
|
+
});
|
|
1843
|
+
_responsiveRule(util$6, "min-w-max", {
|
|
1844
|
+
minWidth: "max-content"
|
|
1845
|
+
});
|
|
1846
|
+
_responsiveRule(util$6, "min-w-fit", {
|
|
1847
|
+
minWidth: "fit-content"
|
|
1848
|
+
});
|
|
1849
|
+
const minWidthStyle = {
|
|
1808
1850
|
layers: {
|
|
1809
1851
|
util: util$6
|
|
1810
1852
|
}
|
|
@@ -2644,7 +2686,7 @@ const avatarStyle = {
|
|
|
2644
2686
|
for (const tone of theme.THEME_COLOR_STATE_TONES)
|
|
2645
2687
|
primitive$l[`.badge-${tone}`] = {
|
|
2646
2688
|
[varNames.color.bg]: vars.color.tinted[tone].bg[4],
|
|
2647
|
-
[varNames.color.fg]: vars.color.tinted[tone].fg[
|
|
2689
|
+
[varNames.color.fg]: vars.color.tinted[tone].fg[3]
|
|
2648
2690
|
};
|
|
2649
2691
|
const badgeStyle = {
|
|
2650
2692
|
layers: {
|
|
@@ -2652,7 +2694,7 @@ const badgeStyle = {
|
|
|
2652
2694
|
}
|
|
2653
2695
|
}, primitive$k = {
|
|
2654
2696
|
".box": {
|
|
2655
|
-
|
|
2697
|
+
// todo: move to aspects
|
|
2656
2698
|
minHeight: 0,
|
|
2657
2699
|
"@nest": {
|
|
2658
2700
|
"&:is(ul), &:is(ol)": {
|
|
@@ -2739,6 +2781,7 @@ for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
|
2739
2781
|
[varNames.color.bg]: solid.bg[0],
|
|
2740
2782
|
[varNames.color.border]: solid.border[1],
|
|
2741
2783
|
[varNames.color.fg]: solid.fg[0],
|
|
2784
|
+
[varNames.color.muted.bg]: solid.bg[1],
|
|
2742
2785
|
[varNames.color.muted.fg]: solid.fg[4],
|
|
2743
2786
|
"--button-box-shadow": "none",
|
|
2744
2787
|
"@nest": {
|
|
@@ -2746,24 +2789,28 @@ for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
|
2746
2789
|
[varNames.color.bg]: solid.bg[1],
|
|
2747
2790
|
[varNames.color.border]: solid.border[2],
|
|
2748
2791
|
[varNames.color.fg]: solid.fg[0],
|
|
2792
|
+
[varNames.color.muted.bg]: solid.bg[2],
|
|
2749
2793
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
2750
2794
|
},
|
|
2751
2795
|
"&:not([data-disabled]):active": {
|
|
2752
2796
|
[varNames.color.bg]: solid.bg[2],
|
|
2753
2797
|
[varNames.color.border]: solid.border[3],
|
|
2754
2798
|
[varNames.color.fg]: solid.fg[0],
|
|
2799
|
+
[varNames.color.muted.bg]: solid.bg[3],
|
|
2755
2800
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
2756
2801
|
},
|
|
2757
2802
|
"&:not([data-disabled])[data-selected]": {
|
|
2758
2803
|
[varNames.color.bg]: solid.bg[2],
|
|
2759
2804
|
[varNames.color.border]: solid.border[3],
|
|
2760
2805
|
[varNames.color.fg]: solid.fg[0],
|
|
2806
|
+
[varNames.color.muted.bg]: solid.bg[3],
|
|
2761
2807
|
[varNames.color.muted.fg]: solid.fg[4]
|
|
2762
2808
|
},
|
|
2763
2809
|
"&[data-disabled]": {
|
|
2764
2810
|
[varNames.color.bg]: vars.color.default.tinted.bg[1],
|
|
2765
2811
|
[varNames.color.border]: vars.color.default.tinted.border[0],
|
|
2766
2812
|
[varNames.color.fg]: vars.color.default.tinted.fg[2],
|
|
2813
|
+
[varNames.color.muted.bg]: vars.color.default.tinted.bg[2],
|
|
2767
2814
|
[varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
|
|
2768
2815
|
}
|
|
2769
2816
|
}
|
|
@@ -2771,30 +2818,40 @@ for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
|
2771
2818
|
[varNames.color.bg]: tinted.bg[1],
|
|
2772
2819
|
[varNames.color.border]: tinted.border[0],
|
|
2773
2820
|
[varNames.color.fg]: tinted.fg[2],
|
|
2821
|
+
[varNames.color.muted.bg]: tinted.bg[2],
|
|
2822
|
+
[varNames.color.muted.fg]: tinted.fg[4],
|
|
2774
2823
|
"--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)",
|
|
2775
2824
|
"@nest": {
|
|
2776
2825
|
"&:not([data-disabled]):hover": {
|
|
2777
2826
|
[varNames.color.bg]: tinted.bg[2],
|
|
2778
2827
|
[varNames.color.border]: tinted.border[1],
|
|
2779
|
-
[varNames.color.fg]: tinted.fg[1]
|
|
2828
|
+
[varNames.color.fg]: tinted.fg[1],
|
|
2829
|
+
[varNames.color.muted.bg]: tinted.bg[3],
|
|
2830
|
+
[varNames.color.muted.fg]: tinted.fg[3]
|
|
2780
2831
|
// '--button-box-shadow': `inset 0 0 0 var(--button-border-width) var(--color-border)`,
|
|
2781
2832
|
},
|
|
2782
2833
|
"&:not([data-disabled]):active": {
|
|
2783
2834
|
[varNames.color.bg]: tinted.bg[3],
|
|
2784
2835
|
[varNames.color.border]: tinted.border[2],
|
|
2785
2836
|
[varNames.color.fg]: tinted.fg[1],
|
|
2837
|
+
[varNames.color.muted.bg]: tinted.bg[4],
|
|
2838
|
+
[varNames.color.muted.fg]: tinted.fg[3],
|
|
2786
2839
|
"--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)"
|
|
2787
2840
|
},
|
|
2788
2841
|
"&:not([data-disabled])[data-selected]": {
|
|
2789
2842
|
[varNames.color.bg]: tinted.bg[3],
|
|
2790
2843
|
[varNames.color.border]: tinted.border[2],
|
|
2791
2844
|
[varNames.color.fg]: tinted.fg[1],
|
|
2845
|
+
[varNames.color.muted.bg]: tinted.bg[4],
|
|
2846
|
+
[varNames.color.muted.fg]: tinted.fg[3],
|
|
2792
2847
|
"--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)"
|
|
2793
2848
|
},
|
|
2794
2849
|
"&[data-disabled]": {
|
|
2795
2850
|
[varNames.color.bg]: vars.color.default.tinted.bg[1],
|
|
2796
2851
|
[varNames.color.border]: vars.color.default.tinted.border[0],
|
|
2797
|
-
[varNames.color.fg]: vars.color.default.tinted.fg[2]
|
|
2852
|
+
[varNames.color.fg]: vars.color.default.tinted.fg[2],
|
|
2853
|
+
[varNames.color.muted.bg]: vars.color.default.tinted.bg[2],
|
|
2854
|
+
[varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
|
|
2798
2855
|
}
|
|
2799
2856
|
}
|
|
2800
2857
|
}, primitive$j[`.button.${variantMap.bleed}.${toneMap$1[tone]}`] = {
|
|
@@ -2802,6 +2859,7 @@ for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
|
2802
2859
|
[varNames.color.bg]: tinted.bg[0],
|
|
2803
2860
|
[varNames.color.border]: tinted.border[1],
|
|
2804
2861
|
[varNames.color.fg]: tinted.fg[2],
|
|
2862
|
+
[varNames.color.muted.bg]: tinted.bg[1],
|
|
2805
2863
|
[varNames.color.muted.fg]: tinted.fg[4],
|
|
2806
2864
|
"--button-box-shadow": "none",
|
|
2807
2865
|
"@nest": {
|
|
@@ -2809,24 +2867,28 @@ for (const tone of theme.THEME_COLOR_STATE_TONES) {
|
|
|
2809
2867
|
[varNames.color.bg]: tinted.bg[1],
|
|
2810
2868
|
[varNames.color.border]: tinted.border[2],
|
|
2811
2869
|
[varNames.color.fg]: tinted.fg[1],
|
|
2870
|
+
[varNames.color.muted.bg]: tinted.bg[2],
|
|
2812
2871
|
[varNames.color.muted.fg]: tinted.fg[3]
|
|
2813
2872
|
},
|
|
2814
2873
|
"&:not([data-disabled]):active": {
|
|
2815
2874
|
[varNames.color.bg]: tinted.bg[2],
|
|
2816
2875
|
[varNames.color.border]: tinted.border[3],
|
|
2817
2876
|
[varNames.color.fg]: tinted.fg[1],
|
|
2877
|
+
[varNames.color.muted.bg]: tinted.bg[3],
|
|
2818
2878
|
[varNames.color.muted.fg]: tinted.fg[3]
|
|
2819
2879
|
},
|
|
2820
2880
|
"&:not([data-disabled])[data-selected]": {
|
|
2821
2881
|
[varNames.color.bg]: tinted.bg[2],
|
|
2822
2882
|
[varNames.color.border]: tinted.border[3],
|
|
2823
2883
|
[varNames.color.fg]: tinted.fg[1],
|
|
2884
|
+
[varNames.color.muted.bg]: tinted.bg[3],
|
|
2824
2885
|
[varNames.color.muted.fg]: tinted.fg[3]
|
|
2825
2886
|
},
|
|
2826
2887
|
"&[data-disabled]": {
|
|
2827
2888
|
[varNames.color.bg]: vars.color.default.tinted.bg[0],
|
|
2828
2889
|
[varNames.color.border]: vars.color.default.tinted.border[0],
|
|
2829
2890
|
[varNames.color.fg]: vars.color.default.tinted.fg[2],
|
|
2891
|
+
[varNames.color.muted.bg]: vars.color.default.tinted.bg[1],
|
|
2830
2892
|
[varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
|
|
2831
2893
|
}
|
|
2832
2894
|
}
|
|
@@ -2852,11 +2914,13 @@ const buttonStyle = {
|
|
|
2852
2914
|
color: vars.color.fg,
|
|
2853
2915
|
[varNames.color.bg]: vars.color.tinted.default.bg[0],
|
|
2854
2916
|
[varNames.color.border]: vars.color.tinted.default.border[1],
|
|
2917
|
+
[varNames.color.code.bg]: vars.color.code.bg,
|
|
2918
|
+
[varNames.color.code.fg]: vars.color.code.fg,
|
|
2855
2919
|
[varNames.color.fg]: vars.color.tinted.default.fg[0],
|
|
2856
2920
|
[varNames.color.muted.bg]: vars.color.tinted.default.bg[1],
|
|
2857
2921
|
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4],
|
|
2858
2922
|
"@nest": {
|
|
2859
|
-
"
|
|
2923
|
+
"button&": {
|
|
2860
2924
|
WebkitFontSmoothing: "inherit",
|
|
2861
2925
|
appearance: "none",
|
|
2862
2926
|
outline: "none",
|
|
@@ -2866,14 +2930,72 @@ const buttonStyle = {
|
|
|
2866
2930
|
// @ts-expect-error - TODO: fix
|
|
2867
2931
|
width: ["-moz-available", "-webkit-fill-available", "fill-available"]
|
|
2868
2932
|
},
|
|
2869
|
-
"
|
|
2933
|
+
"a&": {
|
|
2934
|
+
// border: 'none',
|
|
2870
2935
|
outline: "none",
|
|
2871
2936
|
textDecoration: "none"
|
|
2872
2937
|
},
|
|
2873
|
-
"
|
|
2938
|
+
"pre&": {
|
|
2874
2939
|
font: "inherit",
|
|
2875
2940
|
whiteSpace: "inherit"
|
|
2941
|
+
},
|
|
2942
|
+
"a&:not([data-disabled]):hover, button&:not([data-disabled]):hover": {
|
|
2943
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[1],
|
|
2944
|
+
[varNames.color.border]: vars.color.tinted.default.border[3],
|
|
2945
|
+
[varNames.color.fg]: vars.color.tinted.default.fg[1],
|
|
2946
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[2],
|
|
2947
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4]
|
|
2948
|
+
},
|
|
2949
|
+
"a&:not([data-disabled]):active, button&:not([data-disabled]):active": {
|
|
2950
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[2],
|
|
2951
|
+
[varNames.color.border]: vars.color.tinted.default.border[4],
|
|
2952
|
+
[varNames.color.fg]: vars.color.tinted.default.fg[0],
|
|
2953
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[3],
|
|
2954
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4]
|
|
2955
|
+
},
|
|
2956
|
+
// toggle button
|
|
2957
|
+
'a&:not([data-disabled])[aria-pressed="true"], button&:not([data-disabled])[aria-pressed="true"]': {
|
|
2958
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[2],
|
|
2959
|
+
[varNames.color.border]: vars.color.tinted.default.border[4],
|
|
2960
|
+
[varNames.color.fg]: vars.color.tinted.default.fg[0],
|
|
2961
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[3],
|
|
2962
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4]
|
|
2963
|
+
},
|
|
2964
|
+
"a&:not([data-disabled])[data-pressed], button&:not([data-disabled])[data-pressed]": {
|
|
2965
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[2],
|
|
2966
|
+
[varNames.color.border]: vars.color.tinted.default.border[4],
|
|
2967
|
+
[varNames.color.fg]: vars.color.tinted.default.fg[0],
|
|
2968
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[3],
|
|
2969
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4]
|
|
2970
|
+
},
|
|
2971
|
+
"a&:not([data-disabled])[data-selected], button&:not([data-disabled])[data-selected]": {
|
|
2972
|
+
[varNames.color.bg]: vars.color.solid.primary.bg[0],
|
|
2973
|
+
[varNames.color.border]: vars.color.solid.primary.border[1],
|
|
2974
|
+
[varNames.color.fg]: vars.color.solid.primary.fg[0],
|
|
2975
|
+
[varNames.color.muted.bg]: vars.color.solid.primary.bg[1],
|
|
2976
|
+
[varNames.color.muted.fg]: vars.color.solid.primary.fg[3]
|
|
2977
|
+
},
|
|
2978
|
+
// '&:not([data-disabled]):focus': {
|
|
2979
|
+
// '--color-bg': vars.color.solid.bg[0],
|
|
2980
|
+
// '--color-border': vars.color.solid.border[1],
|
|
2981
|
+
// '--color-fg': vars.color.solid.fg[1],
|
|
2982
|
+
// '--color-muted-bg': vars.color.solid.bg[1],
|
|
2983
|
+
// '--color-muted-fg': vars.color.solid.fg[3],
|
|
2984
|
+
// },
|
|
2985
|
+
"a&[data-disabled]), button&[data-disabled]": {
|
|
2986
|
+
[varNames.color.bg]: vars.color.tinted.default.bg[2],
|
|
2987
|
+
[varNames.color.border]: vars.color.tinted.default.border[4],
|
|
2988
|
+
[varNames.color.fg]: vars.color.tinted.default.fg[0],
|
|
2989
|
+
[varNames.color.muted.bg]: vars.color.tinted.default.bg[3],
|
|
2990
|
+
[varNames.color.muted.fg]: vars.color.tinted.default.fg[4]
|
|
2876
2991
|
}
|
|
2992
|
+
// '&[data-disabled]': {
|
|
2993
|
+
// '--color-bg': vars.color.tinted.bg[0],
|
|
2994
|
+
// '--color-border': vars.color.tinted.border[1],
|
|
2995
|
+
// '--color-fg': vars.color.tinted.border[4],
|
|
2996
|
+
// '--color-muted-bg': vars.color.tinted.bg[1],
|
|
2997
|
+
// '--color-muted-fg': vars.color.tinted.border[4],
|
|
2998
|
+
// },
|
|
2877
2999
|
}
|
|
2878
3000
|
}
|
|
2879
3001
|
};
|
|
@@ -2893,10 +3015,12 @@ for (const tone of theme.THEME_COLOR_CARD_TONES) {
|
|
|
2893
3015
|
"--card-bg-color": vars.color.bg,
|
|
2894
3016
|
"--card-bg2-color": vars.color.muted.bg,
|
|
2895
3017
|
"--card-border-color": vars.color.border,
|
|
2896
|
-
"--card-code-bg-color": vars.color.
|
|
2897
|
-
"--card-code-fg-color": vars.color.
|
|
3018
|
+
"--card-code-bg-color": vars.color.code.bg,
|
|
3019
|
+
"--card-code-fg-color": vars.color.code.fg,
|
|
2898
3020
|
"--card-fg-color": vars.color.fg,
|
|
2899
3021
|
"--card-focus-ring-color": vars.color.focusRing,
|
|
3022
|
+
"--card-hairline-soft-color": vars.color.tinted.default.border[1],
|
|
3023
|
+
"--card-hairline-hard-color": vars.color.tinted.default.border[2],
|
|
2900
3024
|
"--card-icon-color": vars.color.fg,
|
|
2901
3025
|
"--card-kbd-bg-color": vars.color.muted.bg,
|
|
2902
3026
|
"--card-kbd-border-color": vars.color.tinted.default.border[1],
|
|
@@ -2908,11 +3032,9 @@ for (const tone of theme.THEME_COLOR_CARD_TONES) {
|
|
|
2908
3032
|
"--card-shadow-outline-color": vars.color.shadow.outline,
|
|
2909
3033
|
"--card-shadow-umbra-color": vars.color.shadow.umbra,
|
|
2910
3034
|
"--card-shadow-penumbra-color": vars.color.shadow.penumbra,
|
|
2911
|
-
"--card-shadow-ambient-color": vars.color.shadow.ambient
|
|
3035
|
+
"--card-shadow-ambient-color": vars.color.shadow.ambient
|
|
2912
3036
|
// '--card-skeleton-from-color': 'var(--color-skeleton-from)',
|
|
2913
3037
|
// '--card-skeleton-to-color': 'var(--color-skeleton-to)',
|
|
2914
|
-
"--card-hairline-soft-color": vars.color.tinted.default.border[1],
|
|
2915
|
-
"--card-hairline-hard-color": vars.color.tinted.default.border[2]
|
|
2916
3038
|
}), primitive$i[`.card.${toneMap[tone]}`] = toneProps;
|
|
2917
3039
|
}
|
|
2918
3040
|
const cardStyle = {
|
|
@@ -2928,48 +3050,50 @@ function _assignToneProps(toneProps, _varNames, _vars) {
|
|
|
2928
3050
|
toneProps[`${_varNames.avatar[hue].bg}`] = _vars.avatar[hue].bg, toneProps[`${_varNames.avatar[hue].fg}`] = _vars.avatar[hue].fg;
|
|
2929
3051
|
Object.assign(toneProps, {
|
|
2930
3052
|
[_varNames.backdrop]: _vars.backdrop,
|
|
3053
|
+
[_varNames.code.fg]: _vars.code.fg,
|
|
3054
|
+
[_varNames.code.bg]: _vars.code.bg,
|
|
3055
|
+
[_varNames.code.token.atrule]: _vars.code.token.atrule,
|
|
3056
|
+
[_varNames.code.token.attrName]: _vars.code.token.attrName,
|
|
3057
|
+
[_varNames.code.token.attrValue]: _vars.code.token.attrValue,
|
|
3058
|
+
[_varNames.code.token.attribute]: _vars.code.token.attribute,
|
|
3059
|
+
[_varNames.code.token.boolean]: _vars.code.token.boolean,
|
|
3060
|
+
[_varNames.code.token.builtin]: _vars.code.token.builtin,
|
|
3061
|
+
[_varNames.code.token.cdata]: _vars.code.token.cdata,
|
|
3062
|
+
[_varNames.code.token.char]: _vars.code.token.char,
|
|
3063
|
+
[_varNames.code.token.class]: _vars.code.token.class,
|
|
3064
|
+
[_varNames.code.token.className]: _vars.code.token.className,
|
|
3065
|
+
[_varNames.code.token.comment]: _vars.code.token.comment,
|
|
3066
|
+
[_varNames.code.token.constant]: _vars.code.token.constant,
|
|
3067
|
+
[_varNames.code.token.deleted]: _vars.code.token.deleted,
|
|
3068
|
+
[_varNames.code.token.doctype]: _vars.code.token.doctype,
|
|
3069
|
+
[_varNames.code.token.entity]: _vars.code.token.entity,
|
|
3070
|
+
[_varNames.code.token.function]: _vars.code.token.function,
|
|
3071
|
+
[_varNames.code.token.hexcode]: _vars.code.token.hexcode,
|
|
3072
|
+
[_varNames.code.token.id]: _vars.code.token.id,
|
|
3073
|
+
[_varNames.code.token.important]: _vars.code.token.important,
|
|
3074
|
+
[_varNames.code.token.inserted]: _vars.code.token.inserted,
|
|
3075
|
+
[_varNames.code.token.keyword]: _vars.code.token.keyword,
|
|
3076
|
+
[_varNames.code.token.number]: _vars.code.token.number,
|
|
3077
|
+
[_varNames.code.token.operator]: _vars.code.token.operator,
|
|
3078
|
+
[_varNames.code.token.prolog]: _vars.code.token.prolog,
|
|
3079
|
+
[_varNames.code.token.property]: _vars.code.token.property,
|
|
3080
|
+
[_varNames.code.token.pseudoClass]: _vars.code.token.pseudoClass,
|
|
3081
|
+
[_varNames.code.token.pseudoElement]: _vars.code.token.pseudoElement,
|
|
3082
|
+
[_varNames.code.token.punctuation]: _vars.code.token.punctuation,
|
|
3083
|
+
[_varNames.code.token.regex]: _vars.code.token.regex,
|
|
3084
|
+
[_varNames.code.token.selector]: _vars.code.token.selector,
|
|
3085
|
+
[_varNames.code.token.string]: _vars.code.token.string,
|
|
3086
|
+
[_varNames.code.token.symbol]: _vars.code.token.symbol,
|
|
3087
|
+
[_varNames.code.token.tag]: _vars.code.token.tag,
|
|
3088
|
+
[_varNames.code.token.unit]: _vars.code.token.unit,
|
|
3089
|
+
[_varNames.code.token.url]: _vars.code.token.url,
|
|
3090
|
+
[_varNames.code.token.variable]: _vars.code.token.variable,
|
|
2931
3091
|
[_varNames.focusRing]: _vars.focusRing,
|
|
2932
3092
|
[_varNames.link.fg]: _vars.link.fg,
|
|
2933
3093
|
[_varNames.shadow.outline]: _vars.shadow.outline,
|
|
2934
3094
|
[_varNames.shadow.umbra]: _vars.shadow.umbra,
|
|
2935
3095
|
[_varNames.shadow.penumbra]: _vars.shadow.penumbra,
|
|
2936
|
-
[_varNames.shadow.ambient]: _vars.shadow.ambient
|
|
2937
|
-
[_varNames.token.atrule]: _vars.token.atrule,
|
|
2938
|
-
[_varNames.token.attrName]: _vars.token.attrName,
|
|
2939
|
-
[_varNames.token.attrValue]: _vars.token.attrValue,
|
|
2940
|
-
[_varNames.token.attribute]: _vars.token.attribute,
|
|
2941
|
-
[_varNames.token.boolean]: _vars.token.boolean,
|
|
2942
|
-
[_varNames.token.builtin]: _vars.token.builtin,
|
|
2943
|
-
[_varNames.token.cdata]: _vars.token.cdata,
|
|
2944
|
-
[_varNames.token.char]: _vars.token.char,
|
|
2945
|
-
[_varNames.token.class]: _vars.token.class,
|
|
2946
|
-
[_varNames.token.className]: _vars.token.className,
|
|
2947
|
-
[_varNames.token.comment]: _vars.token.comment,
|
|
2948
|
-
[_varNames.token.constant]: _vars.token.constant,
|
|
2949
|
-
[_varNames.token.deleted]: _vars.token.deleted,
|
|
2950
|
-
[_varNames.token.doctype]: _vars.token.doctype,
|
|
2951
|
-
[_varNames.token.entity]: _vars.token.entity,
|
|
2952
|
-
[_varNames.token.function]: _vars.token.function,
|
|
2953
|
-
[_varNames.token.hexcode]: _vars.token.hexcode,
|
|
2954
|
-
[_varNames.token.id]: _vars.token.id,
|
|
2955
|
-
[_varNames.token.important]: _vars.token.important,
|
|
2956
|
-
[_varNames.token.inserted]: _vars.token.inserted,
|
|
2957
|
-
[_varNames.token.keyword]: _vars.token.keyword,
|
|
2958
|
-
[_varNames.token.number]: _vars.token.number,
|
|
2959
|
-
[_varNames.token.operator]: _vars.token.operator,
|
|
2960
|
-
[_varNames.token.prolog]: _vars.token.prolog,
|
|
2961
|
-
[_varNames.token.property]: _vars.token.property,
|
|
2962
|
-
[_varNames.token.pseudoClass]: _vars.token.pseudoClass,
|
|
2963
|
-
[_varNames.token.pseudoElement]: _vars.token.pseudoElement,
|
|
2964
|
-
[_varNames.token.punctuation]: _vars.token.punctuation,
|
|
2965
|
-
[_varNames.token.regex]: _vars.token.regex,
|
|
2966
|
-
[_varNames.token.selector]: _vars.token.selector,
|
|
2967
|
-
[_varNames.token.string]: _vars.token.string,
|
|
2968
|
-
[_varNames.token.symbol]: _vars.token.symbol,
|
|
2969
|
-
[_varNames.token.tag]: _vars.token.tag,
|
|
2970
|
-
[_varNames.token.unit]: _vars.token.unit,
|
|
2971
|
-
[_varNames.token.url]: _vars.token.url,
|
|
2972
|
-
[_varNames.token.variable]: _vars.token.variable
|
|
3096
|
+
[_varNames.shadow.ambient]: _vars.shadow.ambient
|
|
2973
3097
|
});
|
|
2974
3098
|
for (const variant of ["solid", "tinted"])
|
|
2975
3099
|
for (const elementTone of theme.THEME_COLOR_STATE_TONES) {
|
|
@@ -3225,7 +3349,7 @@ const headingStyle = {
|
|
|
3225
3349
|
// '--color-bg': 'var(--color-tinted-default-bg-1)',
|
|
3226
3350
|
// '--color-border': 'var(--color-tinted-default-border-2)',
|
|
3227
3351
|
// '--color-fg': 'var(--color-tinted-default-fg-3)',
|
|
3228
|
-
boxShadow: "inset 0 0 0 0.5px var(--color-border)",
|
|
3352
|
+
boxShadow: "inset 0 0 0 0.5px var(--color-tinted-default-border-3)",
|
|
3229
3353
|
background: "var(--color-muted-bg)",
|
|
3230
3354
|
font: "inherit",
|
|
3231
3355
|
verticalAlign: "top",
|
|
@@ -3452,21 +3576,15 @@ const labelStyle = {
|
|
|
3452
3576
|
outline: "none",
|
|
3453
3577
|
padding: 0,
|
|
3454
3578
|
margin: 0,
|
|
3455
|
-
|
|
3579
|
+
// place the input element on top of the representation element
|
|
3456
3580
|
zIndex: 1
|
|
3457
3581
|
},
|
|
3458
3582
|
".switch-presentation": {
|
|
3459
3583
|
"--switch-bg-color": "var(--color-tinted-default-border-2)",
|
|
3460
|
-
// '--switch-border-color': 'var(--color-tinted-default-border-1)',
|
|
3461
3584
|
"--switch-fg-color": "var(--color-tinted-default-bg-0)",
|
|
3462
|
-
// --switch-bg-color: ${color.input.default.enabled.border};
|
|
3463
|
-
// --switch-fg-color: ${color.input.default.enabled.bg};
|
|
3464
3585
|
"--switch-thumb-offset": "0",
|
|
3465
3586
|
"--switch-thumb-size": "calc(var(--input-switch-height) - var(--input-switch-padding) * 2)",
|
|
3466
3587
|
display: "block",
|
|
3467
|
-
// &:not([hidden]) {
|
|
3468
|
-
// display: block;
|
|
3469
|
-
// }
|
|
3470
3588
|
position: "relative",
|
|
3471
3589
|
width: "var(--input-switch-width)",
|
|
3472
3590
|
height: "var(--input-switch-height)",
|
|
@@ -3475,20 +3593,7 @@ const labelStyle = {
|
|
|
3475
3593
|
// Make sure it’s not possible to interact with the presentation element
|
|
3476
3594
|
pointerEvents: "none",
|
|
3477
3595
|
"@nest": {
|
|
3478
|
-
// '&::after': {
|
|
3479
|
-
// content: '""',
|
|
3480
|
-
// display: 'block',
|
|
3481
|
-
// position: 'absolute',
|
|
3482
|
-
// top: 0,
|
|
3483
|
-
// left: 0,
|
|
3484
|
-
// right: 0,
|
|
3485
|
-
// bottom: 0,
|
|
3486
|
-
// zIndex: 1,
|
|
3487
|
-
// // boxShadow: 'var(--switch-box-shadow)',
|
|
3488
|
-
// borderRadius: 'inherit',
|
|
3489
|
-
// },
|
|
3490
3596
|
".switch-element:focus + &": {
|
|
3491
|
-
// --switch-box-shadow: ${focusRingStyle({focusRing: input.switch.focusRing})};
|
|
3492
3597
|
outline: "var(--input-switch-focus-ring-width) solid var(--color-focus-ring)"
|
|
3493
3598
|
},
|
|
3494
3599
|
"input:focus:not(:focus-visible) + &": {
|
|
@@ -3496,35 +3601,15 @@ const labelStyle = {
|
|
|
3496
3601
|
},
|
|
3497
3602
|
"input:checked + &": {
|
|
3498
3603
|
"--switch-bg-color": "var(--color-solid-default-bg-0)",
|
|
3499
|
-
// '--switch-border-color': 'var(--color-solid-default-bg-0)',
|
|
3500
3604
|
"--switch-fg-color": "var(--color-solid-default-fg-0)"
|
|
3501
3605
|
},
|
|
3502
|
-
// input:not([data-read-only]):disabled + && {
|
|
3503
|
-
// --switch-bg-color: ${color.input.default.disabled.border};
|
|
3504
|
-
// --switch-fg-color: ${color.input.default.disabled.bg};
|
|
3505
|
-
// }
|
|
3506
|
-
// input[data-read-only]:disabled + && {
|
|
3507
|
-
// --switch-bg-color: ${color.input.default.readOnly.border};
|
|
3508
|
-
// --switch-fg-color: ${color.input.default.readOnly.bg};
|
|
3509
|
-
// }
|
|
3510
|
-
// input:checked[data-read-only]:disabled + && {
|
|
3511
|
-
// --switch-bg-color: ${color.input.default.readOnly.fg};
|
|
3512
|
-
// --switch-fg-color: ${color.input.default.readOnly.bg};
|
|
3513
|
-
// }
|
|
3514
3606
|
".switch-element:checked + &": {
|
|
3515
3607
|
"--switch-thumb-offset": "calc(var(--input-switch-width) - (var(--input-switch-padding) * 2) - var(--switch-thumb-size))"
|
|
3608
|
+
},
|
|
3609
|
+
"[data-indeterminate] > .switch-element + &": {
|
|
3610
|
+
"--switch-thumb-offset": "calc(var(--input-switch-width) / 2 - var(--switch-thumb-size) / 2 - var(--input-switch-padding))"
|
|
3516
3611
|
}
|
|
3517
3612
|
}
|
|
3518
|
-
// @media (hover: hover) {
|
|
3519
|
-
// input:not(:disabled):hover + && {
|
|
3520
|
-
// --switch-bg-color: ${color.input.default.hovered.border};
|
|
3521
|
-
// --switch-fg-color: ${color.input.default.hovered.bg};
|
|
3522
|
-
// }
|
|
3523
|
-
// input:not(:disabled):checked:hover + && {
|
|
3524
|
-
// --switch-bg-color: ${color.input.default.enabled.fg};
|
|
3525
|
-
// --switch-fg-color: ${color.input.default.enabled.bg};
|
|
3526
|
-
// }
|
|
3527
|
-
// }
|
|
3528
3613
|
},
|
|
3529
3614
|
".switch-track": {
|
|
3530
3615
|
display: "block",
|
|
@@ -3535,11 +3620,9 @@ const labelStyle = {
|
|
|
3535
3620
|
right: 0,
|
|
3536
3621
|
bottom: 0,
|
|
3537
3622
|
borderRadius: "inherit",
|
|
3538
|
-
// boxShadow: 'inset 0 0 0 1px var(--switch-border-color)',
|
|
3539
3623
|
transition: "box-shadow, background-color var(--input-switch-transition-duration-ms) var(--input-switch-transition-timing-function)"
|
|
3540
3624
|
},
|
|
3541
3625
|
".switch-thumb": {
|
|
3542
|
-
// '--switch-thumb-offset': '0',
|
|
3543
3626
|
display: "block",
|
|
3544
3627
|
position: "absolute",
|
|
3545
3628
|
left: "var(--input-switch-padding)",
|
|
@@ -3551,40 +3634,6 @@ const labelStyle = {
|
|
|
3551
3634
|
boxShadow: "0 0 0 0.5px var(--color-shadow-umbra), 0 0.5px 2px 0.5px var(--color-shadow-umbra)",
|
|
3552
3635
|
transform: "translate3d(var(--switch-thumb-offset), 0, 0)",
|
|
3553
3636
|
transition: "transform var(--input-switch-transition-duration-ms) var(--input-switch-transition-timing-function)"
|
|
3554
|
-
// transition-property: transform;
|
|
3555
|
-
// transition-duration: ${input.switch.transitionDurationMs}ms;
|
|
3556
|
-
// transition-timing-function: ${input.switch.transitionTimingFunction};
|
|
3557
|
-
// const {$indeterminate} = props
|
|
3558
|
-
// const {input} = getTheme_v2(props.theme)
|
|
3559
|
-
// const trackWidth = input.switch.width
|
|
3560
|
-
// const trackHeight = input.switch.height
|
|
3561
|
-
// const trackPadding = input.switch.padding
|
|
3562
|
-
// const size = trackHeight - input.switch.padding * 2
|
|
3563
|
-
// const checkedOffset = trackWidth - trackPadding * 2 - size
|
|
3564
|
-
// const indeterminateOffset = trackWidth / 2 - size / 2 - trackPadding
|
|
3565
|
-
// const checked = $indeterminate !== true && props.$checked === true
|
|
3566
|
-
// return css`
|
|
3567
|
-
// position: absolute;
|
|
3568
|
-
// left: ${rem(trackPadding)};
|
|
3569
|
-
// top: ${rem(trackPadding)};
|
|
3570
|
-
// height: ${rem(size)};
|
|
3571
|
-
// width: ${rem(size)};
|
|
3572
|
-
// border-radius: ${rem(size / 2)};
|
|
3573
|
-
// transition-property: transform;
|
|
3574
|
-
// transition-duration: ${input.switch.transitionDurationMs}ms;
|
|
3575
|
-
// transition-timing-function: ${input.switch.transitionTimingFunction};
|
|
3576
|
-
// background: var(--switch-fg-color);
|
|
3577
|
-
// transform: translate3d(0, 0, 0);
|
|
3578
|
-
// box-shadow: 0px 1px 0px 0px rgba(0, 0, 0, 0.05);
|
|
3579
|
-
// ${checked &&
|
|
3580
|
-
// css`
|
|
3581
|
-
// transform: translate3d(${checkedOffset}px, 0, 0);
|
|
3582
|
-
// `}
|
|
3583
|
-
// ${$indeterminate &&
|
|
3584
|
-
// css`
|
|
3585
|
-
// transform: translate3d(${indeterminateOffset}px, 0, 0);
|
|
3586
|
-
// `}
|
|
3587
|
-
// `
|
|
3588
3637
|
}
|
|
3589
3638
|
}, switchStyle = {
|
|
3590
3639
|
layers: {
|
|
@@ -3606,10 +3655,16 @@ const labelStyle = {
|
|
|
3606
3655
|
},
|
|
3607
3656
|
"& a:hover": {
|
|
3608
3657
|
color: "var(--color-fg)"
|
|
3658
|
+
},
|
|
3659
|
+
"& code": {
|
|
3660
|
+
fontFamily: vars.font.code.family,
|
|
3661
|
+
color: "var(--color-code-fg)",
|
|
3662
|
+
backgroundColor: "var(--color-muted-bg)",
|
|
3663
|
+
borderRadius: vars.radius[2]
|
|
3664
|
+
},
|
|
3665
|
+
"& svg": {
|
|
3666
|
+
color: "var(--color-muted-fg)"
|
|
3609
3667
|
}
|
|
3610
|
-
// '& svg': {
|
|
3611
|
-
// color: 'var(--color-icon)',
|
|
3612
|
-
// },
|
|
3613
3668
|
}
|
|
3614
3669
|
},
|
|
3615
3670
|
// 'text-accent': {
|
|
@@ -3989,6 +4044,7 @@ const textStyle = {
|
|
|
3989
4044
|
insetStyle,
|
|
3990
4045
|
marginStyle,
|
|
3991
4046
|
maxWidthStyle,
|
|
4047
|
+
minWidthStyle,
|
|
3992
4048
|
outlineStyle,
|
|
3993
4049
|
overflowStyle,
|
|
3994
4050
|
paddingStyle,
|
|
@@ -4114,7 +4170,7 @@ function compileStyleRule(_selector, properties) {
|
|
|
4114
4170
|
`), nestedProps)
|
|
4115
4171
|
for (const [_nestedSelector, nestedProperties] of Object.entries(nestedProps)) {
|
|
4116
4172
|
const nestedSelector = _prefix && (nestedProperties._prefix ?? !0) ? _nestedSelector.replace(/\./g, `.${PREFIX}`) : _nestedSelector;
|
|
4117
|
-
css += `${nestedSelector.replace(
|
|
4173
|
+
css += `${nestedSelector.replace(/&/g, selector)} {
|
|
4118
4174
|
`, css += compileProperties(nestedProperties), css += `}
|
|
4119
4175
|
|
|
4120
4176
|
`;
|
|
@@ -4387,49 +4443,57 @@ function buildColorCardThemeProperties(theme$1, options) {
|
|
|
4387
4443
|
scheme
|
|
4388
4444
|
};
|
|
4389
4445
|
return {
|
|
4446
|
+
// backdrop
|
|
4390
4447
|
[`${prefix}-backdrop`]: theme.renderColor(tokens.backdrop, context),
|
|
4448
|
+
// code
|
|
4449
|
+
[`${prefix}-code-bg`]: theme.renderColor(tokens.code.bg, context),
|
|
4450
|
+
[`${prefix}-code-fg`]: theme.renderColor(tokens.code.fg, context),
|
|
4451
|
+
// code / token
|
|
4452
|
+
[`${prefix}-code-token-atrule`]: theme.renderColor(tokens.code.token.atrule, context),
|
|
4453
|
+
[`${prefix}-code-token-attr-name`]: theme.renderColor(tokens.code.token.attrName, context),
|
|
4454
|
+
[`${prefix}-code-token-attr-value`]: theme.renderColor(tokens.code.token.attrValue, context),
|
|
4455
|
+
[`${prefix}-code-token-attribute`]: theme.renderColor(tokens.code.token.attribute, context),
|
|
4456
|
+
[`${prefix}-code-token-boolean`]: theme.renderColor(tokens.code.token.boolean, context),
|
|
4457
|
+
[`${prefix}-code-token-builtin`]: theme.renderColor(tokens.code.token.builtin, context),
|
|
4458
|
+
[`${prefix}-code-token-cdata`]: theme.renderColor(tokens.code.token.cdata, context),
|
|
4459
|
+
[`${prefix}-code-token-char`]: theme.renderColor(tokens.code.token.char, context),
|
|
4460
|
+
[`${prefix}-code-token-class-name`]: theme.renderColor(tokens.code.token.className, context),
|
|
4461
|
+
[`${prefix}-code-token-class`]: theme.renderColor(tokens.code.token.class, context),
|
|
4462
|
+
[`${prefix}-code-token-comment`]: theme.renderColor(tokens.code.token.comment, context),
|
|
4463
|
+
[`${prefix}-code-token-constant`]: theme.renderColor(tokens.code.token.constant, context),
|
|
4464
|
+
[`${prefix}-code-token-deleted`]: theme.renderColor(tokens.code.token.deleted, context),
|
|
4465
|
+
[`${prefix}-code-token-doctype`]: theme.renderColor(tokens.code.token.doctype, context),
|
|
4466
|
+
[`${prefix}-code-token-entity`]: theme.renderColor(tokens.code.token.entity, context),
|
|
4467
|
+
[`${prefix}-code-token-function`]: theme.renderColor(tokens.code.token.function, context),
|
|
4468
|
+
[`${prefix}-code-token-hexcode`]: theme.renderColor(tokens.code.token.hexcode, context),
|
|
4469
|
+
[`${prefix}-code-token-id`]: theme.renderColor(tokens.code.token.id, context),
|
|
4470
|
+
[`${prefix}-code-token-important`]: theme.renderColor(tokens.code.token.important, context),
|
|
4471
|
+
[`${prefix}-code-token-inserted`]: theme.renderColor(tokens.code.token.inserted, context),
|
|
4472
|
+
[`${prefix}-code-token-keyword`]: theme.renderColor(tokens.code.token.keyword, context),
|
|
4473
|
+
[`${prefix}-code-token-number`]: theme.renderColor(tokens.code.token.number, context),
|
|
4474
|
+
[`${prefix}-code-token-operator`]: theme.renderColor(tokens.code.token.operator, context),
|
|
4475
|
+
[`${prefix}-code-token-prolog`]: theme.renderColor(tokens.code.token.prolog, context),
|
|
4476
|
+
[`${prefix}-code-token-property`]: theme.renderColor(tokens.code.token.property, context),
|
|
4477
|
+
[`${prefix}-code-token-pseudo-class`]: theme.renderColor(tokens.code.token.pseudoClass, context),
|
|
4478
|
+
[`${prefix}-code-token-pseudo-eelement`]: theme.renderColor(tokens.code.token.pseudoElement, context),
|
|
4479
|
+
[`${prefix}-code-token-punctuation`]: theme.renderColor(tokens.code.token.punctuation, context),
|
|
4480
|
+
[`${prefix}-code-token-regex`]: theme.renderColor(tokens.code.token.regex, context),
|
|
4481
|
+
[`${prefix}-code-token-selector`]: theme.renderColor(tokens.code.token.selector, context),
|
|
4482
|
+
[`${prefix}-code-token-string`]: theme.renderColor(tokens.code.token.string, context),
|
|
4483
|
+
[`${prefix}-code-token-symbol`]: theme.renderColor(tokens.code.token.symbol, context),
|
|
4484
|
+
[`${prefix}-code-token-tag`]: theme.renderColor(tokens.code.token.tag, context),
|
|
4485
|
+
[`${prefix}-code-token-unit`]: theme.renderColor(tokens.code.token.unit, context),
|
|
4486
|
+
[`${prefix}-code-token-url`]: theme.renderColor(tokens.code.token.url, context),
|
|
4487
|
+
[`${prefix}-code-token-variable`]: theme.renderColor(tokens.code.token.variable, context),
|
|
4488
|
+
// focus ring
|
|
4391
4489
|
[`${prefix}-focus-ring`]: theme.renderColor(tokens.focusRing, context),
|
|
4490
|
+
// link
|
|
4392
4491
|
[`${prefix}-link-fg`]: theme.renderColor(tokens.link.fg, context),
|
|
4492
|
+
// shadow
|
|
4393
4493
|
[`${prefix}-shadow-outline`]: theme.renderColor(tokens.shadow.outline, context),
|
|
4394
4494
|
[`${prefix}-shadow-umbra`]: theme.renderColor(tokens.shadow.umbra, context),
|
|
4395
4495
|
[`${prefix}-shadow-penumbra`]: theme.renderColor(tokens.shadow.penumbra, context),
|
|
4396
|
-
[`${prefix}-shadow-ambient`]: theme.renderColor(tokens.shadow.ambient, context)
|
|
4397
|
-
[`${prefix}-token-atrule`]: theme.renderColor(tokens.token.atrule, context),
|
|
4398
|
-
[`${prefix}-token-attr-name`]: theme.renderColor(tokens.token.attrName, context),
|
|
4399
|
-
[`${prefix}-token-attr-value`]: theme.renderColor(tokens.token.attrValue, context),
|
|
4400
|
-
[`${prefix}-token-attribute`]: theme.renderColor(tokens.token.attribute, context),
|
|
4401
|
-
[`${prefix}-token-boolean`]: theme.renderColor(tokens.token.boolean, context),
|
|
4402
|
-
[`${prefix}-token-builtin`]: theme.renderColor(tokens.token.builtin, context),
|
|
4403
|
-
[`${prefix}-token-cdata`]: theme.renderColor(tokens.token.cdata, context),
|
|
4404
|
-
[`${prefix}-token-char`]: theme.renderColor(tokens.token.char, context),
|
|
4405
|
-
[`${prefix}-token-class-name`]: theme.renderColor(tokens.token.className, context),
|
|
4406
|
-
[`${prefix}-token-class`]: theme.renderColor(tokens.token.class, context),
|
|
4407
|
-
[`${prefix}-token-comment`]: theme.renderColor(tokens.token.comment, context),
|
|
4408
|
-
[`${prefix}-token-constant`]: theme.renderColor(tokens.token.constant, context),
|
|
4409
|
-
[`${prefix}-token-deleted`]: theme.renderColor(tokens.token.deleted, context),
|
|
4410
|
-
[`${prefix}-token-doctype`]: theme.renderColor(tokens.token.doctype, context),
|
|
4411
|
-
[`${prefix}-token-entity`]: theme.renderColor(tokens.token.entity, context),
|
|
4412
|
-
[`${prefix}-token-function`]: theme.renderColor(tokens.token.function, context),
|
|
4413
|
-
[`${prefix}-token-hexcode`]: theme.renderColor(tokens.token.hexcode, context),
|
|
4414
|
-
[`${prefix}-token-id`]: theme.renderColor(tokens.token.id, context),
|
|
4415
|
-
[`${prefix}-token-important`]: theme.renderColor(tokens.token.important, context),
|
|
4416
|
-
[`${prefix}-token-inserted`]: theme.renderColor(tokens.token.inserted, context),
|
|
4417
|
-
[`${prefix}-token-keyword`]: theme.renderColor(tokens.token.keyword, context),
|
|
4418
|
-
[`${prefix}-token-number`]: theme.renderColor(tokens.token.number, context),
|
|
4419
|
-
[`${prefix}-token-operator`]: theme.renderColor(tokens.token.operator, context),
|
|
4420
|
-
[`${prefix}-token-prolog`]: theme.renderColor(tokens.token.prolog, context),
|
|
4421
|
-
[`${prefix}-token-property`]: theme.renderColor(tokens.token.property, context),
|
|
4422
|
-
[`${prefix}-token-pseudo-class`]: theme.renderColor(tokens.token.pseudoClass, context),
|
|
4423
|
-
[`${prefix}-token-pseudo-eelement`]: theme.renderColor(tokens.token.pseudoElement, context),
|
|
4424
|
-
[`${prefix}-token-punctuation`]: theme.renderColor(tokens.token.punctuation, context),
|
|
4425
|
-
[`${prefix}-token-regex`]: theme.renderColor(tokens.token.regex, context),
|
|
4426
|
-
[`${prefix}-token-selector`]: theme.renderColor(tokens.token.selector, context),
|
|
4427
|
-
[`${prefix}-token-string`]: theme.renderColor(tokens.token.string, context),
|
|
4428
|
-
[`${prefix}-token-symbol`]: theme.renderColor(tokens.token.symbol, context),
|
|
4429
|
-
[`${prefix}-token-tag`]: theme.renderColor(tokens.token.tag, context),
|
|
4430
|
-
[`${prefix}-token-unit`]: theme.renderColor(tokens.token.unit, context),
|
|
4431
|
-
[`${prefix}-token-url`]: theme.renderColor(tokens.token.url, context),
|
|
4432
|
-
[`${prefix}-token-variable`]: theme.renderColor(tokens.token.variable, context)
|
|
4496
|
+
[`${prefix}-shadow-ambient`]: theme.renderColor(tokens.shadow.ambient, context)
|
|
4433
4497
|
};
|
|
4434
4498
|
}
|
|
4435
4499
|
function compileTheme(theme2) {
|
|
@@ -4561,6 +4625,7 @@ function box(props) {
|
|
|
4561
4625
|
inset(props),
|
|
4562
4626
|
margin(props),
|
|
4563
4627
|
maxWidth(props),
|
|
4628
|
+
minWidth(props),
|
|
4564
4629
|
props.outline && `outline-${props.outline}`,
|
|
4565
4630
|
overflow(props),
|
|
4566
4631
|
padding(props),
|
|
@@ -4609,6 +4674,9 @@ function label(props) {
|
|
|
4609
4674
|
function popover() {
|
|
4610
4675
|
return _comp("popover");
|
|
4611
4676
|
}
|
|
4677
|
+
function popoverCard() {
|
|
4678
|
+
return _comp("popover-card");
|
|
4679
|
+
}
|
|
4612
4680
|
function radio() {
|
|
4613
4681
|
return _comp("radio");
|
|
4614
4682
|
}
|
|
@@ -4723,10 +4791,12 @@ exports.margin = margin;
|
|
|
4723
4791
|
exports.maxWidth = maxWidth;
|
|
4724
4792
|
exports.menu = menu;
|
|
4725
4793
|
exports.menuDivider = menuDivider;
|
|
4794
|
+
exports.minWidth = minWidth;
|
|
4726
4795
|
exports.overflow = overflow;
|
|
4727
4796
|
exports.padding = padding;
|
|
4728
4797
|
exports.pointerEvents = pointerEvents;
|
|
4729
4798
|
exports.popover = popover;
|
|
4799
|
+
exports.popoverCard = popoverCard;
|
|
4730
4800
|
exports.position = position;
|
|
4731
4801
|
exports.px = px;
|
|
4732
4802
|
exports.radio = radio;
|