@marianmeres/design-tokens 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/old-glory.css +191 -0
- package/dist/themes/mod.d.ts +3 -1
- package/dist/themes/mod.js +5 -0
- package/dist/themes/old-glory.d.ts +4 -0
- package/dist/themes/old-glory.js +118 -0
- package/package.json +1 -1
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
2
|
+
:root {
|
|
3
|
+
--stuic-color-primary: #dc2626;
|
|
4
|
+
--stuic-color-primary-hover: color-mix(in oklab, var(--stuic-color-primary), black 10%);
|
|
5
|
+
--stuic-color-primary-active: color-mix(in oklab, var(--stuic-color-primary), black 20%);
|
|
6
|
+
--stuic-color-primary-foreground: #ffffff;
|
|
7
|
+
--stuic-color-primary-foreground-hover: #ffffff;
|
|
8
|
+
--stuic-color-primary-foreground-active: #ffffff;
|
|
9
|
+
|
|
10
|
+
--stuic-color-accent: #312e81;
|
|
11
|
+
--stuic-color-accent-hover: color-mix(in oklab, var(--stuic-color-accent), black 10%);
|
|
12
|
+
--stuic-color-accent-active: color-mix(in oklab, var(--stuic-color-accent), black 20%);
|
|
13
|
+
--stuic-color-accent-foreground: #ffffff;
|
|
14
|
+
--stuic-color-accent-foreground-hover: #ffffff;
|
|
15
|
+
--stuic-color-accent-foreground-active: #ffffff;
|
|
16
|
+
|
|
17
|
+
--stuic-color-destructive: #dc2626;
|
|
18
|
+
--stuic-color-destructive-hover: color-mix(in oklab, var(--stuic-color-destructive), black 10%);
|
|
19
|
+
--stuic-color-destructive-active: color-mix(in oklab, var(--stuic-color-destructive), black 20%);
|
|
20
|
+
--stuic-color-destructive-foreground: #ffffff;
|
|
21
|
+
--stuic-color-destructive-foreground-hover: #ffffff;
|
|
22
|
+
--stuic-color-destructive-foreground-active: #ffffff;
|
|
23
|
+
|
|
24
|
+
--stuic-color-warning: #f59e0b;
|
|
25
|
+
--stuic-color-warning-hover: color-mix(in oklab, var(--stuic-color-warning), black 10%);
|
|
26
|
+
--stuic-color-warning-active: color-mix(in oklab, var(--stuic-color-warning), black 20%);
|
|
27
|
+
--stuic-color-warning-foreground: #ffffff;
|
|
28
|
+
--stuic-color-warning-foreground-hover: #ffffff;
|
|
29
|
+
--stuic-color-warning-foreground-active: #ffffff;
|
|
30
|
+
|
|
31
|
+
--stuic-color-success: #059669;
|
|
32
|
+
--stuic-color-success-hover: color-mix(in oklab, var(--stuic-color-success), black 10%);
|
|
33
|
+
--stuic-color-success-active: color-mix(in oklab, var(--stuic-color-success), black 20%);
|
|
34
|
+
--stuic-color-success-foreground: #ffffff;
|
|
35
|
+
--stuic-color-success-foreground-hover: #ffffff;
|
|
36
|
+
--stuic-color-success-foreground-active: #ffffff;
|
|
37
|
+
|
|
38
|
+
--stuic-color-surface-primary: color-mix(in srgb, var(--stuic-color-primary) 15%, var(--stuic-color-background));
|
|
39
|
+
--stuic-color-surface-primary-foreground: color-mix(in srgb, var(--stuic-color-primary), black 50%);
|
|
40
|
+
--stuic-color-surface-primary-border: color-mix(in srgb, var(--stuic-color-primary) 30%, var(--stuic-color-background));
|
|
41
|
+
--stuic-color-surface-accent: color-mix(in srgb, var(--stuic-color-accent) 15%, var(--stuic-color-background));
|
|
42
|
+
--stuic-color-surface-accent-foreground: color-mix(in srgb, var(--stuic-color-accent), black 50%);
|
|
43
|
+
--stuic-color-surface-accent-border: color-mix(in srgb, var(--stuic-color-accent) 30%, var(--stuic-color-background));
|
|
44
|
+
--stuic-color-surface-destructive: color-mix(in srgb, var(--stuic-color-destructive) 15%, var(--stuic-color-background));
|
|
45
|
+
--stuic-color-surface-destructive-foreground: color-mix(in srgb, var(--stuic-color-destructive), black 50%);
|
|
46
|
+
--stuic-color-surface-destructive-border: color-mix(in srgb, var(--stuic-color-destructive) 30%, var(--stuic-color-background));
|
|
47
|
+
--stuic-color-surface-warning: color-mix(in srgb, var(--stuic-color-warning) 15%, var(--stuic-color-background));
|
|
48
|
+
--stuic-color-surface-warning-foreground: color-mix(in srgb, var(--stuic-color-warning), black 50%);
|
|
49
|
+
--stuic-color-surface-warning-border: color-mix(in srgb, var(--stuic-color-warning) 30%, var(--stuic-color-background));
|
|
50
|
+
--stuic-color-surface-success: color-mix(in srgb, var(--stuic-color-success) 15%, var(--stuic-color-background));
|
|
51
|
+
--stuic-color-surface-success-foreground: color-mix(in srgb, var(--stuic-color-success), black 50%);
|
|
52
|
+
--stuic-color-surface-success-border: color-mix(in srgb, var(--stuic-color-success) 30%, var(--stuic-color-background));
|
|
53
|
+
--stuic-color-surface: #e2e8f0;
|
|
54
|
+
--stuic-color-surface-hover: color-mix(in oklab, var(--stuic-color-surface), var(--stuic-color-foreground) 10%);
|
|
55
|
+
--stuic-color-surface-active: color-mix(in oklab, var(--stuic-color-surface), var(--stuic-color-foreground) 20%);
|
|
56
|
+
--stuic-color-surface-foreground: #0f172a;
|
|
57
|
+
--stuic-color-surface-foreground-hover: #0f172a;
|
|
58
|
+
--stuic-color-surface-foreground-active: #0f172a;
|
|
59
|
+
--stuic-color-surface-1: #cbd5e1;
|
|
60
|
+
--stuic-color-surface-1-hover: color-mix(in oklab, var(--stuic-color-surface-1), var(--stuic-color-foreground) 10%);
|
|
61
|
+
--stuic-color-surface-1-active: color-mix(in oklab, var(--stuic-color-surface-1), var(--stuic-color-foreground) 20%);
|
|
62
|
+
--stuic-color-surface-1-foreground: #0f172a;
|
|
63
|
+
--stuic-color-surface-1-foreground-hover: #0f172a;
|
|
64
|
+
--stuic-color-surface-1-foreground-active: #0f172a;
|
|
65
|
+
|
|
66
|
+
--stuic-color-background: #ffffff;
|
|
67
|
+
--stuic-color-background-hover: #ffffff;
|
|
68
|
+
--stuic-color-background-active: #ffffff;
|
|
69
|
+
--stuic-color-background-foreground: #0f172a;
|
|
70
|
+
--stuic-color-background-foreground-hover: #0f172a;
|
|
71
|
+
--stuic-color-background-foreground-active: #0f172a;
|
|
72
|
+
|
|
73
|
+
--stuic-color-muted: #f1f5f9;
|
|
74
|
+
--stuic-color-muted-hover: color-mix(in oklab, var(--stuic-color-muted), var(--stuic-color-foreground) 10%);
|
|
75
|
+
--stuic-color-muted-active: color-mix(in oklab, var(--stuic-color-muted), var(--stuic-color-foreground) 20%);
|
|
76
|
+
--stuic-color-muted-foreground: #64748b;
|
|
77
|
+
--stuic-color-muted-foreground-hover: #64748b;
|
|
78
|
+
--stuic-color-muted-foreground-active: #64748b;
|
|
79
|
+
|
|
80
|
+
--stuic-color-foreground: #0f172a;
|
|
81
|
+
--stuic-color-foreground-hover: #0f172a;
|
|
82
|
+
--stuic-color-foreground-active: #0f172a;
|
|
83
|
+
|
|
84
|
+
--stuic-color-border: #cbd5e1;
|
|
85
|
+
--stuic-color-border-hover: color-mix(in oklab, var(--stuic-color-border), var(--stuic-color-foreground) 10%);
|
|
86
|
+
--stuic-color-border-active: color-mix(in oklab, var(--stuic-color-border), var(--stuic-color-foreground) 20%);
|
|
87
|
+
|
|
88
|
+
--stuic-color-input: #ffffff;
|
|
89
|
+
--stuic-color-input-hover: #f8fafc;
|
|
90
|
+
--stuic-color-input-active: color-mix(in oklab, var(--stuic-color-input), var(--stuic-color-foreground) 20%);
|
|
91
|
+
|
|
92
|
+
--stuic-color-ring: color-mix(in srgb, #dc2626 20%, transparent);
|
|
93
|
+
--stuic-color-ring-hover: color-mix(in srgb, #dc2626 20%, transparent);
|
|
94
|
+
--stuic-color-ring-active: color-mix(in srgb, #dc2626 20%, transparent);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* prettier-ignore */
|
|
98
|
+
:root.dark {
|
|
99
|
+
--stuic-color-primary: #ef4444;
|
|
100
|
+
--stuic-color-primary-hover: color-mix(in oklab, var(--stuic-color-primary), white 10%);
|
|
101
|
+
--stuic-color-primary-active: color-mix(in oklab, var(--stuic-color-primary), white 20%);
|
|
102
|
+
--stuic-color-primary-foreground: #ffffff;
|
|
103
|
+
--stuic-color-primary-foreground-hover: #ffffff;
|
|
104
|
+
--stuic-color-primary-foreground-active: #ffffff;
|
|
105
|
+
|
|
106
|
+
--stuic-color-accent: #3730a3;
|
|
107
|
+
--stuic-color-accent-hover: color-mix(in oklab, var(--stuic-color-accent), white 10%);
|
|
108
|
+
--stuic-color-accent-active: color-mix(in oklab, var(--stuic-color-accent), white 20%);
|
|
109
|
+
--stuic-color-accent-foreground: #ffffff;
|
|
110
|
+
--stuic-color-accent-foreground-hover: #ffffff;
|
|
111
|
+
--stuic-color-accent-foreground-active: #ffffff;
|
|
112
|
+
|
|
113
|
+
--stuic-color-destructive: #ef4444;
|
|
114
|
+
--stuic-color-destructive-hover: color-mix(in oklab, var(--stuic-color-destructive), white 10%);
|
|
115
|
+
--stuic-color-destructive-active: color-mix(in oklab, var(--stuic-color-destructive), white 20%);
|
|
116
|
+
--stuic-color-destructive-foreground: #ffffff;
|
|
117
|
+
--stuic-color-destructive-foreground-hover: #ffffff;
|
|
118
|
+
--stuic-color-destructive-foreground-active: #ffffff;
|
|
119
|
+
|
|
120
|
+
--stuic-color-warning: #fbbf24;
|
|
121
|
+
--stuic-color-warning-hover: color-mix(in oklab, var(--stuic-color-warning), white 10%);
|
|
122
|
+
--stuic-color-warning-active: color-mix(in oklab, var(--stuic-color-warning), white 20%);
|
|
123
|
+
--stuic-color-warning-foreground: #000000;
|
|
124
|
+
--stuic-color-warning-foreground-hover: #000000;
|
|
125
|
+
--stuic-color-warning-foreground-active: #000000;
|
|
126
|
+
|
|
127
|
+
--stuic-color-success: #10b981;
|
|
128
|
+
--stuic-color-success-hover: color-mix(in oklab, var(--stuic-color-success), white 10%);
|
|
129
|
+
--stuic-color-success-active: color-mix(in oklab, var(--stuic-color-success), white 20%);
|
|
130
|
+
--stuic-color-success-foreground: #000000;
|
|
131
|
+
--stuic-color-success-foreground-hover: #000000;
|
|
132
|
+
--stuic-color-success-foreground-active: #000000;
|
|
133
|
+
|
|
134
|
+
--stuic-color-surface-primary: color-mix(in srgb, var(--stuic-color-primary) 15%, var(--stuic-color-background));
|
|
135
|
+
--stuic-color-surface-primary-foreground: color-mix(in srgb, var(--stuic-color-primary), white 50%);
|
|
136
|
+
--stuic-color-surface-primary-border: color-mix(in srgb, var(--stuic-color-primary) 30%, var(--stuic-color-background));
|
|
137
|
+
--stuic-color-surface-accent: color-mix(in srgb, var(--stuic-color-accent) 15%, var(--stuic-color-background));
|
|
138
|
+
--stuic-color-surface-accent-foreground: color-mix(in srgb, var(--stuic-color-accent), white 50%);
|
|
139
|
+
--stuic-color-surface-accent-border: color-mix(in srgb, var(--stuic-color-accent) 30%, var(--stuic-color-background));
|
|
140
|
+
--stuic-color-surface-destructive: color-mix(in srgb, var(--stuic-color-destructive) 15%, var(--stuic-color-background));
|
|
141
|
+
--stuic-color-surface-destructive-foreground: color-mix(in srgb, var(--stuic-color-destructive), white 50%);
|
|
142
|
+
--stuic-color-surface-destructive-border: color-mix(in srgb, var(--stuic-color-destructive) 30%, var(--stuic-color-background));
|
|
143
|
+
--stuic-color-surface-warning: color-mix(in srgb, var(--stuic-color-warning) 15%, var(--stuic-color-background));
|
|
144
|
+
--stuic-color-surface-warning-foreground: color-mix(in srgb, var(--stuic-color-warning), white 50%);
|
|
145
|
+
--stuic-color-surface-warning-border: color-mix(in srgb, var(--stuic-color-warning) 30%, var(--stuic-color-background));
|
|
146
|
+
--stuic-color-surface-success: color-mix(in srgb, var(--stuic-color-success) 15%, var(--stuic-color-background));
|
|
147
|
+
--stuic-color-surface-success-foreground: color-mix(in srgb, var(--stuic-color-success), white 50%);
|
|
148
|
+
--stuic-color-surface-success-border: color-mix(in srgb, var(--stuic-color-success) 30%, var(--stuic-color-background));
|
|
149
|
+
--stuic-color-surface: #334155;
|
|
150
|
+
--stuic-color-surface-hover: color-mix(in oklab, var(--stuic-color-surface), var(--stuic-color-foreground) 10%);
|
|
151
|
+
--stuic-color-surface-active: color-mix(in oklab, var(--stuic-color-surface), var(--stuic-color-foreground) 20%);
|
|
152
|
+
--stuic-color-surface-foreground: #cbd5e1;
|
|
153
|
+
--stuic-color-surface-foreground-hover: #cbd5e1;
|
|
154
|
+
--stuic-color-surface-foreground-active: #cbd5e1;
|
|
155
|
+
--stuic-color-surface-1: #475569;
|
|
156
|
+
--stuic-color-surface-1-hover: color-mix(in oklab, var(--stuic-color-surface-1), var(--stuic-color-foreground) 10%);
|
|
157
|
+
--stuic-color-surface-1-active: color-mix(in oklab, var(--stuic-color-surface-1), var(--stuic-color-foreground) 20%);
|
|
158
|
+
--stuic-color-surface-1-foreground: #e2e8f0;
|
|
159
|
+
--stuic-color-surface-1-foreground-hover: #e2e8f0;
|
|
160
|
+
--stuic-color-surface-1-foreground-active: #e2e8f0;
|
|
161
|
+
|
|
162
|
+
--stuic-color-background: #0f172a;
|
|
163
|
+
--stuic-color-background-hover: #0f172a;
|
|
164
|
+
--stuic-color-background-active: #0f172a;
|
|
165
|
+
--stuic-color-background-foreground: #f8fafc;
|
|
166
|
+
--stuic-color-background-foreground-hover: #f8fafc;
|
|
167
|
+
--stuic-color-background-foreground-active: #f8fafc;
|
|
168
|
+
|
|
169
|
+
--stuic-color-muted: #1e293b;
|
|
170
|
+
--stuic-color-muted-hover: color-mix(in oklab, var(--stuic-color-muted), var(--stuic-color-foreground) 10%);
|
|
171
|
+
--stuic-color-muted-active: color-mix(in oklab, var(--stuic-color-muted), var(--stuic-color-foreground) 20%);
|
|
172
|
+
--stuic-color-muted-foreground: #94a3b8;
|
|
173
|
+
--stuic-color-muted-foreground-hover: #94a3b8;
|
|
174
|
+
--stuic-color-muted-foreground-active: #94a3b8;
|
|
175
|
+
|
|
176
|
+
--stuic-color-foreground: #f8fafc;
|
|
177
|
+
--stuic-color-foreground-hover: #f8fafc;
|
|
178
|
+
--stuic-color-foreground-active: #f8fafc;
|
|
179
|
+
|
|
180
|
+
--stuic-color-border: #334155;
|
|
181
|
+
--stuic-color-border-hover: color-mix(in oklab, var(--stuic-color-border), var(--stuic-color-foreground) 10%);
|
|
182
|
+
--stuic-color-border-active: color-mix(in oklab, var(--stuic-color-border), var(--stuic-color-foreground) 20%);
|
|
183
|
+
|
|
184
|
+
--stuic-color-input: #0f172a;
|
|
185
|
+
--stuic-color-input-hover: #1e293b;
|
|
186
|
+
--stuic-color-input-active: color-mix(in oklab, var(--stuic-color-input), var(--stuic-color-foreground) 20%);
|
|
187
|
+
|
|
188
|
+
--stuic-color-ring: color-mix(in srgb, #f87171 25%, transparent);
|
|
189
|
+
--stuic-color-ring-hover: color-mix(in srgb, #f87171 25%, transparent);
|
|
190
|
+
--stuic-color-ring-active: color-mix(in srgb, #f87171 25%, transparent);
|
|
191
|
+
}
|
package/dist/themes/mod.d.ts
CHANGED
|
@@ -56,6 +56,8 @@ export { default as monokaiGreen } from "./monokai-green.js";
|
|
|
56
56
|
export { default as monokaiPink } from "./monokai-pink.js";
|
|
57
57
|
/** Fuchsia primary / cyan accent — lilac haze light surfaces, deep-space indigo dark. */
|
|
58
58
|
export { default as nebula } from "./nebula.js";
|
|
59
|
+
/** Red primary / navy accent / slate base — American flag (Old Glory red, white & blue). */
|
|
60
|
+
export { default as oldGlory } from "./old-glory.js";
|
|
59
61
|
/** Warm yellow-grey olive monochrome theme. */
|
|
60
62
|
export { default as olive } from "./olive.js";
|
|
61
63
|
/** Olive primary / amber accent safari theme — earthy warmth with golden highlights. */
|
|
@@ -111,7 +113,7 @@ export { default as watermelon } from "./watermelon.js";
|
|
|
111
113
|
/** Neutral zinc monochrome theme. */
|
|
112
114
|
export { default as zinc } from "./zinc.js";
|
|
113
115
|
/** Kebab-case theme names matching the generated CSS filenames (without extension). */
|
|
114
|
-
export declare const themeNames: readonly ["amber-olive-safari", "blue-orange", "cyan-red", "cyan-slate", "disco", "electric-lemonade", "emerald-amber-forest", "emerald-pink", "fuchsia-emerald", "gray", "hummingbird", "indigo-amber", "lime-fuchsia-neon", "mauve", "mauve-lime-electric", "mauve-teal", "mist", "mist-indigo-fjord", "mist-violet-aurora", "monokai-cyan", "monokai-green", "monokai-pink", "nebula", "olive", "olive-amber-safari", "orange-pink-sunset", "peacock", "pink-emerald", "pink-teal", "purple-yellow", "rainbow", "red-blue", "red-cyan", "red-sky", "red-sky-slate", "rose-teal", "sky-amber", "slate-cyan", "slate-teal-ocean", "stone", "stone-orange-earth", "taupe", "taupe-olive-clay", "taupe-rose-blush", "teal-rose", "velvet", "violet-lime", "violet-rose-dusk", "watermelon", "zinc"];
|
|
116
|
+
export declare const themeNames: readonly ["amber-olive-safari", "blue-orange", "cyan-red", "cyan-slate", "disco", "electric-lemonade", "emerald-amber-forest", "emerald-pink", "fuchsia-emerald", "gray", "hummingbird", "indigo-amber", "lime-fuchsia-neon", "mauve", "mauve-lime-electric", "mauve-teal", "mist", "mist-indigo-fjord", "mist-violet-aurora", "monokai-cyan", "monokai-green", "monokai-pink", "nebula", "old-glory", "olive", "olive-amber-safari", "orange-pink-sunset", "peacock", "pink-emerald", "pink-teal", "purple-yellow", "rainbow", "red-blue", "red-cyan", "red-sky", "red-sky-slate", "rose-teal", "sky-amber", "slate-cyan", "slate-teal-ocean", "stone", "stone-orange-earth", "taupe", "taupe-olive-clay", "taupe-rose-blush", "teal-rose", "velvet", "violet-lime", "violet-rose-dusk", "watermelon", "zinc"];
|
|
115
117
|
/** Map of all bundled themes keyed by camelCase name. Safe to iterate. */
|
|
116
118
|
export declare const bundledThemes: Readonly<Record<string, ThemeSchema>>;
|
|
117
119
|
/** All bundled theme names (camelCase). */
|
package/dist/themes/mod.js
CHANGED
|
@@ -45,6 +45,8 @@ export { default as monokaiGreen } from "./monokai-green.js";
|
|
|
45
45
|
export { default as monokaiPink } from "./monokai-pink.js";
|
|
46
46
|
/** Fuchsia primary / cyan accent — lilac haze light surfaces, deep-space indigo dark. */
|
|
47
47
|
export { default as nebula } from "./nebula.js";
|
|
48
|
+
/** Red primary / navy accent / slate base — American flag (Old Glory red, white & blue). */
|
|
49
|
+
export { default as oldGlory } from "./old-glory.js";
|
|
48
50
|
/** Warm yellow-grey olive monochrome theme. */
|
|
49
51
|
export { default as olive } from "./olive.js";
|
|
50
52
|
/** Olive primary / amber accent safari theme — earthy warmth with golden highlights. */
|
|
@@ -122,6 +124,7 @@ import monokaiCyan_ from "./monokai-cyan.js";
|
|
|
122
124
|
import monokaiGreen_ from "./monokai-green.js";
|
|
123
125
|
import monokaiPink_ from "./monokai-pink.js";
|
|
124
126
|
import nebula_ from "./nebula.js";
|
|
127
|
+
import oldGlory_ from "./old-glory.js";
|
|
125
128
|
import olive_ from "./olive.js";
|
|
126
129
|
import oliveAmberSafari_ from "./olive-amber-safari.js";
|
|
127
130
|
import orangePinkSunset_ from "./orange-pink-sunset.js";
|
|
@@ -174,6 +177,7 @@ export const themeNames = [
|
|
|
174
177
|
"monokai-green",
|
|
175
178
|
"monokai-pink",
|
|
176
179
|
"nebula",
|
|
180
|
+
"old-glory",
|
|
177
181
|
"olive",
|
|
178
182
|
"olive-amber-safari",
|
|
179
183
|
"orange-pink-sunset",
|
|
@@ -227,6 +231,7 @@ export const bundledThemes = {
|
|
|
227
231
|
monokaiGreen: monokaiGreen_,
|
|
228
232
|
monokaiPink: monokaiPink_,
|
|
229
233
|
nebula: nebula_,
|
|
234
|
+
oldGlory: oldGlory_,
|
|
230
235
|
olive: olive_,
|
|
231
236
|
oliveAmberSafari: oliveAmberSafari_,
|
|
232
237
|
orangePinkSunset: orangePinkSunset_,
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { colors } from "../colors.js";
|
|
2
|
+
const light = {
|
|
3
|
+
colors: {
|
|
4
|
+
intent: {
|
|
5
|
+
primary: {
|
|
6
|
+
DEFAULT: colors.red[600],
|
|
7
|
+
foreground: colors.white,
|
|
8
|
+
},
|
|
9
|
+
accent: {
|
|
10
|
+
DEFAULT: colors.indigo[900],
|
|
11
|
+
foreground: colors.white,
|
|
12
|
+
},
|
|
13
|
+
destructive: {
|
|
14
|
+
DEFAULT: colors.red[600],
|
|
15
|
+
foreground: colors.white,
|
|
16
|
+
},
|
|
17
|
+
warning: {
|
|
18
|
+
DEFAULT: colors.amber[500],
|
|
19
|
+
foreground: colors.white,
|
|
20
|
+
},
|
|
21
|
+
success: {
|
|
22
|
+
DEFAULT: colors.emerald[600],
|
|
23
|
+
foreground: colors.white,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
role: {
|
|
27
|
+
paired: {
|
|
28
|
+
background: {
|
|
29
|
+
DEFAULT: colors.white,
|
|
30
|
+
foreground: colors.slate[900],
|
|
31
|
+
},
|
|
32
|
+
muted: {
|
|
33
|
+
DEFAULT: colors.slate[100],
|
|
34
|
+
foreground: colors.slate[500],
|
|
35
|
+
},
|
|
36
|
+
surface: {
|
|
37
|
+
DEFAULT: colors.slate[200],
|
|
38
|
+
foreground: colors.slate[900],
|
|
39
|
+
},
|
|
40
|
+
"surface-1": {
|
|
41
|
+
DEFAULT: colors.slate[300],
|
|
42
|
+
foreground: colors.slate[900],
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
single: {
|
|
46
|
+
foreground: colors.slate[900],
|
|
47
|
+
border: {
|
|
48
|
+
DEFAULT: colors.slate[300],
|
|
49
|
+
},
|
|
50
|
+
input: {
|
|
51
|
+
DEFAULT: colors.white,
|
|
52
|
+
hover: colors.slate[50],
|
|
53
|
+
},
|
|
54
|
+
ring: `color-mix(in srgb, ${colors.red[600]} 20%, transparent)`,
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
const dark = {
|
|
60
|
+
colors: {
|
|
61
|
+
intent: {
|
|
62
|
+
primary: {
|
|
63
|
+
DEFAULT: colors.red[500],
|
|
64
|
+
foreground: colors.white,
|
|
65
|
+
},
|
|
66
|
+
accent: {
|
|
67
|
+
DEFAULT: colors.indigo[800],
|
|
68
|
+
foreground: colors.white,
|
|
69
|
+
},
|
|
70
|
+
destructive: {
|
|
71
|
+
DEFAULT: colors.red[500],
|
|
72
|
+
foreground: colors.white,
|
|
73
|
+
},
|
|
74
|
+
warning: {
|
|
75
|
+
DEFAULT: colors.amber[400],
|
|
76
|
+
foreground: colors.black,
|
|
77
|
+
},
|
|
78
|
+
success: {
|
|
79
|
+
DEFAULT: colors.emerald[500],
|
|
80
|
+
foreground: colors.black,
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
role: {
|
|
84
|
+
paired: {
|
|
85
|
+
background: {
|
|
86
|
+
DEFAULT: colors.slate[900],
|
|
87
|
+
foreground: colors.slate[50],
|
|
88
|
+
},
|
|
89
|
+
muted: {
|
|
90
|
+
DEFAULT: colors.slate[800],
|
|
91
|
+
foreground: colors.slate[400],
|
|
92
|
+
},
|
|
93
|
+
surface: {
|
|
94
|
+
DEFAULT: colors.slate[700],
|
|
95
|
+
foreground: colors.slate[300],
|
|
96
|
+
},
|
|
97
|
+
"surface-1": {
|
|
98
|
+
DEFAULT: colors.slate[600],
|
|
99
|
+
foreground: colors.slate[200],
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
single: {
|
|
103
|
+
foreground: colors.slate[50],
|
|
104
|
+
border: {
|
|
105
|
+
DEFAULT: colors.slate[700],
|
|
106
|
+
},
|
|
107
|
+
input: {
|
|
108
|
+
DEFAULT: colors.slate[900],
|
|
109
|
+
hover: colors.slate[800],
|
|
110
|
+
},
|
|
111
|
+
ring: `color-mix(in srgb, ${colors.red[400]} 25%, transparent)`,
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
};
|
|
116
|
+
const theme = { light, dark };
|
|
117
|
+
/** Red primary / navy accent / slate base — American flag (Old Glory red, white & blue). */
|
|
118
|
+
export default theme;
|