@sanity/ui 3.0.0-static.7 → 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.
Files changed (37) hide show
  1. package/dist/_chunks-cjs/_visual-editing.js +14 -14
  2. package/dist/_chunks-cjs/_visual-editing.js.map +1 -1
  3. package/dist/_chunks-es/_visual-editing.mjs +14 -14
  4. package/dist/_chunks-es/_visual-editing.mjs.map +1 -1
  5. package/dist/cli.js +1 -1
  6. package/dist/css.d.mts +196 -184
  7. package/dist/css.d.ts +196 -184
  8. package/dist/css.js +293 -238
  9. package/dist/css.js.map +1 -1
  10. package/dist/css.mjs +293 -238
  11. package/dist/css.mjs.map +1 -1
  12. package/dist/sanity-theme.css +1 -1
  13. package/dist/system.css +1105 -904
  14. package/dist/theme.d.mts +84 -76
  15. package/dist/theme.d.ts +84 -76
  16. package/dist/theme.js +147 -123
  17. package/dist/theme.js.map +1 -1
  18. package/dist/theme.mjs +147 -123
  19. package/dist/theme.mjs.map +1 -1
  20. package/package.json +1 -1
  21. package/src/css/compile/compileTheme_v3.ts +46 -37
  22. package/src/css/primitives/badge/badge.style.ts +1 -1
  23. package/src/css/primitives/button/button.style.ts +20 -0
  24. package/src/css/primitives/card/card.style.ts +47 -41
  25. package/src/css/primitives/kbd/kbd.style.ts +1 -1
  26. package/src/css/primitives/text/text.style.ts +11 -3
  27. package/src/css/types.ts +200 -188
  28. package/src/css/varNames.ts +86 -76
  29. package/src/css/vars.ts +85 -76
  30. package/src/theme/v3/color/buildColor_v3.ts +43 -38
  31. package/src/theme/v3/color/card.ts +43 -38
  32. package/src/theme/v3/color/color.ts +42 -38
  33. package/src/theme/v3/defaults.ts +62 -46
  34. package/src/theme/v3/resolveTokens.ts +43 -38
  35. package/src/theme/versioning/themeColor_v3_v2.ts +1 -1
  36. package/src/ui/components/autocomplete/__workshop__/async.tsx +0 -1
  37. package/src/ui/primitives/box/box.tsx +1 -1
