@vitral/themes 0.2.3 → 0.2.5

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/css/avalonia.css +157 -0
  2. package/dist/css/ink.css +157 -0
  3. package/dist/css/prism.css +157 -0
  4. package/dist/css/simple.css +157 -0
  5. package/dist/presets/base/components/copybutton.d.ts +6 -0
  6. package/dist/presets/base/components/copybutton.js +6 -0
  7. package/dist/presets/base/components/copybutton.js.map +1 -0
  8. package/dist/presets/base/components/datagrid.d.ts +3 -0
  9. package/dist/presets/base/components/datagrid.js +9 -2
  10. package/dist/presets/base/components/datagrid.js.map +1 -1
  11. package/dist/presets/base/components/descriptionlist.d.ts +34 -0
  12. package/dist/presets/base/components/descriptionlist.js +32 -0
  13. package/dist/presets/base/components/descriptionlist.js.map +1 -0
  14. package/dist/presets/base/components/emptystate.d.ts +39 -0
  15. package/dist/presets/base/components/emptystate.js +41 -0
  16. package/dist/presets/base/components/emptystate.js.map +1 -0
  17. package/dist/presets/base/components/index.d.ts +272 -0
  18. package/dist/presets/base/components/index.js +12 -0
  19. package/dist/presets/base/components/index.js.map +1 -1
  20. package/dist/presets/base/components/kbd.d.ts +43 -0
  21. package/dist/presets/base/components/kbd.js +47 -0
  22. package/dist/presets/base/components/kbd.js.map +1 -0
  23. package/dist/presets/base/components/stat.d.ts +51 -0
  24. package/dist/presets/base/components/stat.js +47 -0
  25. package/dist/presets/base/components/stat.js.map +1 -0
  26. package/dist/presets/base/components/tabs.d.ts +10 -0
  27. package/dist/presets/base/components/tabs.js +8 -0
  28. package/dist/presets/base/components/tabs.js.map +1 -1
  29. package/dist/presets/base/components/textarea.d.ts +7 -1
  30. package/dist/presets/base/components/textarea.js +11 -3
  31. package/dist/presets/base/components/textarea.js.map +1 -1
  32. package/dist/presets/base/components/tour.d.ts +87 -0
  33. package/dist/presets/base/components/tour.js +87 -0
  34. package/dist/presets/base/components/tour.js.map +1 -0
  35. package/dist/presets/base/semantic.js +3 -1
  36. package/dist/presets/base/semantic.js.map +1 -1
  37. package/package.json +2 -2
@@ -0,0 +1,51 @@
1
+ declare const _default: {
2
+ root: {
3
+ gap: string;
4
+ };
5
+ header: {
6
+ gap: string;
7
+ };
8
+ label: {
9
+ fontSize: string;
10
+ fontWeight: string;
11
+ color: string;
12
+ };
13
+ icon: {
14
+ size: string;
15
+ boxSize: string;
16
+ borderRadius: string;
17
+ background: string;
18
+ color: string;
19
+ };
20
+ value: {
21
+ fontSize: string;
22
+ fontWeight: string;
23
+ lineHeight: string;
24
+ color: string;
25
+ gap: string;
26
+ };
27
+ affix: {
28
+ fontSize: string;
29
+ fontWeight: string;
30
+ color: string;
31
+ };
32
+ delta: {
33
+ fontSize: string;
34
+ fontWeight: string;
35
+ gap: string;
36
+ padding: string;
37
+ borderRadius: string;
38
+ iconSize: string;
39
+ };
40
+ caption: {
41
+ fontSize: string;
42
+ color: string;
43
+ };
44
+ sm: {
45
+ valueFontSize: string;
46
+ };
47
+ lg: {
48
+ valueFontSize: string;
49
+ };
50
+ };
51
+ export default _default;
@@ -0,0 +1,47 @@
1
+ //#region src/presets/base/components/stat.ts
2
+ var stat_default = {
3
+ root: { gap: "0.25rem" },
4
+ header: { gap: "0.5rem" },
5
+ label: {
6
+ fontSize: "0.8125rem",
7
+ fontWeight: "500",
8
+ color: "{text.mutedColor}"
9
+ },
10
+ icon: {
11
+ size: "1rem",
12
+ boxSize: "2rem",
13
+ borderRadius: "{borderRadius.md}",
14
+ background: "{primary.subtleBackground}",
15
+ color: "{primary.subtleColor}"
16
+ },
17
+ value: {
18
+ fontSize: "1.75rem",
19
+ fontWeight: "600",
20
+ lineHeight: "1.2",
21
+ color: "{text.hoverColor}",
22
+ gap: "0.5rem"
23
+ },
24
+ affix: {
25
+ fontSize: "0.6em",
26
+ fontWeight: "500",
27
+ color: "{text.mutedColor}"
28
+ },
29
+ delta: {
30
+ fontSize: "0.75rem",
31
+ fontWeight: "600",
32
+ gap: "0.125rem",
33
+ padding: "0.125rem 0.375rem",
34
+ borderRadius: "{borderRadius.pill}",
35
+ iconSize: "0.75rem"
36
+ },
37
+ caption: {
38
+ fontSize: "0.75rem",
39
+ color: "{text.mutedColor}"
40
+ },
41
+ sm: { valueFontSize: "1.25rem" },
42
+ lg: { valueFontSize: "2.25rem" }
43
+ };
44
+ //#endregion
45
+ export { stat_default as default };
46
+
47
+ //# sourceMappingURL=stat.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stat.js","names":[],"sources":["../../../../src/presets/base/components/stat.ts"],"sourcesContent":["// A figure worth a glance: what it is, how much, and which way it went.\nexport default {\n root: {\n gap: '0.25rem'\n },\n header: {\n gap: '0.5rem'\n },\n label: {\n fontSize: '0.8125rem',\n fontWeight: '500',\n color: '{text.mutedColor}'\n },\n icon: {\n size: '1rem',\n boxSize: '2rem',\n borderRadius: '{borderRadius.md}',\n background: '{primary.subtleBackground}',\n color: '{primary.subtleColor}'\n },\n value: {\n fontSize: '1.75rem',\n fontWeight: '600',\n lineHeight: '1.2',\n color: '{text.hoverColor}',\n gap: '0.5rem'\n },\n affix: {\n fontSize: '0.6em',\n fontWeight: '500',\n color: '{text.mutedColor}'\n },\n delta: {\n fontSize: '0.75rem',\n fontWeight: '600',\n gap: '0.125rem',\n padding: '0.125rem 0.375rem',\n borderRadius: '{borderRadius.pill}',\n iconSize: '0.75rem'\n },\n caption: {\n fontSize: '0.75rem',\n color: '{text.mutedColor}'\n },\n sm: {\n valueFontSize: '1.25rem'\n },\n lg: {\n valueFontSize: '2.25rem'\n }\n};\n"],"mappings":";AACA,IAAA,eAAe;CACX,MAAM,EACF,KAAK,UACT;CACA,QAAQ,EACJ,KAAK,SACT;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;CACX;CACA,MAAM;EACF,MAAM;EACN,SAAS;EACT,cAAc;EACd,YAAY;EACZ,OAAO;CACX;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,YAAY;EACZ,OAAO;EACP,KAAK;CACT;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;CACX;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,KAAK;EACL,SAAS;EACT,cAAc;EACd,UAAU;CACd;CACA,SAAS;EACL,UAAU;EACV,OAAO;CACX;CACA,IAAI,EACA,eAAe,UACnB;CACA,IAAI,EACA,eAAe,UACnB;AACJ"}
@@ -16,6 +16,16 @@ declare const _default: {
16
16
  activeBackground: string;
17
17
  borderRadius: string;
18
18
  };
