@frontile/theme 0.18.0-alpha.1 → 0.18.0-alpha.11

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 (74) hide show
  1. package/README.md +20 -22
  2. package/declarations/colors/config.d.ts +8 -32
  3. package/declarations/colors/palette-absolute.d.ts +2 -2
  4. package/declarations/colors/palette.d.ts +1 -1
  5. package/declarations/colors/types.d.ts +102 -151
  6. package/declarations/components/button.d.ts +13 -0
  7. package/declarations/components/dropdown.d.ts +2 -2
  8. package/declarations/components/forms/forms.d.ts +414 -23
  9. package/declarations/components/index.d.ts +1 -0
  10. package/declarations/components/listbox.d.ts +5 -0
  11. package/declarations/components/popover.d.ts +2 -2
  12. package/declarations/components/progress-bar.d.ts +15 -0
  13. package/declarations/components/skeleton.d.ts +149 -0
  14. package/declarations/components/spinner.d.ts +5 -0
  15. package/declarations/components/table.d.ts +6 -0
  16. package/declarations/plugin/default-config.d.ts +8 -32
  17. package/dist/colors.js +1 -1
  18. package/dist/config-CDp8PRHs.js +370 -0
  19. package/dist/config-CDp8PRHs.js.map +1 -0
  20. package/dist/{forms-legacy-B-L2HELt.js → forms-legacy-BxJS2xFC.js} +364 -173
  21. package/dist/forms-legacy-BxJS2xFC.js.map +1 -0
  22. package/dist/index.css +31 -3
  23. package/dist/index.js +4 -2
  24. package/dist/index.js.map +1 -1
  25. package/dist/plugin.js +10 -6
  26. package/dist/plugin.js.map +1 -1
  27. package/dist/styles/font-faces.css +52 -8
  28. package/dist/styles/typography.css +213 -117
  29. package/package.json +8 -5
  30. package/public/fonts/domine-variable.woff2 +0 -0
  31. package/public/fonts/open-sans-italic-variable.woff2 +0 -0
  32. package/public/fonts/open-sans-variable.woff2 +0 -0
  33. package/public/fonts/source-code-pro-italic-variable.woff2 +0 -0
  34. package/public/fonts/source-code-pro-variable.woff2 +0 -0
  35. package/src/index.css +31 -3
  36. package/src/styles/font-faces.css +52 -8
  37. package/src/styles/typography.css +213 -117
  38. package/dist/config-4CswsBlg.js +0 -342
  39. package/dist/config-4CswsBlg.js.map +0 -1
  40. package/dist/config-B3XkEtHW.js +0 -377
  41. package/dist/config-B3XkEtHW.js.map +0 -1
  42. package/dist/config-BpWBpuzR.js +0 -335
  43. package/dist/config-BpWBpuzR.js.map +0 -1
  44. package/dist/config-Cle59Y4k.js +0 -523
  45. package/dist/config-Cle59Y4k.js.map +0 -1
  46. package/dist/config-D0EoeVzn.js +0 -388
  47. package/dist/config-D0EoeVzn.js.map +0 -1
  48. package/dist/config-DBAavoE2.js +0 -336
  49. package/dist/config-DBAavoE2.js.map +0 -1
  50. package/dist/config-Oysuq2Z9.js +0 -341
  51. package/dist/config-Oysuq2Z9.js.map +0 -1
  52. package/dist/config-PYki2g7N.js +0 -335
  53. package/dist/config-PYki2g7N.js.map +0 -1
  54. package/dist/forms-legacy-15iy0KmK.js +0 -1851
  55. package/dist/forms-legacy-15iy0KmK.js.map +0 -1
  56. package/dist/forms-legacy-B-L2HELt.js.map +0 -1
  57. package/dist/forms-legacy-BMIAioRi.js +0 -1807
  58. package/dist/forms-legacy-BMIAioRi.js.map +0 -1
  59. package/dist/forms-legacy-B_EygtyK.js +0 -1763
  60. package/dist/forms-legacy-B_EygtyK.js.map +0 -1
  61. package/dist/forms-legacy-Bg_UoLDR.js +0 -1763
  62. package/dist/forms-legacy-Bg_UoLDR.js.map +0 -1
  63. package/dist/forms-legacy-CVLZ-9BG.js +0 -1804
  64. package/dist/forms-legacy-CVLZ-9BG.js.map +0 -1
  65. package/dist/forms-legacy-CuFc3hcn.js +0 -1807
  66. package/dist/forms-legacy-CuFc3hcn.js.map +0 -1
  67. package/dist/forms-legacy-DiKImAli.js +0 -1809
  68. package/dist/forms-legacy-DiKImAli.js.map +0 -1
  69. package/dist/forms-legacy-edWQVbZP.js +0 -1809
  70. package/dist/forms-legacy-edWQVbZP.js.map +0 -1
  71. package/dist/semantic-DUv6Lpqq.js +0 -218
  72. package/dist/semantic-DUv6Lpqq.js.map +0 -1
  73. package/public/fonts/stix-two-text-italic-variable.woff2 +0 -0
  74. package/public/fonts/stix-two-text-variable.woff2 +0 -0