package/dist/css.mjs CHANGED
@@ -244,6 +244,48 @@ const varNames = {
244
244
  backdrop: "--color-backdrop",
245
245
  bg: "--color-bg",
246
246
  border: "--color-border",
247
+ code: {
248
+ bg: "--color-code-bg",
249
+ fg: "--color-code-fg",
250
+ token: {
251
+ atrule: "--color-code-token-atrule",
252
+ attrName: "--color-code-token-attr-name",
253
+ attrValue: "--color-code-token-attr-value",
254
+ attribute: "--color-code-token-attribute",
255
+ boolean: "--color-code-token-boolean",
256
+ builtin: "--color-code-token-builtin",
257
+ cdata: "--color-code-token-cdata",
258
+ char: "--color-code-token-char",
259
+ class: "--color-code-token-class",
260
+ className: "--color-code-token-class-name",
261
+ comment: "--color-code-token-comment",
262
+ constant: "--color-code-token-constant",
263
+ deleted: "--color-code-token-deleted",
264
+ doctype: "--color-code-token-doctype",
265
+ entity: "--color-code-token-entity",
266
+ function: "--color-code-token-function",
267
+ hexcode: "--color-code-token-hexcode",
268
+ id: "--color-code-token-id",
269
+ important: "--color-code-token-important",
270
+ inserted: "--color-code-token-inserted",
271
+ keyword: "--color-code-token-keyword",
272
+ number: "--color-code-token-number",
273
+ operator: "--color-code-token-operator",
274
+ prolog: "--color-code-token-prolog",
275
+ property: "--color-code-token-property",
276
+ pseudoClass: "--color-code-token-pseudo-class",
277
+ pseudoElement: "--color-code-token-pseudo-element",
278
+ punctuation: "--color-code-token-punctuation",
279
+ regex: "--color-code-token-regex",
280
+ selector: "--color-code-token-selector",
281
+ string: "--color-code-token-string",
282
+ symbol: "--color-code-token-symbol",
283
+ tag: "--color-code-token-tag",
284
+ unit: "--color-code-token-unit",
285
+ url: "--color-code-token-url",
286
+ variable: "--color-code-token-variable"
287
+ }
288
+ },
247
289
  fg: "--color-fg",
248
290
  focusRing: "--color-focus-ring",
249
291
  input: {
@@ -269,44 +311,6 @@ const varNames = {
269
311
  from: "--color-skeleton-from",
270
312
  to: "--color-skeleton-to"
271
313
  },
272
- token: {
273
- atrule: "--color-token-atrule",
274
- attrName: "--color-token-attr-name",
275
- attrValue: "--color-token-attr-value",
276
- attribute: "--color-token-attribute",
277
- boolean: "--color-token-boolean",
278
- builtin: "--color-token-builtin",
279
- cdata: "--color-token-cdata",
280
- char: "--color-token-char",
281
- class: "--color-token-class",
282
- className: "--color-token-class-name",
283
- comment: "--color-token-comment",
284
- constant: "--color-token-constant",
285
- deleted: "--color-token-deleted",
286
- doctype: "--color-token-doctype",
287
- entity: "--color-token-entity",
288
- function: "--color-token-function",
289
- hexcode: "--color-token-hexcode",
290
- id: "--color-token-id",
291
- important: "--color-token-important",
292
- inserted: "--color-token-inserted",
293
- keyword: "--color-token-keyword",
294
- number: "--color-token-number",
295
- operator: "--color-token-operator",
296
- prolog: "--color-token-prolog",
297
- property: "--color-token-property",
298
- pseudoClass: "--color-token-pseudo-class",
299
- pseudoElement: "--color-token-pseudo-element",
300
- punctuation: "--color-token-punctuation",
301
- regex: "--color-token-regex",
302
- selector: "--color-token-selector",
303
- string: "--color-token-string",
304
- symbol: "--color-token-symbol",
305
- tag: "--color-token-tag",
306
- unit: "--color-token-unit",
307
- url: "--color-token-url",
308
- variable: "--color-token-variable"
309
- },
310
314
  solid: buildColorVariantVarNames({
311
315
  variant: "solid"
312
316
  }),
@@ -535,6 +539,48 @@ function buildColorCardVarNames(props) {
535
539
  }
536
540
  },
537
541
  backdrop: `${sourcePrefix}-backdrop`,
542
+ code: {
543
+ bg: `${sourcePrefix}-code-bg`,
544
+ fg: `${sourcePrefix}-code-fg`,
545
+ token: {
546
+ atrule: `${sourcePrefix}-code-token-atrule`,
547
+ attrName: `${sourcePrefix}-code-token-attr-name`,
548
+ attrValue: `${sourcePrefix}-code-token-attr-value`,
549
+ attribute: `${sourcePrefix}-code-token-attribute`,
550
+ boolean: `${sourcePrefix}-code-token-boolean`,
551
+ builtin: `${sourcePrefix}-code-token-builtin`,
552
+ cdata: `${sourcePrefix}-code-token-cdata`,
553
+ char: `${sourcePrefix}-code-token-char`,
554
+ class: `${sourcePrefix}-code-token-class`,
555
+ className: `${sourcePrefix}-code-token-class-name`,
556
+ comment: `${sourcePrefix}-code-token-comment`,
557
+ constant: `${sourcePrefix}-code-token-constant`,
558
+ deleted: `${sourcePrefix}-code-token-deleted`,
559
+ doctype: `${sourcePrefix}-code-token-doctype`,
560
+ entity: `${sourcePrefix}-code-token-entity`,
561
+ function: `${sourcePrefix}-code-token-function`,
562
+ hexcode: `${sourcePrefix}-code-token-hexcode`,
563
+ id: `${sourcePrefix}-code-token-id`,
564
+ important: `${sourcePrefix}-code-token-important`,
565
+ inserted: `${sourcePrefix}-code-token-inserted`,
566
+ keyword: `${sourcePrefix}-code-token-keyword`,
567
+ number: `${sourcePrefix}-code-token-number`,
568
+ operator: `${sourcePrefix}-code-token-operator`,
569
+ prolog: `${sourcePrefix}-code-token-prolog`,
570
+ property: `${sourcePrefix}-code-token-property`,
571
+ pseudoClass: `${sourcePrefix}-code-token-pseudo-class`,
572
+ pseudoElement: `${sourcePrefix}-code-token-pseudo-element`,
573
+ punctuation: `${sourcePrefix}-code-token-punctuation`,
574
+ regex: `${sourcePrefix}-code-token-regex`,
575
+ selector: `${sourcePrefix}-code-token-selector`,
576
+ string: `${sourcePrefix}-code-token-string`,
577
+ symbol: `${sourcePrefix}-code-token-symbol`,
578
+ tag: `${sourcePrefix}-code-token-tag`,
579
+ unit: `${sourcePrefix}-code-token-unit`,
580
+ url: `${sourcePrefix}-code-token-url`,
581
+ variable: `${sourcePrefix}-code-token-variable`
582
+ }
583
+ },
538
584
  focusRing: `${sourcePrefix}-focus-ring`,
539
585
  link: {
540
586
  fg: `${sourcePrefix}-link-fg`
@@ -553,44 +599,6 @@ function buildColorCardVarNames(props) {
553
599
  from: `${sourcePrefix}-skeleton-from`,
554
600
  to: `${sourcePrefix}-skeleton-to`
555
601
  },
556
- token: {
557
- atrule: `${sourcePrefix}-token-atrule`,
558
- attrName: `${sourcePrefix}-token-attr-name`,
559
- attrValue: `${sourcePrefix}-token-attr-value`,
560
- attribute: `${sourcePrefix}-token-attribute`,
561
- boolean: `${sourcePrefix}-token-boolean`,
562
- builtin: `${sourcePrefix}-token-builtin`,
563
- cdata: `${sourcePrefix}-token-cdata`,
564
- char: `${sourcePrefix}-token-char`,
565
- class: `${sourcePrefix}-token-class`,
566
- className: `${sourcePrefix}-token-class-name`,
567
- comment: `${sourcePrefix}-token-comment`,
568
- constant: `${sourcePrefix}-token-constant`,
569
- deleted: `${sourcePrefix}-token-deleted`,
570
- doctype: `${sourcePrefix}-token-doctype`,
571
- entity: `${sourcePrefix}-token-entity`,
572
- function: `${sourcePrefix}-token-function`,
573
- hexcode: `${sourcePrefix}-token-hexcode`,
574
- id: `${sourcePrefix}-token-id`,
575
- important: `${sourcePrefix}-token-important`,
576
- inserted: `${sourcePrefix}-token-inserted`,
577
- keyword: `${sourcePrefix}-token-keyword`,
578
- number: `${sourcePrefix}-token-number`,
579
- operator: `${sourcePrefix}-token-operator`,
580
- prolog: `${sourcePrefix}-token-prolog`,
581
- property: `${sourcePrefix}-token-property`,
582
- pseudoClass: `${sourcePrefix}-token-pseudo-class`,
583
- pseudoElement: `${sourcePrefix}-token-pseudo-element`,
584
- punctuation: `${sourcePrefix}-token-punctuation`,
585
- regex: `${sourcePrefix}-token-regex`,
586
- selector: `${sourcePrefix}-token-selector`,
587
- string: `${sourcePrefix}-token-string`,
588
- symbol: `${sourcePrefix}-token-symbol`,
589
- tag: `${sourcePrefix}-token-tag`,
590
- unit: `${sourcePrefix}-token-unit`,
591
- url: `${sourcePrefix}-token-url`,
592
- variable: `${sourcePrefix}-token-variable`
593
- },
594
602
  solid: buildColorVariantVarNames({
595
603
  scheme,
596
604
  tone,
@@ -718,6 +726,48 @@ const colorVars = {
718
726
  backdrop: `var(${varNames.color.backdrop})`,
719
727
  bg: `var(${varNames.color.bg})`,
720
728
  border: `var(${varNames.color.border})`,
729
+ code: {
730
+ bg: `var(${varNames.color.code.bg})`,
731
+ fg: `var(${varNames.color.code.fg})`,
732
+ token: {
733
+ atrule: `var(${varNames.color.code.token.atrule})`,
734
+ attrName: `var(${varNames.color.code.token.attrName})`,
735
+ attrValue: `var(${varNames.color.code.token.attrValue})`,
736
+ attribute: `var(${varNames.color.code.token.attribute})`,
737
+ boolean: `var(${varNames.color.code.token.boolean})`,
738
+ builtin: `var(${varNames.color.code.token.builtin})`,
739
+ cdata: `var(${varNames.color.code.token.cdata})`,
740
+ char: `var(${varNames.color.code.token.char})`,
741
+ class: `var(${varNames.color.code.token.class})`,
742
+ className: `var(${varNames.color.code.token.className})`,
743
+ comment: `var(${varNames.color.code.token.comment})`,
744
+ constant: `var(${varNames.color.code.token.constant})`,
745
+ deleted: `var(${varNames.color.code.token.deleted})`,
746
+ doctype: `var(${varNames.color.code.token.doctype})`,
747
+ entity: `var(${varNames.color.code.token.entity})`,
748
+ function: `var(${varNames.color.code.token.function})`,
749
+ hexcode: `var(${varNames.color.code.token.hexcode})`,
750
+ id: `var(${varNames.color.code.token.id})`,
751
+ important: `var(${varNames.color.code.token.important})`,
752
+ inserted: `var(${varNames.color.code.token.inserted})`,
753
+ keyword: `var(${varNames.color.code.token.keyword})`,
754
+ number: `var(${varNames.color.code.token.number})`,
755
+ operator: `var(${varNames.color.code.token.operator})`,
756
+ prolog: `var(${varNames.color.code.token.prolog})`,
757
+ property: `var(${varNames.color.code.token.property})`,
758
+ pseudoClass: `var(${varNames.color.code.token.pseudoClass})`,
759
+ pseudoElement: `var(${varNames.color.code.token.pseudoElement})`,
760
+ punctuation: `var(${varNames.color.code.token.punctuation})`,
761
+ regex: `var(${varNames.color.code.token.regex})`,
762
+ selector: `var(${varNames.color.code.token.selector})`,
763
+ string: `var(${varNames.color.code.token.string})`,
764
+ symbol: `var(${varNames.color.code.token.symbol})`,
765
+ tag: `var(${varNames.color.code.token.tag})`,
766
+ unit: `var(${varNames.color.code.token.unit})`,
767
+ url: `var(${varNames.color.code.token.url})`,
768
+ variable: `var(${varNames.color.code.token.variable})`
769
+ }
770
+ },
721
771
  fg: `var(${varNames.color.fg})`,
722
772
  focusRing: `var(${varNames.color.focusRing})`,
723
773
  input: {
@@ -743,44 +793,6 @@ const colorVars = {
743
793
  from: `var(${varNames.color.skeleton.from})`,
744
794
  to: `var(${varNames.color.skeleton.to})`
745
795
  },
746
- token: {
747
- atrule: `var(${varNames.color.token.atrule})`,
748
- attrName: `var(${varNames.color.token.attrName})`,
749
- attrValue: `var(${varNames.color.token.attrValue})`,
750
- attribute: `var(${varNames.color.token.attribute})`,
751
- boolean: `var(${varNames.color.token.boolean})`,
752
- builtin: `var(${varNames.color.token.builtin})`,
753
- cdata: `var(${varNames.color.token.cdata})`,
754
- char: `var(${varNames.color.token.char})`,
755
- class: `var(${varNames.color.token.class})`,
756
- className: `var(${varNames.color.token.className})`,
757
- comment: `var(${varNames.color.token.comment})`,
758
- constant: `var(${varNames.color.token.constant})`,
759
- deleted: `var(${varNames.color.token.deleted})`,
760
- doctype: `var(${varNames.color.token.doctype})`,
761
- entity: `var(${varNames.color.token.entity})`,
762
- function: `var(${varNames.color.token.function})`,
763
- hexcode: `var(${varNames.color.token.hexcode})`,
764
- id: `var(${varNames.color.token.id})`,
765
- important: `var(${varNames.color.token.important})`,
766
- inserted: `var(${varNames.color.token.inserted})`,
767
- keyword: `var(${varNames.color.token.keyword})`,
768
- number: `var(${varNames.color.token.number})`,
769
- operator: `var(${varNames.color.token.operator})`,
770
- prolog: `var(${varNames.color.token.prolog})`,
771
- property: `var(${varNames.color.token.property})`,
772
- pseudoClass: `var(${varNames.color.token.pseudoClass})`,
773
- pseudoElement: `var(${varNames.color.token.pseudoElement})`,
774
- punctuation: `var(${varNames.color.token.punctuation})`,
775
- regex: `var(${varNames.color.token.regex})`,
776
- selector: `var(${varNames.color.token.selector})`,
777
- string: `var(${varNames.color.token.string})`,
778
- symbol: `var(${varNames.color.token.symbol})`,
779
- tag: `var(${varNames.color.token.tag})`,
780
- unit: `var(${varNames.color.token.unit})`,
781
- url: `var(${varNames.color.token.url})`,
782
- variable: `var(${varNames.color.token.variable})`
783
- },
784
796
  solid: buildColorVariantVars({
785
797
  variant: "solid"
786
798
  }),
@@ -912,6 +924,48 @@ function buildColorCardVars(props) {
912
924
  }), {})
913
925
  },
914
926
  backdrop: `var(${prefix.backdrop})`,
927
+ code: {
928
+ bg: `var(${prefix.code.bg})`,
929
+ fg: `var(${prefix.code.fg})`,
930
+ token: {
931
+ atrule: `var(${prefix.code.token.atrule})`,
932
+ attrName: `var(${prefix.code.token.attrName})`,
933
+ attrValue: `var(${prefix.code.token.attrValue})`,
934
+ attribute: `var(${prefix.code.token.attribute})`,
935
+ boolean: `var(${prefix.code.token.boolean})`,
936
+ builtin: `var(${prefix.code.token.builtin})`,
937
+ cdata: `var(${prefix.code.token.cdata})`,
938
+ char: `var(${prefix.code.token.char})`,
939
+ class: `var(${prefix.code.token.class})`,
940
+ className: `var(${prefix.code.token.className})`,
941
+ comment: `var(${prefix.code.token.comment})`,
942
+ constant: `var(${prefix.code.token.constant})`,
943
+ deleted: `var(${prefix.code.token.deleted})`,
944
+ doctype: `var(${prefix.code.token.doctype})`,
945
+ entity: `var(${prefix.code.token.entity})`,
946
+ function: `var(${prefix.code.token.function})`,
947
+ hexcode: `var(${prefix.code.token.hexcode})`,
948
+ id: `var(${prefix.code.token.id})`,
949
+ important: `var(${prefix.code.token.important})`,
950
+ inserted: `var(${prefix.code.token.inserted})`,
951
+ keyword: `var(${prefix.code.token.keyword})`,
952
+ number: `var(${prefix.code.token.number})`,
953
+ operator: `var(${prefix.code.token.operator})`,
954
+ prolog: `var(${prefix.code.token.prolog})`,
955
+ property: `var(${prefix.code.token.property})`,
956
+ pseudoClass: `var(${prefix.code.token.pseudoClass})`,
957
+ pseudoElement: `var(${prefix.code.token.pseudoElement})`,
958
+ punctuation: `var(${prefix.code.token.punctuation})`,
959
+ regex: `var(${prefix.code.token.regex})`,
960
+ selector: `var(${prefix.code.token.selector})`,
961
+ string: `var(${prefix.code.token.string})`,
962
+ symbol: `var(${prefix.code.token.symbol})`,
963
+ tag: `var(${prefix.code.token.tag})`,
964
+ unit: `var(${prefix.code.token.unit})`,
965
+ url: `var(${prefix.code.token.url})`,
966
+ variable: `var(${prefix.code.token.variable})`
967
+ }
968
+ },
915
969
  focusRing: `var(${prefix.focusRing})`,
916
970
  link: {
917
971
  fg: `var(${prefix.link.fg})`
@@ -930,44 +984,6 @@ function buildColorCardVars(props) {
930
984
  from: `var(${prefix.skeleton.from})`,
931
985
  to: `var(${prefix.skeleton.to})`
932
986
  },
933
- token: {
934
- atrule: `var(${prefix.token.atrule})`,
935
- attrName: `var(${prefix.token.attrName})`,
936
- attrValue: `var(${prefix.token.attrValue})`,
937
- attribute: `var(${prefix.token.attribute})`,
938
- boolean: `var(${prefix.token.boolean})`,
939
- builtin: `var(${prefix.token.builtin})`,
940
- cdata: `var(${prefix.token.cdata})`,
941
- char: `var(${prefix.token.char})`,
942
- class: `var(${prefix.token.class})`,
943
- className: `var(${prefix.token.className})`,
944
- comment: `var(${prefix.token.comment})`,
945
- constant: `var(${prefix.token.constant})`,
946
- deleted: `var(${prefix.token.deleted})`,
947
- doctype: `var(${prefix.token.doctype})`,
948
- entity: `var(${prefix.token.entity})`,
949
- function: `var(${prefix.token.function})`,
950
- hexcode: `var(${prefix.token.hexcode})`,
951
- id: `var(${prefix.token.id})`,
952
- important: `var(${prefix.token.important})`,
953
- inserted: `var(${prefix.token.inserted})`,
954
- keyword: `var(${prefix.token.keyword})`,
955
- number: `var(${prefix.token.number})`,
956
- operator: `var(${prefix.token.operator})`,
957
- prolog: `var(${prefix.token.prolog})`,
958
- property: `var(${prefix.token.property})`,
959
- pseudoClass: `var(${prefix.token.pseudoClass})`,
960
- pseudoElement: `var(${prefix.token.pseudoElement})`,
961
- punctuation: `var(${prefix.token.punctuation})`,
962
- regex: `var(${prefix.token.regex})`,
963
- selector: `var(${prefix.token.selector})`,
964
- string: `var(${prefix.token.string})`,
965
- symbol: `var(${prefix.token.symbol})`,
966
- tag: `var(${prefix.token.tag})`,
967
- unit: `var(${prefix.token.unit})`,
968
- url: `var(${prefix.token.url})`,
969
- variable: `var(${prefix.token.variable})`
970
- },
971
987
  solid: buildColorVariantVars({
972
988
  scheme,
973
989
  tone,
@@ -2669,7 +2685,7 @@ const avatarStyle = {
2669
2685
  for (const tone of THEME_COLOR_STATE_TONES)
2670
2686
  primitive$l[`.badge-${tone}`] = {
2671
2687
  [varNames.color.bg]: vars.color.tinted[tone].bg[4],
2672
- [varNames.color.fg]: vars.color.tinted[tone].fg[1]
2688
+ [varNames.color.fg]: vars.color.tinted[tone].fg[3]
2673
2689
  };
2674
2690
  const badgeStyle = {
2675
2691
  layers: {
@@ -2764,6 +2780,7 @@ for (const tone of THEME_COLOR_STATE_TONES) {
2764
2780
  [varNames.color.bg]: solid.bg[0],
2765
2781
  [varNames.color.border]: solid.border[1],
2766
2782
  [varNames.color.fg]: solid.fg[0],
2783
+ [varNames.color.muted.bg]: solid.bg[1],
2767
2784
  [varNames.color.muted.fg]: solid.fg[4],
2768
2785
  "--button-box-shadow": "none",
2769
2786
  "@nest": {
@@ -2771,24 +2788,28 @@ for (const tone of THEME_COLOR_STATE_TONES) {
2771
2788
  [varNames.color.bg]: solid.bg[1],
2772
2789
  [varNames.color.border]: solid.border[2],
2773
2790
  [varNames.color.fg]: solid.fg[0],
2791
+ [varNames.color.muted.bg]: solid.bg[2],
2774
2792
  [varNames.color.muted.fg]: solid.fg[4]
2775
2793
  },
2776
2794
  "&:not([data-disabled]):active": {
2777
2795
  [varNames.color.bg]: solid.bg[2],
2778
2796
  [varNames.color.border]: solid.border[3],
2779
2797
  [varNames.color.fg]: solid.fg[0],
2798
+ [varNames.color.muted.bg]: solid.bg[3],
2780
2799
  [varNames.color.muted.fg]: solid.fg[4]
2781
2800
  },
2782
2801
  "&:not([data-disabled])[data-selected]": {
2783
2802
  [varNames.color.bg]: solid.bg[2],
2784
2803
  [varNames.color.border]: solid.border[3],
2785
2804
  [varNames.color.fg]: solid.fg[0],
2805
+ [varNames.color.muted.bg]: solid.bg[3],
2786
2806
  [varNames.color.muted.fg]: solid.fg[4]
2787
2807
  },
2788
2808
  "&[data-disabled]": {
2789
2809
  [varNames.color.bg]: vars.color.default.tinted.bg[1],
2790
2810
  [varNames.color.border]: vars.color.default.tinted.border[0],
2791
2811
  [varNames.color.fg]: vars.color.default.tinted.fg[2],
2812
+ [varNames.color.muted.bg]: vars.color.default.tinted.bg[2],
2792
2813
  [varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
2793
2814
  }
2794
2815
  }
@@ -2796,30 +2817,40 @@ for (const tone of THEME_COLOR_STATE_TONES) {
2796
2817
  [varNames.color.bg]: tinted.bg[1],
2797
2818
  [varNames.color.border]: tinted.border[0],
2798
2819
  [varNames.color.fg]: tinted.fg[2],
2820
+ [varNames.color.muted.bg]: tinted.bg[2],
2821
+ [varNames.color.muted.fg]: tinted.fg[4],
2799
2822
  "--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)",
2800
2823
  "@nest": {
2801
2824
  "&:not([data-disabled]):hover": {
2802
2825
  [varNames.color.bg]: tinted.bg[2],
2803
2826
  [varNames.color.border]: tinted.border[1],
2804
- [varNames.color.fg]: tinted.fg[1]
2827
+ [varNames.color.fg]: tinted.fg[1],
2828
+ [varNames.color.muted.bg]: tinted.bg[3],
2829
+ [varNames.color.muted.fg]: tinted.fg[3]
2805
2830
  // '--button-box-shadow': `inset 0 0 0 var(--button-border-width) var(--color-border)`,
2806
2831
  },
2807
2832
  "&:not([data-disabled]):active": {
2808
2833
  [varNames.color.bg]: tinted.bg[3],
2809
2834
  [varNames.color.border]: tinted.border[2],
2810
2835
  [varNames.color.fg]: tinted.fg[1],
2836
+ [varNames.color.muted.bg]: tinted.bg[4],
2837
+ [varNames.color.muted.fg]: tinted.fg[3],
2811
2838
  "--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)"
2812
2839
  },
2813
2840
  "&:not([data-disabled])[data-selected]": {
2814
2841
  [varNames.color.bg]: tinted.bg[3],
2815
2842
  [varNames.color.border]: tinted.border[2],
2816
2843
  [varNames.color.fg]: tinted.fg[1],
2844
+ [varNames.color.muted.bg]: tinted.bg[4],
2845
+ [varNames.color.muted.fg]: tinted.fg[3],
2817
2846
  "--button-box-shadow": "inset 0 0 0 var(--button-border-width) var(--color-border)"
2818
2847
  },
2819
2848
  "&[data-disabled]": {
2820
2849
  [varNames.color.bg]: vars.color.default.tinted.bg[1],
2821
2850
  [varNames.color.border]: vars.color.default.tinted.border[0],
2822
- [varNames.color.fg]: vars.color.default.tinted.fg[2]
2851
+ [varNames.color.fg]: vars.color.default.tinted.fg[2],
2852
+ [varNames.color.muted.bg]: vars.color.default.tinted.bg[2],
2853
+ [varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
2823
2854
  }
2824
2855
  }
2825
2856
  }, primitive$j[`.button.${variantMap.bleed}.${toneMap$1[tone]}`] = {
@@ -2827,6 +2858,7 @@ for (const tone of THEME_COLOR_STATE_TONES) {
2827
2858
  [varNames.color.bg]: tinted.bg[0],
2828
2859
  [varNames.color.border]: tinted.border[1],
2829
2860
  [varNames.color.fg]: tinted.fg[2],
2861
+ [varNames.color.muted.bg]: tinted.bg[1],
2830
2862
  [varNames.color.muted.fg]: tinted.fg[4],
2831
2863
  "--button-box-shadow": "none",
2832
2864
  "@nest": {
@@ -2834,24 +2866,28 @@ for (const tone of THEME_COLOR_STATE_TONES) {
2834
2866
  [varNames.color.bg]: tinted.bg[1],
2835
2867
  [varNames.color.border]: tinted.border[2],
2836
2868
  [varNames.color.fg]: tinted.fg[1],
2869
+ [varNames.color.muted.bg]: tinted.bg[2],
2837
2870
  [varNames.color.muted.fg]: tinted.fg[3]
2838
2871
  },
2839
2872
  "&:not([data-disabled]):active": {
2840
2873
  [varNames.color.bg]: tinted.bg[2],
2841
2874
  [varNames.color.border]: tinted.border[3],
2842
2875
  [varNames.color.fg]: tinted.fg[1],
2876
+ [varNames.color.muted.bg]: tinted.bg[3],
2843
2877
  [varNames.color.muted.fg]: tinted.fg[3]
2844
2878
  },
2845
2879
  "&:not([data-disabled])[data-selected]": {
2846
2880
  [varNames.color.bg]: tinted.bg[2],
2847
2881
  [varNames.color.border]: tinted.border[3],
2848
2882
  [varNames.color.fg]: tinted.fg[1],
2883
+ [varNames.color.muted.bg]: tinted.bg[3],
2849
2884
  [varNames.color.muted.fg]: tinted.fg[3]
2850
2885
  },
2851
2886
  "&[data-disabled]": {
2852
2887
  [varNames.color.bg]: vars.color.default.tinted.bg[0],
2853
2888
  [varNames.color.border]: vars.color.default.tinted.border[0],
2854
2889
  [varNames.color.fg]: vars.color.default.tinted.fg[2],
2890
+ [varNames.color.muted.bg]: vars.color.default.tinted.bg[1],
2855
2891
  [varNames.color.muted.fg]: vars.color.default.tinted.fg[1]
2856
2892
  }
2857
2893
  }
@@ -2877,6 +2913,8 @@ const buttonStyle = {
2877
2913
  color: vars.color.fg,
2878
2914
  [varNames.color.bg]: vars.color.tinted.default.bg[0],
2879
2915
  [varNames.color.border]: vars.color.tinted.default.border[1],
2916
+ [varNames.color.code.bg]: vars.color.code.bg,
2917
+ [varNames.color.code.fg]: vars.color.code.fg,
2880
2918
  [varNames.color.fg]: vars.color.tinted.default.fg[0],
2881
2919
  [varNames.color.muted.bg]: vars.color.tinted.default.bg[1],
2882
2920
  [varNames.color.muted.fg]: vars.color.tinted.default.fg[4],
@@ -2892,6 +2930,7 @@ const buttonStyle = {
2892
2930
  width: ["-moz-available", "-webkit-fill-available", "fill-available"]
2893
2931
  },
2894
2932
  "a&": {
2933
+ // border: 'none',
2895
2934
  outline: "none",
2896
2935
  textDecoration: "none"
2897
2936
  },
@@ -2975,10 +3014,12 @@ for (const tone of THEME_COLOR_CARD_TONES) {
2975
3014
  "--card-bg-color": vars.color.bg,
2976
3015
  "--card-bg2-color": vars.color.muted.bg,
2977
3016
  "--card-border-color": vars.color.border,
2978
- "--card-code-bg-color": vars.color.muted.bg,
2979
- "--card-code-fg-color": vars.color.tinted.default.fg[4],
3017
+ "--card-code-bg-color": vars.color.code.bg,
3018
+ "--card-code-fg-color": vars.color.code.fg,
2980
3019
  "--card-fg-color": vars.color.fg,
2981
3020
  "--card-focus-ring-color": vars.color.focusRing,
3021
+ "--card-hairline-soft-color": vars.color.tinted.default.border[1],
3022
+ "--card-hairline-hard-color": vars.color.tinted.default.border[2],
2982
3023
  "--card-icon-color": vars.color.fg,
2983
3024
  "--card-kbd-bg-color": vars.color.muted.bg,
2984
3025
  "--card-kbd-border-color": vars.color.tinted.default.border[1],
@@ -2990,11 +3031,9 @@ for (const tone of THEME_COLOR_CARD_TONES) {
2990
3031
  "--card-shadow-outline-color": vars.color.shadow.outline,
2991
3032
  "--card-shadow-umbra-color": vars.color.shadow.umbra,
2992
3033
  "--card-shadow-penumbra-color": vars.color.shadow.penumbra,
2993
- "--card-shadow-ambient-color": vars.color.shadow.ambient,
3034
+ "--card-shadow-ambient-color": vars.color.shadow.ambient
2994
3035
  // '--card-skeleton-from-color': 'var(--color-skeleton-from)',
2995
3036
  // '--card-skeleton-to-color': 'var(--color-skeleton-to)',
2996
- "--card-hairline-soft-color": vars.color.tinted.default.border[1],
2997
- "--card-hairline-hard-color": vars.color.tinted.default.border[2]
2998
3037
  }), primitive$i[`.card.${toneMap[tone]}`] = toneProps;
2999
3038
  }
3000
3039
  const cardStyle = {
@@ -3010,48 +3049,50 @@ function _assignToneProps(toneProps, _varNames, _vars) {
3010
3049
  toneProps[`${_varNames.avatar[hue].bg}`] = _vars.avatar[hue].bg, toneProps[`${_varNames.avatar[hue].fg}`] = _vars.avatar[hue].fg;
3011
3050
  Object.assign(toneProps, {
3012
3051
  [_varNames.backdrop]: _vars.backdrop,
3052
+ [_varNames.code.fg]: _vars.code.fg,
3053
+ [_varNames.code.bg]: _vars.code.bg,
3054
+ [_varNames.code.token.atrule]: _vars.code.token.atrule,
3055
+ [_varNames.code.token.attrName]: _vars.code.token.attrName,
3056
+ [_varNames.code.token.attrValue]: _vars.code.token.attrValue,
3057
+ [_varNames.code.token.attribute]: _vars.code.token.attribute,
3058
+ [_varNames.code.token.boolean]: _vars.code.token.boolean,
3059
+ [_varNames.code.token.builtin]: _vars.code.token.builtin,
3060
+ [_varNames.code.token.cdata]: _vars.code.token.cdata,
3061
+ [_varNames.code.token.char]: _vars.code.token.char,
3062
+ [_varNames.code.token.class]: _vars.code.token.class,
3063
+ [_varNames.code.token.className]: _vars.code.token.className,
3064
+ [_varNames.code.token.comment]: _vars.code.token.comment,
3065
+ [_varNames.code.token.constant]: _vars.code.token.constant,
3066
+ [_varNames.code.token.deleted]: _vars.code.token.deleted,
3067
+ [_varNames.code.token.doctype]: _vars.code.token.doctype,
3068
+ [_varNames.code.token.entity]: _vars.code.token.entity,
3069
+ [_varNames.code.token.function]: _vars.code.token.function,
3070
+ [_varNames.code.token.hexcode]: _vars.code.token.hexcode,
3071
+ [_varNames.code.token.id]: _vars.code.token.id,
3072
+ [_varNames.code.token.important]: _vars.code.token.important,
3073
+ [_varNames.code.token.inserted]: _vars.code.token.inserted,
3074
+ [_varNames.code.token.keyword]: _vars.code.token.keyword,
3075
+ [_varNames.code.token.number]: _vars.code.token.number,
3076
+ [_varNames.code.token.operator]: _vars.code.token.operator,
3077
+ [_varNames.code.token.prolog]: _vars.code.token.prolog,
3078
+ [_varNames.code.token.property]: _vars.code.token.property,
3079
+ [_varNames.code.token.pseudoClass]: _vars.code.token.pseudoClass,
3080
+ [_varNames.code.token.pseudoElement]: _vars.code.token.pseudoElement,
3081
+ [_varNames.code.token.punctuation]: _vars.code.token.punctuation,
3082
+ [_varNames.code.token.regex]: _vars.code.token.regex,
3083
+ [_varNames.code.token.selector]: _vars.code.token.selector,
3084
+ [_varNames.code.token.string]: _vars.code.token.string,
3085
+ [_varNames.code.token.symbol]: _vars.code.token.symbol,
3086
+ [_varNames.code.token.tag]: _vars.code.token.tag,
3087
+ [_varNames.code.token.unit]: _vars.code.token.unit,
3088
+ [_varNames.code.token.url]: _vars.code.token.url,
3089
+ [_varNames.code.token.variable]: _vars.code.token.variable,
3013
3090
  [_varNames.focusRing]: _vars.focusRing,
3014
3091
  [_varNames.link.fg]: _vars.link.fg,
3015
3092
  [_varNames.shadow.outline]: _vars.shadow.outline,
3016
3093
  [_varNames.shadow.umbra]: _vars.shadow.umbra,
3017
3094
  [_varNames.shadow.penumbra]: _vars.shadow.penumbra,
3018
- [_varNames.shadow.ambient]: _vars.shadow.ambient,
3019
- [_varNames.token.atrule]: _vars.token.atrule,
3020
- [_varNames.token.attrName]: _vars.token.attrName,
3021
- [_varNames.token.attrValue]: _vars.token.attrValue,
3022
- [_varNames.token.attribute]: _vars.token.attribute,
3023
- [_varNames.token.boolean]: _vars.token.boolean,
3024
- [_varNames.token.builtin]: _vars.token.builtin,
3025
- [_varNames.token.cdata]: _vars.token.cdata,
3026
- [_varNames.token.char]: _vars.token.char,
3027
- [_varNames.token.class]: _vars.token.class,
3028
- [_varNames.token.className]: _vars.token.className,
3029
- [_varNames.token.comment]: _vars.token.comment,
3030
- [_varNames.token.constant]: _vars.token.constant,
3031
- [_varNames.token.deleted]: _vars.token.deleted,
3032
- [_varNames.token.doctype]: _vars.token.doctype,
3033
- [_varNames.token.entity]: _vars.token.entity,
3034
- [_varNames.token.function]: _vars.token.function,
3035
- [_varNames.token.hexcode]: _vars.token.hexcode,
3036
- [_varNames.token.id]: _vars.token.id,
3037
- [_varNames.token.important]: _vars.token.important,
3038
- [_varNames.token.inserted]: _vars.token.inserted,
3039
- [_varNames.token.keyword]: _vars.token.keyword,
3040
- [_varNames.token.number]: _vars.token.number,
3041
- [_varNames.token.operator]: _vars.token.operator,
3042
- [_varNames.token.prolog]: _vars.token.prolog,
3043
- [_varNames.token.property]: _vars.token.property,
3044
- [_varNames.token.pseudoClass]: _vars.token.pseudoClass,
3045
- [_varNames.token.pseudoElement]: _vars.token.pseudoElement,
3046
- [_varNames.token.punctuation]: _vars.token.punctuation,
3047
- [_varNames.token.regex]: _vars.token.regex,
3048
- [_varNames.token.selector]: _vars.token.selector,
3049
- [_varNames.token.string]: _vars.token.string,
3050
- [_varNames.token.symbol]: _vars.token.symbol,
3051
- [_varNames.token.tag]: _vars.token.tag,
3052
- [_varNames.token.unit]: _vars.token.unit,
3053
- [_varNames.token.url]: _vars.token.url,
3054
- [_varNames.token.variable]: _vars.token.variable
3095
+ [_varNames.shadow.ambient]: _vars.shadow.ambient
3055
3096
  });
3056
3097
  for (const variant of ["solid", "tinted"])
3057
3098
  for (const elementTone of THEME_COLOR_STATE_TONES) {
@@ -3307,7 +3348,7 @@ const headingStyle = {
3307
3348
  // '--color-bg': 'var(--color-tinted-default-bg-1)',
3308
3349
  // '--color-border': 'var(--color-tinted-default-border-2)',
3309
3350
  // '--color-fg': 'var(--color-tinted-default-fg-3)',
3310
- boxShadow: "inset 0 0 0 0.5px var(--color-border)",
3351
+ boxShadow: "inset 0 0 0 0.5px var(--color-tinted-default-border-3)",
3311
3352
  background: "var(--color-muted-bg)",
3312
3353
  font: "inherit",
3313
3354
  verticalAlign: "top",
@@ -3613,10 +3654,16 @@ const labelStyle = {
3613
3654
  },
3614
3655
  "& a:hover": {
3615
3656
  color: "var(--color-fg)"
3657
+ },
3658
+ "& code": {
3659
+ fontFamily: vars.font.code.family,
3660
+ color: "var(--color-code-fg)",
3661
+ backgroundColor: "var(--color-muted-bg)",
3662
+ borderRadius: vars.radius[2]
3663
+ },
3664
+ "& svg": {
3665
+ color: "var(--color-muted-fg)"
3616
3666
  }
3617
- // '& svg': {
3618
- // color: 'var(--color-icon)',
3619
- // },
3620
3667
  }
3621
3668
  },
3622
3669
  // 'text-accent': {
@@ -4395,49 +4442,57 @@ function buildColorCardThemeProperties(theme, options) {
4395
4442
  scheme
4396
4443
  };
4397
4444
  return {
4445
+ // backdrop
4398
4446
  [`${prefix}-backdrop`]: renderColor(tokens.backdrop, context),
4447
+ // code
4448
+ [`${prefix}-code-bg`]: renderColor(tokens.code.bg, context),
4449
+ [`${prefix}-code-fg`]: renderColor(tokens.code.fg, context),
4450
+ // code / token
4451
+ [`${prefix}-code-token-atrule`]: renderColor(tokens.code.token.atrule, context),
4452
+ [`${prefix}-code-token-attr-name`]: renderColor(tokens.code.token.attrName, context),
4453
+ [`${prefix}-code-token-attr-value`]: renderColor(tokens.code.token.attrValue, context),
4454
+ [`${prefix}-code-token-attribute`]: renderColor(tokens.code.token.attribute, context),
4455
+ [`${prefix}-code-token-boolean`]: renderColor(tokens.code.token.boolean, context),
4456
+ [`${prefix}-code-token-builtin`]: renderColor(tokens.code.token.builtin, context),
4457
+ [`${prefix}-code-token-cdata`]: renderColor(tokens.code.token.cdata, context),
4458
+ [`${prefix}-code-token-char`]: renderColor(tokens.code.token.char, context),
4459
+ [`${prefix}-code-token-class-name`]: renderColor(tokens.code.token.className, context),
4460
+ [`${prefix}-code-token-class`]: renderColor(tokens.code.token.class, context),
4461
+ [`${prefix}-code-token-comment`]: renderColor(tokens.code.token.comment, context),
4462
+ [`${prefix}-code-token-constant`]: renderColor(tokens.code.token.constant, context),
4463
+ [`${prefix}-code-token-deleted`]: renderColor(tokens.code.token.deleted, context),
4464
+ [`${prefix}-code-token-doctype`]: renderColor(tokens.code.token.doctype, context),
4465
+ [`${prefix}-code-token-entity`]: renderColor(tokens.code.token.entity, context),
4466
+ [`${prefix}-code-token-function`]: renderColor(tokens.code.token.function, context),
4467
+ [`${prefix}-code-token-hexcode`]: renderColor(tokens.code.token.hexcode, context),
4468
+ [`${prefix}-code-token-id`]: renderColor(tokens.code.token.id, context),
4469
+ [`${prefix}-code-token-important`]: renderColor(tokens.code.token.important, context),
4470
+ [`${prefix}-code-token-inserted`]: renderColor(tokens.code.token.inserted, context),
4471
+ [`${prefix}-code-token-keyword`]: renderColor(tokens.code.token.keyword, context),
4472
+ [`${prefix}-code-token-number`]: renderColor(tokens.code.token.number, context),
4473
+ [`${prefix}-code-token-operator`]: renderColor(tokens.code.token.operator, context),
4474
+ [`${prefix}-code-token-prolog`]: renderColor(tokens.code.token.prolog, context),
4475
+ [`${prefix}-code-token-property`]: renderColor(tokens.code.token.property, context),
4476
+ [`${prefix}-code-token-pseudo-class`]: renderColor(tokens.code.token.pseudoClass, context),
4477
+ [`${prefix}-code-token-pseudo-eelement`]: renderColor(tokens.code.token.pseudoElement, context),
4478
+ [`${prefix}-code-token-punctuation`]: renderColor(tokens.code.token.punctuation, context),
4479
+ [`${prefix}-code-token-regex`]: renderColor(tokens.code.token.regex, context),
4480
+ [`${prefix}-code-token-selector`]: renderColor(tokens.code.token.selector, context),
4481
+ [`${prefix}-code-token-string`]: renderColor(tokens.code.token.string, context),
4482
+ [`${prefix}-code-token-symbol`]: renderColor(tokens.code.token.symbol, context),
4483
+ [`${prefix}-code-token-tag`]: renderColor(tokens.code.token.tag, context),
4484
+ [`${prefix}-code-token-unit`]: renderColor(tokens.code.token.unit, context),
4485
+ [`${prefix}-code-token-url`]: renderColor(tokens.code.token.url, context),
4486
+ [`${prefix}-code-token-variable`]: renderColor(tokens.code.token.variable, context),
4487
+ // focus ring
4399
4488
  [`${prefix}-focus-ring`]: renderColor(tokens.focusRing, context),
4489
+ // link
4400
4490
  [`${prefix}-link-fg`]: renderColor(tokens.link.fg, context),
4491
+ // shadow
4401
4492
  [`${prefix}-shadow-outline`]: renderColor(tokens.shadow.outline, context),
4402
4493
  [`${prefix}-shadow-umbra`]: renderColor(tokens.shadow.umbra, context),
4403
4494
  [`${prefix}-shadow-penumbra`]: renderColor(tokens.shadow.penumbra, context),
4404
- [`${prefix}-shadow-ambient`]: renderColor(tokens.shadow.ambient, context),
4405
- [`${prefix}-token-atrule`]: renderColor(tokens.token.atrule, context),
4406
- [`${prefix}-token-attr-name`]: renderColor(tokens.token.attrName, context),
4407
- [`${prefix}-token-attr-value`]: renderColor(tokens.token.attrValue, context),
4408
- [`${prefix}-token-attribute`]: renderColor(tokens.token.attribute, context),
4409
- [`${prefix}-token-boolean`]: renderColor(tokens.token.boolean, context),
4410
- [`${prefix}-token-builtin`]: renderColor(tokens.token.builtin, context),
4411
- [`${prefix}-token-cdata`]: renderColor(tokens.token.cdata, context),
4412
- [`${prefix}-token-char`]: renderColor(tokens.token.char, context),
4413
- [`${prefix}-token-class-name`]: renderColor(tokens.token.className, context),
4414
- [`${prefix}-token-class`]: renderColor(tokens.token.class, context),
4415
- [`${prefix}-token-comment`]: renderColor(tokens.token.comment, context),
4416
- [`${prefix}-token-constant`]: renderColor(tokens.token.constant, context),
4417
- [`${prefix}-token-deleted`]: renderColor(tokens.token.deleted, context),
4418
- [`${prefix}-token-doctype`]: renderColor(tokens.token.doctype, context),
4419
- [`${prefix}-token-entity`]: renderColor(tokens.token.entity, context),
4420
- [`${prefix}-token-function`]: renderColor(tokens.token.function, context),
4421
- [`${prefix}-token-hexcode`]: renderColor(tokens.token.hexcode, context),
4422
- [`${prefix}-token-id`]: renderColor(tokens.token.id, context),
4423
- [`${prefix}-token-important`]: renderColor(tokens.token.important, context),
4424
- [`${prefix}-token-inserted`]: renderColor(tokens.token.inserted, context),
4425
- [`${prefix}-token-keyword`]: renderColor(tokens.token.keyword, context),
4426
- [`${prefix}-token-number`]: renderColor(tokens.token.number, context),
4427
- [`${prefix}-token-operator`]: renderColor(tokens.token.operator, context),
4428
- [`${prefix}-token-prolog`]: renderColor(tokens.token.prolog, context),
4429
- [`${prefix}-token-property`]: renderColor(tokens.token.property, context),
4430
- [`${prefix}-token-pseudo-class`]: renderColor(tokens.token.pseudoClass, context),
4431
- [`${prefix}-token-pseudo-eelement`]: renderColor(tokens.token.pseudoElement, context),
4432
- [`${prefix}-token-punctuation`]: renderColor(tokens.token.punctuation, context),
4433
- [`${prefix}-token-regex`]: renderColor(tokens.token.regex, context),
4434
- [`${prefix}-token-selector`]: renderColor(tokens.token.selector, context),
4435
- [`${prefix}-token-string`]: renderColor(tokens.token.string, context),
4436
- [`${prefix}-token-symbol`]: renderColor(tokens.token.symbol, context),
4437
- [`${prefix}-token-tag`]: renderColor(tokens.token.tag, context),
4438
- [`${prefix}-token-unit`]: renderColor(tokens.token.unit, context),
4439
- [`${prefix}-token-url`]: renderColor(tokens.token.url, context),
4440
- [`${prefix}-token-variable`]: renderColor(tokens.token.variable, context)
4495
+ [`${prefix}-shadow-ambient`]: renderColor(tokens.shadow.ambient, context)
4441
4496
  };
4442
4497
  }
4443
4498
  function compileTheme(theme) {