doom-design-system 0.2.1 → 0.3.1
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/components/ActionRow/ActionRow.module.css +1 -0
- package/dist/components/Alert/Alert.module.css +2 -2
- package/dist/components/Button/Button.module.css +5 -2
- package/dist/components/Checkbox/Checkbox.module.css +1 -1
- package/dist/components/Drawer/Drawer.d.ts +2 -1
- package/dist/components/Drawer/Drawer.js +2 -2
- package/dist/components/Drawer/Drawer.module.css +74 -8
- package/dist/components/Input/Input.module.css +1 -1
- package/dist/components/Modal/Modal.d.ts +2 -1
- package/dist/components/Modal/Modal.js +4 -2
- package/dist/components/Modal/Modal.module.css +56 -7
- package/dist/components/Select/Select.module.css +1 -1
- package/dist/components/Sheet/Sheet.d.ts +3 -1
- package/dist/components/Sheet/Sheet.js +2 -2
- package/dist/components/Sheet/Sheet.module.css +98 -12
- package/dist/components/Slider/Slider.d.ts +4 -4
- package/dist/components/Slider/Slider.js +46 -9
- package/dist/components/Slider/Slider.module.css +60 -68
- package/dist/components/SplitButton/SplitButton.js +1 -1
- package/dist/components/SplitButton/SplitButton.module.css +7 -2
- package/dist/components/Table/Table.d.ts +4 -4
- package/dist/components/Table/Table.js +40 -41
- package/dist/components/Table/Table.module.css +11 -8
- package/dist/components/Textarea/Textarea.module.css +1 -1
- package/dist/styles/globals.css +19 -0
- package/dist/styles/themes/definitions.d.ts +91 -59
- package/dist/styles/themes/definitions.js +5 -67
- package/dist/styles/tokens.d.ts +171 -0
- package/dist/styles/tokens.js +185 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -2,33 +2,29 @@ export declare const themes: {
|
|
|
2
2
|
readonly default: {
|
|
3
3
|
readonly name: "Default";
|
|
4
4
|
readonly variables: {
|
|
5
|
-
readonly "--background": "#
|
|
5
|
+
readonly "--background": "#f3f4f6";
|
|
6
6
|
readonly "--foreground": "#000000";
|
|
7
7
|
readonly "--card-bg": "#ffffff";
|
|
8
8
|
readonly "--card-border": "#000000";
|
|
9
|
+
readonly "--surface-accent": "#dbeafe";
|
|
9
10
|
readonly "--primary": "#a855f7";
|
|
10
11
|
readonly "--primary-hover": "#9333ea";
|
|
11
12
|
readonly "--primary-foreground": "#000000";
|
|
12
13
|
readonly "--shadow-primary": "#7e22ce";
|
|
13
14
|
readonly "--secondary": "#fbbf24";
|
|
14
15
|
readonly "--secondary-foreground": "#000000";
|
|
15
|
-
readonly "--accent": "#
|
|
16
|
-
readonly "--muted": "#
|
|
17
|
-
readonly "--muted-foreground": "#
|
|
16
|
+
readonly "--accent": "#ef4444";
|
|
17
|
+
readonly "--muted": "#9ca3af";
|
|
18
|
+
readonly "--muted-foreground": "#374151";
|
|
18
19
|
readonly "--success": "#22c55e";
|
|
19
20
|
readonly "--success-foreground": "#000000";
|
|
20
21
|
readonly "--warning": "#f59e0b";
|
|
21
22
|
readonly "--warning-foreground": "#000000";
|
|
22
23
|
readonly "--error": "#ef4444";
|
|
23
24
|
readonly "--error-foreground": "#000000";
|
|
25
|
+
readonly "--on-surface": "#000000";
|
|
26
|
+
readonly "--on-surface-muted": "#374151";
|
|
24
27
|
readonly "--shadow-error": "#b91c1c";
|
|
25
|
-
readonly "--border-width": "3px";
|
|
26
|
-
readonly "--radius": "8px";
|
|
27
|
-
readonly "--shadow-hard": "5px 5px 0px 0px #000000";
|
|
28
|
-
readonly "--shadow-hover": "7px 7px 0px 0px #000000";
|
|
29
|
-
readonly "--font-heading": "var(--font-montserrat)";
|
|
30
|
-
readonly "--heading-transform": "uppercase";
|
|
31
|
-
readonly "--heading-weight": "900";
|
|
32
28
|
readonly "--text-xs": string;
|
|
33
29
|
readonly "--text-sm": string;
|
|
34
30
|
readonly "--text-base": string;
|
|
@@ -59,6 +55,8 @@ export declare const themes: {
|
|
|
59
55
|
readonly "--z-header": string;
|
|
60
56
|
readonly "--z-dropdown": string;
|
|
61
57
|
readonly "--z-modal": string;
|
|
58
|
+
readonly "--z-overlay": string;
|
|
59
|
+
readonly "--z-drawer": string;
|
|
62
60
|
readonly "--z-tooltip": string;
|
|
63
61
|
readonly "--duration-fast": string;
|
|
64
62
|
readonly "--duration-normal": string;
|
|
@@ -75,6 +73,16 @@ export declare const themes: {
|
|
|
75
73
|
readonly "--size-icon-md": string;
|
|
76
74
|
readonly "--size-icon-lg": string;
|
|
77
75
|
readonly "--size-touch-target": string;
|
|
76
|
+
readonly "--common-black": "#000000";
|
|
77
|
+
readonly "--common-white": "#ffffff";
|
|
78
|
+
readonly "--border-strong": "#000000";
|
|
79
|
+
readonly "--border-width": string;
|
|
80
|
+
readonly "--radius": string;
|
|
81
|
+
readonly "--shadow-hard": string;
|
|
82
|
+
readonly "--shadow-hover": string;
|
|
83
|
+
readonly "--font-heading": string;
|
|
84
|
+
readonly "--heading-transform": string;
|
|
85
|
+
readonly "--heading-weight": string;
|
|
78
86
|
readonly "--shadow-sm": string;
|
|
79
87
|
readonly "--shadow-sm-hover": string;
|
|
80
88
|
readonly "--shadow-sm-checked": string;
|
|
@@ -89,29 +97,25 @@ export declare const themes: {
|
|
|
89
97
|
readonly "--foreground": "#e2e8f0";
|
|
90
98
|
readonly "--card-bg": "#0f172a";
|
|
91
99
|
readonly "--card-border": "#1e293b";
|
|
100
|
+
readonly "--surface-accent": "#0f172a";
|
|
92
101
|
readonly "--primary": "#10b981";
|
|
93
102
|
readonly "--primary-hover": "#059669";
|
|
94
103
|
readonly "--primary-foreground": "#020617";
|
|
95
104
|
readonly "--shadow-primary": "#000000";
|
|
96
|
-
readonly "--secondary": "#
|
|
97
|
-
readonly "--secondary-foreground": "#
|
|
98
|
-
readonly "--accent": "#
|
|
105
|
+
readonly "--secondary": "#475569";
|
|
106
|
+
readonly "--secondary-foreground": "#F8FAFC";
|
|
107
|
+
readonly "--accent": "#ef4444";
|
|
99
108
|
readonly "--muted": "#64748b";
|
|
100
109
|
readonly "--muted-foreground": "#94a3b8";
|
|
101
110
|
readonly "--success": "#10b981";
|
|
102
111
|
readonly "--success-foreground": "#020617";
|
|
103
|
-
readonly "--warning": "#
|
|
112
|
+
readonly "--warning": "#f59e0b";
|
|
104
113
|
readonly "--warning-foreground": "#020617";
|
|
105
114
|
readonly "--error": "#ef4444";
|
|
106
115
|
readonly "--error-foreground": "#000000";
|
|
116
|
+
readonly "--on-surface": "#e2e8f0";
|
|
117
|
+
readonly "--on-surface-muted": "#94a3b8";
|
|
107
118
|
readonly "--shadow-error": "#000000";
|
|
108
|
-
readonly "--border-width": "2px";
|
|
109
|
-
readonly "--radius": "2px";
|
|
110
|
-
readonly "--shadow-hard": "5px 5px 0px 0px #000000";
|
|
111
|
-
readonly "--shadow-hover": "7px 7px 0px 0px #000000";
|
|
112
|
-
readonly "--font-heading": "var(--font-montserrat)";
|
|
113
|
-
readonly "--heading-transform": "uppercase";
|
|
114
|
-
readonly "--heading-weight": "700";
|
|
115
119
|
readonly "--text-xs": string;
|
|
116
120
|
readonly "--text-sm": string;
|
|
117
121
|
readonly "--text-base": string;
|
|
@@ -142,6 +146,8 @@ export declare const themes: {
|
|
|
142
146
|
readonly "--z-header": string;
|
|
143
147
|
readonly "--z-dropdown": string;
|
|
144
148
|
readonly "--z-modal": string;
|
|
149
|
+
readonly "--z-overlay": string;
|
|
150
|
+
readonly "--z-drawer": string;
|
|
145
151
|
readonly "--z-tooltip": string;
|
|
146
152
|
readonly "--duration-fast": string;
|
|
147
153
|
readonly "--duration-normal": string;
|
|
@@ -158,6 +164,16 @@ export declare const themes: {
|
|
|
158
164
|
readonly "--size-icon-md": string;
|
|
159
165
|
readonly "--size-icon-lg": string;
|
|
160
166
|
readonly "--size-touch-target": string;
|
|
167
|
+
readonly "--common-black": "#000000";
|
|
168
|
+
readonly "--common-white": "#ffffff";
|
|
169
|
+
readonly "--border-strong": "#000000";
|
|
170
|
+
readonly "--border-width": string;
|
|
171
|
+
readonly "--radius": string;
|
|
172
|
+
readonly "--shadow-hard": string;
|
|
173
|
+
readonly "--shadow-hover": string;
|
|
174
|
+
readonly "--font-heading": string;
|
|
175
|
+
readonly "--heading-transform": string;
|
|
176
|
+
readonly "--heading-weight": string;
|
|
161
177
|
readonly "--shadow-sm": string;
|
|
162
178
|
readonly "--shadow-sm-hover": string;
|
|
163
179
|
readonly "--shadow-sm-checked": string;
|
|
@@ -169,32 +185,29 @@ export declare const themes: {
|
|
|
169
185
|
readonly name: "THE CAPTAIN";
|
|
170
186
|
readonly variables: {
|
|
171
187
|
readonly "--background": "#F8FAFC";
|
|
172
|
-
readonly "--foreground": "#
|
|
173
|
-
readonly "--card-bg": "#
|
|
174
|
-
readonly "--card-border": "#
|
|
175
|
-
readonly "--
|
|
176
|
-
readonly "--primary
|
|
177
|
-
readonly "--primary-
|
|
178
|
-
readonly "--
|
|
179
|
-
readonly "--
|
|
180
|
-
readonly "--secondary
|
|
181
|
-
readonly "--
|
|
182
|
-
readonly "--
|
|
188
|
+
readonly "--foreground": "#0f172a";
|
|
189
|
+
readonly "--card-bg": "#ffffff";
|
|
190
|
+
readonly "--card-border": "#000000";
|
|
191
|
+
readonly "--surface-accent": "#f1f5f9";
|
|
192
|
+
readonly "--primary": "#2563eb";
|
|
193
|
+
readonly "--primary-hover": "#1d4ed8";
|
|
194
|
+
readonly "--primary-foreground": "#ffffff";
|
|
195
|
+
readonly "--shadow-primary": "#1e40af";
|
|
196
|
+
readonly "--secondary": "#64748b";
|
|
197
|
+
readonly "--secondary-foreground": "#ffffff";
|
|
198
|
+
readonly "--accent": "#b91c1c";
|
|
199
|
+
readonly "--muted": "#94a3b8";
|
|
183
200
|
readonly "--muted-foreground": "#475569";
|
|
184
|
-
readonly "--success": "#
|
|
185
|
-
readonly "--success-foreground": "#
|
|
186
|
-
readonly "--warning": "#
|
|
187
|
-
readonly "--warning-foreground": "#
|
|
188
|
-
readonly "--error": "#
|
|
189
|
-
readonly "--error-foreground": "#
|
|
190
|
-
readonly "--
|
|
191
|
-
readonly "--
|
|
192
|
-
readonly "--
|
|
193
|
-
readonly "--
|
|
194
|
-
readonly "--shadow-hover": "8px 8px 0px 0px #0F172A";
|
|
195
|
-
readonly "--font-heading": "var(--font-montserrat)";
|
|
196
|
-
readonly "--heading-transform": "uppercase";
|
|
197
|
-
readonly "--heading-weight": "900";
|
|
201
|
+
readonly "--success": "#10b981";
|
|
202
|
+
readonly "--success-foreground": "#ffffff";
|
|
203
|
+
readonly "--warning": "#F7B731";
|
|
204
|
+
readonly "--warning-foreground": "#0F1419";
|
|
205
|
+
readonly "--error": "#b91c1c";
|
|
206
|
+
readonly "--error-foreground": "#ffffff";
|
|
207
|
+
readonly "--on-surface": "#0f172a";
|
|
208
|
+
readonly "--on-surface-muted": "#475569";
|
|
209
|
+
readonly "--shadow-error": "#991b1b";
|
|
210
|
+
readonly "--border-strong": "#0f172a";
|
|
198
211
|
readonly "--text-xs": string;
|
|
199
212
|
readonly "--text-sm": string;
|
|
200
213
|
readonly "--text-base": string;
|
|
@@ -225,6 +238,8 @@ export declare const themes: {
|
|
|
225
238
|
readonly "--z-header": string;
|
|
226
239
|
readonly "--z-dropdown": string;
|
|
227
240
|
readonly "--z-modal": string;
|
|
241
|
+
readonly "--z-overlay": string;
|
|
242
|
+
readonly "--z-drawer": string;
|
|
228
243
|
readonly "--z-tooltip": string;
|
|
229
244
|
readonly "--duration-fast": string;
|
|
230
245
|
readonly "--duration-normal": string;
|
|
@@ -241,6 +256,15 @@ export declare const themes: {
|
|
|
241
256
|
readonly "--size-icon-md": string;
|
|
242
257
|
readonly "--size-icon-lg": string;
|
|
243
258
|
readonly "--size-touch-target": string;
|
|
259
|
+
readonly "--common-black": "#000000";
|
|
260
|
+
readonly "--common-white": "#ffffff";
|
|
261
|
+
readonly "--border-width": string;
|
|
262
|
+
readonly "--radius": string;
|
|
263
|
+
readonly "--shadow-hard": string;
|
|
264
|
+
readonly "--shadow-hover": string;
|
|
265
|
+
readonly "--font-heading": string;
|
|
266
|
+
readonly "--heading-transform": string;
|
|
267
|
+
readonly "--heading-weight": string;
|
|
244
268
|
readonly "--shadow-sm": string;
|
|
245
269
|
readonly "--shadow-sm-hover": string;
|
|
246
270
|
readonly "--shadow-sm-checked": string;
|
|
@@ -255,29 +279,25 @@ export declare const themes: {
|
|
|
255
279
|
readonly "--foreground": "#E8E9ED";
|
|
256
280
|
readonly "--card-bg": "#1A1F29";
|
|
257
281
|
readonly "--card-border": "#2D3748";
|
|
282
|
+
readonly "--surface-accent": "#111827";
|
|
258
283
|
readonly "--primary": "#F7B731";
|
|
259
284
|
readonly "--primary-hover": "#F5A623";
|
|
260
285
|
readonly "--primary-foreground": "#0F1419";
|
|
261
286
|
readonly "--shadow-primary": "#000000";
|
|
262
|
-
readonly "--secondary": "#
|
|
287
|
+
readonly "--secondary": "#4b5563";
|
|
263
288
|
readonly "--secondary-foreground": "#E8E9ED";
|
|
264
289
|
readonly "--accent": "#3B82F6";
|
|
265
|
-
readonly "--muted": "#
|
|
266
|
-
readonly "--muted-foreground": "#
|
|
267
|
-
readonly "--success": "#
|
|
290
|
+
readonly "--muted": "#6b7280";
|
|
291
|
+
readonly "--muted-foreground": "#9ca3af";
|
|
292
|
+
readonly "--success": "#4ade80";
|
|
268
293
|
readonly "--success-foreground": "#0F1419";
|
|
269
|
-
readonly "--warning": "#
|
|
294
|
+
readonly "--warning": "#F5A623";
|
|
270
295
|
readonly "--warning-foreground": "#0F1419";
|
|
271
296
|
readonly "--error": "#F56565";
|
|
272
297
|
readonly "--error-foreground": "#000000";
|
|
298
|
+
readonly "--on-surface": "#E8E9ED";
|
|
299
|
+
readonly "--on-surface-muted": "#9ca3af";
|
|
273
300
|
readonly "--shadow-error": "#000000";
|
|
274
|
-
readonly "--border-width": "2px";
|
|
275
|
-
readonly "--radius": "6px";
|
|
276
|
-
readonly "--shadow-hard": "5px 5px 0px 0px #000000";
|
|
277
|
-
readonly "--shadow-hover": "7px 7px 0px 0px #000000";
|
|
278
|
-
readonly "--font-heading": "var(--font-montserrat)";
|
|
279
|
-
readonly "--heading-transform": "uppercase";
|
|
280
|
-
readonly "--heading-weight": "700";
|
|
281
301
|
readonly "--text-xs": string;
|
|
282
302
|
readonly "--text-sm": string;
|
|
283
303
|
readonly "--text-base": string;
|
|
@@ -308,6 +328,8 @@ export declare const themes: {
|
|
|
308
328
|
readonly "--z-header": string;
|
|
309
329
|
readonly "--z-dropdown": string;
|
|
310
330
|
readonly "--z-modal": string;
|
|
331
|
+
readonly "--z-overlay": string;
|
|
332
|
+
readonly "--z-drawer": string;
|
|
311
333
|
readonly "--z-tooltip": string;
|
|
312
334
|
readonly "--duration-fast": string;
|
|
313
335
|
readonly "--duration-normal": string;
|
|
@@ -324,6 +346,16 @@ export declare const themes: {
|
|
|
324
346
|
readonly "--size-icon-md": string;
|
|
325
347
|
readonly "--size-icon-lg": string;
|
|
326
348
|
readonly "--size-touch-target": string;
|
|
349
|
+
readonly "--common-black": "#000000";
|
|
350
|
+
readonly "--common-white": "#ffffff";
|
|
351
|
+
readonly "--border-strong": "#000000";
|
|
352
|
+
readonly "--border-width": string;
|
|
353
|
+
readonly "--radius": string;
|
|
354
|
+
readonly "--shadow-hard": string;
|
|
355
|
+
readonly "--shadow-hover": string;
|
|
356
|
+
readonly "--font-heading": string;
|
|
357
|
+
readonly "--heading-transform": string;
|
|
358
|
+
readonly "--heading-weight": string;
|
|
327
359
|
readonly "--shadow-sm": string;
|
|
328
360
|
readonly "--shadow-sm-hover": string;
|
|
329
361
|
readonly "--shadow-sm-checked": string;
|
|
@@ -1,81 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
// Typography Scale
|
|
3
|
-
"--text-xs": "0.75rem",
|
|
4
|
-
"--text-sm": "0.875rem",
|
|
5
|
-
"--text-base": "1rem",
|
|
6
|
-
"--text-lg": "1.125rem",
|
|
7
|
-
"--text-xl": "1.25rem",
|
|
8
|
-
"--text-2xl": "1.5rem",
|
|
9
|
-
"--text-3xl": "1.875rem",
|
|
10
|
-
"--text-4xl": "2.25rem",
|
|
11
|
-
"--text-5xl": "3rem",
|
|
12
|
-
"--text-6xl": "3.75rem",
|
|
13
|
-
// Font Weights
|
|
14
|
-
"--font-thin": "100",
|
|
15
|
-
"--font-extralight": "200",
|
|
16
|
-
"--font-light": "300",
|
|
17
|
-
"--font-regular": "400",
|
|
18
|
-
"--font-medium": "500",
|
|
19
|
-
"--font-semibold": "600",
|
|
20
|
-
"--font-bold": "700",
|
|
21
|
-
"--font-extrabold": "800",
|
|
22
|
-
"--font-black": "900",
|
|
23
|
-
// Spacing Scale
|
|
24
|
-
"--spacing-xs": "0.25rem",
|
|
25
|
-
"--spacing-sm": "0.5rem",
|
|
26
|
-
"--spacing-md": "1rem",
|
|
27
|
-
"--spacing-lg": "1.5rem",
|
|
28
|
-
"--spacing-xl": "2rem",
|
|
29
|
-
"--spacing-2xl": "3rem",
|
|
30
|
-
// Z-Indices
|
|
31
|
-
"--z-base": "0",
|
|
32
|
-
"--z-elevated": "10",
|
|
33
|
-
"--z-header": "40",
|
|
34
|
-
"--z-dropdown": "50",
|
|
35
|
-
"--z-modal": "100",
|
|
36
|
-
"--z-tooltip": "200",
|
|
37
|
-
// Motion
|
|
38
|
-
"--duration-fast": "150ms",
|
|
39
|
-
"--duration-normal": "250ms",
|
|
40
|
-
"--duration-slow": "350ms",
|
|
41
|
-
"--ease-in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
42
|
-
"--ease-out": "cubic-bezier(0.0, 0, 0.2, 1)",
|
|
43
|
-
"--ease-in": "cubic-bezier(0.4, 0, 1, 1)",
|
|
44
|
-
// Border Radius
|
|
45
|
-
"--radius-pill": "9999px",
|
|
46
|
-
"--radius-full": "50%",
|
|
47
|
-
// Outline
|
|
48
|
-
"--outline-width": "2px",
|
|
49
|
-
"--outline-offset": "2px",
|
|
50
|
-
// Overlay
|
|
51
|
-
"--overlay-opacity": "0.5",
|
|
52
|
-
// Common Sizes
|
|
53
|
-
"--size-icon-sm": "20px",
|
|
54
|
-
"--size-icon-md": "24px",
|
|
55
|
-
"--size-icon-lg": "32px",
|
|
56
|
-
"--size-touch-target": "44px",
|
|
57
|
-
// Shadows (consistent relative to theme colors)
|
|
58
|
-
"--shadow-sm": "2px 2px 0px 0px var(--card-border)",
|
|
59
|
-
"--shadow-sm-hover": "3px 3px 0px 0px var(--card-border)",
|
|
60
|
-
"--shadow-sm-checked": "3px 3px 0px 0px var(--card-border)",
|
|
61
|
-
"--shadow-sm-checked-hover": "4px 4px 0px 0px var(--card-border)",
|
|
62
|
-
"--shadow-lg": "8px 8px 0px 0px var(--card-border)",
|
|
63
|
-
};
|
|
1
|
+
import { palette, baseVariables } from "../tokens.js";
|
|
64
2
|
export const themes = {
|
|
65
3
|
default: {
|
|
66
4
|
name: "Default",
|
|
67
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background":
|
|
5
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.gray[100], "--foreground": palette.common.black, "--card-bg": palette.common.white, "--card-border": palette.common.black, "--surface-accent": palette.blue[100], "--primary": palette.purple[500], "--primary-hover": palette.purple[600], "--primary-foreground": palette.common.black, "--shadow-primary": palette.purple[700], "--secondary": palette.yellow[400], "--secondary-foreground": palette.common.black, "--accent": palette.red[500], "--muted": palette.gray[400], "--muted-foreground": palette.gray[700], "--success": palette.green[500], "--success-foreground": palette.common.black, "--warning": palette.yellow[500], "--warning-foreground": palette.common.black, "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.common.black, "--on-surface-muted": palette.gray[700], "--shadow-error": palette.red[600] }),
|
|
68
6
|
},
|
|
69
7
|
doom: {
|
|
70
8
|
name: "DOOMSDAY",
|
|
71
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background":
|
|
9
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.slate[950], "--foreground": palette.slate[200], "--card-bg": palette.slate[900], "--card-border": palette.slate[800], "--surface-accent": palette.slate[900], "--primary": palette.green[600], "--primary-hover": palette.green[700], "--primary-foreground": palette.slate[950], "--shadow-primary": palette.common.black, "--secondary": palette.slate[600], "--secondary-foreground": palette.slate[50], "--accent": palette.red[500], "--muted": palette.slate[500], "--muted-foreground": palette.slate[400], "--success": palette.green[600], "--success-foreground": palette.slate[950], "--warning": palette.yellow[500], "--warning-foreground": palette.slate[950], "--error": palette.red[500], "--error-foreground": palette.common.black, "--on-surface": palette.slate[200], "--on-surface-muted": palette.slate[400], "--shadow-error": palette.common.black }),
|
|
72
10
|
},
|
|
73
11
|
neighbor: {
|
|
74
12
|
name: "THE CAPTAIN",
|
|
75
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background":
|
|
13
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.slate[50], "--foreground": palette.slate[900], "--card-bg": palette.common.white, "--card-border": palette.common.black, "--surface-accent": palette.slate[100], "--primary": palette.blue[600], "--primary-hover": palette.blue[700], "--primary-foreground": palette.common.white, "--shadow-primary": palette.blue[800], "--secondary": palette.slate[500], "--secondary-foreground": palette.common.white, "--accent": palette.red[600], "--muted": palette.slate[400], "--muted-foreground": palette.slate[600], "--success": palette.green[600], "--success-foreground": palette.common.white, "--warning": palette.yellow[600], "--warning-foreground": palette.gray[950], "--error": palette.red[600], "--error-foreground": palette.common.white, "--on-surface": palette.slate[900], "--on-surface-muted": palette.slate[600], "--shadow-error": palette.red[800], "--border-strong": palette.slate[900] }),
|
|
76
14
|
},
|
|
77
15
|
vigilante: {
|
|
78
16
|
name: "DARK KNIGHT",
|
|
79
|
-
variables: Object.assign(Object.assign({}, baseVariables), { "--background":
|
|
17
|
+
variables: Object.assign(Object.assign({}, baseVariables), { "--background": palette.gray[950], "--foreground": "#E8E9ED", "--card-bg": palette.gray[975], "--card-border": palette.gray[990], "--surface-accent": palette.gray[900], "--primary": palette.yellow[600], "--primary-hover": palette.yellow[700], "--primary-foreground": palette.gray[950], "--shadow-primary": palette.common.black, "--secondary": palette.gray[600], "--secondary-foreground": "#E8E9ED", "--accent": palette.blue[500], "--muted": palette.gray[500], "--muted-foreground": palette.gray[400], "--success": palette.green[400], "--success-foreground": palette.gray[950], "--warning": palette.yellow[700], "--warning-foreground": palette.gray[950], "--error": palette.red[700], "--error-foreground": palette.common.black, "--on-surface": "#E8E9ED", "--on-surface-muted": palette.gray[400], "--shadow-error": palette.common.black }),
|
|
80
18
|
},
|
|
81
19
|
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
export declare const palette: {
|
|
2
|
+
readonly common: {
|
|
3
|
+
readonly black: "#000000";
|
|
4
|
+
readonly white: "#ffffff";
|
|
5
|
+
};
|
|
6
|
+
readonly slate: {
|
|
7
|
+
readonly 50: "#F8FAFC";
|
|
8
|
+
readonly 100: "#f1f5f9";
|
|
9
|
+
readonly 200: "#e2e8f0";
|
|
10
|
+
readonly 300: "#cbd5e1";
|
|
11
|
+
readonly 400: "#94a3b8";
|
|
12
|
+
readonly 500: "#64748b";
|
|
13
|
+
readonly 600: "#475569";
|
|
14
|
+
readonly 700: "#334155";
|
|
15
|
+
readonly 800: "#1e293b";
|
|
16
|
+
readonly 900: "#0f172a";
|
|
17
|
+
readonly 950: "#020617";
|
|
18
|
+
};
|
|
19
|
+
readonly purple: {
|
|
20
|
+
readonly 50: "#faf5ff";
|
|
21
|
+
readonly 100: "#f3e8ff";
|
|
22
|
+
readonly 200: "#e9d5ff";
|
|
23
|
+
readonly 300: "#d8b4fe";
|
|
24
|
+
readonly 400: "#c084fc";
|
|
25
|
+
readonly 500: "#a855f7";
|
|
26
|
+
readonly 600: "#9333ea";
|
|
27
|
+
readonly 700: "#7e22ce";
|
|
28
|
+
readonly 800: "#6b21a8";
|
|
29
|
+
readonly 900: "#581c87";
|
|
30
|
+
};
|
|
31
|
+
readonly navy: {
|
|
32
|
+
readonly 50: "#f0fdfa";
|
|
33
|
+
readonly 100: "#ccfbf1";
|
|
34
|
+
readonly 200: "#99f6e4";
|
|
35
|
+
readonly 300: "#5eead4";
|
|
36
|
+
readonly 400: "#2dd4bf";
|
|
37
|
+
readonly 500: "#002D72";
|
|
38
|
+
readonly 600: "#002D72";
|
|
39
|
+
readonly 700: "#1E3A8A";
|
|
40
|
+
readonly 800: "#001533";
|
|
41
|
+
readonly 900: "#0F172A";
|
|
42
|
+
};
|
|
43
|
+
readonly blue: {
|
|
44
|
+
readonly 50: "#eff6ff";
|
|
45
|
+
readonly 100: "#dbeafe";
|
|
46
|
+
readonly 200: "#bfdbfe";
|
|
47
|
+
readonly 300: "#93c5fd";
|
|
48
|
+
readonly 400: "#60a5fa";
|
|
49
|
+
readonly 500: "#3B82F6";
|
|
50
|
+
readonly 600: "#2563eb";
|
|
51
|
+
readonly 700: "#1d4ed8";
|
|
52
|
+
readonly 800: "#1e40af";
|
|
53
|
+
readonly 900: "#1e3a8a";
|
|
54
|
+
};
|
|
55
|
+
readonly yellow: {
|
|
56
|
+
readonly 50: "#fefce8";
|
|
57
|
+
readonly 100: "#fef9c3";
|
|
58
|
+
readonly 200: "#fde047";
|
|
59
|
+
readonly 300: "#fcd34d";
|
|
60
|
+
readonly 400: "#fbbf24";
|
|
61
|
+
readonly 500: "#f59e0b";
|
|
62
|
+
readonly 600: "#F7B731";
|
|
63
|
+
readonly 700: "#F5A623";
|
|
64
|
+
readonly 800: "#b45309";
|
|
65
|
+
readonly 900: "#78350f";
|
|
66
|
+
};
|
|
67
|
+
readonly green: {
|
|
68
|
+
readonly 50: "#f0fdf4";
|
|
69
|
+
readonly 100: "#dcfce7";
|
|
70
|
+
readonly 200: "#bbf7d0";
|
|
71
|
+
readonly 300: "#86efac";
|
|
72
|
+
readonly 400: "#4ade80";
|
|
73
|
+
readonly 500: "#22c55e";
|
|
74
|
+
readonly 600: "#10b981";
|
|
75
|
+
readonly 700: "#059669";
|
|
76
|
+
readonly 800: "#15803D";
|
|
77
|
+
readonly 900: "#14532d";
|
|
78
|
+
};
|
|
79
|
+
readonly red: {
|
|
80
|
+
readonly 50: "#fef2f2";
|
|
81
|
+
readonly 100: "#fee2e2";
|
|
82
|
+
readonly 200: "#fecaca";
|
|
83
|
+
readonly 300: "#fca5a5";
|
|
84
|
+
readonly 400: "#f87171";
|
|
85
|
+
readonly 500: "#ef4444";
|
|
86
|
+
readonly 600: "#b91c1c";
|
|
87
|
+
readonly 700: "#F56565";
|
|
88
|
+
readonly 800: "#991b1b";
|
|
89
|
+
readonly 900: "#7f1d1d";
|
|
90
|
+
};
|
|
91
|
+
readonly gray: {
|
|
92
|
+
readonly 50: "#f9fafb";
|
|
93
|
+
readonly 100: "#f3f4f6";
|
|
94
|
+
readonly 200: "#e5e7eb";
|
|
95
|
+
readonly 300: "#d1d5db";
|
|
96
|
+
readonly 400: "#9ca3af";
|
|
97
|
+
readonly 500: "#6b7280";
|
|
98
|
+
readonly 600: "#4b5563";
|
|
99
|
+
readonly 700: "#374151";
|
|
100
|
+
readonly 800: "#1f2937";
|
|
101
|
+
readonly 900: "#111827";
|
|
102
|
+
readonly 950: "#0F1419";
|
|
103
|
+
readonly 975: "#1A1F29";
|
|
104
|
+
readonly 990: "#2D3748";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
export declare const baseVariables: {
|
|
108
|
+
"--text-xs": string;
|
|
109
|
+
"--text-sm": string;
|
|
110
|
+
"--text-base": string;
|
|
111
|
+
"--text-lg": string;
|
|
112
|
+
"--text-xl": string;
|
|
113
|
+
"--text-2xl": string;
|
|
114
|
+
"--text-3xl": string;
|
|
115
|
+
"--text-4xl": string;
|
|
116
|
+
"--text-5xl": string;
|
|
117
|
+
"--text-6xl": string;
|
|
118
|
+
"--font-thin": string;
|
|
119
|
+
"--font-extralight": string;
|
|
120
|
+
"--font-light": string;
|
|
121
|
+
"--font-regular": string;
|
|
122
|
+
"--font-medium": string;
|
|
123
|
+
"--font-semibold": string;
|
|
124
|
+
"--font-bold": string;
|
|
125
|
+
"--font-extrabold": string;
|
|
126
|
+
"--font-black": string;
|
|
127
|
+
"--spacing-xs": string;
|
|
128
|
+
"--spacing-sm": string;
|
|
129
|
+
"--spacing-md": string;
|
|
130
|
+
"--spacing-lg": string;
|
|
131
|
+
"--spacing-xl": string;
|
|
132
|
+
"--spacing-2xl": string;
|
|
133
|
+
"--z-base": string;
|
|
134
|
+
"--z-elevated": string;
|
|
135
|
+
"--z-header": string;
|
|
136
|
+
"--z-dropdown": string;
|
|
137
|
+
"--z-modal": string;
|
|
138
|
+
"--z-overlay": string;
|
|
139
|
+
"--z-drawer": string;
|
|
140
|
+
"--z-tooltip": string;
|
|
141
|
+
"--duration-fast": string;
|
|
142
|
+
"--duration-normal": string;
|
|
143
|
+
"--duration-slow": string;
|
|
144
|
+
"--ease-in-out": string;
|
|
145
|
+
"--ease-out": string;
|
|
146
|
+
"--ease-in": string;
|
|
147
|
+
"--radius-pill": string;
|
|
148
|
+
"--radius-full": string;
|
|
149
|
+
"--outline-width": string;
|
|
150
|
+
"--outline-offset": string;
|
|
151
|
+
"--overlay-opacity": string;
|
|
152
|
+
"--size-icon-sm": string;
|
|
153
|
+
"--size-icon-md": string;
|
|
154
|
+
"--size-icon-lg": string;
|
|
155
|
+
"--size-touch-target": string;
|
|
156
|
+
"--common-black": "#000000";
|
|
157
|
+
"--common-white": "#ffffff";
|
|
158
|
+
"--border-strong": "#000000";
|
|
159
|
+
"--border-width": string;
|
|
160
|
+
"--radius": string;
|
|
161
|
+
"--shadow-hard": string;
|
|
162
|
+
"--shadow-hover": string;
|
|
163
|
+
"--font-heading": string;
|
|
164
|
+
"--heading-transform": string;
|
|
165
|
+
"--heading-weight": string;
|
|
166
|
+
"--shadow-sm": string;
|
|
167
|
+
"--shadow-sm-hover": string;
|
|
168
|
+
"--shadow-sm-checked": string;
|
|
169
|
+
"--shadow-sm-checked-hover": string;
|
|
170
|
+
"--shadow-lg": string;
|
|
171
|
+
};
|