19
+ navButton: {
20
+ size: string;
21
+ color: string;
22
+ hoverColor: string;
23
+ hoverBackground: string;
24
+ borderRadius: string;
25
+ };
26
+ navGroup: {
27
+ gap: string;
28
+ };
19
29
  indicator: {
20
30
  color: string;
21
31
  width: string;
@@ -17,6 +17,14 @@ var tabs_default = {
17
17
  activeBackground: "transparent",
18
18
  borderRadius: "{borderRadius.sm}"
19
19
  },
20
+ navButton: {
21
+ size: "2rem",
22
+ color: "{text.mutedColor}",
23
+ hoverColor: "{text.color}",
24
+ hoverBackground: "{content.hoverBackground}",
25
+ borderRadius: "{borderRadius.sm}"
26
+ },
27
+ navGroup: { gap: "0.125rem" },
20
28
  indicator: {
21
29
  color: "{primary.color}",
22
30
  width: "1rem",
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","names":[],"sources":["../../../../src/presets/base/components/tabs.ts"],"sourcesContent":["// The tab strip: quiet text items, a hover fill, and the selected one\n// marked by a short accent pill that slides to it. A preset that wants a\n// full-width underline sets `indicator.width` to `100%`.\nexport default {\n tablist: {\n gap: '0.25rem',\n padding: '0',\n borderWidth: '0',\n borderColor: '{content.borderColor}'\n },\n tab: {\n padding: '0.4375rem 0.75rem',\n fontWeight: '400',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{text.hoverColor}',\n background: 'transparent',\n hoverBackground: '{content.hoverBackground}',\n activeBackground: 'transparent',\n borderRadius: '{borderRadius.sm}'\n },\n indicator: {\n color: '{primary.color}',\n width: '1rem',\n thickness: '3px',\n borderRadius: '{borderRadius.pill}',\n duration: '0.25s'\n },\n tabpanel: {\n padding: '1rem 0',\n verticalPadding: '0 1rem',\n color: '{content.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,eAAe;CACX,SAAS;EACL,KAAK;EACL,SAAS;EACT,aAAa;EACb,aAAa;CACjB;CACA,KAAK;EACD,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;CAClB;CACA,WAAW;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,UAAU;CACd;CACA,UAAU;EACN,SAAS;EACT,iBAAiB;EACjB,OAAO;CACX;AACJ"}
1
+ {"version":3,"file":"tabs.js","names":[],"sources":["../../../../src/presets/base/components/tabs.ts"],"sourcesContent":["// The tab strip: quiet text items, a hover fill, and the selected one\n// marked by a short accent pill that slides to it. A preset that wants a\n// full-width underline sets `indicator.width` to `100%`.\nexport default {\n tablist: {\n gap: '0.25rem',\n padding: '0',\n borderWidth: '0',\n borderColor: '{content.borderColor}'\n },\n tab: {\n padding: '0.4375rem 0.75rem',\n fontWeight: '400',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n activeColor: '{text.hoverColor}',\n background: 'transparent',\n hoverBackground: '{content.hoverBackground}',\n activeBackground: 'transparent',\n borderRadius: '{borderRadius.sm}'\n },\n // The buttons at the ends of a scrollable strip.\n navButton: {\n size: '2rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}',\n borderRadius: '{borderRadius.sm}'\n },\n navGroup: {\n gap: '0.125rem'\n },\n indicator: {\n color: '{primary.color}',\n width: '1rem',\n thickness: '3px',\n borderRadius: '{borderRadius.pill}',\n duration: '0.25s'\n },\n tabpanel: {\n padding: '1rem 0',\n verticalPadding: '0 1rem',\n color: '{content.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,eAAe;CACX,SAAS;EACL,KAAK;EACL,SAAS;EACT,aAAa;EACb,aAAa;CACjB;CACA,KAAK;EACD,SAAS;EACT,YAAY;EACZ,OAAO;EACP,YAAY;EACZ,aAAa;EACb,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;EAClB,cAAc;CAClB;CAEA,WAAW;EACP,MAAM;EACN,OAAO;EACP,YAAY;EACZ,iBAAiB;EACjB,cAAc;CAClB;CACA,UAAU,EACN,KAAK,WACT;CACA,WAAW;EACP,OAAO;EACP,OAAO;EACP,WAAW;EACX,cAAc;EACd,UAAU;CACd;CACA,UAAU;EACN,SAAS;EACT,iBAAiB;EACjB,OAAO;CACX;AACJ"}
@@ -1,7 +1,13 @@
1
1
  declare const _default: {
2
2
  root: {
3
- /** The native resize handle: `vertical`, `both` or `none`. An auto-resizing box never shows one. */
3
+ /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */
4
4
  resize: string;
5
5
  };
6
+ resizer: {
7
+ size: string;
8
+ inset: string;
9
+ color: string;
10
+ hoverColor: string;
11
+ };
6
12
  };
7
13
  export default _default;
@@ -1,7 +1,15 @@
1
1
  //#region src/presets/base/components/textarea.ts
2
- var textarea_default = { root: {
3
- /** The native resize handle: `vertical`, `both` or `none`. An auto-resizing box never shows one. */
4
- resize: "vertical" } };
2
+ var textarea_default = {
3
+ root: {
4
+ /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */
5
+ resize: "vertical" },
6
+ resizer: {
7
+ size: "0.75rem",
8
+ inset: "0.1875rem",
9
+ color: "{text.mutedColor}",
10
+ hoverColor: "{text.color}"
11
+ }
12
+ };
5
13
  //#endregion
6
14
  export { textarea_default as default };
7
15
 
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.js","names":[],"sources":["../../../../src/presets/base/components/textarea.ts"],"sourcesContent":["// The field chrome (border, background, focus) comes from the semantic\n// `formField` tokens, as every text-like control's does; these are only what\n// is particular to a multi-line box.\nexport default {\n root: {\n /** The native resize handle: `vertical`, `both` or `none`. An auto-resizing box never shows one. */\n resize: 'vertical'\n }\n};\n"],"mappings":";AAGA,IAAA,mBAAe,EACX,MAAM;;AAEF,QAAQ,WACZ,EACJ"}
1
+ {"version":3,"file":"textarea.js","names":[],"sources":["../../../../src/presets/base/components/textarea.ts"],"sourcesContent":["// The field chrome (border, background, focus) comes from the semantic\n// `formField` tokens, as every text-like control's does; these are only what\n// is particular to a multi-line box.\nexport default {\n root: {\n /** Which way the grip resizes the box: `vertical`, `horizontal`, `both` or `none`. An auto-resizing box never shows one. */\n resize: 'vertical'\n },\n // The grip is the library's own, drawn in the corner, rather than the one\n // each browser draws its own way.\n resizer: {\n size: '0.75rem',\n inset: '0.1875rem',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}'\n }\n};\n"],"mappings":";AAGA,IAAA,mBAAe;CACX,MAAM;;AAEF,QAAQ,WACZ;CAGA,SAAS;EACL,MAAM;EACN,OAAO;EACP,OAAO;EACP,YAAY;CAChB;AACJ"}
@@ -0,0 +1,87 @@
1
+ declare const _default: {
2
+ root: {
3
+ transitionDuration: string;
4
+ colorScheme: {
5
+ light: {
6
+ overlayColor: string;
7
+ overlayOpacity: string;
8
+ };
9
+ dark: {
10
+ overlayColor: string;
11
+ overlayOpacity: string;
12
+ };
13
+ };
14
+ };
15
+ popover: {
16
+ background: string;
17
+ color: string;
18
+ borderColor: string;
19
+ borderRadius: string;
20
+ shadow: string;
21
+ padding: string;
22
+ gap: string;
23
+ width: string;
24
+ };
25
+ arrow: {
26
+ size: string;
27
+ };
28
+ image: {
29
+ borderRadius: string;
30
+ };
31
+ title: {
32
+ fontSize: string;
33
+ fontWeight: string;
34
+ color: string;
35
+ };
36
+ description: {
37
+ color: string;
38
+ lineHeight: string;
39
+ };
40
+ footer: {
41
+ gap: string;
42
+ marginTop: string;
43
+ };
44
+ progress: {
45
+ fontSize: string;
46
+ color: string;
47
+ };
48
+ dot: {
49
+ size: string;
50
+ gap: string;
51
+ background: string;
52
+ activeBackground: string;
53
+ };
54
+ bar: {
55
+ height: string;
56
+ borderRadius: string;
57
+ background: string;
58
+ fillBackground: string;
59
+ };
60
+ button: {
61
+ padding: string;
62
+ borderRadius: string;
63
+ fontSize: string;
64
+ fontWeight: string;
65
+ borderWidth: string;
66
+ };
67
+ nextButton: {
68
+ background: string;
69
+ hoverBackground: string;
70
+ color: string;
71
+ borderColor: string;
72
+ };
73
+ previousButton: {
74
+ background: string;
75
+ hoverBackground: string;
76
+ color: string;
77
+ borderColor: string;
78
+ };
79
+ closeButton: {
80
+ size: string;
81
+ borderRadius: string;
82
+ color: string;
83
+ hoverColor: string;
84
+ hoverBackground: string;
85
+ };
86
+ };
87
+ export default _default;
@@ -0,0 +1,87 @@
1
+ //#region src/presets/base/components/tour.ts
2
+ var tour_default = {
3
+ root: {
4
+ transitionDuration: "{transitionPresetDuration}",
5
+ colorScheme: {
6
+ light: {
7
+ overlayColor: "#000000",
8
+ overlayOpacity: "0.55"
9
+ },
10
+ dark: {
11
+ overlayColor: "#000000",
12
+ overlayOpacity: "0.7"
13
+ }
14
+ }
15
+ },
16
+ popover: {
17
+ background: "{overlay.popover.background}",
18
+ color: "{overlay.popover.color}",
19
+ borderColor: "{overlay.popover.borderColor}",
20
+ borderRadius: "{overlay.popover.borderRadius}",
21
+ shadow: "{overlay.modal.shadow}",
22
+ padding: "1rem",
23
+ gap: "0.5rem",
24
+ width: "20rem"
25
+ },
26
+ arrow: { size: "0.75rem" },
27
+ image: { borderRadius: "{borderRadius.md}" },
28
+ title: {
29
+ fontSize: "1rem",
30
+ fontWeight: "600",
31
+ color: "{text.hoverColor}"
32
+ },
33
+ description: {
34
+ color: "{text.color}",
35
+ lineHeight: "1.55"
36
+ },
37
+ footer: {
38
+ gap: "0.5rem",
39
+ marginTop: "0.5rem"
40
+ },
41
+ progress: {
42
+ fontSize: "0.75rem",
43
+ color: "{text.mutedColor}"
44
+ },
45
+ dot: {
46
+ size: "0.375rem",
47
+ gap: "0.3125rem",
48
+ background: "color-mix(in srgb, {text.color} 22%, transparent)",
49
+ activeBackground: "{primary.color}"
50
+ },
51
+ bar: {
52
+ height: "0.25rem",
53
+ borderRadius: "{borderRadius.pill}",
54
+ background: "color-mix(in srgb, {text.color} 14%, transparent)",
55
+ fillBackground: "{primary.color}"
56
+ },
57
+ button: {
58
+ padding: "0.375rem 0.75rem",
59
+ borderRadius: "{formField.borderRadius}",
60
+ fontSize: "0.8125rem",
61
+ fontWeight: "500",
62
+ borderWidth: "1px"
63
+ },
64
+ nextButton: {
65
+ background: "{primary.color}",
66
+ hoverBackground: "{primary.hoverColor}",
67
+ color: "{primary.contrastColor}",
68
+ borderColor: "{primary.color}"
69
+ },
70
+ previousButton: {
71
+ background: "transparent",
72
+ hoverBackground: "{content.hoverBackground}",
73
+ color: "{text.color}",
74
+ borderColor: "{content.borderColor}"
75
+ },
76
+ closeButton: {
77
+ size: "1.75rem",
78
+ borderRadius: "{iconButton.borderRadius}",
79
+ color: "{text.mutedColor}",
80
+ hoverColor: "{text.color}",
81
+ hoverBackground: "{content.hoverBackground}"
82
+ }
83
+ };
84
+ //#endregion
85
+ export { tour_default as default };
86
+
87
+ //# sourceMappingURL=tour.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tour.js","names":[],"sources":["../../../../src/presets/base/components/tour.ts"],"sourcesContent":["// A guided tour: the page dimmed but for the one thing being explained, and a\n// popover beside it that reads like any other Vitral panel.\nexport default {\n root: {\n transitionDuration: '{transitionPresetDuration}',\n colorScheme: {\n light: { overlayColor: '#000000', overlayOpacity: '0.55' },\n dark: { overlayColor: '#000000', overlayOpacity: '0.7' }\n }\n },\n popover: {\n background: '{overlay.popover.background}',\n color: '{overlay.popover.color}',\n borderColor: '{overlay.popover.borderColor}',\n borderRadius: '{overlay.popover.borderRadius}',\n shadow: '{overlay.modal.shadow}',\n padding: '1rem',\n gap: '0.5rem',\n width: '20rem'\n },\n arrow: {\n size: '0.75rem'\n },\n image: {\n borderRadius: '{borderRadius.md}'\n },\n title: {\n fontSize: '1rem',\n fontWeight: '600',\n color: '{text.hoverColor}'\n },\n description: {\n color: '{text.color}',\n lineHeight: '1.55'\n },\n footer: {\n gap: '0.5rem',\n marginTop: '0.5rem'\n },\n progress: {\n fontSize: '0.75rem',\n color: '{text.mutedColor}'\n },\n dot: {\n size: '0.375rem',\n gap: '0.3125rem',\n background: 'color-mix(in srgb, {text.color} 22%, transparent)',\n activeBackground: '{primary.color}'\n },\n bar: {\n height: '0.25rem',\n borderRadius: '{borderRadius.pill}',\n background: 'color-mix(in srgb, {text.color} 14%, transparent)',\n fillBackground: '{primary.color}'\n },\n button: {\n padding: '0.375rem 0.75rem',\n borderRadius: '{formField.borderRadius}',\n fontSize: '0.8125rem',\n fontWeight: '500',\n borderWidth: '1px'\n },\n nextButton: {\n background: '{primary.color}',\n hoverBackground: '{primary.hoverColor}',\n color: '{primary.contrastColor}',\n borderColor: '{primary.color}'\n },\n previousButton: {\n background: 'transparent',\n hoverBackground: '{content.hoverBackground}',\n color: '{text.color}',\n borderColor: '{content.borderColor}'\n },\n closeButton: {\n size: '1.75rem',\n borderRadius: '{iconButton.borderRadius}',\n color: '{text.mutedColor}',\n hoverColor: '{text.color}',\n hoverBackground: '{content.hoverBackground}'\n }\n};\n"],"mappings":";AAEA,IAAA,eAAe;CACX,MAAM;EACF,oBAAoB;EACpB,aAAa;GACT,OAAO;IAAE,cAAc;IAAW,gBAAgB;GAAO;GACzD,MAAM;IAAE,cAAc;IAAW,gBAAgB;GAAM;EAC3D;CACJ;CACA,SAAS;EACL,YAAY;EACZ,OAAO;EACP,aAAa;EACb,cAAc;EACd,QAAQ;EACR,SAAS;EACT,KAAK;EACL,OAAO;CACX;CACA,OAAO,EACH,MAAM,UACV;CACA,OAAO,EACH,cAAc,oBAClB;CACA,OAAO;EACH,UAAU;EACV,YAAY;EACZ,OAAO;CACX;CACA,aAAa;EACT,OAAO;EACP,YAAY;CAChB;CACA,QAAQ;EACJ,KAAK;EACL,WAAW;CACf;CACA,UAAU;EACN,UAAU;EACV,OAAO;CACX;CACA,KAAK;EACD,MAAM;EACN,KAAK;EACL,YAAY;EACZ,kBAAkB;CACtB;CACA,KAAK;EACD,QAAQ;EACR,cAAc;EACd,YAAY;EACZ,gBAAgB;CACpB;CACA,QAAQ;EACJ,SAAS;EACT,cAAc;EACd,UAAU;EACV,YAAY;EACZ,aAAa;CACjB;CACA,YAAY;EACR,YAAY;EACZ,iBAAiB;EACjB,OAAO;EACP,aAAa;CACjB;CACA,gBAAgB;EACZ,YAAY;EACZ,iBAAiB;EACjB,OAAO;EACP,aAAa;CACjB;CACA,aAAa;EACT,MAAM;EACN,cAAc;EACd,OAAO;EACP,YAAY;EACZ,iBAAiB;CACrB;AACJ"}
@@ -149,7 +149,9 @@ var semantic = {
149
149
  padding: "1.25rem",
150
150
  shadow: "0 20px 40px -8px rgba(0, 0, 0, 0.25)"
151
151
  },
152
- navigation: { shadow: "0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)" }
152
+ navigation: { shadow: "0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)" },
153
+ /** The pointer a popup can draw to its anchor. */
154
+ arrow: { size: "0.75rem" }
153
155
  },
154
156
  navigation: {
155
157
  list: {
@@ -1 +1 @@
1
- {"version":3,"file":"semantic.js","names":[],"sources":["../../../src/presets/base/semantic.ts"],"sourcesContent":["import type { TokenTree } from '../../engine/types';\n\n/**\n * The fills, borders and text colours one severity needs across every\n * component: a solid fill (buttons, badges), a subtle tint (messages, tags,\n * text buttons on hover), and the colours that sit on each.\n *\n * `shade` is the palette step the solid fill uses in light mode. It is 700 for\n * green and sky rather than 600, because white text on their 600 falls short of\n * the 4.5:1 contrast WCAG asks for.\n */\nexport function severityLight(palette: string, shade = 600, contrast = '#ffffff'): TokenTree {\n const s = (offset: number) => `{${palette}.${Math.min(950, shade + offset)}}`;\n return {\n color: s(0),\n contrastColor: contrast,\n hoverColor: s(100),\n activeColor: s(200),\n borderColor: s(0),\n hoverBorderColor: s(100),\n subtleBackground: `{${palette}.50}`,\n subtleHoverBackground: `{${palette}.100}`,\n subtleColor: `{${palette}.${Math.max(700, shade)}}`,\n subtleBorderColor: `{${palette}.200}`\n };\n}\n\nexport function severityDark(palette: string): TokenTree {\n return {\n color: `{${palette}.400}`,\n contrastColor: '{surface.950}',\n hoverColor: `{${palette}.300}`,\n activeColor: `{${palette}.200}`,\n borderColor: `{${palette}.400}`,\n hoverBorderColor: `{${palette}.300}`,\n subtleBackground: `color-mix(in srgb, {${palette}.500} 16%, transparent)`,\n subtleHoverBackground: `color-mix(in srgb, {${palette}.500} 26%, transparent)`,\n subtleColor: `{${palette}.300}`,\n subtleBorderColor: `color-mix(in srgb, {${palette}.500} 36%, transparent)`\n };\n}\n\nconst surface = {\n 0: '#ffffff',\n 50: '{zinc.50}',\n 100: '{zinc.100}',\n 200: '{zinc.200}',\n 300: '{zinc.300}',\n 400: '{zinc.400}',\n 500: '{zinc.500}',\n 600: '{zinc.600}',\n 700: '{zinc.700}',\n 800: '{zinc.800}',\n 900: '{zinc.900}',\n 950: '{zinc.950}'\n};\n\n/**\n * The semantic layer every component reads. Presets override pieces of it;\n * the component layer refers to it by name and never to a raw colour.\n */\nexport const semantic: TokenTree = {\n fontFamily: \"Inter, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif\",\n fontFamilyMono: \"'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace\",\n fontSize: '0.875rem',\n lineHeight: '1.5',\n transitionDuration: '0.15s',\n /* A named transition is a movement you are meant to notice, so it is slower than a hover. */\n transitionPresetDuration: '0.35s',\n disabledOpacity: '0.55',\n /**\n * `<Icon>`: the box every icon is drawn in unless a component sizes it, and\n * its stroke in units of the 24×24 drawing grid (2 is the drawn weight).\n */\n icon: { size: '1rem', strokeWidth: '2' },\n\n /**\n * The small icon-only buttons that close, remove or clear something: a\n * tag's ×, a dialog's close, a field's clear. One shape everywhere, so a\n * theme changes them together.\n */\n iconButton: { borderRadius: '{borderRadius.pill}' },\n anchorGutter: '4px',\n\n focusRing: { width: '2px', style: 'solid', color: '{primary.color}', offset: '2px' },\n\n primary: {\n 50: '{blue.50}',\n 100: '{blue.100}',\n 200: '{blue.200}',\n 300: '{blue.300}',\n 400: '{blue.400}',\n 500: '{blue.500}',\n 600: '{blue.600}',\n 700: '{blue.700}',\n 800: '{blue.800}',\n 900: '{blue.900}',\n 950: '{blue.950}'\n },\n\n /** Controls are sized by minimum height, the way a desktop control set is. */\n control: {\n minHeight: '2.25rem',\n sm: { minHeight: '1.875rem' },\n lg: { minHeight: '2.75rem' }\n },\n\n formField: {\n paddingX: '0.75rem',\n paddingY: '0.5rem',\n borderWidth: '1px',\n borderRadius: '{borderRadius.md}',\n transitionDuration: '{transitionDuration}',\n sm: { fontSize: '0.8125rem', paddingX: '0.625rem', paddingY: '0.3125rem' },\n lg: { fontSize: '1rem', paddingX: '0.875rem', paddingY: '0.625rem' }\n },\n\n list: {\n padding: '0.25rem',\n gap: '2px',\n header: { padding: '0.5rem 0.5rem 0.25rem' },\n option: { padding: '0.5rem 0.75rem', borderRadius: '{borderRadius.sm}' },\n optionGroup: { padding: '0.5rem 0.75rem', fontWeight: '600' }\n },\n\n content: { borderRadius: '{borderRadius.md}' },\n\n overlay: {\n select: { borderRadius: '{borderRadius.md}', shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' },\n popover: { borderRadius: '{borderRadius.md}', padding: '0.75rem', shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' },\n modal: { borderRadius: '{borderRadius.xl}', padding: '1.25rem', shadow: '0 20px 40px -8px rgba(0, 0, 0, 0.25)' },\n navigation: { shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' }\n },\n\n navigation: {\n list: { padding: '0.25rem', gap: '2px' },\n item: { padding: '0.5rem 0.75rem', borderRadius: '{borderRadius.sm}', gap: '0.5rem' },\n submenuLabel: { padding: '0.5rem 0.75rem', fontWeight: '600' },\n submenuIcon: { size: '0.875rem' }\n },\n\n chart: {\n 1: '{blue.500}',\n 2: '{pink.500}',\n 3: '{emerald.500}',\n 4: '{teal.500}',\n 5: '{amber.500}',\n 6: '{red.500}',\n 7: '{violet.500}',\n 8: '{slate.500}'\n },\n\n colorScheme: {\n light: {\n surface,\n primary: { ...severityLight('primary'), subtleColor: '{primary.700}' },\n highlight: { background: '{primary.50}', focusBackground: '{primary.100}', color: '{primary.700}', focusColor: '{primary.800}' },\n mask: { background: 'rgba(0, 0, 0, 0.4)', color: '{surface.200}' },\n app: { background: '{surface.50}' },\n formField: {\n background: '{surface.0}',\n hoverBackground: '{surface.0}',\n focusBackground: '{surface.0}',\n disabledBackground: '{surface.100}',\n filledBackground: '{surface.100}',\n filledHoverBackground: '{surface.100}',\n filledFocusBackground: '{surface.0}',\n borderColor: '{surface.300}',\n hoverBorderColor: '{surface.400}',\n focusBorderColor: '{primary.color}',\n invalidBorderColor: '{danger.color}',\n color: '{surface.900}',\n disabledColor: '{surface.500}',\n placeholderColor: '{surface.500}',\n invalidPlaceholderColor: '{danger.color}',\n iconColor: '{surface.500}',\n shadow: '0 1px 2px 0 rgba(18, 18, 23, 0.05)',\n focusShadow: '0 0 0 3px color-mix(in srgb, {primary.color} 20%, transparent)'\n },\n text: { color: '{surface.900}', hoverColor: '{surface.950}', mutedColor: '{surface.500}', hoverMutedColor: '{surface.700}' },\n content: { background: '{surface.0}', hoverBackground: '{surface.100}', borderColor: '{surface.200}', color: '{text.color}', hoverColor: '{text.hoverColor}' },\n overlay: {\n select: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' },\n popover: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' },\n modal: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' }\n },\n list: {\n option: {\n focusBackground: '{surface.100}',\n selectedBackground: '{highlight.background}',\n selectedFocusBackground: '{highlight.focusBackground}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n selectedColor: '{highlight.color}',\n selectedFocusColor: '{highlight.focusColor}',\n selectedIndicator: 'transparent',\n icon: { color: '{surface.400}', focusColor: '{surface.500}' }\n },\n optionGroup: { background: 'transparent', color: '{text.mutedColor}' }\n },\n navigation: {\n item: {\n focusBackground: '{surface.100}',\n activeBackground: '{surface.100}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n activeColor: '{text.hoverColor}',\n activeIndicator: 'transparent',\n icon: { color: '{surface.400}', focusColor: '{surface.500}', activeColor: '{surface.500}' }\n },\n submenuLabel: { background: 'transparent', color: '{text.mutedColor}' },\n submenuIcon: { color: '{surface.400}', focusColor: '{surface.500}', activeColor: '{surface.500}' }\n },\n secondary: {\n color: '{surface.100}',\n contrastColor: '{surface.800}',\n hoverColor: '{surface.200}',\n activeColor: '{surface.300}',\n borderColor: '{surface.100}',\n hoverBorderColor: '{surface.200}',\n subtleBackground: '{surface.100}',\n subtleHoverBackground: '{surface.200}',\n subtleColor: '{surface.700}',\n subtleBorderColor: '{surface.200}'\n },\n success: severityLight('green', 700),\n info: severityLight('sky', 700),\n warn: { ...severityLight('amber', 400, '{amber.950}'), subtleColor: '{amber.800}' },\n danger: severityLight('red'),\n help: severityLight('violet'),\n contrast: {\n color: '{surface.950}',\n contrastColor: '{surface.0}',\n hoverColor: '{surface.800}',\n activeColor: '{surface.700}',\n borderColor: '{surface.950}',\n hoverBorderColor: '{surface.800}',\n subtleBackground: '{surface.100}',\n subtleHoverBackground: '{surface.200}',\n subtleColor: '{surface.950}',\n subtleBorderColor: '{surface.300}'\n }\n },\n dark: {\n surface,\n primary: severityDark('primary'),\n highlight: {\n background: 'color-mix(in srgb, {primary.400} 16%, transparent)',\n focusBackground: 'color-mix(in srgb, {primary.400} 24%, transparent)',\n color: 'rgba(255, 255, 255, 0.87)',\n focusColor: 'rgba(255, 255, 255, 0.87)'\n },\n mask: { background: 'rgba(0, 0, 0, 0.6)', color: '{surface.200}' },\n app: { background: '{surface.950}' },\n formField: {\n background: '{surface.950}',\n hoverBackground: '{surface.950}',\n focusBackground: '{surface.950}',\n disabledBackground: '{surface.800}',\n filledBackground: '{surface.800}',\n filledHoverBackground: '{surface.800}',\n filledFocusBackground: '{surface.800}',\n borderColor: '{surface.600}',\n hoverBorderColor: '{surface.500}',\n focusBorderColor: '{primary.color}',\n invalidBorderColor: '{danger.color}',\n color: '{surface.0}',\n disabledColor: '{surface.400}',\n placeholderColor: '{surface.400}',\n invalidPlaceholderColor: '{danger.color}',\n iconColor: '{surface.400}',\n shadow: '0 1px 2px 0 rgba(0, 0, 0, 0.2)',\n focusShadow: '0 0 0 3px color-mix(in srgb, {primary.color} 25%, transparent)'\n },\n text: { color: '{surface.0}', hoverColor: '{surface.0}', mutedColor: '{surface.400}', hoverMutedColor: '{surface.300}' },\n content: { background: '{surface.900}', hoverBackground: '{surface.800}', borderColor: '{surface.700}', color: '{text.color}', hoverColor: '{text.hoverColor}' },\n overlay: {\n select: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' },\n popover: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' },\n modal: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' }\n },\n list: {\n option: {\n focusBackground: '{surface.800}',\n selectedBackground: '{highlight.background}',\n selectedFocusBackground: '{highlight.focusBackground}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n selectedColor: '{highlight.color}',\n selectedFocusColor: '{highlight.focusColor}',\n selectedIndicator: 'transparent',\n icon: { color: '{surface.500}', focusColor: '{surface.400}' }\n },\n optionGroup: { background: 'transparent', color: '{text.mutedColor}' }\n },\n navigation: {\n item: {\n focusBackground: '{surface.800}',\n activeBackground: '{surface.800}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n activeColor: '{text.hoverColor}',\n activeIndicator: 'transparent',\n icon: { color: '{surface.500}', focusColor: '{surface.400}', activeColor: '{surface.400}' }\n },\n submenuLabel: { background: 'transparent', color: '{text.mutedColor}' },\n submenuIcon: { color: '{surface.500}', focusColor: '{surface.400}', activeColor: '{surface.400}' }\n },\n secondary: {\n color: '{surface.800}',\n contrastColor: '{surface.0}',\n hoverColor: '{surface.700}',\n activeColor: '{surface.600}',\n borderColor: '{surface.800}',\n hoverBorderColor: '{surface.700}',\n subtleBackground: '{surface.800}',\n subtleHoverBackground: '{surface.700}',\n subtleColor: '{surface.300}',\n subtleBorderColor: '{surface.700}'\n },\n success: severityDark('green'),\n info: severityDark('sky'),\n warn: severityDark('amber'),\n danger: severityDark('red'),\n help: severityDark('violet'),\n contrast: {\n color: '{surface.0}',\n contrastColor: '{surface.950}',\n hoverColor: '{surface.100}',\n activeColor: '{surface.200}',\n borderColor: '{surface.0}',\n hoverBorderColor: '{surface.100}',\n subtleBackground: '{surface.800}',\n subtleHoverBackground: '{surface.700}',\n subtleColor: '{surface.0}',\n subtleBorderColor: '{surface.600}'\n }\n }\n }\n};\n"],"mappings":";;;;;;;;;;AAWA,SAAgB,cAAc,SAAiB,QAAQ,KAAK,WAAW,WAAsB;CACzF,MAAM,KAAK,WAAmB,IAAI,QAAQ,GAAG,KAAK,IAAI,KAAK,QAAQ,MAAM,EAAE;CAC3E,OAAO;EACH,OAAO,EAAE,CAAC;EACV,eAAe;EACf,YAAY,EAAE,GAAG;EACjB,aAAa,EAAE,GAAG;EAClB,aAAa,EAAE,CAAC;EAChB,kBAAkB,EAAE,GAAG;EACvB,kBAAkB,IAAI,QAAQ;EAC9B,uBAAuB,IAAI,QAAQ;EACnC,aAAa,IAAI,QAAQ,GAAG,KAAK,IAAI,KAAK,KAAK,EAAE;EACjD,mBAAmB,IAAI,QAAQ;CACnC;AACJ;AAEA,SAAgB,aAAa,SAA4B;CACrD,OAAO;EACH,OAAO,IAAI,QAAQ;EACnB,eAAe;EACf,YAAY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IACb,kBAAkB;IAClB,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,mBAAmB;GACvB;GACA,SAAS,aAAa,OAAO;GAC7B,MAAM,aAAa,KAAK;GACxB,MAAM,aAAa,OAAO;GAC1B,QAAQ,aAAa,KAAK;GAC1B,MAAM,aAAa,QAAQ;GAC3B,UAAU;IACN,OAAO;IACP,eAAe;IACf,YAAY;IACZ,aAAa;IACb,aAAa;IACb,kBAAkB;IAClB,kBAAkB;IAClB,uBAAuB;IACvB,aAAa;IACb,mBAAmB;GACvB;EACJ;CACJ;AACJ"}
1
+ {"version":3,"file":"semantic.js","names":[],"sources":["../../../src/presets/base/semantic.ts"],"sourcesContent":["import type { TokenTree } from '../../engine/types';\n\n/**\n * The fills, borders and text colours one severity needs across every\n * component: a solid fill (buttons, badges), a subtle tint (messages, tags,\n * text buttons on hover), and the colours that sit on each.\n *\n * `shade` is the palette step the solid fill uses in light mode. It is 700 for\n * green and sky rather than 600, because white text on their 600 falls short of\n * the 4.5:1 contrast WCAG asks for.\n */\nexport function severityLight(palette: string, shade = 600, contrast = '#ffffff'): TokenTree {\n const s = (offset: number) => `{${palette}.${Math.min(950, shade + offset)}}`;\n return {\n color: s(0),\n contrastColor: contrast,\n hoverColor: s(100),\n activeColor: s(200),\n borderColor: s(0),\n hoverBorderColor: s(100),\n subtleBackground: `{${palette}.50}`,\n subtleHoverBackground: `{${palette}.100}`,\n subtleColor: `{${palette}.${Math.max(700, shade)}}`,\n subtleBorderColor: `{${palette}.200}`\n };\n}\n\nexport function severityDark(palette: string): TokenTree {\n return {\n color: `{${palette}.400}`,\n contrastColor: '{surface.950}',\n hoverColor: `{${palette}.300}`,\n activeColor: `{${palette}.200}`,\n borderColor: `{${palette}.400}`,\n hoverBorderColor: `{${palette}.300}`,\n subtleBackground: `color-mix(in srgb, {${palette}.500} 16%, transparent)`,\n subtleHoverBackground: `color-mix(in srgb, {${palette}.500} 26%, transparent)`,\n subtleColor: `{${palette}.300}`,\n subtleBorderColor: `color-mix(in srgb, {${palette}.500} 36%, transparent)`\n };\n}\n\nconst surface = {\n 0: '#ffffff',\n 50: '{zinc.50}',\n 100: '{zinc.100}',\n 200: '{zinc.200}',\n 300: '{zinc.300}',\n 400: '{zinc.400}',\n 500: '{zinc.500}',\n 600: '{zinc.600}',\n 700: '{zinc.700}',\n 800: '{zinc.800}',\n 900: '{zinc.900}',\n 950: '{zinc.950}'\n};\n\n/**\n * The semantic layer every component reads. Presets override pieces of it;\n * the component layer refers to it by name and never to a raw colour.\n */\nexport const semantic: TokenTree = {\n fontFamily: \"Inter, 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif\",\n fontFamilyMono: \"'JetBrains Mono', 'SF Mono', Consolas, 'Liberation Mono', monospace\",\n fontSize: '0.875rem',\n lineHeight: '1.5',\n transitionDuration: '0.15s',\n /* A named transition is a movement you are meant to notice, so it is slower than a hover. */\n transitionPresetDuration: '0.35s',\n disabledOpacity: '0.55',\n /**\n * `<Icon>`: the box every icon is drawn in unless a component sizes it, and\n * its stroke in units of the 24×24 drawing grid (2 is the drawn weight).\n */\n icon: { size: '1rem', strokeWidth: '2' },\n\n /**\n * The small icon-only buttons that close, remove or clear something: a\n * tag's ×, a dialog's close, a field's clear. One shape everywhere, so a\n * theme changes them together.\n */\n iconButton: { borderRadius: '{borderRadius.pill}' },\n anchorGutter: '4px',\n\n focusRing: { width: '2px', style: 'solid', color: '{primary.color}', offset: '2px' },\n\n primary: {\n 50: '{blue.50}',\n 100: '{blue.100}',\n 200: '{blue.200}',\n 300: '{blue.300}',\n 400: '{blue.400}',\n 500: '{blue.500}',\n 600: '{blue.600}',\n 700: '{blue.700}',\n 800: '{blue.800}',\n 900: '{blue.900}',\n 950: '{blue.950}'\n },\n\n /** Controls are sized by minimum height, the way a desktop control set is. */\n control: {\n minHeight: '2.25rem',\n sm: { minHeight: '1.875rem' },\n lg: { minHeight: '2.75rem' }\n },\n\n formField: {\n paddingX: '0.75rem',\n paddingY: '0.5rem',\n borderWidth: '1px',\n borderRadius: '{borderRadius.md}',\n transitionDuration: '{transitionDuration}',\n sm: { fontSize: '0.8125rem', paddingX: '0.625rem', paddingY: '0.3125rem' },\n lg: { fontSize: '1rem', paddingX: '0.875rem', paddingY: '0.625rem' }\n },\n\n list: {\n padding: '0.25rem',\n gap: '2px',\n header: { padding: '0.5rem 0.5rem 0.25rem' },\n option: { padding: '0.5rem 0.75rem', borderRadius: '{borderRadius.sm}' },\n optionGroup: { padding: '0.5rem 0.75rem', fontWeight: '600' }\n },\n\n content: { borderRadius: '{borderRadius.md}' },\n\n overlay: {\n select: { borderRadius: '{borderRadius.md}', shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' },\n popover: { borderRadius: '{borderRadius.md}', padding: '0.75rem', shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' },\n modal: { borderRadius: '{borderRadius.xl}', padding: '1.25rem', shadow: '0 20px 40px -8px rgba(0, 0, 0, 0.25)' },\n navigation: { shadow: '0 4px 12px -2px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.08)' },\n /** The pointer a popup can draw to its anchor. */\n arrow: { size: '0.75rem' }\n },\n\n navigation: {\n list: { padding: '0.25rem', gap: '2px' },\n item: { padding: '0.5rem 0.75rem', borderRadius: '{borderRadius.sm}', gap: '0.5rem' },\n submenuLabel: { padding: '0.5rem 0.75rem', fontWeight: '600' },\n submenuIcon: { size: '0.875rem' }\n },\n\n chart: {\n 1: '{blue.500}',\n 2: '{pink.500}',\n 3: '{emerald.500}',\n 4: '{teal.500}',\n 5: '{amber.500}',\n 6: '{red.500}',\n 7: '{violet.500}',\n 8: '{slate.500}'\n },\n\n colorScheme: {\n light: {\n surface,\n primary: { ...severityLight('primary'), subtleColor: '{primary.700}' },\n highlight: { background: '{primary.50}', focusBackground: '{primary.100}', color: '{primary.700}', focusColor: '{primary.800}' },\n mask: { background: 'rgba(0, 0, 0, 0.4)', color: '{surface.200}' },\n app: { background: '{surface.50}' },\n formField: {\n background: '{surface.0}',\n hoverBackground: '{surface.0}',\n focusBackground: '{surface.0}',\n disabledBackground: '{surface.100}',\n filledBackground: '{surface.100}',\n filledHoverBackground: '{surface.100}',\n filledFocusBackground: '{surface.0}',\n borderColor: '{surface.300}',\n hoverBorderColor: '{surface.400}',\n focusBorderColor: '{primary.color}',\n invalidBorderColor: '{danger.color}',\n color: '{surface.900}',\n disabledColor: '{surface.500}',\n placeholderColor: '{surface.500}',\n invalidPlaceholderColor: '{danger.color}',\n iconColor: '{surface.500}',\n shadow: '0 1px 2px 0 rgba(18, 18, 23, 0.05)',\n focusShadow: '0 0 0 3px color-mix(in srgb, {primary.color} 20%, transparent)'\n },\n text: { color: '{surface.900}', hoverColor: '{surface.950}', mutedColor: '{surface.500}', hoverMutedColor: '{surface.700}' },\n content: { background: '{surface.0}', hoverBackground: '{surface.100}', borderColor: '{surface.200}', color: '{text.color}', hoverColor: '{text.hoverColor}' },\n overlay: {\n select: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' },\n popover: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' },\n modal: { background: '{surface.0}', borderColor: '{surface.200}', color: '{text.color}' }\n },\n list: {\n option: {\n focusBackground: '{surface.100}',\n selectedBackground: '{highlight.background}',\n selectedFocusBackground: '{highlight.focusBackground}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n selectedColor: '{highlight.color}',\n selectedFocusColor: '{highlight.focusColor}',\n selectedIndicator: 'transparent',\n icon: { color: '{surface.400}', focusColor: '{surface.500}' }\n },\n optionGroup: { background: 'transparent', color: '{text.mutedColor}' }\n },\n navigation: {\n item: {\n focusBackground: '{surface.100}',\n activeBackground: '{surface.100}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n activeColor: '{text.hoverColor}',\n activeIndicator: 'transparent',\n icon: { color: '{surface.400}', focusColor: '{surface.500}', activeColor: '{surface.500}' }\n },\n submenuLabel: { background: 'transparent', color: '{text.mutedColor}' },\n submenuIcon: { color: '{surface.400}', focusColor: '{surface.500}', activeColor: '{surface.500}' }\n },\n secondary: {\n color: '{surface.100}',\n contrastColor: '{surface.800}',\n hoverColor: '{surface.200}',\n activeColor: '{surface.300}',\n borderColor: '{surface.100}',\n hoverBorderColor: '{surface.200}',\n subtleBackground: '{surface.100}',\n subtleHoverBackground: '{surface.200}',\n subtleColor: '{surface.700}',\n subtleBorderColor: '{surface.200}'\n },\n success: severityLight('green', 700),\n info: severityLight('sky', 700),\n warn: { ...severityLight('amber', 400, '{amber.950}'), subtleColor: '{amber.800}' },\n danger: severityLight('red'),\n help: severityLight('violet'),\n contrast: {\n color: '{surface.950}',\n contrastColor: '{surface.0}',\n hoverColor: '{surface.800}',\n activeColor: '{surface.700}',\n borderColor: '{surface.950}',\n hoverBorderColor: '{surface.800}',\n subtleBackground: '{surface.100}',\n subtleHoverBackground: '{surface.200}',\n subtleColor: '{surface.950}',\n subtleBorderColor: '{surface.300}'\n }\n },\n dark: {\n surface,\n primary: severityDark('primary'),\n highlight: {\n background: 'color-mix(in srgb, {primary.400} 16%, transparent)',\n focusBackground: 'color-mix(in srgb, {primary.400} 24%, transparent)',\n color: 'rgba(255, 255, 255, 0.87)',\n focusColor: 'rgba(255, 255, 255, 0.87)'\n },\n mask: { background: 'rgba(0, 0, 0, 0.6)', color: '{surface.200}' },\n app: { background: '{surface.950}' },\n formField: {\n background: '{surface.950}',\n hoverBackground: '{surface.950}',\n focusBackground: '{surface.950}',\n disabledBackground: '{surface.800}',\n filledBackground: '{surface.800}',\n filledHoverBackground: '{surface.800}',\n filledFocusBackground: '{surface.800}',\n borderColor: '{surface.600}',\n hoverBorderColor: '{surface.500}',\n focusBorderColor: '{primary.color}',\n invalidBorderColor: '{danger.color}',\n color: '{surface.0}',\n disabledColor: '{surface.400}',\n placeholderColor: '{surface.400}',\n invalidPlaceholderColor: '{danger.color}',\n iconColor: '{surface.400}',\n shadow: '0 1px 2px 0 rgba(0, 0, 0, 0.2)',\n focusShadow: '0 0 0 3px color-mix(in srgb, {primary.color} 25%, transparent)'\n },\n text: { color: '{surface.0}', hoverColor: '{surface.0}', mutedColor: '{surface.400}', hoverMutedColor: '{surface.300}' },\n content: { background: '{surface.900}', hoverBackground: '{surface.800}', borderColor: '{surface.700}', color: '{text.color}', hoverColor: '{text.hoverColor}' },\n overlay: {\n select: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' },\n popover: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' },\n modal: { background: '{surface.900}', borderColor: '{surface.700}', color: '{text.color}' }\n },\n list: {\n option: {\n focusBackground: '{surface.800}',\n selectedBackground: '{highlight.background}',\n selectedFocusBackground: '{highlight.focusBackground}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n selectedColor: '{highlight.color}',\n selectedFocusColor: '{highlight.focusColor}',\n selectedIndicator: 'transparent',\n icon: { color: '{surface.500}', focusColor: '{surface.400}' }\n },\n optionGroup: { background: 'transparent', color: '{text.mutedColor}' }\n },\n navigation: {\n item: {\n focusBackground: '{surface.800}',\n activeBackground: '{surface.800}',\n color: '{text.color}',\n focusColor: '{text.hoverColor}',\n activeColor: '{text.hoverColor}',\n activeIndicator: 'transparent',\n icon: { color: '{surface.500}', focusColor: '{surface.400}', activeColor: '{surface.400}' }\n },\n submenuLabel: { background: 'transparent', color: '{text.mutedColor}' },\n submenuIcon: { color: '{surface.500}', focusColor: '{surface.400}', activeColor: '{surface.400}' }\n },\n secondary: {\n color: '{surface.800}',\n contrastColor: '{surface.0}',\n hoverColor: '{surface.700}',\n activeColor: '{surface.600}',\n borderColor: '{surface.800}',\n hoverBorderColor: '{surface.700}',\n subtleBackground: '{surface.800}',\n subtleHoverBackground: '{surface.700}',\n subtleColor: '{surface.300}',\n subtleBorderColor: '{surface.700}'\n },\n success: severityDark('green'),\n info: severityDark('sky'),\n warn: severityDark('amber'),\n danger: severityDark('red'),\n help: severityDark('violet'),\n contrast: {\n color: '{surface.0}',\n contrastColor: '{surface.950}',\n hoverColor: '{surface.100}',\n activeColor: '{surface.200}',\n borderColor: '{surface.0}',\n hoverBorderColor: '{surface.100}',\n subtleBackground: '{surface.800}',\n subtleHoverBackground: '{surface.700}',\n subtleColor: '{surface.0}',\n subtleBorderColor: '{surface.600}'\n }\n }\n }\n};\n"],"mappings":";;;;;;;;;;AAWA,SAAgB,cAAc,SAAiB,QAAQ,KAAK,WAAW,WAAsB;CACzF,MAAM,KAAK,WAAmB,IAAI,QAAQ,GAAG,KAAK,IAAI,KAAK,QAAQ,MAAM,EAAE;CAC3E,OAAO;EACH,OAAO,EAAE,CAAC;EACV,eAAe;EACf,YAAY,EAAE,GAAG;EACjB,aAAa,EAAE,GAAG;EAClB,aAAa,EAAE,CAAC;EAChB,kBAAkB,EAAE,GAAG;EACvB,kBAAkB,IAAI,QAAQ;EAC9B,uBAAuB,IAAI,QAAQ;EACnC,aAAa,IAAI,QAAQ,GAAG,KAAK,IAAI,KAAK,KAAK,EAAE;EACjD,mBAAmB,IAAI,QAAQ;CACnC;AACJ;AAEA,SAAgB,aAAa,SAA4B;CACrD,OAAO;EACH,OAAO,IAAI,QAAQ;EACnB,eAAe;EACf,YAAY,IAAI,QAAQ;EACxB,aAAa,IAAI,QAAQ;EACzB,aAAa,IAAI,QAAQ;EACzB,kBAAkB,IAAI,QAAQ;EAC9B,kBAAkB,uBAAuB,QAAQ;EACjD,uBAAuB,uBAAuB,QAAQ;EACtD,aAAa,IAAI,QAAQ;EACzB,mBAAmB,uBAAuB,QAAQ;CACtD;AACJ;AAEA,IAAM,UAAU;CACZ,GAAG;CACH,IAAI;CACJ,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;CACL,KAAK;AACT;;;;;AAMA,IAAa,WAAsB;CAC/B,YAAY;CACZ,gBAAgB;CAChB,UAAU;CAC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name": "@vitral/themes",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Design-token engine and presets (Prism, Ink, Avalonia, Simple) for Vitral.",
5
5
  "keywords": [
6
6
  "vitral",
@@ -40,7 +40,7 @@
40
40
  "access": "public"
41
41
  },
42
42
  "dependencies": {
43
- "@vitral/core": "0.2.3"
43
+ "@vitral/core": "0.2.5"
44
44
  },
45
45
  "scripts": {
46
46
  "build": "vite build && tsc -p tsconfig.build.json && node ../../scripts/build-theme-css.mjs"