@itkeazco/graphite 0.0.0-stage → 1.3.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/CHANGELOG.md +68 -0
- package/README.md +271 -2
- package/bin/graphite.js +94 -0
- package/dist/fonts.css +2 -0
- package/dist/icon-sets/phosphor-bold.json +1 -0
- package/dist/icon-sets/phosphor-light.json +1 -0
- package/dist/icon-sets/phosphor-regular.json +1 -0
- package/dist/icon-sets/tabler.json +1 -0
- package/dist/index.css +5 -0
- package/dist/index.d.ts +658 -0
- package/dist/index.js +2227 -0
- package/dist/layers.css +866 -0
- package/dist/neutrals.css +572 -0
- package/dist/styles.css +655 -0
- package/dist/tokens.css +824 -0
- package/dist/tokens.d.ts +35 -0
- package/dist/tokens.js +2 -0
- package/dist/tokens.json +884 -0
- package/dist/typography.css +26 -0
- package/package.json +90 -4
- package/rules/graphite.mdc +100 -0
package/dist/tokens.css
ADDED
|
@@ -0,0 +1,824 @@
|
|
|
1
|
+
/* Graphite v1.3.0 — design tokens. Generated from docs/tokens.source.json.
|
|
2
|
+
Light is the default. Dark applies with data-theme="dark" or class="dark" on <html>,
|
|
3
|
+
or automatically from the OS unless data-theme="light" / class="light" is set.
|
|
4
|
+
A brand applies only with data-brand="<id>" and does not change the default look.
|
|
5
|
+
Products ship their own brand file; "sample" is an opt-in demo of a primary remap. */
|
|
6
|
+
:root {
|
|
7
|
+
/* Primitives: graphite-* neutrals + Tailwind palette */
|
|
8
|
+
--graphite-50: #fafafa;
|
|
9
|
+
--graphite-100: #f2f2f3;
|
|
10
|
+
--graphite-200: #e6e6e9;
|
|
11
|
+
--graphite-300: #d3d3d7;
|
|
12
|
+
--graphite-400: #a2a2ab;
|
|
13
|
+
--graphite-500: #6a6a73;
|
|
14
|
+
--graphite-600: #52525b;
|
|
15
|
+
--graphite-700: #3d3d43;
|
|
16
|
+
--graphite-800: #2a2a2e;
|
|
17
|
+
--graphite-900: #1c1c1f;
|
|
18
|
+
--graphite-950: #111113;
|
|
19
|
+
--white: #ffffff;
|
|
20
|
+
--black: #000000;
|
|
21
|
+
--slate-50: #f8fafc;
|
|
22
|
+
--slate-100: #f1f5f9;
|
|
23
|
+
--slate-200: #e2e8f0;
|
|
24
|
+
--slate-300: #cbd5e1;
|
|
25
|
+
--slate-400: #94a3b8;
|
|
26
|
+
--slate-500: #64748b;
|
|
27
|
+
--slate-600: #475569;
|
|
28
|
+
--slate-700: #334155;
|
|
29
|
+
--slate-800: #1e293b;
|
|
30
|
+
--slate-900: #0f172a;
|
|
31
|
+
--slate-950: #020617;
|
|
32
|
+
--gray-50: #f9fafb;
|
|
33
|
+
--gray-100: #f3f4f6;
|
|
34
|
+
--gray-200: #e5e7eb;
|
|
35
|
+
--gray-300: #d1d5db;
|
|
36
|
+
--gray-400: #9ca3af;
|
|
37
|
+
--gray-500: #6b7280;
|
|
38
|
+
--gray-600: #4b5563;
|
|
39
|
+
--gray-700: #374151;
|
|
40
|
+
--gray-800: #1f2937;
|
|
41
|
+
--gray-900: #111827;
|
|
42
|
+
--gray-950: #030712;
|
|
43
|
+
--zinc-50: #fafafa;
|
|
44
|
+
--zinc-100: #f4f4f5;
|
|
45
|
+
--zinc-200: #e4e4e7;
|
|
46
|
+
--zinc-300: #d4d4d8;
|
|
47
|
+
--zinc-400: #a1a1aa;
|
|
48
|
+
--zinc-500: #71717a;
|
|
49
|
+
--zinc-600: #52525b;
|
|
50
|
+
--zinc-700: #3f3f46;
|
|
51
|
+
--zinc-800: #27272a;
|
|
52
|
+
--zinc-900: #18181b;
|
|
53
|
+
--zinc-950: #09090b;
|
|
54
|
+
--neutral-50: #fafafa;
|
|
55
|
+
--neutral-100: #f5f5f5;
|
|
56
|
+
--neutral-200: #e5e5e5;
|
|
57
|
+
--neutral-300: #d4d4d4;
|
|
58
|
+
--neutral-400: #a3a3a3;
|
|
59
|
+
--neutral-500: #737373;
|
|
60
|
+
--neutral-600: #525252;
|
|
61
|
+
--neutral-700: #404040;
|
|
62
|
+
--neutral-800: #262626;
|
|
63
|
+
--neutral-900: #171717;
|
|
64
|
+
--neutral-950: #0a0a0a;
|
|
65
|
+
--stone-50: #fafaf9;
|
|
66
|
+
--stone-100: #f5f5f4;
|
|
67
|
+
--stone-200: #e7e5e4;
|
|
68
|
+
--stone-300: #d6d3d1;
|
|
69
|
+
--stone-400: #a8a29e;
|
|
70
|
+
--stone-500: #78716c;
|
|
71
|
+
--stone-600: #57534e;
|
|
72
|
+
--stone-700: #44403c;
|
|
73
|
+
--stone-800: #292524;
|
|
74
|
+
--stone-900: #1c1917;
|
|
75
|
+
--stone-950: #0c0a09;
|
|
76
|
+
--red-50: #fef2f2;
|
|
77
|
+
--red-100: #fee2e2;
|
|
78
|
+
--red-200: #fecaca;
|
|
79
|
+
--red-300: #fca5a5;
|
|
80
|
+
--red-400: #f87171;
|
|
81
|
+
--red-500: #ef4444;
|
|
82
|
+
--red-600: #dc2626;
|
|
83
|
+
--red-700: #b91c1c;
|
|
84
|
+
--red-800: #991b1b;
|
|
85
|
+
--red-900: #7f1d1d;
|
|
86
|
+
--red-950: #450a0a;
|
|
87
|
+
--orange-50: #fff7ed;
|
|
88
|
+
--orange-100: #ffedd5;
|
|
89
|
+
--orange-200: #fed7aa;
|
|
90
|
+
--orange-300: #fdba74;
|
|
91
|
+
--orange-400: #fb923c;
|
|
92
|
+
--orange-500: #f97316;
|
|
93
|
+
--orange-600: #ea580c;
|
|
94
|
+
--orange-700: #c2410c;
|
|
95
|
+
--orange-800: #9a3412;
|
|
96
|
+
--orange-900: #7c2d12;
|
|
97
|
+
--orange-950: #431407;
|
|
98
|
+
--amber-50: #fffbeb;
|
|
99
|
+
--amber-100: #fef3c7;
|
|
100
|
+
--amber-200: #fde68a;
|
|
101
|
+
--amber-300: #fcd34d;
|
|
102
|
+
--amber-400: #fbbf24;
|
|
103
|
+
--amber-500: #f59e0b;
|
|
104
|
+
--amber-600: #d97706;
|
|
105
|
+
--amber-700: #b45309;
|
|
106
|
+
--amber-800: #92400e;
|
|
107
|
+
--amber-900: #78350f;
|
|
108
|
+
--amber-950: #451a03;
|
|
109
|
+
--yellow-50: #fefce8;
|
|
110
|
+
--yellow-100: #fef9c3;
|
|
111
|
+
--yellow-200: #fef08a;
|
|
112
|
+
--yellow-300: #fde047;
|
|
113
|
+
--yellow-400: #facc15;
|
|
114
|
+
--yellow-500: #eab308;
|
|
115
|
+
--yellow-600: #ca8a04;
|
|
116
|
+
--yellow-700: #a16207;
|
|
117
|
+
--yellow-800: #854d0e;
|
|
118
|
+
--yellow-900: #713f12;
|
|
119
|
+
--yellow-950: #422006;
|
|
120
|
+
--lime-50: #f7fee7;
|
|
121
|
+
--lime-100: #ecfccb;
|
|
122
|
+
--lime-200: #d9f99d;
|
|
123
|
+
--lime-300: #bef264;
|
|
124
|
+
--lime-400: #a3e635;
|
|
125
|
+
--lime-500: #84cc16;
|
|
126
|
+
--lime-600: #65a30d;
|
|
127
|
+
--lime-700: #4d7c0f;
|
|
128
|
+
--lime-800: #3f6212;
|
|
129
|
+
--lime-900: #365314;
|
|
130
|
+
--lime-950: #1a2e05;
|
|
131
|
+
--green-50: #f0fdf4;
|
|
132
|
+
--green-100: #dcfce7;
|
|
133
|
+
--green-200: #bbf7d0;
|
|
134
|
+
--green-300: #86efac;
|
|
135
|
+
--green-400: #4ade80;
|
|
136
|
+
--green-500: #22c55e;
|
|
137
|
+
--green-600: #16a34a;
|
|
138
|
+
--green-700: #15803d;
|
|
139
|
+
--green-800: #166534;
|
|
140
|
+
--green-900: #14532d;
|
|
141
|
+
--green-950: #052e16;
|
|
142
|
+
--emerald-50: #ecfdf5;
|
|
143
|
+
--emerald-100: #d1fae5;
|
|
144
|
+
--emerald-200: #a7f3d0;
|
|
145
|
+
--emerald-300: #6ee7b7;
|
|
146
|
+
--emerald-400: #34d399;
|
|
147
|
+
--emerald-500: #10b981;
|
|
148
|
+
--emerald-600: #059669;
|
|
149
|
+
--emerald-700: #047857;
|
|
150
|
+
--emerald-800: #065f46;
|
|
151
|
+
--emerald-900: #064e3b;
|
|
152
|
+
--emerald-950: #022c22;
|
|
153
|
+
--teal-50: #f0fdfa;
|
|
154
|
+
--teal-100: #ccfbf1;
|
|
155
|
+
--teal-200: #99f6e4;
|
|
156
|
+
--teal-300: #5eead4;
|
|
157
|
+
--teal-400: #2dd4bf;
|
|
158
|
+
--teal-500: #14b8a6;
|
|
159
|
+
--teal-600: #0d9488;
|
|
160
|
+
--teal-700: #0f766e;
|
|
161
|
+
--teal-800: #115e59;
|
|
162
|
+
--teal-900: #134e4a;
|
|
163
|
+
--teal-950: #042f2e;
|
|
164
|
+
--cyan-50: #ecfeff;
|
|
165
|
+
--cyan-100: #cffafe;
|
|
166
|
+
--cyan-200: #a5f3fc;
|
|
167
|
+
--cyan-300: #67e8f9;
|
|
168
|
+
--cyan-400: #22d3ee;
|
|
169
|
+
--cyan-500: #06b6d4;
|
|
170
|
+
--cyan-600: #0891b2;
|
|
171
|
+
--cyan-700: #0e7490;
|
|
172
|
+
--cyan-800: #155e75;
|
|
173
|
+
--cyan-900: #164e63;
|
|
174
|
+
--cyan-950: #083344;
|
|
175
|
+
--sky-50: #f0f9ff;
|
|
176
|
+
--sky-100: #e0f2fe;
|
|
177
|
+
--sky-200: #bae6fd;
|
|
178
|
+
--sky-300: #7dd3fc;
|
|
179
|
+
--sky-400: #38bdf8;
|
|
180
|
+
--sky-500: #0ea5e9;
|
|
181
|
+
--sky-600: #0284c7;
|
|
182
|
+
--sky-700: #0369a1;
|
|
183
|
+
--sky-800: #075985;
|
|
184
|
+
--sky-900: #0c4a6e;
|
|
185
|
+
--sky-950: #082f49;
|
|
186
|
+
--blue-50: #eff6ff;
|
|
187
|
+
--blue-100: #dbeafe;
|
|
188
|
+
--blue-200: #bfdbfe;
|
|
189
|
+
--blue-300: #93c5fd;
|
|
190
|
+
--blue-400: #60a5fa;
|
|
191
|
+
--blue-500: #3b82f6;
|
|
192
|
+
--blue-600: #2563eb;
|
|
193
|
+
--blue-700: #1d4ed8;
|
|
194
|
+
--blue-800: #1e40af;
|
|
195
|
+
--blue-900: #1e3a8a;
|
|
196
|
+
--blue-950: #172554;
|
|
197
|
+
--indigo-50: #eef2ff;
|
|
198
|
+
--indigo-100: #e0e7ff;
|
|
199
|
+
--indigo-200: #c7d2fe;
|
|
200
|
+
--indigo-300: #a5b4fc;
|
|
201
|
+
--indigo-400: #818cf8;
|
|
202
|
+
--indigo-500: #6366f1;
|
|
203
|
+
--indigo-600: #4f46e5;
|
|
204
|
+
--indigo-700: #4338ca;
|
|
205
|
+
--indigo-800: #3730a3;
|
|
206
|
+
--indigo-900: #312e81;
|
|
207
|
+
--indigo-950: #1e1b4b;
|
|
208
|
+
--violet-50: #f5f3ff;
|
|
209
|
+
--violet-100: #ede9fe;
|
|
210
|
+
--violet-200: #ddd6fe;
|
|
211
|
+
--violet-300: #c4b5fd;
|
|
212
|
+
--violet-400: #a78bfa;
|
|
213
|
+
--violet-500: #8b5cf6;
|
|
214
|
+
--violet-600: #7c3aed;
|
|
215
|
+
--violet-700: #6d28d9;
|
|
216
|
+
--violet-800: #5b21b6;
|
|
217
|
+
--violet-900: #4c1d95;
|
|
218
|
+
--violet-950: #2e1065;
|
|
219
|
+
--purple-50: #faf5ff;
|
|
220
|
+
--purple-100: #f3e8ff;
|
|
221
|
+
--purple-200: #e9d5ff;
|
|
222
|
+
--purple-300: #d8b4fe;
|
|
223
|
+
--purple-400: #c084fc;
|
|
224
|
+
--purple-500: #a855f7;
|
|
225
|
+
--purple-600: #9333ea;
|
|
226
|
+
--purple-700: #7e22ce;
|
|
227
|
+
--purple-800: #6b21a8;
|
|
228
|
+
--purple-900: #581c87;
|
|
229
|
+
--purple-950: #3b0764;
|
|
230
|
+
--fuchsia-50: #fdf4ff;
|
|
231
|
+
--fuchsia-100: #fae8ff;
|
|
232
|
+
--fuchsia-200: #f5d0fe;
|
|
233
|
+
--fuchsia-300: #f0abfc;
|
|
234
|
+
--fuchsia-400: #e879f9;
|
|
235
|
+
--fuchsia-500: #d946ef;
|
|
236
|
+
--fuchsia-600: #c026d3;
|
|
237
|
+
--fuchsia-700: #a21caf;
|
|
238
|
+
--fuchsia-800: #86198f;
|
|
239
|
+
--fuchsia-900: #701a75;
|
|
240
|
+
--fuchsia-950: #4a044e;
|
|
241
|
+
--pink-50: #fdf2f8;
|
|
242
|
+
--pink-100: #fce7f3;
|
|
243
|
+
--pink-200: #fbcfe8;
|
|
244
|
+
--pink-300: #f9a8d4;
|
|
245
|
+
--pink-400: #f472b6;
|
|
246
|
+
--pink-500: #ec4899;
|
|
247
|
+
--pink-600: #db2777;
|
|
248
|
+
--pink-700: #be185d;
|
|
249
|
+
--pink-800: #9d174d;
|
|
250
|
+
--pink-900: #831843;
|
|
251
|
+
--pink-950: #500724;
|
|
252
|
+
--rose-50: #fff1f2;
|
|
253
|
+
--rose-100: #ffe4e6;
|
|
254
|
+
--rose-200: #fecdd3;
|
|
255
|
+
--rose-300: #fda4af;
|
|
256
|
+
--rose-400: #fb7185;
|
|
257
|
+
--rose-500: #f43f5e;
|
|
258
|
+
--rose-600: #e11d48;
|
|
259
|
+
--rose-700: #be123c;
|
|
260
|
+
--rose-800: #9f1239;
|
|
261
|
+
--rose-900: #881337;
|
|
262
|
+
--rose-950: #4c0519;
|
|
263
|
+
--alpha-black-8: rgba(26,26,26,0.08);
|
|
264
|
+
--alpha-black-28: rgba(13,13,13,0.28);
|
|
265
|
+
--alpha-black-60: rgba(0,0,0,0.6);
|
|
266
|
+
--alpha-white-12: rgba(242,242,242,0.12);
|
|
267
|
+
/* Semantic colour (light) */
|
|
268
|
+
--color-bg-surface-secondary: var(--graphite-50);
|
|
269
|
+
--color-bg-surface-tertiary: var(--graphite-100);
|
|
270
|
+
--color-bg-surface-primary: var(--white);
|
|
271
|
+
--color-bg-neutral-secondary: var(--graphite-100);
|
|
272
|
+
--color-bg-neutral-secondary-hover: var(--graphite-200);
|
|
273
|
+
--color-bg-neutral-primary: var(--graphite-200);
|
|
274
|
+
--color-bg-neutral-primary-hover: var(--graphite-300);
|
|
275
|
+
--color-bg-inverse-primary: var(--graphite-900);
|
|
276
|
+
--color-bg-brand-primary: var(--graphite-900);
|
|
277
|
+
--color-bg-inverse-primary-hover: var(--graphite-800);
|
|
278
|
+
--color-bg-brand-primary-hover: var(--graphite-800);
|
|
279
|
+
--color-bg-inverse-primary-pressed: var(--graphite-700);
|
|
280
|
+
--color-bg-brand-primary-pressed: var(--graphite-700);
|
|
281
|
+
--color-bg-scrim-primary: var(--alpha-black-28);
|
|
282
|
+
--color-bg-overlay-primary: var(--white);
|
|
283
|
+
--color-bg-overlay-primary-hover: var(--graphite-100);
|
|
284
|
+
--color-bg-overlay-primary-pressed: var(--graphite-200);
|
|
285
|
+
--color-text-onoverlay-primary: var(--graphite-900);
|
|
286
|
+
--color-border-default-tertiary: var(--graphite-200);
|
|
287
|
+
--color-border-default-secondary: var(--graphite-300);
|
|
288
|
+
--color-border-default-secondary-hover: var(--graphite-400);
|
|
289
|
+
--color-border-default-primary: var(--graphite-900);
|
|
290
|
+
--color-text-default-primary: var(--graphite-900);
|
|
291
|
+
--color-text-default-secondary: var(--graphite-500);
|
|
292
|
+
--color-text-default-tertiary: var(--graphite-400);
|
|
293
|
+
--color-text-inverse-primary: var(--white);
|
|
294
|
+
--color-text-onbrand-primary: var(--white);
|
|
295
|
+
--color-text-inverse-secondary: var(--graphite-400);
|
|
296
|
+
--color-text-danger-primary: var(--red-700);
|
|
297
|
+
--color-bg-live-primary: var(--red-500);
|
|
298
|
+
--color-bg-success-primary: var(--green-600);
|
|
299
|
+
--color-bg-danger-primary: var(--red-600);
|
|
300
|
+
--color-bg-danger-primary-hover: var(--red-700);
|
|
301
|
+
--color-bg-knob-primary: var(--white);
|
|
302
|
+
--color-border-focus-primary: var(--graphite-900);
|
|
303
|
+
--color-border-focus-secondary: var(--alpha-black-8);
|
|
304
|
+
--color-bg-warning-primary: var(--amber-500);
|
|
305
|
+
--color-bg-info-primary: var(--blue-600);
|
|
306
|
+
--color-text-success-primary: var(--green-800);
|
|
307
|
+
--color-text-warning-primary: var(--amber-800);
|
|
308
|
+
--color-text-info-primary: var(--blue-700);
|
|
309
|
+
--color-text-onbold-primary: var(--white);
|
|
310
|
+
--color-text-onwarning-primary: var(--graphite-900);
|
|
311
|
+
--color-bg-success-secondary: var(--green-50);
|
|
312
|
+
--color-bg-danger-secondary: var(--red-50);
|
|
313
|
+
--color-bg-warning-secondary: var(--amber-50);
|
|
314
|
+
--color-bg-info-secondary: var(--blue-50);
|
|
315
|
+
--color-border-success-primary: var(--green-200);
|
|
316
|
+
--color-border-danger-primary: var(--red-200);
|
|
317
|
+
--color-border-warning-primary: var(--amber-200);
|
|
318
|
+
--color-border-info-primary: var(--blue-200);
|
|
319
|
+
--color-bg-accent-primary: var(--blue-600);
|
|
320
|
+
--color-text-accent-primary: var(--blue-700);
|
|
321
|
+
--color-bg-accent-secondary: var(--blue-50);
|
|
322
|
+
--chart-2: var(--graphite-500);
|
|
323
|
+
--chart-3: var(--graphite-400);
|
|
324
|
+
--chart-4: var(--graphite-300);
|
|
325
|
+
--chart-5: var(--graphite-200);
|
|
326
|
+
--chart-6: var(--graphite-100);
|
|
327
|
+
/* spacing */
|
|
328
|
+
--space-4: 4px;
|
|
329
|
+
--space-8: 8px;
|
|
330
|
+
--space-12: 12px;
|
|
331
|
+
--space-16: 16px;
|
|
332
|
+
--space-20: 20px;
|
|
333
|
+
--space-24: 24px;
|
|
334
|
+
--space-32: 32px;
|
|
335
|
+
--space-40: 40px;
|
|
336
|
+
--space-48: 48px;
|
|
337
|
+
--space-56: 56px;
|
|
338
|
+
--space-64: 64px;
|
|
339
|
+
--space-80: 80px;
|
|
340
|
+
--space-96: 96px;
|
|
341
|
+
/* radius */
|
|
342
|
+
--radius-0: 0px;
|
|
343
|
+
--radius-4: 4px;
|
|
344
|
+
--radius-8: 8px;
|
|
345
|
+
--radius-12: 12px;
|
|
346
|
+
--radius-16: 16px;
|
|
347
|
+
--radius-20: 20px;
|
|
348
|
+
--radius-24: 24px;
|
|
349
|
+
--radius-32: 32px;
|
|
350
|
+
--radius-full: 999px;
|
|
351
|
+
/* size */
|
|
352
|
+
--size-16: 16px;
|
|
353
|
+
--size-20: 20px;
|
|
354
|
+
--size-24: 24px;
|
|
355
|
+
--size-28: 28px;
|
|
356
|
+
--size-32: 32px;
|
|
357
|
+
--size-36: 36px;
|
|
358
|
+
--size-40: 40px;
|
|
359
|
+
--size-44: 44px;
|
|
360
|
+
--size-48: 48px;
|
|
361
|
+
--size-56: 56px;
|
|
362
|
+
--size-64: 64px;
|
|
363
|
+
--size-72: 72px;
|
|
364
|
+
/* opacity */
|
|
365
|
+
--opacity-disabled: 0.45;
|
|
366
|
+
/* shadow */
|
|
367
|
+
--shadow-raised: 0 1px 2px rgba(0,0,0,0.06), 0 1px 1px rgba(0,0,0,0.04);
|
|
368
|
+
--shadow-raised-hover: 0 2px 6px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.05);
|
|
369
|
+
--shadow-floating: 0 12px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
|
|
370
|
+
/* font size */
|
|
371
|
+
--font-12: 12px;
|
|
372
|
+
--font-14: 14px;
|
|
373
|
+
--font-16: 16px;
|
|
374
|
+
--font-20: 20px;
|
|
375
|
+
--font-24: 24px;
|
|
376
|
+
--font-32: 32px;
|
|
377
|
+
--font-40: 40px;
|
|
378
|
+
--font-48: 48px;
|
|
379
|
+
--font-64: 64px;
|
|
380
|
+
--font-80: 80px;
|
|
381
|
+
/* line height */
|
|
382
|
+
--leading-1: 1;
|
|
383
|
+
--leading-16: 16px;
|
|
384
|
+
--leading-20: 20px;
|
|
385
|
+
--leading-24: 24px;
|
|
386
|
+
--leading-28: 28px;
|
|
387
|
+
--leading-32: 32px;
|
|
388
|
+
--leading-40: 40px;
|
|
389
|
+
--leading-48: 48px;
|
|
390
|
+
--leading-56: 56px;
|
|
391
|
+
--leading-72: 72px;
|
|
392
|
+
--leading-88: 88px;
|
|
393
|
+
/* font weight */
|
|
394
|
+
--weight-400: 400;
|
|
395
|
+
--weight-450: 450;
|
|
396
|
+
--weight-500: 500;
|
|
397
|
+
--weight-600: 600;
|
|
398
|
+
/* tracking */
|
|
399
|
+
--tracking-tight: -0.01em;
|
|
400
|
+
--tracking-tighter: -0.02em;
|
|
401
|
+
--tracking-tightest: -0.03em;
|
|
402
|
+
/* duration */
|
|
403
|
+
--duration-80: 80ms;
|
|
404
|
+
--duration-140: 140ms;
|
|
405
|
+
--duration-180: 180ms;
|
|
406
|
+
--duration-200: 200ms;
|
|
407
|
+
--duration-220: 220ms;
|
|
408
|
+
--duration-300: 300ms;
|
|
409
|
+
--duration-700: 700ms;
|
|
410
|
+
--duration-1200: 1200ms;
|
|
411
|
+
/* stroke */
|
|
412
|
+
--icon-stroke: 1.75;
|
|
413
|
+
--icon-stroke-strong: 2.25;
|
|
414
|
+
--icon-stroke-check: 2.5;
|
|
415
|
+
/* type roles */
|
|
416
|
+
--type-display-2xl-size: var(--font-80);
|
|
417
|
+
--type-display-2xl-leading: var(--leading-88);
|
|
418
|
+
--type-display-2xl-weight: var(--weight-600);
|
|
419
|
+
--type-display-2xl-tracking: var(--tracking-tightest);
|
|
420
|
+
--type-display-xl-size: var(--font-64);
|
|
421
|
+
--type-display-xl-leading: var(--leading-72);
|
|
422
|
+
--type-display-xl-weight: var(--weight-600);
|
|
423
|
+
--type-display-xl-tracking: var(--tracking-tightest);
|
|
424
|
+
--type-display-lg-size: var(--font-48);
|
|
425
|
+
--type-display-lg-leading: var(--leading-56);
|
|
426
|
+
--type-display-lg-weight: var(--weight-600);
|
|
427
|
+
--type-display-lg-tracking: var(--tracking-tighter);
|
|
428
|
+
--type-display-size: var(--font-32);
|
|
429
|
+
--type-display-leading: var(--leading-40);
|
|
430
|
+
--type-display-weight: var(--weight-600);
|
|
431
|
+
--type-display-tracking: var(--tracking-tighter);
|
|
432
|
+
--type-heading-size: var(--font-24);
|
|
433
|
+
--type-heading-leading: var(--leading-32);
|
|
434
|
+
--type-heading-weight: var(--weight-600);
|
|
435
|
+
--type-heading-tracking: var(--tracking-tight);
|
|
436
|
+
--type-subheading-size: var(--font-20);
|
|
437
|
+
--type-subheading-leading: var(--leading-28);
|
|
438
|
+
--type-subheading-weight: var(--weight-600);
|
|
439
|
+
--type-subheading-tracking: var(--tracking-tight);
|
|
440
|
+
--type-title-size: var(--font-16);
|
|
441
|
+
--type-title-leading: var(--leading-24);
|
|
442
|
+
--type-title-weight: var(--weight-500);
|
|
443
|
+
--type-body-size: var(--font-14);
|
|
444
|
+
--type-body-leading: var(--leading-20);
|
|
445
|
+
--type-body-weight: var(--weight-400);
|
|
446
|
+
--type-label-size: var(--font-14);
|
|
447
|
+
--type-label-leading: var(--leading-20);
|
|
448
|
+
--type-label-weight: var(--weight-500);
|
|
449
|
+
--type-caption-size: var(--font-12);
|
|
450
|
+
--type-caption-leading: var(--leading-16);
|
|
451
|
+
--type-caption-weight: var(--weight-400);
|
|
452
|
+
--type-micro-size: var(--font-12);
|
|
453
|
+
--type-micro-leading: var(--leading-16);
|
|
454
|
+
--type-micro-weight: var(--weight-500);
|
|
455
|
+
--type-code-size: var(--font-12);
|
|
456
|
+
--type-code-leading: var(--leading-20);
|
|
457
|
+
--type-code-weight: var(--weight-400);
|
|
458
|
+
--type-kbd-size: var(--font-12);
|
|
459
|
+
--type-kbd-leading: var(--leading-1);
|
|
460
|
+
--type-kbd-weight: var(--weight-500);
|
|
461
|
+
/* type */
|
|
462
|
+
--font-sans: Inter, "SF Pro Text", system-ui, -apple-system, "Segoe UI", sans-serif;
|
|
463
|
+
--font-mono: Menlo, ui-monospace, "SF Mono", monospace;
|
|
464
|
+
}
|
|
465
|
+
[data-theme="dark"], .dark {
|
|
466
|
+
--color-bg-surface-secondary: var(--graphite-950);
|
|
467
|
+
--color-bg-surface-tertiary: var(--graphite-950);
|
|
468
|
+
--color-bg-surface-primary: var(--graphite-900);
|
|
469
|
+
--color-bg-neutral-secondary: var(--graphite-800);
|
|
470
|
+
--color-bg-neutral-secondary-hover: var(--graphite-700);
|
|
471
|
+
--color-bg-neutral-primary: var(--graphite-700);
|
|
472
|
+
--color-bg-neutral-primary-hover: var(--graphite-600);
|
|
473
|
+
--color-bg-inverse-primary: var(--graphite-50);
|
|
474
|
+
--color-bg-brand-primary: var(--graphite-50);
|
|
475
|
+
--color-bg-inverse-primary-hover: var(--graphite-200);
|
|
476
|
+
--color-bg-brand-primary-hover: var(--graphite-200);
|
|
477
|
+
--color-bg-inverse-primary-pressed: var(--graphite-300);
|
|
478
|
+
--color-bg-brand-primary-pressed: var(--graphite-300);
|
|
479
|
+
--color-bg-scrim-primary: var(--alpha-black-60);
|
|
480
|
+
--color-bg-overlay-primary: var(--white);
|
|
481
|
+
--color-bg-overlay-primary-hover: var(--graphite-100);
|
|
482
|
+
--color-bg-overlay-primary-pressed: var(--graphite-200);
|
|
483
|
+
--color-text-onoverlay-primary: var(--graphite-900);
|
|
484
|
+
--color-border-default-tertiary: var(--graphite-800);
|
|
485
|
+
--color-border-default-secondary: var(--graphite-700);
|
|
486
|
+
--color-border-default-secondary-hover: var(--graphite-500);
|
|
487
|
+
--color-border-default-primary: var(--graphite-50);
|
|
488
|
+
--color-text-default-primary: var(--graphite-50);
|
|
489
|
+
--color-text-default-secondary: var(--graphite-400);
|
|
490
|
+
--color-text-default-tertiary: var(--graphite-500);
|
|
491
|
+
--color-text-inverse-primary: var(--graphite-950);
|
|
492
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
493
|
+
--color-text-inverse-secondary: var(--graphite-500);
|
|
494
|
+
--color-text-danger-primary: var(--red-300);
|
|
495
|
+
--color-bg-live-primary: var(--red-400);
|
|
496
|
+
--color-bg-success-primary: var(--green-500);
|
|
497
|
+
--color-bg-danger-primary: var(--red-400);
|
|
498
|
+
--color-bg-danger-primary-hover: var(--red-300);
|
|
499
|
+
--color-bg-knob-primary: var(--white);
|
|
500
|
+
--color-border-focus-primary: var(--graphite-50);
|
|
501
|
+
--color-border-focus-secondary: var(--alpha-white-12);
|
|
502
|
+
--color-bg-warning-primary: var(--amber-400);
|
|
503
|
+
--color-bg-info-primary: var(--blue-400);
|
|
504
|
+
--color-text-success-primary: var(--green-300);
|
|
505
|
+
--color-text-warning-primary: var(--amber-300);
|
|
506
|
+
--color-text-info-primary: var(--blue-300);
|
|
507
|
+
--color-text-onbold-primary: var(--graphite-950);
|
|
508
|
+
--color-text-onwarning-primary: var(--graphite-950);
|
|
509
|
+
--color-bg-success-secondary: var(--green-950);
|
|
510
|
+
--color-bg-danger-secondary: var(--red-950);
|
|
511
|
+
--color-bg-warning-secondary: var(--amber-950);
|
|
512
|
+
--color-bg-info-secondary: var(--blue-950);
|
|
513
|
+
--color-border-success-primary: var(--green-800);
|
|
514
|
+
--color-border-danger-primary: var(--red-800);
|
|
515
|
+
--color-border-warning-primary: var(--amber-800);
|
|
516
|
+
--color-border-info-primary: var(--blue-800);
|
|
517
|
+
--color-bg-accent-primary: var(--blue-500);
|
|
518
|
+
--color-text-accent-primary: var(--blue-300);
|
|
519
|
+
--color-bg-accent-secondary: var(--blue-950);
|
|
520
|
+
--chart-2: var(--graphite-400);
|
|
521
|
+
--chart-3: var(--graphite-500);
|
|
522
|
+
--chart-4: var(--graphite-600);
|
|
523
|
+
--chart-5: var(--graphite-700);
|
|
524
|
+
--chart-6: var(--graphite-800);
|
|
525
|
+
--shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
|
|
526
|
+
--shadow-raised-hover: 0 2px 6px rgba(0,0,0,0.6);
|
|
527
|
+
--shadow-floating: 0 12px 32px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
|
|
528
|
+
color-scheme: dark;
|
|
529
|
+
}
|
|
530
|
+
@media (prefers-color-scheme: dark) {
|
|
531
|
+
:root:not([data-theme="light"]):not(.light) {
|
|
532
|
+
--color-bg-surface-secondary: var(--graphite-950);
|
|
533
|
+
--color-bg-surface-tertiary: var(--graphite-950);
|
|
534
|
+
--color-bg-surface-primary: var(--graphite-900);
|
|
535
|
+
--color-bg-neutral-secondary: var(--graphite-800);
|
|
536
|
+
--color-bg-neutral-secondary-hover: var(--graphite-700);
|
|
537
|
+
--color-bg-neutral-primary: var(--graphite-700);
|
|
538
|
+
--color-bg-neutral-primary-hover: var(--graphite-600);
|
|
539
|
+
--color-bg-inverse-primary: var(--graphite-50);
|
|
540
|
+
--color-bg-brand-primary: var(--graphite-50);
|
|
541
|
+
--color-bg-inverse-primary-hover: var(--graphite-200);
|
|
542
|
+
--color-bg-brand-primary-hover: var(--graphite-200);
|
|
543
|
+
--color-bg-inverse-primary-pressed: var(--graphite-300);
|
|
544
|
+
--color-bg-brand-primary-pressed: var(--graphite-300);
|
|
545
|
+
--color-bg-scrim-primary: var(--alpha-black-60);
|
|
546
|
+
--color-bg-overlay-primary: var(--white);
|
|
547
|
+
--color-bg-overlay-primary-hover: var(--graphite-100);
|
|
548
|
+
--color-bg-overlay-primary-pressed: var(--graphite-200);
|
|
549
|
+
--color-text-onoverlay-primary: var(--graphite-900);
|
|
550
|
+
--color-border-default-tertiary: var(--graphite-800);
|
|
551
|
+
--color-border-default-secondary: var(--graphite-700);
|
|
552
|
+
--color-border-default-secondary-hover: var(--graphite-500);
|
|
553
|
+
--color-border-default-primary: var(--graphite-50);
|
|
554
|
+
--color-text-default-primary: var(--graphite-50);
|
|
555
|
+
--color-text-default-secondary: var(--graphite-400);
|
|
556
|
+
--color-text-default-tertiary: var(--graphite-500);
|
|
557
|
+
--color-text-inverse-primary: var(--graphite-950);
|
|
558
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
559
|
+
--color-text-inverse-secondary: var(--graphite-500);
|
|
560
|
+
--color-text-danger-primary: var(--red-300);
|
|
561
|
+
--color-bg-live-primary: var(--red-400);
|
|
562
|
+
--color-bg-success-primary: var(--green-500);
|
|
563
|
+
--color-bg-danger-primary: var(--red-400);
|
|
564
|
+
--color-bg-danger-primary-hover: var(--red-300);
|
|
565
|
+
--color-bg-knob-primary: var(--white);
|
|
566
|
+
--color-border-focus-primary: var(--graphite-50);
|
|
567
|
+
--color-border-focus-secondary: var(--alpha-white-12);
|
|
568
|
+
--color-bg-warning-primary: var(--amber-400);
|
|
569
|
+
--color-bg-info-primary: var(--blue-400);
|
|
570
|
+
--color-text-success-primary: var(--green-300);
|
|
571
|
+
--color-text-warning-primary: var(--amber-300);
|
|
572
|
+
--color-text-info-primary: var(--blue-300);
|
|
573
|
+
--color-text-onbold-primary: var(--graphite-950);
|
|
574
|
+
--color-text-onwarning-primary: var(--graphite-950);
|
|
575
|
+
--color-bg-success-secondary: var(--green-950);
|
|
576
|
+
--color-bg-danger-secondary: var(--red-950);
|
|
577
|
+
--color-bg-warning-secondary: var(--amber-950);
|
|
578
|
+
--color-bg-info-secondary: var(--blue-950);
|
|
579
|
+
--color-border-success-primary: var(--green-800);
|
|
580
|
+
--color-border-danger-primary: var(--red-800);
|
|
581
|
+
--color-border-warning-primary: var(--amber-800);
|
|
582
|
+
--color-border-info-primary: var(--blue-800);
|
|
583
|
+
--color-bg-accent-primary: var(--blue-500);
|
|
584
|
+
--color-text-accent-primary: var(--blue-300);
|
|
585
|
+
--color-bg-accent-secondary: var(--blue-950);
|
|
586
|
+
--chart-2: var(--graphite-400);
|
|
587
|
+
--chart-3: var(--graphite-500);
|
|
588
|
+
--chart-4: var(--graphite-600);
|
|
589
|
+
--chart-5: var(--graphite-700);
|
|
590
|
+
--chart-6: var(--graphite-800);
|
|
591
|
+
--shadow-raised: 0 1px 2px rgba(0,0,0,0.5);
|
|
592
|
+
--shadow-raised-hover: 0 2px 6px rgba(0,0,0,0.6);
|
|
593
|
+
--shadow-floating: 0 12px 32px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
|
|
594
|
+
color-scheme: dark;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
[data-brand="sample"] {
|
|
598
|
+
--color-bg-brand-primary: var(--blue-700);
|
|
599
|
+
--color-bg-brand-primary-hover: var(--blue-800);
|
|
600
|
+
--color-bg-brand-primary-pressed: var(--blue-900);
|
|
601
|
+
--color-text-onbrand-primary: var(--white);
|
|
602
|
+
}
|
|
603
|
+
[data-brand="sample"][data-theme="light"],
|
|
604
|
+
[data-brand="sample"].light {
|
|
605
|
+
--color-bg-brand-primary: var(--blue-700);
|
|
606
|
+
--color-bg-brand-primary-hover: var(--blue-800);
|
|
607
|
+
--color-bg-brand-primary-pressed: var(--blue-900);
|
|
608
|
+
--color-text-onbrand-primary: var(--white);
|
|
609
|
+
}
|
|
610
|
+
[data-brand="sample"][data-theme="dark"],
|
|
611
|
+
[data-brand="sample"].dark {
|
|
612
|
+
--color-bg-brand-primary: var(--blue-400);
|
|
613
|
+
--color-bg-brand-primary-hover: var(--blue-300);
|
|
614
|
+
--color-bg-brand-primary-pressed: var(--blue-200);
|
|
615
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
616
|
+
}
|
|
617
|
+
@media (prefers-color-scheme: dark) {
|
|
618
|
+
[data-brand="sample"]:not([data-theme="light"]):not(.light) {
|
|
619
|
+
--color-bg-brand-primary: var(--blue-400);
|
|
620
|
+
--color-bg-brand-primary-hover: var(--blue-300);
|
|
621
|
+
--color-bg-brand-primary-pressed: var(--blue-200);
|
|
622
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
[data-brand="blue"] {
|
|
626
|
+
--color-bg-brand-primary: var(--blue-700);
|
|
627
|
+
--color-bg-brand-primary-hover: var(--blue-800);
|
|
628
|
+
--color-bg-brand-primary-pressed: var(--blue-900);
|
|
629
|
+
--color-text-onbrand-primary: var(--white);
|
|
630
|
+
--color-bg-accent-primary: var(--blue-600);
|
|
631
|
+
--color-text-accent-primary: var(--blue-700);
|
|
632
|
+
--color-bg-accent-secondary: var(--blue-50);
|
|
633
|
+
}
|
|
634
|
+
[data-brand="blue"][data-theme="light"],
|
|
635
|
+
[data-brand="blue"].light {
|
|
636
|
+
--color-bg-brand-primary: var(--blue-700);
|
|
637
|
+
--color-bg-brand-primary-hover: var(--blue-800);
|
|
638
|
+
--color-bg-brand-primary-pressed: var(--blue-900);
|
|
639
|
+
--color-text-onbrand-primary: var(--white);
|
|
640
|
+
--color-bg-accent-primary: var(--blue-600);
|
|
641
|
+
--color-text-accent-primary: var(--blue-700);
|
|
642
|
+
--color-bg-accent-secondary: var(--blue-50);
|
|
643
|
+
}
|
|
644
|
+
[data-brand="blue"][data-theme="dark"],
|
|
645
|
+
[data-brand="blue"].dark {
|
|
646
|
+
--color-bg-brand-primary: var(--blue-400);
|
|
647
|
+
--color-bg-brand-primary-hover: var(--blue-300);
|
|
648
|
+
--color-bg-brand-primary-pressed: var(--blue-200);
|
|
649
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
650
|
+
--color-bg-accent-primary: var(--blue-500);
|
|
651
|
+
--color-text-accent-primary: var(--blue-300);
|
|
652
|
+
--color-bg-accent-secondary: var(--blue-950);
|
|
653
|
+
}
|
|
654
|
+
@media (prefers-color-scheme: dark) {
|
|
655
|
+
[data-brand="blue"]:not([data-theme="light"]):not(.light) {
|
|
656
|
+
--color-bg-brand-primary: var(--blue-400);
|
|
657
|
+
--color-bg-brand-primary-hover: var(--blue-300);
|
|
658
|
+
--color-bg-brand-primary-pressed: var(--blue-200);
|
|
659
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
660
|
+
--color-bg-accent-primary: var(--blue-500);
|
|
661
|
+
--color-text-accent-primary: var(--blue-300);
|
|
662
|
+
--color-bg-accent-secondary: var(--blue-950);
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
[data-brand="violet"] {
|
|
666
|
+
--color-bg-brand-primary: var(--violet-700);
|
|
667
|
+
--color-bg-brand-primary-hover: var(--violet-800);
|
|
668
|
+
--color-bg-brand-primary-pressed: var(--violet-900);
|
|
669
|
+
--color-text-onbrand-primary: var(--white);
|
|
670
|
+
--color-bg-accent-primary: var(--violet-600);
|
|
671
|
+
--color-text-accent-primary: var(--violet-700);
|
|
672
|
+
--color-bg-accent-secondary: var(--violet-50);
|
|
673
|
+
}
|
|
674
|
+
[data-brand="violet"][data-theme="light"],
|
|
675
|
+
[data-brand="violet"].light {
|
|
676
|
+
--color-bg-brand-primary: var(--violet-700);
|
|
677
|
+
--color-bg-brand-primary-hover: var(--violet-800);
|
|
678
|
+
--color-bg-brand-primary-pressed: var(--violet-900);
|
|
679
|
+
--color-text-onbrand-primary: var(--white);
|
|
680
|
+
--color-bg-accent-primary: var(--violet-600);
|
|
681
|
+
--color-text-accent-primary: var(--violet-700);
|
|
682
|
+
--color-bg-accent-secondary: var(--violet-50);
|
|
683
|
+
}
|
|
684
|
+
[data-brand="violet"][data-theme="dark"],
|
|
685
|
+
[data-brand="violet"].dark {
|
|
686
|
+
--color-bg-brand-primary: var(--violet-400);
|
|
687
|
+
--color-bg-brand-primary-hover: var(--violet-300);
|
|
688
|
+
--color-bg-brand-primary-pressed: var(--violet-200);
|
|
689
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
690
|
+
--color-bg-accent-primary: var(--violet-500);
|
|
691
|
+
--color-text-accent-primary: var(--violet-300);
|
|
692
|
+
--color-bg-accent-secondary: var(--violet-950);
|
|
693
|
+
}
|
|
694
|
+
@media (prefers-color-scheme: dark) {
|
|
695
|
+
[data-brand="violet"]:not([data-theme="light"]):not(.light) {
|
|
696
|
+
--color-bg-brand-primary: var(--violet-400);
|
|
697
|
+
--color-bg-brand-primary-hover: var(--violet-300);
|
|
698
|
+
--color-bg-brand-primary-pressed: var(--violet-200);
|
|
699
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
700
|
+
--color-bg-accent-primary: var(--violet-500);
|
|
701
|
+
--color-text-accent-primary: var(--violet-300);
|
|
702
|
+
--color-bg-accent-secondary: var(--violet-950);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
[data-brand="green"] {
|
|
706
|
+
--color-bg-brand-primary: var(--green-700);
|
|
707
|
+
--color-bg-brand-primary-hover: var(--green-800);
|
|
708
|
+
--color-bg-brand-primary-pressed: var(--green-900);
|
|
709
|
+
--color-text-onbrand-primary: var(--white);
|
|
710
|
+
--color-bg-accent-primary: var(--green-600);
|
|
711
|
+
--color-text-accent-primary: var(--green-700);
|
|
712
|
+
--color-bg-accent-secondary: var(--green-50);
|
|
713
|
+
}
|
|
714
|
+
[data-brand="green"][data-theme="light"],
|
|
715
|
+
[data-brand="green"].light {
|
|
716
|
+
--color-bg-brand-primary: var(--green-700);
|
|
717
|
+
--color-bg-brand-primary-hover: var(--green-800);
|
|
718
|
+
--color-bg-brand-primary-pressed: var(--green-900);
|
|
719
|
+
--color-text-onbrand-primary: var(--white);
|
|
720
|
+
--color-bg-accent-primary: var(--green-600);
|
|
721
|
+
--color-text-accent-primary: var(--green-700);
|
|
722
|
+
--color-bg-accent-secondary: var(--green-50);
|
|
723
|
+
}
|
|
724
|
+
[data-brand="green"][data-theme="dark"],
|
|
725
|
+
[data-brand="green"].dark {
|
|
726
|
+
--color-bg-brand-primary: var(--green-400);
|
|
727
|
+
--color-bg-brand-primary-hover: var(--green-300);
|
|
728
|
+
--color-bg-brand-primary-pressed: var(--green-200);
|
|
729
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
730
|
+
--color-bg-accent-primary: var(--green-500);
|
|
731
|
+
--color-text-accent-primary: var(--green-300);
|
|
732
|
+
--color-bg-accent-secondary: var(--green-950);
|
|
733
|
+
}
|
|
734
|
+
@media (prefers-color-scheme: dark) {
|
|
735
|
+
[data-brand="green"]:not([data-theme="light"]):not(.light) {
|
|
736
|
+
--color-bg-brand-primary: var(--green-400);
|
|
737
|
+
--color-bg-brand-primary-hover: var(--green-300);
|
|
738
|
+
--color-bg-brand-primary-pressed: var(--green-200);
|
|
739
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
740
|
+
--color-bg-accent-primary: var(--green-500);
|
|
741
|
+
--color-text-accent-primary: var(--green-300);
|
|
742
|
+
--color-bg-accent-secondary: var(--green-950);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
[data-brand="orange"] {
|
|
746
|
+
--color-bg-brand-primary: var(--orange-700);
|
|
747
|
+
--color-bg-brand-primary-hover: var(--orange-800);
|
|
748
|
+
--color-bg-brand-primary-pressed: var(--orange-900);
|
|
749
|
+
--color-text-onbrand-primary: var(--white);
|
|
750
|
+
--color-bg-accent-primary: var(--orange-600);
|
|
751
|
+
--color-text-accent-primary: var(--orange-700);
|
|
752
|
+
--color-bg-accent-secondary: var(--orange-50);
|
|
753
|
+
}
|
|
754
|
+
[data-brand="orange"][data-theme="light"],
|
|
755
|
+
[data-brand="orange"].light {
|
|
756
|
+
--color-bg-brand-primary: var(--orange-700);
|
|
757
|
+
--color-bg-brand-primary-hover: var(--orange-800);
|
|
758
|
+
--color-bg-brand-primary-pressed: var(--orange-900);
|
|
759
|
+
--color-text-onbrand-primary: var(--white);
|
|
760
|
+
--color-bg-accent-primary: var(--orange-600);
|
|
761
|
+
--color-text-accent-primary: var(--orange-700);
|
|
762
|
+
--color-bg-accent-secondary: var(--orange-50);
|
|
763
|
+
}
|
|
764
|
+
[data-brand="orange"][data-theme="dark"],
|
|
765
|
+
[data-brand="orange"].dark {
|
|
766
|
+
--color-bg-brand-primary: var(--orange-400);
|
|
767
|
+
--color-bg-brand-primary-hover: var(--orange-300);
|
|
768
|
+
--color-bg-brand-primary-pressed: var(--orange-200);
|
|
769
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
770
|
+
--color-bg-accent-primary: var(--orange-500);
|
|
771
|
+
--color-text-accent-primary: var(--orange-300);
|
|
772
|
+
--color-bg-accent-secondary: var(--orange-950);
|
|
773
|
+
}
|
|
774
|
+
@media (prefers-color-scheme: dark) {
|
|
775
|
+
[data-brand="orange"]:not([data-theme="light"]):not(.light) {
|
|
776
|
+
--color-bg-brand-primary: var(--orange-400);
|
|
777
|
+
--color-bg-brand-primary-hover: var(--orange-300);
|
|
778
|
+
--color-bg-brand-primary-pressed: var(--orange-200);
|
|
779
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
780
|
+
--color-bg-accent-primary: var(--orange-500);
|
|
781
|
+
--color-text-accent-primary: var(--orange-300);
|
|
782
|
+
--color-bg-accent-secondary: var(--orange-950);
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
[data-brand="rose"] {
|
|
786
|
+
--color-bg-brand-primary: var(--rose-700);
|
|
787
|
+
--color-bg-brand-primary-hover: var(--rose-800);
|
|
788
|
+
--color-bg-brand-primary-pressed: var(--rose-900);
|
|
789
|
+
--color-text-onbrand-primary: var(--white);
|
|
790
|
+
--color-bg-accent-primary: var(--rose-600);
|
|
791
|
+
--color-text-accent-primary: var(--rose-700);
|
|
792
|
+
--color-bg-accent-secondary: var(--rose-50);
|
|
793
|
+
}
|
|
794
|
+
[data-brand="rose"][data-theme="light"],
|
|
795
|
+
[data-brand="rose"].light {
|
|
796
|
+
--color-bg-brand-primary: var(--rose-700);
|
|
797
|
+
--color-bg-brand-primary-hover: var(--rose-800);
|
|
798
|
+
--color-bg-brand-primary-pressed: var(--rose-900);
|
|
799
|
+
--color-text-onbrand-primary: var(--white);
|
|
800
|
+
--color-bg-accent-primary: var(--rose-600);
|
|
801
|
+
--color-text-accent-primary: var(--rose-700);
|
|
802
|
+
--color-bg-accent-secondary: var(--rose-50);
|
|
803
|
+
}
|
|
804
|
+
[data-brand="rose"][data-theme="dark"],
|
|
805
|
+
[data-brand="rose"].dark {
|
|
806
|
+
--color-bg-brand-primary: var(--rose-400);
|
|
807
|
+
--color-bg-brand-primary-hover: var(--rose-300);
|
|
808
|
+
--color-bg-brand-primary-pressed: var(--rose-200);
|
|
809
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
810
|
+
--color-bg-accent-primary: var(--rose-500);
|
|
811
|
+
--color-text-accent-primary: var(--rose-300);
|
|
812
|
+
--color-bg-accent-secondary: var(--rose-950);
|
|
813
|
+
}
|
|
814
|
+
@media (prefers-color-scheme: dark) {
|
|
815
|
+
[data-brand="rose"]:not([data-theme="light"]):not(.light) {
|
|
816
|
+
--color-bg-brand-primary: var(--rose-400);
|
|
817
|
+
--color-bg-brand-primary-hover: var(--rose-300);
|
|
818
|
+
--color-bg-brand-primary-pressed: var(--rose-200);
|
|
819
|
+
--color-text-onbrand-primary: var(--graphite-950);
|
|
820
|
+
--color-bg-accent-primary: var(--rose-500);
|
|
821
|
+
--color-text-accent-primary: var(--rose-300);
|
|
822
|
+
--color-bg-accent-secondary: var(--rose-950);
|
|
823
|
+
}
|
|
824
|
+
}
|