@@ -0,0 +1,149 @@
1
+ import { type VariantProps } from '../tw';
2
+ declare const skeleton: import("tailwind-variants").TVReturnType<{
3
+ shape: {
4
+ text: string;
5
+ circle: string;
6
+ square: string;
7
+ rounded: string;
8
+ rect: string;
9
+ };
10
+ size: {
11
+ xs: string;
12
+ sm: string;
13
+ md: string;
14
+ lg: string;
15
+ xl: string;
16
+ };
17
+ animation: {
18
+ shimmer: string[];
19
+ pulse: string[];
20
+ none: string[];
21
+ };
22
+ }, undefined, string[], {
23
+ responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
24
+ size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
25
+ shape?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
26
+ animation?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
27
+ } | undefined;
28
+ } & import("tailwind-variants/dist/config.js").TWMConfig & {
29
+ twMerge: true;
30
+ twMergeConfig: {
31
+ readonly extend: {
32
+ readonly classGroups: {
33
+ readonly 'icon-size': readonly [{
34
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
35
+ }];
36
+ readonly 'border-w': readonly [{
37
+ readonly border: readonly ["thin", "heavy", "aggressive"];
38
+ }];
39
+ readonly rounded: readonly [{
40
+ readonly rounded: readonly ["default", "pill"];
41
+ }];
42
+ readonly shadow: readonly [{
43
+ readonly 'shadow-elevation': string[];
44
+ }];
45
+ readonly opacity: readonly [{
46
+ readonly opacity: readonly ["hover", "disabled"];
47
+ }];
48
+ readonly 'font-size': readonly [{
49
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
50
+ }, {
51
+ readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
52
+ }, {
53
+ readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
54
+ }, {
55
+ readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
56
+ }, {
57
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
58
+ }, {
59
+ readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
60
+ }];
61
+ };
62
+ readonly conflictingClassGroups: {
63
+ readonly 'icon-size': readonly ["w", "h", "size"];
64
+ };
65
+ };
66
+ };
67
+ }, {
68
+ shape: {
69
+ text: string;
70
+ circle: string;
71
+ square: string;
72
+ rounded: string;
73
+ rect: string;
74
+ };
75
+ size: {
76
+ xs: string;
77
+ sm: string;
78
+ md: string;
79
+ lg: string;
80
+ xl: string;
81
+ };
82
+ animation: {
83
+ shimmer: string[];
84
+ pulse: string[];
85
+ none: string[];
86
+ };
87
+ }, undefined, import("tailwind-variants").TVReturnType<{
88
+ shape: {
89
+ text: string;
90
+ circle: string;
91
+ square: string;
92
+ rounded: string;
93
+ rect: string;
94
+ };
95
+ size: {
96
+ xs: string;
97
+ sm: string;
98
+ md: string;
99
+ lg: string;
100
+ xl: string;
101
+ };
102
+ animation: {
103
+ shimmer: string[];
104
+ pulse: string[];
105
+ none: string[];
106
+ };
107
+ }, undefined, string[], import("tailwind-variants/dist/config.js").TVConfig<{
108
+ shape: {
109
+ text: string;
110
+ circle: string;
111
+ square: string;
112
+ rounded: string;
113
+ rect: string;
114
+ };
115
+ size: {
116
+ xs: string;
117
+ sm: string;
118
+ md: string;
119
+ lg: string;
120
+ xl: string;
121
+ };
122
+ animation: {
123
+ shimmer: string[];
124
+ pulse: string[];
125
+ none: string[];
126
+ };
127
+ }, {
128
+ shape: {
129
+ text: string;
130
+ circle: string;
131
+ square: string;
132
+ rounded: string;
133
+ rect: string;
134
+ };
135
+ size: {
136
+ xs: string;
137
+ sm: string;
138
+ md: string;
139
+ lg: string;
140
+ xl: string;
141
+ };
142
+ animation: {
143
+ shimmer: string[];
144
+ pulse: string[];
145
+ none: string[];
146
+ };
147
+ }>, unknown, unknown, undefined>>;
148
+ export type SkeletonVariants = VariantProps<typeof skeleton>;
149
+ export { skeleton };
@@ -10,6 +10,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
10
10
  intent: {
11
11
  default: string;
12
12
  primary: string;
13
+ accent: string;
13
14
  success: string;
14
15
  warning: string;
15
16
  danger: string;
@@ -69,6 +70,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
69
70
  intent: {
70
71
  default: string;
71
72
  primary: string;
73
+ accent: string;
72
74
  success: string;
73
75
  warning: string;
74
76
  danger: string;
@@ -84,6 +86,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
84
86
  intent: {
85
87
  default: string;
86
88
  primary: string;
89
+ accent: string;
87
90
  success: string;
88
91
  warning: string;
89
92
  danger: string;
@@ -99,6 +102,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
99
102
  intent: {
100
103
  default: string;
101
104
  primary: string;
105
+ accent: string;
102
106
  success: string;
103
107
  warning: string;
104
108
  danger: string;
@@ -114,6 +118,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
114
118
  intent: {
115
119
  default: string;
116
120
  primary: string;
121
+ accent: string;
117
122
  success: string;
118
123
  warning: string;
119
124
  danger: string;
@@ -82,6 +82,8 @@ declare const table: import("tailwind-variants").TVReturnType<{
82
82
  columnVisibilityIcon: string[];
83
83
  td: string[];
84
84
  empty: string[];
85
+ skeleton: string[];
86
+ skeletonRow: string[];
85
87
  }, undefined, {
86
88
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
87
89
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
@@ -218,6 +220,8 @@ declare const table: import("tailwind-variants").TVReturnType<{
218
220
  columnVisibilityIcon: string[];
219
221
  td: string[];
220
222
  empty: string[];
223
+ skeleton: string[];
224
+ skeletonRow: string[];
221
225
  }, import("tailwind-variants").TVReturnType<{
222
226
  size: {
223
227
  sm: {
@@ -301,6 +305,8 @@ declare const table: import("tailwind-variants").TVReturnType<{
301
305
  columnVisibilityIcon: string[];
302
306
  td: string[];
303
307
  empty: string[];
308
+ skeleton: string[];
309
+ skeletonRow: string[];
304
310
  }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
305
311
  size: {
306
312
  sm: {
@@ -5,32 +5,20 @@ declare const defaultConfig: {
5
5
  light: {
6
6
  colors: {
7
7
  neutral: import("../colors").SemanticColorCategory;
8
- brand: import("../colors").SemanticColorCategory;
8
+ primary: import("../colors").SemanticColorCategory;
9
9
  accent: import("../colors").SemanticColorCategory;
10
10
  success: import("../colors").SemanticColorCategory;
11
11
  warning: import("../colors").SemanticColorCategory;
12
12
  danger: import("../colors").SemanticColorCategory;
13
13
  surface: import("../colors").SurfaceColors;
14
14
  'on-neutral'?: import("../colors").OnColorCategory;
15
- 'on-brand'?: import("../colors").OnColorCategory;
15
+ 'on-primary'?: import("../colors").OnColorCategory;
16
16
  'on-accent'?: import("../colors").OnColorCategory;
17
17
  'on-success'?: import("../colors").OnColorCategory;
18
18
  'on-warning'?: import("../colors").OnColorCategory;
19
19
  'on-danger'?: import("../colors").OnColorCategory;
20
- 'on-surface-solid'?: {
21
- 0?: string;
22
- 1?: string;
23
- 2?: string;
24
- 3?: string;
25
- 4?: string;
26
- 5?: string;
27
- 6?: string;
28
- 7?: string;
29
- 8?: string;
30
- 9?: string;
31
- 10?: string;
32
- 11?: string;
33
- };
20
+ 'on-surface-modal'?: string;
21
+ background: import("../colors").ColorScale;
34
22
  divider: import("../colors").ColorScale;
35
23
  focus: import("../colors").ColorScale;
36
24
  };
@@ -39,32 +27,20 @@ declare const defaultConfig: {
39
27
  dark: {
40
28
  colors: {
41
29
  neutral: import("../colors").SemanticColorCategory;
42
- brand: import("../colors").SemanticColorCategory;
30
+ primary: import("../colors").SemanticColorCategory;
43
31
  accent: import("../colors").SemanticColorCategory;
44
32
  success: import("../colors").SemanticColorCategory;
45
33
  warning: import("../colors").SemanticColorCategory;
46
34
  danger: import("../colors").SemanticColorCategory;
47
35
  surface: import("../colors").SurfaceColors;
48
36
  'on-neutral'?: import("../colors").OnColorCategory;
49
- 'on-brand'?: import("../colors").OnColorCategory;
37
+ 'on-primary'?: import("../colors").OnColorCategory;
50
38
  'on-accent'?: import("../colors").OnColorCategory;
51
39
  'on-success'?: import("../colors").OnColorCategory;
52
40
  'on-warning'?: import("../colors").OnColorCategory;
53
41
  'on-danger'?: import("../colors").OnColorCategory;
54
- 'on-surface-solid'?: {
55
- 0?: string;
56
- 1?: string;
57
- 2?: string;
58
- 3?: string;
59
- 4?: string;
60
- 5?: string;
61
- 6?: string;
62
- 7?: string;
63
- 8?: string;
64
- 9?: string;
65
- 10?: string;
66
- 11?: string;
67
- };
42
+ 'on-surface-modal'?: string;
43
+ background: import("../colors").ColorScale;
68
44
  divider: import("../colors").ColorScale;
69
45
  focus: import("../colors").ColorScale;
70
46
  };
package/dist/colors.js CHANGED
@@ -1,2 +1,2 @@
1
- export { b as blue, g as gray, a as green, o as orange, p as pink, r as red, s as semanticColors, t as teal, v as violet, y as yellow } from './config-Cle59Y4k.js';
1
+ export { b as blue, g as gray, a as green, o as orange, p as pink, r as red, s as semanticColors, t as teal, v as violet, y as yellow } from './config-CDp8PRHs.js';
2
2
  //# sourceMappingURL=colors.js.map
@@ -0,0 +1,370 @@
1
+ /**
2
+ * Frontile Color Palette
3
+ *
4
+ * Theme-independent color scales.
5
+ */
6
+
7
+ const gray = {
8
+ '50': '#f8f8f8',
9
+ '100': '#ececec',
10
+ '200': '#dddcdc',
11
+ '300': '#c9c8c7',
12
+ '400': '#b1afad',
13
+ '500': '#94918f',
14
+ '600': '#74706d',
15
+ '700': '#554f4b',
16
+ '800': '#39332e',
17
+ '900': '#241c17',
18
+ '950': '#140b06'
19
+ };
20
+ const blue = {
21
+ '50': '#f9fcff',
22
+ '100': '#f1f7ff',
23
+ '200': '#d2e6ff',
24
+ '300': '#95c4ff',
25
+ '400': '#4a8ee7',
26
+ '500': '#2259a6',
27
+ '600': '#053273',
28
+ '700': '#001b4e',
29
+ '800': '#000e38',
30
+ '900': '#00072d',
31
+ '950': '#020825'
32
+ };
33
+ const green = {
34
+ '50': '#f7ffeb',
35
+ '100': '#e6ffbc',
36
+ '200': '#d1ff8c',
37
+ '300': '#bbff60',
38
+ '400': '#a3fa3a',
39
+ '500': '#66e221',
40
+ '600': '#2fc511',
41
+ '700': '#07a20a',
42
+ '800': '#027b1b',
43
+ '900': '#005321',
44
+ '950': '#002e1b'
45
+ };
46
+ const orange = {
47
+ '50': '#fff3e9',
48
+ '100': '#ffd6b9',
49
+ '200': '#ffb686',
50
+ '300': '#ff914d',
51
+ '400': '#ef7125',
52
+ '500': '#d95503',
53
+ '600': '#bc3e00',
54
+ '700': '#9e2800',
55
+ '800': '#7f1301',
56
+ '900': '#600102',
57
+ '950': '#3e0004'
58
+ };
59
+ const pink = {
60
+ '50': '#fefafc',
61
+ '100': '#ffebf4',
62
+ '200': '#ffcee4',
63
+ '300': '#fca8cc',
64
+ '400': '#f17bad',
65
+ '500': '#e1458a',
66
+ '600': '#c10566',
67
+ '700': '#920147',
68
+ '800': '#69002d',
69
+ '900': '#4a011c',
70
+ '950': '#390011'
71
+ };
72
+ const red = {
73
+ '50': '#ffedea',
74
+ '100': '#ffcbc2',
75
+ '200': '#ffa697',
76
+ '300': '#fe7d69',
77
+ '400': '#ff432e',
78
+ '500': '#e51701',
79
+ '600': '#bf1201',
80
+ '700': '#9a0d01',
81
+ '800': '#760700',
82
+ '900': '#550400',
83
+ '950': '#360100'
84
+ };
85
+ const teal = {
86
+ '50': '#0768731a',
87
+ '100': '#c6f5f4',
88
+ '200': '#7ce0e1',
89
+ '300': '#47c1c7',
90
+ '400': '#26a0aa',
91
+ '500': '#12828e',
92
+ '600': '#076873',
93
+ '700': '#01525c',
94
+ '800': '#003f48',
95
+ '900': '#003138',
96
+ '950': '#00262c'
97
+ };
98
+ const violet = {
99
+ '50': '#fcfbff',
100
+ '100': '#f0e8ff',
101
+ '200': '#dfd0ff',
102
+ '300': '#c8b6f6',
103
+ '400': '#ac98e7',
104
+ '500': '#8d78d4',
105
+ '600': '#6d55bf',
106
+ '700': '#4f30aa',
107
+ '800': '#370191',
108
+ '900': '#23016a',
109
+ '950': '#170054'
110
+ };
111
+ const yellow = {
112
+ '50': '#faffe9',
113
+ '100': '#f9ffcc',
114
+ '200': '#fffb12',
115
+ '300': '#faea2b',
116
+ '400': '#eed434',
117
+ '500': '#d9ba34',
118
+ '600': '#be9b2e',
119
+ '700': '#9b7923',
120
+ '800': '#745512',
121
+ '900': '#493001',
122
+ '950': '#1c0e00'
123
+ };
124
+
125
+ /**
126
+ * Frontile Absolute Color Palette
127
+ *
128
+ * Absolute OKLCH colors that remain constant across light/dark themes.
129
+ */
130
+
131
+ const black = '#000000';
132
+ const white = '#ffffff';
133
+
134
+ /**
135
+ * Frontile Semantic Colors
136
+ *
137
+ * Semantic color mappings for light and dark themes.
138
+ */
139
+
140
+ const themeColorsLight = {
141
+ neutral: {
142
+ subtle: `${gray['500']}1a`,
143
+ // palette.gray['500'] @ 10%
144
+ muted: `${gray['400']}33`,
145
+ // palette.gray['400'] @ 20%
146
+ soft: gray['200'],
147
+ DEFAULT: gray['500'],
148
+ firm: gray['600'],
149
+ strong: gray['700'],
150
+ bolder: gray['800']
151
+ },
152
+ primary: {
153
+ subtle: `${teal['600']}1a`,
154
+ // palette.teal['600'] @ 10% — bg-tonal
155
+ muted: `${teal['600']}33`,
156
+ // palette.teal['600'] @ 20%
157
+ soft: teal['400'],
158
+ // bg-hover (lightens)
159
+ DEFAULT: teal['600'],
160
+ firm: teal['900'],
161
+ // bg-pressed (darkens)
162
+ strong: teal['600'],
163
+ // text (= bg-rest for primary)
164
+ bolder: teal['900'] // text-strong (= bg-pressed for primary)
165
+ },
166
+ accent: {
167
+ subtle: `${violet['600']}1a`,
168
+ // palette.violet['600'] @ 10%
169
+ muted: `${violet['600']}33`,
170
+ // palette.violet['600'] @ 20%
171
+ soft: violet['500'],
172
+ // bg-hover
173
+ DEFAULT: violet['600'],
174
+ firm: violet['800'],
175
+ // bg-pressed
176
+ strong: violet['700'],
177
+ // text
178
+ bolder: violet['900'] // text-strong
179
+ },
180
+ success: {
181
+ subtle: `${green['400']}1a`,
182
+ // palette.green['400'] @ 10%
183
+ muted: `${green['400']}33`,
184
+ // palette.green['400'] @ 20%
185
+ soft: green['300'],
186
+ // bg-hover
187
+ DEFAULT: green['400'],
188
+ firm: green['500'],
189
+ // bg-pressed
190
+ strong: green['800'],
191
+ // text (darker than bg-rest for legibility)
192
+ bolder: green['900'] // text-strong
193
+ },
194
+ warning: {
195
+ subtle: `${orange['300']}1a`,
196
+ // palette.orange['300'] @ 10%
197
+ muted: `${orange['300']}33`,
198
+ // palette.orange['300'] @ 20%
199
+ soft: orange['200'],
200
+ // bg-hover
201
+ DEFAULT: orange['300'],
202
+ firm: orange['400'],
203
+ // bg-pressed
204
+ strong: orange['600'],
205
+ // text (darker than bg-rest for legibility)
206
+ bolder: orange['900'] // text-strong
207
+ },
208
+ danger: {
209
+ subtle: `${red['600']}1a`,
210
+ // palette.red['600'] @ 10%
211
+ muted: `${red['600']}33`,
212
+ // palette.red['600'] @ 20%
213
+ soft: red['500'],
214
+ // bg-hover (lightens too)
215
+ DEFAULT: red['600'],
216
+ firm: red['700'],
217
+ // bg-pressed
218
+ strong: red['600'],
219
+ // text (= bg-rest for danger)
220
+ bolder: red['900'] // text-strong
221
+ },
222
+ surface: {
223
+ overlay: {
224
+ subtle: `${black}05`,
225
+ // absolute.black @ 2%
226
+ soft: `${black}0a`,
227
+ // absolute.black @ 4%
228
+ medium: `${black}12`,
229
+ // absolute.black @ 7%
230
+ strong: `${black}1c`,
231
+ // absolute.black @ 11%
232
+ scrim: `${black}bf` // absolute.black @ 75%, scheme-invariant
233
+ },
234
+ app: white,
235
+ canvas: gray['50'],
236
+ card: `${white}e6`,
237
+ // absolute.white @ 90%
238
+ input: white,
239
+ modal: white
240
+ }
241
+ };
242
+ const themeColorsDark = {
243
+ neutral: {
244
+ subtle: gray['900'],
245
+ muted: gray['800'],
246
+ soft: gray['700'],
247
+ DEFAULT: gray['600'],
248
+ firm: gray['500'],
249
+ strong: gray['300'],
250
+ bolder: gray['200']
251
+ },
252
+ primary: {
253
+ subtle: `${teal['300']}29`,
254
+ // palette.teal['300'] @ 16% — bg-tonal
255
+ muted: `${teal['300']}59`,
256
+ // palette.teal['300'] @ 35%
257
+ soft: teal['500'],
258
+ // bg-hover (darkens)
259
+ DEFAULT: teal['300'],
260
+ firm: teal['100'],
261
+ // bg-pressed (flashes light)
262
+ strong: teal['300'],
263
+ // text (= bg-rest for primary)
264
+ bolder: teal['100'] // text-strong (= bg-pressed for primary)
265
+ },
266
+ accent: {
267
+ subtle: `${violet['300']}29`,
268
+ // palette.violet['300'] @ 16%
269
+ muted: `${violet['300']}59`,
270
+ // palette.violet['300'] @ 35%
271
+ soft: violet['500'],
272
+ // bg-hover
273
+ DEFAULT: violet['300'],
274
+ firm: violet['800'],
275
+ // bg-pressed (presses deep, unlike primary's flash)
276
+ strong: violet['300'],
277
+ // text
278
+ bolder: violet['100'] // text-strong
279
+ },
280
+ success: {
281
+ subtle: `${green['400']}29`,
282
+ // palette.green['400'] @ 16%
283
+ muted: `${green['400']}59`,
284
+ // palette.green['400'] @ 35%
285
+ soft: green['700'],
286
+ // bg-hover (darkens)
287
+ DEFAULT: green['400'],
288
+ firm: green['900'],
289
+ // bg-pressed
290
+ strong: green['300'],
291
+ // text
292
+ bolder: green['100'] // text-strong
293
+ },
294
+ warning: {
295
+ subtle: `${orange['300']}29`,
296
+ // palette.orange['300'] @ 16%
297
+ muted: `${orange['300']}59`,
298
+ // palette.orange['300'] @ 35%
299
+ soft: orange['500'],
300
+ // bg-hover (darkens)
301
+ DEFAULT: orange['300'],
302
+ firm: orange['700'],
303
+ // bg-pressed
304
+ strong: orange['300'],
305
+ // text (= bg-rest)
306
+ bolder: orange['100'] // text-strong
307
+ },
308
+ danger: {
309
+ subtle: `${red['400']}29`,
310
+ // palette.red['400'] @ 16%
311
+ muted: `${red['400']}59`,
312
+ // palette.red['400'] @ 35%
313
+ soft: red['500'],
314
+ // bg-hover
315
+ DEFAULT: red['400'],
316
+ firm: red['700'],
317
+ // bg-pressed
318
+ strong: red['300'],
319
+ // text
320
+ bolder: red['100'] // text-strong
321
+ },
322
+ surface: {
323
+ overlay: {
324
+ subtle: `${white}08`,
325
+ // absolute.white @ 3%
326
+ soft: `${white}0f`,
327
+ // absolute.white @ 6%
328
+ medium: `${white}26`,
329
+ // absolute.white @ 15%
330
+ strong: `${white}3d`,
331
+ // absolute.white @ 24%
332
+ scrim: `${black}bf` // absolute.black @ 75%
333
+ },
334
+ app: black,
335
+ canvas: gray['950'],
336
+ card: gray['900'],
337
+ input: black,
338
+ modal: black
339
+ }
340
+ };
341
+ var tokens = {
342
+ light: themeColorsLight,
343
+ dark: themeColorsDark
344
+ };
345
+
346
+ const base = {
347
+ light: {
348
+ background: 'var(--color-surface-app)',
349
+ focus: 'var(--color-primary-muted)',
350
+ divider: 'rgba(17, 17, 17, 0.15)'
351
+ },
352
+ dark: {
353
+ background: 'var(--color-surface-app)',
354
+ focus: 'var(--color-primary-muted)',
355
+ divider: 'rgba(255, 255, 255, 0.15)'
356
+ }
357
+ };
358
+ const semanticColors = {
359
+ light: {
360
+ ...base.light,
361
+ ...tokens.light
362
+ },
363
+ dark: {
364
+ ...base.dark,
365
+ ...tokens.dark
366
+ }
367
+ };
368
+
369
+ export { green as a, blue as b, black as c, gray as g, orange as o, pink as p, red as r, semanticColors as s, teal as t, violet as v, white as w, yellow as y };
370
+ //# sourceMappingURL=config-CDp8PRHs.js.map