@leitware/composables 1.4.0 → 1.5.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/README.md
CHANGED
|
@@ -226,6 +226,15 @@ Signal Pop:
|
|
|
226
226
|
@import '@leitware/composables/presets/signal-pop.css';
|
|
227
227
|
```
|
|
228
228
|
|
|
229
|
+
Editorial Grid:
|
|
230
|
+
|
|
231
|
+
```css
|
|
232
|
+
@import '@fontsource-variable/inter';
|
|
233
|
+
@import '@fontsource-variable/bricolage-grotesque';
|
|
234
|
+
@import '@leitware/composables/styles.css';
|
|
235
|
+
@import '@leitware/composables/presets/editorial-grid.css';
|
|
236
|
+
```
|
|
237
|
+
|
|
229
238
|
The variable entrypoints include their preset weight ranges. The explicit IBM Plex files load normal weights 400–700; add italic entrypoints only if your interface uses them. The same package paths can instead be loaded as side-effect imports from an application entry file, for example `import '@fontsource-variable/inter'` or `import '@fontsource/ibm-plex-sans/600.css'`.
|
|
230
239
|
|
|
231
240
|
---
|
|
@@ -251,7 +260,8 @@ styles/
|
|
|
251
260
|
├── presets/ ← Generated standalone preset CSS files
|
|
252
261
|
│ ├── default.css
|
|
253
262
|
│ ├── brutalist.css
|
|
254
|
-
│
|
|
263
|
+
│ ├── signal-pop.css
|
|
264
|
+
│ └── editorial-grid.css
|
|
255
265
|
└── presets-data/ ← Source of truth for preset token values (TS)
|
|
256
266
|
```
|
|
257
267
|
|
|
@@ -360,11 +370,12 @@ export default function RootLayout({ children }) {
|
|
|
360
370
|
|
|
361
371
|
The default theme is included in `styles.css`. Alternative presets are available as standalone CSS files:
|
|
362
372
|
|
|
363
|
-
| Preset
|
|
364
|
-
|
|
|
365
|
-
| **Default**
|
|
366
|
-
| **Brutalist**
|
|
367
|
-
| **Signal Pop**
|
|
373
|
+
| Preset | Vibe | Fonts |
|
|
374
|
+
| ------------------ | ------------------------------------------- | ---------------------------------------------- |
|
|
375
|
+
| **Default** | Clean neutral system, works everywhere | Inter + Bricolage Grotesque |
|
|
376
|
+
| **Brutalist** | Bold, high-contrast, raw aesthetic | Space Grotesk + JetBrains Mono |
|
|
377
|
+
| **Signal Pop** | Bright consumer-tech, modular and graphic | IBM Plex Sans + Space Grotesk + JetBrains Mono |
|
|
378
|
+
| **Editorial Grid** | Flat technical catalogue with vivid signals | Inter + Bricolage Grotesque |
|
|
368
379
|
|
|
369
380
|
```css
|
|
370
381
|
/* Optional: use exactly one alternative preset after styles.css */
|
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
@leitware/composables - Editorial Grid Preset
|
|
3
|
+
============================================================================
|
|
4
|
+
Flat editorial grid, visible rules, and vivid signals.
|
|
5
|
+
|
|
6
|
+
HOW TO USE:
|
|
7
|
+
1. Copy this file into your project's global CSS (e.g. index.css)
|
|
8
|
+
2. Or import the preset: @import "@leitware/composables/presets/editorial-grid.css";
|
|
9
|
+
3. Add class="dark" to <html> for dark mode.
|
|
10
|
+
============================================================================ */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--bg-default: #f7f7f3;
|
|
14
|
+
--bg-inverse: #111111;
|
|
15
|
+
--bg-muted: #efefeb;
|
|
16
|
+
--bg-surface-default: #f7f7f3;
|
|
17
|
+
--bg-surface-popover: #ffffff;
|
|
18
|
+
--bg-surface-accent: #efefeb;
|
|
19
|
+
--bg-surface-field: #e7e7e1;
|
|
20
|
+
--bg-surface-info: #eef6ff;
|
|
21
|
+
--bg-surface-success: #eefaf1;
|
|
22
|
+
--bg-surface-warning: #fff9e8;
|
|
23
|
+
--bg-surface-critical: #fff0ef;
|
|
24
|
+
--bg-surface-emphasis: #eef6ff;
|
|
25
|
+
--bg-surface-inverse: #1a1a1a;
|
|
26
|
+
--bg-surface-transparent: #00000008;
|
|
27
|
+
--bg-overlay: #00000099;
|
|
28
|
+
--bg-surface-brand: #ecfff2;
|
|
29
|
+
--bg-surface-brand-2: #fffbea;
|
|
30
|
+
--bg-surface-brand-3: #eef6ff;
|
|
31
|
+
--bg-surface-brand-4: #f5f0ff;
|
|
32
|
+
--bg-surface-brand-5: #fff1ef;
|
|
33
|
+
--bg-surface-hover: #ecece7;
|
|
34
|
+
--bg-fill-default: #f7f7f3;
|
|
35
|
+
--bg-fill-primary: #111111;
|
|
36
|
+
--bg-fill-brand: #21e36b;
|
|
37
|
+
--bg-fill-brand-2: #ffe14a;
|
|
38
|
+
--bg-fill-brand-3: #58a7f8;
|
|
39
|
+
--bg-fill-brand-4: #a77af3;
|
|
40
|
+
--bg-fill-brand-5: #ff7d73;
|
|
41
|
+
--bg-fill-info: #58a7f8;
|
|
42
|
+
--bg-fill-success: #21e36b;
|
|
43
|
+
--bg-fill-warning: #ffe14a;
|
|
44
|
+
--bg-fill-critical: #ff6b63;
|
|
45
|
+
--bg-fill-emphasis: #3c8ee6;
|
|
46
|
+
--bg-fill-transparent: #00000008;
|
|
47
|
+
--bg-fill-secondary: #efefeb;
|
|
48
|
+
--bg-fill-secondary-inverse: #ffffff;
|
|
49
|
+
--text-default: #111111;
|
|
50
|
+
--text-secondary: #555550;
|
|
51
|
+
--text-muted: #777770;
|
|
52
|
+
--text-disabled: #b7b7b0;
|
|
53
|
+
--text-inverse: #ffffff;
|
|
54
|
+
--text-on-fill-primary: #ffffff;
|
|
55
|
+
--text-on-fill-brand: #111111;
|
|
56
|
+
--text-on-fill-secondary: #111111;
|
|
57
|
+
--text-on-surface-accent: #111111;
|
|
58
|
+
--text-info: #163a5c;
|
|
59
|
+
--text-success: #124a29;
|
|
60
|
+
--text-warning: #594500;
|
|
61
|
+
--text-critical: #6a1b18;
|
|
62
|
+
--text-emphasis: #123b66;
|
|
63
|
+
--text-brand: #0f5d2d;
|
|
64
|
+
--text-brand-2: #5a4900;
|
|
65
|
+
--text-brand-3: #164b7a;
|
|
66
|
+
--text-brand-4: #4d287e;
|
|
67
|
+
--text-brand-5: #7a2e28;
|
|
68
|
+
--text-link: #111111;
|
|
69
|
+
--icon-default: #111111;
|
|
70
|
+
--icon-secondary: #555550;
|
|
71
|
+
--icon-disabled: #cfcfc8;
|
|
72
|
+
--icon-inverse: #ffffff;
|
|
73
|
+
--icon-info: #2c7fd3;
|
|
74
|
+
--icon-success: #159447;
|
|
75
|
+
--icon-warning: #b98d00;
|
|
76
|
+
--icon-critical: #d44e46;
|
|
77
|
+
--icon-emphasis: #2c7fd3;
|
|
78
|
+
--icon-brand: #159447;
|
|
79
|
+
--icon-brand-2: #c4a300;
|
|
80
|
+
--icon-brand-3: #3c8ee6;
|
|
81
|
+
--icon-brand-4: #8155cc;
|
|
82
|
+
--icon-brand-5: #df5e55;
|
|
83
|
+
--border-default: #c9c9c2;
|
|
84
|
+
--border-secondary: #ddddd7;
|
|
85
|
+
--border-input: #bdbdb6;
|
|
86
|
+
--border-tertiary: #9d9d96;
|
|
87
|
+
--border-disabled: #ddddd7;
|
|
88
|
+
--border-inverse: #4a4a46;
|
|
89
|
+
--border-focus: #111111;
|
|
90
|
+
--border-brand: #21e36b;
|
|
91
|
+
--border-brand-2: #ffe14a;
|
|
92
|
+
--border-brand-3: #58a7f8;
|
|
93
|
+
--border-brand-4: #a77af3;
|
|
94
|
+
--border-brand-5: #ff7d73;
|
|
95
|
+
--border-info: #80baf4;
|
|
96
|
+
--border-success: #62d98a;
|
|
97
|
+
--border-warning: #f1d35f;
|
|
98
|
+
--border-critical: #f3a09a;
|
|
99
|
+
--border-emphasis: #6eadec;
|
|
100
|
+
--chart-1: #21e36b;
|
|
101
|
+
--chart-2: #58a7f8;
|
|
102
|
+
--chart-3: #ffe14a;
|
|
103
|
+
--chart-4: #a77af3;
|
|
104
|
+
--chart-5: #ff7d73;
|
|
105
|
+
--sidebar-background: #f7f7f3;
|
|
106
|
+
--sidebar-foreground: #111111;
|
|
107
|
+
--sidebar-primary: #111111;
|
|
108
|
+
--sidebar-primary-foreground: #ffffff;
|
|
109
|
+
--sidebar-accent: #efefeb;
|
|
110
|
+
--sidebar-accent-foreground: #111111;
|
|
111
|
+
--sidebar-border: #c9c9c2;
|
|
112
|
+
--sidebar-ring: #111111;
|
|
113
|
+
--spacing: 0.25rem;
|
|
114
|
+
--border-width-base: 0.0625rem;
|
|
115
|
+
--radius: 0.125rem;
|
|
116
|
+
--font-size-base: 1rem;
|
|
117
|
+
--leading-base: 1.3;
|
|
118
|
+
--letter-spacing-base: 0em;
|
|
119
|
+
--opacity-disabled: 0.45;
|
|
120
|
+
--shadow-offset-y: 0px;
|
|
121
|
+
--shadow-blur: 0px;
|
|
122
|
+
--shadow-spread: 0px;
|
|
123
|
+
--shadow-base-color: #00000000;
|
|
124
|
+
--container-sm: 576px;
|
|
125
|
+
--container-md: 768px;
|
|
126
|
+
--container-lg: 1056px;
|
|
127
|
+
--container-xl: 1248px;
|
|
128
|
+
--container-2xl: 1440px;
|
|
129
|
+
--dropdown-offset: 4;
|
|
130
|
+
--overlay-offset: 4;
|
|
131
|
+
--font-sans: 'Inter Variable', sans-serif;
|
|
132
|
+
--font-heading: 'Inter Variable', sans-serif;
|
|
133
|
+
--font-brand: 'Bricolage Grotesque Variable', sans-serif;
|
|
134
|
+
--button-radius: var(--radius);
|
|
135
|
+
--card-radius: var(--radius);
|
|
136
|
+
--card-padding: calc(var(--spacing) * 6);
|
|
137
|
+
--input-radius: var(--radius);
|
|
138
|
+
--input-height: calc(var(--spacing) * 10);
|
|
139
|
+
--badge-radius: var(--radius);
|
|
140
|
+
--motion-duration-fast: 100ms;
|
|
141
|
+
--motion-duration-normal: 150ms;
|
|
142
|
+
--motion-duration-slow: 200ms;
|
|
143
|
+
--motion-duration-color: 100ms;
|
|
144
|
+
--motion-duration-interaction: 100ms;
|
|
145
|
+
--motion-duration-disclosure: 150ms;
|
|
146
|
+
--motion-duration-overlay: 150ms;
|
|
147
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
148
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
149
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
150
|
+
--motion-ease-linear: linear;
|
|
151
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
152
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
153
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
154
|
+
--hover-transform: none;
|
|
155
|
+
--hover-shadow: none;
|
|
156
|
+
--active-scale: 1;
|
|
157
|
+
--heading-font-weight: 700;
|
|
158
|
+
--heading-letter-spacing: var(--tracking-tight);
|
|
159
|
+
--body-letter-spacing: var(--tracking-normal);
|
|
160
|
+
--hero-font-size: var(--text-6xl);
|
|
161
|
+
--hero-font-weight: 700;
|
|
162
|
+
--hero-letter-spacing: var(--tracking-tight);
|
|
163
|
+
--section-title-size: var(--text-3xl);
|
|
164
|
+
--section-title-font-weight: 700;
|
|
165
|
+
--section-title-letter-spacing: var(--tracking-tight);
|
|
166
|
+
--card-title-size: var(--text-lg);
|
|
167
|
+
--card-title-font-weight: 600;
|
|
168
|
+
--card-title-letter-spacing: var(--tracking-normal);
|
|
169
|
+
--background: var(--bg-default);
|
|
170
|
+
--foreground: var(--text-default);
|
|
171
|
+
--card: var(--bg-surface-default);
|
|
172
|
+
--card-foreground: var(--text-default);
|
|
173
|
+
--popover: var(--bg-surface-popover);
|
|
174
|
+
--popover-foreground: var(--text-default);
|
|
175
|
+
--primary: var(--bg-fill-primary);
|
|
176
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
177
|
+
--secondary: var(--bg-fill-secondary);
|
|
178
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
179
|
+
--muted: var(--bg-muted);
|
|
180
|
+
--muted-foreground: var(--text-muted);
|
|
181
|
+
--accent: var(--bg-surface-accent);
|
|
182
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
183
|
+
--destructive: var(--bg-fill-critical);
|
|
184
|
+
--border: var(--border-default);
|
|
185
|
+
--input: var(--border-input);
|
|
186
|
+
--ring: var(--border-focus);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.dark {
|
|
190
|
+
--bg-default: #111111;
|
|
191
|
+
--bg-inverse: #f7f7f3;
|
|
192
|
+
--bg-muted: #191918;
|
|
193
|
+
--bg-surface-default: #111111;
|
|
194
|
+
--bg-surface-popover: #191918;
|
|
195
|
+
--bg-surface-accent: #1e1e1c;
|
|
196
|
+
--bg-surface-field: #262624;
|
|
197
|
+
--bg-surface-info: #132332;
|
|
198
|
+
--bg-surface-success: #14251a;
|
|
199
|
+
--bg-surface-warning: #2a2412;
|
|
200
|
+
--bg-surface-critical: #2b1716;
|
|
201
|
+
--bg-surface-emphasis: #15243a;
|
|
202
|
+
--bg-surface-inverse: #f7f7f3;
|
|
203
|
+
--bg-surface-transparent: #ffffff0d;
|
|
204
|
+
--bg-overlay: #000000b2;
|
|
205
|
+
--bg-surface-brand: #12301d;
|
|
206
|
+
--bg-surface-brand-2: #332e10;
|
|
207
|
+
--bg-surface-brand-3: #16293a;
|
|
208
|
+
--bg-surface-brand-4: #281e3b;
|
|
209
|
+
--bg-surface-brand-5: #35201e;
|
|
210
|
+
--bg-surface-hover: #20201e;
|
|
211
|
+
--bg-fill-default: #111111;
|
|
212
|
+
--bg-fill-primary: #f7f7f3;
|
|
213
|
+
--bg-fill-brand: #21e36b;
|
|
214
|
+
--bg-fill-brand-2: #ffe14a;
|
|
215
|
+
--bg-fill-brand-3: #58a7f8;
|
|
216
|
+
--bg-fill-brand-4: #a77af3;
|
|
217
|
+
--bg-fill-brand-5: #ff7d73;
|
|
218
|
+
--bg-fill-info: #58a7f8;
|
|
219
|
+
--bg-fill-success: #21e36b;
|
|
220
|
+
--bg-fill-warning: #ffe14a;
|
|
221
|
+
--bg-fill-critical: #ff7d73;
|
|
222
|
+
--bg-fill-emphasis: #58a7f8;
|
|
223
|
+
--bg-fill-transparent: #ffffff0d;
|
|
224
|
+
--bg-fill-secondary: #1e1e1c;
|
|
225
|
+
--bg-fill-secondary-inverse: #111111;
|
|
226
|
+
--text-default: #f7f7f3;
|
|
227
|
+
--text-secondary: #b8b8b1;
|
|
228
|
+
--text-muted: #8f8f89;
|
|
229
|
+
--text-disabled: #5e5e59;
|
|
230
|
+
--text-inverse: #111111;
|
|
231
|
+
--text-on-fill-primary: #111111;
|
|
232
|
+
--text-on-fill-brand: #111111;
|
|
233
|
+
--text-on-fill-secondary: #f7f7f3;
|
|
234
|
+
--text-on-surface-accent: #f7f7f3;
|
|
235
|
+
--text-info: #a7d0f7;
|
|
236
|
+
--text-success: #8be5a9;
|
|
237
|
+
--text-warning: #f3d866;
|
|
238
|
+
--text-critical: #f3a19b;
|
|
239
|
+
--text-emphasis: #a8cff6;
|
|
240
|
+
--text-brand: #7ae89e;
|
|
241
|
+
--text-brand-2: #e8d35b;
|
|
242
|
+
--text-brand-3: #7db7f5;
|
|
243
|
+
--text-brand-4: #b79af0;
|
|
244
|
+
--text-brand-5: #f39b94;
|
|
245
|
+
--text-link: #f7f7f3;
|
|
246
|
+
--icon-default: #f7f7f3;
|
|
247
|
+
--icon-secondary: #b8b8b1;
|
|
248
|
+
--icon-disabled: #5e5e59;
|
|
249
|
+
--icon-inverse: #111111;
|
|
250
|
+
--icon-info: #58a7f8;
|
|
251
|
+
--icon-success: #21e36b;
|
|
252
|
+
--icon-warning: #ffe14a;
|
|
253
|
+
--icon-critical: #ff7d73;
|
|
254
|
+
--icon-emphasis: #58a7f8;
|
|
255
|
+
--icon-brand: #21e36b;
|
|
256
|
+
--icon-brand-2: #ffe14a;
|
|
257
|
+
--icon-brand-3: #58a7f8;
|
|
258
|
+
--icon-brand-4: #a77af3;
|
|
259
|
+
--icon-brand-5: #ff7d73;
|
|
260
|
+
--border-default: #3b3b37;
|
|
261
|
+
--border-secondary: #2c2c29;
|
|
262
|
+
--border-input: #4a4a45;
|
|
263
|
+
--border-tertiary: #5a5a54;
|
|
264
|
+
--border-disabled: #2c2c29;
|
|
265
|
+
--border-inverse: #b8b8b1;
|
|
266
|
+
--border-focus: #f7f7f3;
|
|
267
|
+
--border-brand: #21e36b;
|
|
268
|
+
--border-brand-2: #ffe14a;
|
|
269
|
+
--border-brand-3: #58a7f8;
|
|
270
|
+
--border-brand-4: #a77af3;
|
|
271
|
+
--border-brand-5: #ff7d73;
|
|
272
|
+
--border-info: #3d7cb8;
|
|
273
|
+
--border-success: #2e9b53;
|
|
274
|
+
--border-warning: #a98f2c;
|
|
275
|
+
--border-critical: #a6554f;
|
|
276
|
+
--border-emphasis: #4c89c7;
|
|
277
|
+
--chart-1: #21e36b;
|
|
278
|
+
--chart-2: #58a7f8;
|
|
279
|
+
--chart-3: #ffe14a;
|
|
280
|
+
--chart-4: #a77af3;
|
|
281
|
+
--chart-5: #ff7d73;
|
|
282
|
+
--sidebar-background: #111111;
|
|
283
|
+
--sidebar-foreground: #f7f7f3;
|
|
284
|
+
--sidebar-primary: #f7f7f3;
|
|
285
|
+
--sidebar-primary-foreground: #111111;
|
|
286
|
+
--sidebar-accent: #1e1e1c;
|
|
287
|
+
--sidebar-accent-foreground: #f7f7f3;
|
|
288
|
+
--sidebar-border: #3b3b37;
|
|
289
|
+
--sidebar-ring: #f7f7f3;
|
|
290
|
+
--font-sans: 'Inter Variable', sans-serif;
|
|
291
|
+
--font-heading: 'Inter Variable', sans-serif;
|
|
292
|
+
--font-brand: 'Bricolage Grotesque Variable', sans-serif;
|
|
293
|
+
--spacing: 0.25rem;
|
|
294
|
+
--border-width-base: 0.0625rem;
|
|
295
|
+
--radius: 0.125rem;
|
|
296
|
+
--font-size-base: 1rem;
|
|
297
|
+
--leading-base: 1.3;
|
|
298
|
+
--letter-spacing-base: 0em;
|
|
299
|
+
--opacity-disabled: 0.45;
|
|
300
|
+
--shadow-offset-y: 0px;
|
|
301
|
+
--shadow-blur: 0px;
|
|
302
|
+
--shadow-spread: 0px;
|
|
303
|
+
--shadow-base-color: #00000000;
|
|
304
|
+
--container-sm: 576px;
|
|
305
|
+
--container-md: 768px;
|
|
306
|
+
--container-lg: 1056px;
|
|
307
|
+
--container-xl: 1248px;
|
|
308
|
+
--container-2xl: 1440px;
|
|
309
|
+
--dropdown-offset: 4;
|
|
310
|
+
--overlay-offset: 4;
|
|
311
|
+
--background: var(--bg-default);
|
|
312
|
+
--foreground: var(--text-default);
|
|
313
|
+
--card: var(--bg-surface-default);
|
|
314
|
+
--card-foreground: var(--text-default);
|
|
315
|
+
--popover: var(--bg-surface-popover);
|
|
316
|
+
--popover-foreground: var(--text-default);
|
|
317
|
+
--primary: var(--bg-fill-primary);
|
|
318
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
319
|
+
--secondary: var(--bg-fill-secondary);
|
|
320
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
321
|
+
--muted: var(--bg-muted);
|
|
322
|
+
--muted-foreground: var(--text-muted);
|
|
323
|
+
--accent: var(--bg-surface-accent);
|
|
324
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
325
|
+
--destructive: var(--bg-fill-critical);
|
|
326
|
+
--border: var(--border-default);
|
|
327
|
+
--input: var(--border-input);
|
|
328
|
+
--ring: var(--border-focus);
|
|
329
|
+
}
|
package/package.json
CHANGED
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
@leitware/composables - Editorial Grid Preset
|
|
3
|
+
============================================================================
|
|
4
|
+
Flat editorial grid, visible rules, and vivid signals.
|
|
5
|
+
|
|
6
|
+
HOW TO USE:
|
|
7
|
+
1. Copy this file into your project's global CSS (e.g. index.css)
|
|
8
|
+
2. Or import the preset: @import "@leitware/composables/presets/editorial-grid.css";
|
|
9
|
+
3. Add class="dark" to <html> for dark mode.
|
|
10
|
+
============================================================================ */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--bg-default: #f7f7f3;
|
|
14
|
+
--bg-inverse: #111111;
|
|
15
|
+
--bg-muted: #efefeb;
|
|
16
|
+
--bg-surface-default: #f7f7f3;
|
|
17
|
+
--bg-surface-popover: #ffffff;
|
|
18
|
+
--bg-surface-accent: #efefeb;
|
|
19
|
+
--bg-surface-field: #e7e7e1;
|
|
20
|
+
--bg-surface-info: #eef6ff;
|
|
21
|
+
--bg-surface-success: #eefaf1;
|
|
22
|
+
--bg-surface-warning: #fff9e8;
|
|
23
|
+
--bg-surface-critical: #fff0ef;
|
|
24
|
+
--bg-surface-emphasis: #eef6ff;
|
|
25
|
+
--bg-surface-inverse: #1a1a1a;
|
|
26
|
+
--bg-surface-transparent: #00000008;
|
|
27
|
+
--bg-overlay: #00000099;
|
|
28
|
+
--bg-surface-brand: #ecfff2;
|
|
29
|
+
--bg-surface-brand-2: #fffbea;
|
|
30
|
+
--bg-surface-brand-3: #eef6ff;
|
|
31
|
+
--bg-surface-brand-4: #f5f0ff;
|
|
32
|
+
--bg-surface-brand-5: #fff1ef;
|
|
33
|
+
--bg-surface-hover: #ecece7;
|
|
34
|
+
--bg-fill-default: #f7f7f3;
|
|
35
|
+
--bg-fill-primary: #111111;
|
|
36
|
+
--bg-fill-brand: #21e36b;
|
|
37
|
+
--bg-fill-brand-2: #ffe14a;
|
|
38
|
+
--bg-fill-brand-3: #58a7f8;
|
|
39
|
+
--bg-fill-brand-4: #a77af3;
|
|
40
|
+
--bg-fill-brand-5: #ff7d73;
|
|
41
|
+
--bg-fill-info: #58a7f8;
|
|
42
|
+
--bg-fill-success: #21e36b;
|
|
43
|
+
--bg-fill-warning: #ffe14a;
|
|
44
|
+
--bg-fill-critical: #ff6b63;
|
|
45
|
+
--bg-fill-emphasis: #3c8ee6;
|
|
46
|
+
--bg-fill-transparent: #00000008;
|
|
47
|
+
--bg-fill-secondary: #efefeb;
|
|
48
|
+
--bg-fill-secondary-inverse: #ffffff;
|
|
49
|
+
--text-default: #111111;
|
|
50
|
+
--text-secondary: #555550;
|
|
51
|
+
--text-muted: #777770;
|
|
52
|
+
--text-disabled: #b7b7b0;
|
|
53
|
+
--text-inverse: #ffffff;
|
|
54
|
+
--text-on-fill-primary: #ffffff;
|
|
55
|
+
--text-on-fill-brand: #111111;
|
|
56
|
+
--text-on-fill-secondary: #111111;
|
|
57
|
+
--text-on-surface-accent: #111111;
|
|
58
|
+
--text-info: #163a5c;
|
|
59
|
+
--text-success: #124a29;
|
|
60
|
+
--text-warning: #594500;
|
|
61
|
+
--text-critical: #6a1b18;
|
|
62
|
+
--text-emphasis: #123b66;
|
|
63
|
+
--text-brand: #0f5d2d;
|
|
64
|
+
--text-brand-2: #5a4900;
|
|
65
|
+
--text-brand-3: #164b7a;
|
|
66
|
+
--text-brand-4: #4d287e;
|
|
67
|
+
--text-brand-5: #7a2e28;
|
|
68
|
+
--text-link: #111111;
|
|
69
|
+
--icon-default: #111111;
|
|
70
|
+
--icon-secondary: #555550;
|
|
71
|
+
--icon-disabled: #cfcfc8;
|
|
72
|
+
--icon-inverse: #ffffff;
|
|
73
|
+
--icon-info: #2c7fd3;
|
|
74
|
+
--icon-success: #159447;
|
|
75
|
+
--icon-warning: #b98d00;
|
|
76
|
+
--icon-critical: #d44e46;
|
|
77
|
+
--icon-emphasis: #2c7fd3;
|
|
78
|
+
--icon-brand: #159447;
|
|
79
|
+
--icon-brand-2: #c4a300;
|
|
80
|
+
--icon-brand-3: #3c8ee6;
|
|
81
|
+
--icon-brand-4: #8155cc;
|
|
82
|
+
--icon-brand-5: #df5e55;
|
|
83
|
+
--border-default: #c9c9c2;
|
|
84
|
+
--border-secondary: #ddddd7;
|
|
85
|
+
--border-input: #bdbdb6;
|
|
86
|
+
--border-tertiary: #9d9d96;
|
|
87
|
+
--border-disabled: #ddddd7;
|
|
88
|
+
--border-inverse: #4a4a46;
|
|
89
|
+
--border-focus: #111111;
|
|
90
|
+
--border-brand: #21e36b;
|
|
91
|
+
--border-brand-2: #ffe14a;
|
|
92
|
+
--border-brand-3: #58a7f8;
|
|
93
|
+
--border-brand-4: #a77af3;
|
|
94
|
+
--border-brand-5: #ff7d73;
|
|
95
|
+
--border-info: #80baf4;
|
|
96
|
+
--border-success: #62d98a;
|
|
97
|
+
--border-warning: #f1d35f;
|
|
98
|
+
--border-critical: #f3a09a;
|
|
99
|
+
--border-emphasis: #6eadec;
|
|
100
|
+
--chart-1: #21e36b;
|
|
101
|
+
--chart-2: #58a7f8;
|
|
102
|
+
--chart-3: #ffe14a;
|
|
103
|
+
--chart-4: #a77af3;
|
|
104
|
+
--chart-5: #ff7d73;
|
|
105
|
+
--sidebar-background: #f7f7f3;
|
|
106
|
+
--sidebar-foreground: #111111;
|
|
107
|
+
--sidebar-primary: #111111;
|
|
108
|
+
--sidebar-primary-foreground: #ffffff;
|
|
109
|
+
--sidebar-accent: #efefeb;
|
|
110
|
+
--sidebar-accent-foreground: #111111;
|
|
111
|
+
--sidebar-border: #c9c9c2;
|
|
112
|
+
--sidebar-ring: #111111;
|
|
113
|
+
--spacing: 0.25rem;
|
|
114
|
+
--border-width-base: 0.0625rem;
|
|
115
|
+
--radius: 0.125rem;
|
|
116
|
+
--font-size-base: 1rem;
|
|
117
|
+
--leading-base: 1.3;
|
|
118
|
+
--letter-spacing-base: 0em;
|
|
119
|
+
--opacity-disabled: 0.45;
|
|
120
|
+
--shadow-offset-y: 0px;
|
|
121
|
+
--shadow-blur: 0px;
|
|
122
|
+
--shadow-spread: 0px;
|
|
123
|
+
--shadow-base-color: #00000000;
|
|
124
|
+
--container-sm: 576px;
|
|
125
|
+
--container-md: 768px;
|
|
126
|
+
--container-lg: 1056px;
|
|
127
|
+
--container-xl: 1248px;
|
|
128
|
+
--container-2xl: 1440px;
|
|
129
|
+
--dropdown-offset: 4;
|
|
130
|
+
--overlay-offset: 4;
|
|
131
|
+
--font-sans: 'Inter Variable', sans-serif;
|
|
132
|
+
--font-heading: 'Inter Variable', sans-serif;
|
|
133
|
+
--font-brand: 'Bricolage Grotesque Variable', sans-serif;
|
|
134
|
+
--button-radius: var(--radius);
|
|
135
|
+
--card-radius: var(--radius);
|
|
136
|
+
--card-padding: calc(var(--spacing) * 6);
|
|
137
|
+
--input-radius: var(--radius);
|
|
138
|
+
--input-height: calc(var(--spacing) * 10);
|
|
139
|
+
--badge-radius: var(--radius);
|
|
140
|
+
--motion-duration-fast: 100ms;
|
|
141
|
+
--motion-duration-normal: 150ms;
|
|
142
|
+
--motion-duration-slow: 200ms;
|
|
143
|
+
--motion-duration-color: 100ms;
|
|
144
|
+
--motion-duration-interaction: 100ms;
|
|
145
|
+
--motion-duration-disclosure: 150ms;
|
|
146
|
+
--motion-duration-overlay: 150ms;
|
|
147
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
148
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
149
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
150
|
+
--motion-ease-linear: linear;
|
|
151
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
152
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
153
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
154
|
+
--hover-transform: none;
|
|
155
|
+
--hover-shadow: none;
|
|
156
|
+
--active-scale: 1;
|
|
157
|
+
--heading-font-weight: 700;
|
|
158
|
+
--heading-letter-spacing: var(--tracking-tight);
|
|
159
|
+
--body-letter-spacing: var(--tracking-normal);
|
|
160
|
+
--hero-font-size: var(--text-6xl);
|
|
161
|
+
--hero-font-weight: 700;
|
|
162
|
+
--hero-letter-spacing: var(--tracking-tight);
|
|
163
|
+
--section-title-size: var(--text-3xl);
|
|
164
|
+
--section-title-font-weight: 700;
|
|
165
|
+
--section-title-letter-spacing: var(--tracking-tight);
|
|
166
|
+
--card-title-size: var(--text-lg);
|
|
167
|
+
--card-title-font-weight: 600;
|
|
168
|
+
--card-title-letter-spacing: var(--tracking-normal);
|
|
169
|
+
--background: var(--bg-default);
|
|
170
|
+
--foreground: var(--text-default);
|
|
171
|
+
--card: var(--bg-surface-default);
|
|
172
|
+
--card-foreground: var(--text-default);
|
|
173
|
+
--popover: var(--bg-surface-popover);
|
|
174
|
+
--popover-foreground: var(--text-default);
|
|
175
|
+
--primary: var(--bg-fill-primary);
|
|
176
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
177
|
+
--secondary: var(--bg-fill-secondary);
|
|
178
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
179
|
+
--muted: var(--bg-muted);
|
|
180
|
+
--muted-foreground: var(--text-muted);
|
|
181
|
+
--accent: var(--bg-surface-accent);
|
|
182
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
183
|
+
--destructive: var(--bg-fill-critical);
|
|
184
|
+
--border: var(--border-default);
|
|
185
|
+
--input: var(--border-input);
|
|
186
|
+
--ring: var(--border-focus);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
.dark {
|
|
190
|
+
--bg-default: #111111;
|
|
191
|
+
--bg-inverse: #f7f7f3;
|
|
192
|
+
--bg-muted: #191918;
|
|
193
|
+
--bg-surface-default: #111111;
|
|
194
|
+
--bg-surface-popover: #191918;
|
|
195
|
+
--bg-surface-accent: #1e1e1c;
|
|
196
|
+
--bg-surface-field: #262624;
|
|
197
|
+
--bg-surface-info: #132332;
|
|
198
|
+
--bg-surface-success: #14251a;
|
|
199
|
+
--bg-surface-warning: #2a2412;
|
|
200
|
+
--bg-surface-critical: #2b1716;
|
|
201
|
+
--bg-surface-emphasis: #15243a;
|
|
202
|
+
--bg-surface-inverse: #f7f7f3;
|
|
203
|
+
--bg-surface-transparent: #ffffff0d;
|
|
204
|
+
--bg-overlay: #000000b2;
|
|
205
|
+
--bg-surface-brand: #12301d;
|
|
206
|
+
--bg-surface-brand-2: #332e10;
|
|
207
|
+
--bg-surface-brand-3: #16293a;
|
|
208
|
+
--bg-surface-brand-4: #281e3b;
|
|
209
|
+
--bg-surface-brand-5: #35201e;
|
|
210
|
+
--bg-surface-hover: #20201e;
|
|
211
|
+
--bg-fill-default: #111111;
|
|
212
|
+
--bg-fill-primary: #f7f7f3;
|
|
213
|
+
--bg-fill-brand: #21e36b;
|
|
214
|
+
--bg-fill-brand-2: #ffe14a;
|
|
215
|
+
--bg-fill-brand-3: #58a7f8;
|
|
216
|
+
--bg-fill-brand-4: #a77af3;
|
|
217
|
+
--bg-fill-brand-5: #ff7d73;
|
|
218
|
+
--bg-fill-info: #58a7f8;
|
|
219
|
+
--bg-fill-success: #21e36b;
|
|
220
|
+
--bg-fill-warning: #ffe14a;
|
|
221
|
+
--bg-fill-critical: #ff7d73;
|
|
222
|
+
--bg-fill-emphasis: #58a7f8;
|
|
223
|
+
--bg-fill-transparent: #ffffff0d;
|
|
224
|
+
--bg-fill-secondary: #1e1e1c;
|
|
225
|
+
--bg-fill-secondary-inverse: #111111;
|
|
226
|
+
--text-default: #f7f7f3;
|
|
227
|
+
--text-secondary: #b8b8b1;
|
|
228
|
+
--text-muted: #8f8f89;
|
|
229
|
+
--text-disabled: #5e5e59;
|
|
230
|
+
--text-inverse: #111111;
|
|
231
|
+
--text-on-fill-primary: #111111;
|
|
232
|
+
--text-on-fill-brand: #111111;
|
|
233
|
+
--text-on-fill-secondary: #f7f7f3;
|
|
234
|
+
--text-on-surface-accent: #f7f7f3;
|
|
235
|
+
--text-info: #a7d0f7;
|
|
236
|
+
--text-success: #8be5a9;
|
|
237
|
+
--text-warning: #f3d866;
|
|
238
|
+
--text-critical: #f3a19b;
|
|
239
|
+
--text-emphasis: #a8cff6;
|
|
240
|
+
--text-brand: #7ae89e;
|
|
241
|
+
--text-brand-2: #e8d35b;
|
|
242
|
+
--text-brand-3: #7db7f5;
|
|
243
|
+
--text-brand-4: #b79af0;
|
|
244
|
+
--text-brand-5: #f39b94;
|
|
245
|
+
--text-link: #f7f7f3;
|
|
246
|
+
--icon-default: #f7f7f3;
|
|
247
|
+
--icon-secondary: #b8b8b1;
|
|
248
|
+
--icon-disabled: #5e5e59;
|
|
249
|
+
--icon-inverse: #111111;
|
|
250
|
+
--icon-info: #58a7f8;
|
|
251
|
+
--icon-success: #21e36b;
|
|
252
|
+
--icon-warning: #ffe14a;
|
|
253
|
+
--icon-critical: #ff7d73;
|
|
254
|
+
--icon-emphasis: #58a7f8;
|
|
255
|
+
--icon-brand: #21e36b;
|
|
256
|
+
--icon-brand-2: #ffe14a;
|
|
257
|
+
--icon-brand-3: #58a7f8;
|
|
258
|
+
--icon-brand-4: #a77af3;
|
|
259
|
+
--icon-brand-5: #ff7d73;
|
|
260
|
+
--border-default: #3b3b37;
|
|
261
|
+
--border-secondary: #2c2c29;
|
|
262
|
+
--border-input: #4a4a45;
|
|
263
|
+
--border-tertiary: #5a5a54;
|
|
264
|
+
--border-disabled: #2c2c29;
|
|
265
|
+
--border-inverse: #b8b8b1;
|
|
266
|
+
--border-focus: #f7f7f3;
|
|
267
|
+
--border-brand: #21e36b;
|
|
268
|
+
--border-brand-2: #ffe14a;
|
|
269
|
+
--border-brand-3: #58a7f8;
|
|
270
|
+
--border-brand-4: #a77af3;
|
|
271
|
+
--border-brand-5: #ff7d73;
|
|
272
|
+
--border-info: #3d7cb8;
|
|
273
|
+
--border-success: #2e9b53;
|
|
274
|
+
--border-warning: #a98f2c;
|
|
275
|
+
--border-critical: #a6554f;
|
|
276
|
+
--border-emphasis: #4c89c7;
|
|
277
|
+
--chart-1: #21e36b;
|
|
278
|
+
--chart-2: #58a7f8;
|
|
279
|
+
--chart-3: #ffe14a;
|
|
280
|
+
--chart-4: #a77af3;
|
|
281
|
+
--chart-5: #ff7d73;
|
|
282
|
+
--sidebar-background: #111111;
|
|
283
|
+
--sidebar-foreground: #f7f7f3;
|
|
284
|
+
--sidebar-primary: #f7f7f3;
|
|
285
|
+
--sidebar-primary-foreground: #111111;
|
|
286
|
+
--sidebar-accent: #1e1e1c;
|
|
287
|
+
--sidebar-accent-foreground: #f7f7f3;
|
|
288
|
+
--sidebar-border: #3b3b37;
|
|
289
|
+
--sidebar-ring: #f7f7f3;
|
|
290
|
+
--font-sans: 'Inter Variable', sans-serif;
|
|
291
|
+
--font-heading: 'Inter Variable', sans-serif;
|
|
292
|
+
--font-brand: 'Bricolage Grotesque Variable', sans-serif;
|
|
293
|
+
--spacing: 0.25rem;
|
|
294
|
+
--border-width-base: 0.0625rem;
|
|
295
|
+
--radius: 0.125rem;
|
|
296
|
+
--font-size-base: 1rem;
|
|
297
|
+
--leading-base: 1.3;
|
|
298
|
+
--letter-spacing-base: 0em;
|
|
299
|
+
--opacity-disabled: 0.45;
|
|
300
|
+
--shadow-offset-y: 0px;
|
|
301
|
+
--shadow-blur: 0px;
|
|
302
|
+
--shadow-spread: 0px;
|
|
303
|
+
--shadow-base-color: #00000000;
|
|
304
|
+
--container-sm: 576px;
|
|
305
|
+
--container-md: 768px;
|
|
306
|
+
--container-lg: 1056px;
|
|
307
|
+
--container-xl: 1248px;
|
|
308
|
+
--container-2xl: 1440px;
|
|
309
|
+
--dropdown-offset: 4;
|
|
310
|
+
--overlay-offset: 4;
|
|
311
|
+
--background: var(--bg-default);
|
|
312
|
+
--foreground: var(--text-default);
|
|
313
|
+
--card: var(--bg-surface-default);
|
|
314
|
+
--card-foreground: var(--text-default);
|
|
315
|
+
--popover: var(--bg-surface-popover);
|
|
316
|
+
--popover-foreground: var(--text-default);
|
|
317
|
+
--primary: var(--bg-fill-primary);
|
|
318
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
319
|
+
--secondary: var(--bg-fill-secondary);
|
|
320
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
321
|
+
--muted: var(--bg-muted);
|
|
322
|
+
--muted-foreground: var(--text-muted);
|
|
323
|
+
--accent: var(--bg-surface-accent);
|
|
324
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
325
|
+
--destructive: var(--bg-fill-critical);
|
|
326
|
+
--border: var(--border-default);
|
|
327
|
+
--input: var(--border-input);
|
|
328
|
+
--ring: var(--border-focus);
|
|
329
|
+
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import { defaultPreset, defaultPresetDark } from './default'
|
|
2
|
+
|
|
3
|
+
/** Flat editorial surfaces, visible grid lines, and vivid signal blocks. */
|
|
4
|
+
export const editorialGrid: Record<string, string> = {
|
|
5
|
+
...defaultPreset,
|
|
6
|
+
|
|
7
|
+
'--bg-default': '#F7F7F3',
|
|
8
|
+
'--bg-inverse': '#111111',
|
|
9
|
+
'--bg-muted': '#EFEFEB',
|
|
10
|
+
'--bg-surface-default': '#F7F7F3',
|
|
11
|
+
'--bg-surface-popover': '#FFFFFF',
|
|
12
|
+
'--bg-surface-accent': '#EFEFEB',
|
|
13
|
+
'--bg-surface-field': '#E7E7E1',
|
|
14
|
+
'--bg-surface-info': '#EEF6FF',
|
|
15
|
+
'--bg-surface-success': '#EEFAF1',
|
|
16
|
+
'--bg-surface-warning': '#FFF9E8',
|
|
17
|
+
'--bg-surface-critical': '#FFF0EF',
|
|
18
|
+
'--bg-surface-emphasis': '#EEF6FF',
|
|
19
|
+
'--bg-surface-inverse': '#1A1A1A',
|
|
20
|
+
'--bg-surface-transparent': '#00000008',
|
|
21
|
+
'--bg-overlay': '#00000099',
|
|
22
|
+
'--bg-surface-brand': '#ECFFF2',
|
|
23
|
+
'--bg-surface-brand-2': '#FFFBEA',
|
|
24
|
+
'--bg-surface-brand-3': '#EEF6FF',
|
|
25
|
+
'--bg-surface-brand-4': '#F5F0FF',
|
|
26
|
+
'--bg-surface-brand-5': '#FFF1EF',
|
|
27
|
+
'--bg-surface-hover': '#ECECE7',
|
|
28
|
+
'--bg-fill-default': '#F7F7F3',
|
|
29
|
+
'--bg-fill-primary': '#111111',
|
|
30
|
+
'--bg-fill-brand': '#21E36B',
|
|
31
|
+
'--bg-fill-brand-2': '#FFE14A',
|
|
32
|
+
'--bg-fill-brand-3': '#58A7F8',
|
|
33
|
+
'--bg-fill-brand-4': '#A77AF3',
|
|
34
|
+
'--bg-fill-brand-5': '#FF7D73',
|
|
35
|
+
'--bg-fill-info': '#58A7F8',
|
|
36
|
+
'--bg-fill-success': '#21E36B',
|
|
37
|
+
'--bg-fill-warning': '#FFE14A',
|
|
38
|
+
'--bg-fill-critical': '#FF6B63',
|
|
39
|
+
'--bg-fill-emphasis': '#3C8EE6',
|
|
40
|
+
'--bg-fill-transparent': '#00000008',
|
|
41
|
+
'--bg-fill-secondary': '#EFEFEB',
|
|
42
|
+
'--bg-fill-secondary-inverse': '#FFFFFF',
|
|
43
|
+
'--text-default': '#111111',
|
|
44
|
+
'--text-secondary': '#555550',
|
|
45
|
+
'--text-muted': '#777770',
|
|
46
|
+
'--text-disabled': '#B7B7B0',
|
|
47
|
+
'--text-inverse': '#FFFFFF',
|
|
48
|
+
'--text-on-fill-primary': '#FFFFFF',
|
|
49
|
+
'--text-on-fill-brand': '#111111',
|
|
50
|
+
'--text-on-fill-secondary': '#111111',
|
|
51
|
+
'--text-on-surface-accent': '#111111',
|
|
52
|
+
'--text-info': '#163A5C',
|
|
53
|
+
'--text-success': '#124A29',
|
|
54
|
+
'--text-warning': '#594500',
|
|
55
|
+
'--text-critical': '#6A1B18',
|
|
56
|
+
'--text-emphasis': '#123B66',
|
|
57
|
+
'--text-brand': '#0F5D2D',
|
|
58
|
+
'--text-brand-2': '#5A4900',
|
|
59
|
+
'--text-brand-3': '#164B7A',
|
|
60
|
+
'--text-brand-4': '#4D287E',
|
|
61
|
+
'--text-brand-5': '#7A2E28',
|
|
62
|
+
'--text-link': '#111111',
|
|
63
|
+
'--icon-default': '#111111',
|
|
64
|
+
'--icon-secondary': '#555550',
|
|
65
|
+
'--icon-disabled': '#CFCFC8',
|
|
66
|
+
'--icon-inverse': '#FFFFFF',
|
|
67
|
+
'--icon-info': '#2C7FD3',
|
|
68
|
+
'--icon-success': '#159447',
|
|
69
|
+
'--icon-warning': '#B98D00',
|
|
70
|
+
'--icon-critical': '#D44E46',
|
|
71
|
+
'--icon-emphasis': '#2C7FD3',
|
|
72
|
+
'--icon-brand': '#159447',
|
|
73
|
+
'--icon-brand-2': '#C4A300',
|
|
74
|
+
'--icon-brand-3': '#3C8EE6',
|
|
75
|
+
'--icon-brand-4': '#8155CC',
|
|
76
|
+
'--icon-brand-5': '#DF5E55',
|
|
77
|
+
'--border-default': '#C9C9C2',
|
|
78
|
+
'--border-secondary': '#DDDDD7',
|
|
79
|
+
'--border-input': '#BDBDB6',
|
|
80
|
+
'--border-tertiary': '#9D9D96',
|
|
81
|
+
'--border-disabled': '#DDDDD7',
|
|
82
|
+
'--border-inverse': '#4A4A46',
|
|
83
|
+
'--border-focus': '#111111',
|
|
84
|
+
'--border-brand': '#21E36B',
|
|
85
|
+
'--border-brand-2': '#FFE14A',
|
|
86
|
+
'--border-brand-3': '#58A7F8',
|
|
87
|
+
'--border-brand-4': '#A77AF3',
|
|
88
|
+
'--border-brand-5': '#FF7D73',
|
|
89
|
+
'--border-info': '#80BAF4',
|
|
90
|
+
'--border-success': '#62D98A',
|
|
91
|
+
'--border-warning': '#F1D35F',
|
|
92
|
+
'--border-critical': '#F3A09A',
|
|
93
|
+
'--border-emphasis': '#6EADEC',
|
|
94
|
+
'--chart-1': '#21E36B',
|
|
95
|
+
'--chart-2': '#58A7F8',
|
|
96
|
+
'--chart-3': '#FFE14A',
|
|
97
|
+
'--chart-4': '#A77AF3',
|
|
98
|
+
'--chart-5': '#FF7D73',
|
|
99
|
+
'--spacing': '0.25rem',
|
|
100
|
+
'--border-width-base': '0.0625rem',
|
|
101
|
+
'--radius': '0.125rem',
|
|
102
|
+
'--font-size-base': '1rem',
|
|
103
|
+
'--leading-base': '1.3',
|
|
104
|
+
'--letter-spacing-base': '0em',
|
|
105
|
+
'--opacity-disabled': '0.45',
|
|
106
|
+
'--shadow-offset-y': '0px',
|
|
107
|
+
'--shadow-blur': '0px',
|
|
108
|
+
'--shadow-spread': '0px',
|
|
109
|
+
'--shadow-base-color': '#00000000',
|
|
110
|
+
'--container-sm': '576px',
|
|
111
|
+
'--container-md': '768px',
|
|
112
|
+
'--container-lg': '1056px',
|
|
113
|
+
'--container-xl': '1248px',
|
|
114
|
+
'--container-2xl': '1440px',
|
|
115
|
+
'--dropdown-offset': '4',
|
|
116
|
+
'--overlay-offset': '4',
|
|
117
|
+
'--font-sans': '"Inter Variable", sans-serif',
|
|
118
|
+
'--font-heading': '"Inter Variable", sans-serif',
|
|
119
|
+
'--font-brand': '"Bricolage Grotesque Variable", sans-serif',
|
|
120
|
+
|
|
121
|
+
// Sidebar roles are independent of the semantic aliases.
|
|
122
|
+
'--sidebar-background': '#F7F7F3',
|
|
123
|
+
'--sidebar-foreground': '#111111',
|
|
124
|
+
'--sidebar-primary': '#111111',
|
|
125
|
+
'--sidebar-primary-foreground': '#FFFFFF',
|
|
126
|
+
'--sidebar-accent': '#EFEFEB',
|
|
127
|
+
'--sidebar-accent-foreground': '#111111',
|
|
128
|
+
'--sidebar-border': '#C9C9C2',
|
|
129
|
+
'--sidebar-ring': '#111111',
|
|
130
|
+
|
|
131
|
+
// Flat cells and restrained interactions.
|
|
132
|
+
'--button-radius': 'var(--radius)',
|
|
133
|
+
'--card-radius': 'var(--radius)',
|
|
134
|
+
'--card-padding': 'calc(var(--spacing) * 6)',
|
|
135
|
+
'--input-radius': 'var(--radius)',
|
|
136
|
+
'--input-height': 'calc(var(--spacing) * 10)',
|
|
137
|
+
'--badge-radius': 'var(--radius)',
|
|
138
|
+
'--hover-shadow': 'none',
|
|
139
|
+
'--hover-transform': 'none',
|
|
140
|
+
'--active-scale': '1',
|
|
141
|
+
'--motion-duration-fast': '100ms',
|
|
142
|
+
'--motion-duration-normal': '150ms',
|
|
143
|
+
'--motion-duration-slow': '200ms',
|
|
144
|
+
'--motion-duration-color': '100ms',
|
|
145
|
+
'--motion-duration-interaction': '100ms',
|
|
146
|
+
'--motion-duration-disclosure': '150ms',
|
|
147
|
+
'--motion-duration-overlay': '150ms',
|
|
148
|
+
'--heading-font-weight': '700',
|
|
149
|
+
'--hero-font-size': 'var(--text-6xl)',
|
|
150
|
+
'--hero-font-weight': '700',
|
|
151
|
+
'--section-title-font-weight': '700',
|
|
152
|
+
'--card-title-font-weight': '600',
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export const editorialGridDark: Record<string, string> = {
|
|
156
|
+
...defaultPresetDark,
|
|
157
|
+
|
|
158
|
+
'--bg-default': '#111111',
|
|
159
|
+
'--bg-inverse': '#F7F7F3',
|
|
160
|
+
'--bg-muted': '#191918',
|
|
161
|
+
'--bg-surface-default': '#111111',
|
|
162
|
+
'--bg-surface-popover': '#191918',
|
|
163
|
+
'--bg-surface-accent': '#1E1E1C',
|
|
164
|
+
'--bg-surface-field': '#262624',
|
|
165
|
+
'--bg-surface-info': '#132332',
|
|
166
|
+
'--bg-surface-success': '#14251A',
|
|
167
|
+
'--bg-surface-warning': '#2A2412',
|
|
168
|
+
'--bg-surface-critical': '#2B1716',
|
|
169
|
+
'--bg-surface-emphasis': '#15243A',
|
|
170
|
+
'--bg-surface-inverse': '#F7F7F3',
|
|
171
|
+
'--bg-surface-transparent': '#FFFFFF0D',
|
|
172
|
+
'--bg-overlay': '#000000B2',
|
|
173
|
+
'--bg-surface-brand': '#12301D',
|
|
174
|
+
'--bg-surface-brand-2': '#332E10',
|
|
175
|
+
'--bg-surface-brand-3': '#16293A',
|
|
176
|
+
'--bg-surface-brand-4': '#281E3B',
|
|
177
|
+
'--bg-surface-brand-5': '#35201E',
|
|
178
|
+
'--bg-surface-hover': '#20201E',
|
|
179
|
+
'--bg-fill-default': '#111111',
|
|
180
|
+
'--bg-fill-primary': '#F7F7F3',
|
|
181
|
+
'--bg-fill-brand': '#21E36B',
|
|
182
|
+
'--bg-fill-brand-2': '#FFE14A',
|
|
183
|
+
'--bg-fill-brand-3': '#58A7F8',
|
|
184
|
+
'--bg-fill-brand-4': '#A77AF3',
|
|
185
|
+
'--bg-fill-brand-5': '#FF7D73',
|
|
186
|
+
'--bg-fill-info': '#58A7F8',
|
|
187
|
+
'--bg-fill-success': '#21E36B',
|
|
188
|
+
'--bg-fill-warning': '#FFE14A',
|
|
189
|
+
'--bg-fill-critical': '#FF7D73',
|
|
190
|
+
'--bg-fill-emphasis': '#58A7F8',
|
|
191
|
+
'--bg-fill-transparent': '#FFFFFF0D',
|
|
192
|
+
'--bg-fill-secondary': '#1E1E1C',
|
|
193
|
+
'--bg-fill-secondary-inverse': '#111111',
|
|
194
|
+
'--text-default': '#F7F7F3',
|
|
195
|
+
'--text-secondary': '#B8B8B1',
|
|
196
|
+
'--text-muted': '#8F8F89',
|
|
197
|
+
'--text-disabled': '#5E5E59',
|
|
198
|
+
'--text-inverse': '#111111',
|
|
199
|
+
'--text-on-fill-primary': '#111111',
|
|
200
|
+
'--text-on-fill-brand': '#111111',
|
|
201
|
+
'--text-on-fill-secondary': '#F7F7F3',
|
|
202
|
+
'--text-on-surface-accent': '#F7F7F3',
|
|
203
|
+
'--text-info': '#A7D0F7',
|
|
204
|
+
'--text-success': '#8BE5A9',
|
|
205
|
+
'--text-warning': '#F3D866',
|
|
206
|
+
'--text-critical': '#F3A19B',
|
|
207
|
+
'--text-emphasis': '#A8CFF6',
|
|
208
|
+
'--text-brand': '#7AE89E',
|
|
209
|
+
'--text-brand-2': '#E8D35B',
|
|
210
|
+
'--text-brand-3': '#7DB7F5',
|
|
211
|
+
'--text-brand-4': '#B79AF0',
|
|
212
|
+
'--text-brand-5': '#F39B94',
|
|
213
|
+
'--text-link': '#F7F7F3',
|
|
214
|
+
'--icon-default': '#F7F7F3',
|
|
215
|
+
'--icon-secondary': '#B8B8B1',
|
|
216
|
+
'--icon-disabled': '#5E5E59',
|
|
217
|
+
'--icon-inverse': '#111111',
|
|
218
|
+
'--icon-info': '#58A7F8',
|
|
219
|
+
'--icon-success': '#21E36B',
|
|
220
|
+
'--icon-warning': '#FFE14A',
|
|
221
|
+
'--icon-critical': '#FF7D73',
|
|
222
|
+
'--icon-emphasis': '#58A7F8',
|
|
223
|
+
'--icon-brand': '#21E36B',
|
|
224
|
+
'--icon-brand-2': '#FFE14A',
|
|
225
|
+
'--icon-brand-3': '#58A7F8',
|
|
226
|
+
'--icon-brand-4': '#A77AF3',
|
|
227
|
+
'--icon-brand-5': '#FF7D73',
|
|
228
|
+
'--border-default': '#3B3B37',
|
|
229
|
+
'--border-secondary': '#2C2C29',
|
|
230
|
+
'--border-input': '#4A4A45',
|
|
231
|
+
'--border-tertiary': '#5A5A54',
|
|
232
|
+
'--border-disabled': '#2C2C29',
|
|
233
|
+
'--border-inverse': '#B8B8B1',
|
|
234
|
+
'--border-focus': '#F7F7F3',
|
|
235
|
+
'--border-brand': '#21E36B',
|
|
236
|
+
'--border-brand-2': '#FFE14A',
|
|
237
|
+
'--border-brand-3': '#58A7F8',
|
|
238
|
+
'--border-brand-4': '#A77AF3',
|
|
239
|
+
'--border-brand-5': '#FF7D73',
|
|
240
|
+
'--border-info': '#3D7CB8',
|
|
241
|
+
'--border-success': '#2E9B53',
|
|
242
|
+
'--border-warning': '#A98F2C',
|
|
243
|
+
'--border-critical': '#A6554F',
|
|
244
|
+
'--border-emphasis': '#4C89C7',
|
|
245
|
+
'--chart-1': '#21E36B',
|
|
246
|
+
'--chart-2': '#58A7F8',
|
|
247
|
+
'--chart-3': '#FFE14A',
|
|
248
|
+
'--chart-4': '#A77AF3',
|
|
249
|
+
'--chart-5': '#FF7D73',
|
|
250
|
+
|
|
251
|
+
'--sidebar-background': '#111111',
|
|
252
|
+
'--sidebar-foreground': '#F7F7F3',
|
|
253
|
+
'--sidebar-primary': '#F7F7F3',
|
|
254
|
+
'--sidebar-primary-foreground': '#111111',
|
|
255
|
+
'--sidebar-accent': '#1E1E1C',
|
|
256
|
+
'--sidebar-accent-foreground': '#F7F7F3',
|
|
257
|
+
'--sidebar-border': '#3B3B37',
|
|
258
|
+
'--sidebar-ring': '#F7F7F3',
|
|
259
|
+
|
|
260
|
+
'--spacing': '0.25rem',
|
|
261
|
+
'--border-width-base': '0.0625rem',
|
|
262
|
+
'--radius': '0.125rem',
|
|
263
|
+
'--font-size-base': '1rem',
|
|
264
|
+
'--leading-base': '1.3',
|
|
265
|
+
'--letter-spacing-base': '0em',
|
|
266
|
+
'--opacity-disabled': '0.45',
|
|
267
|
+
'--shadow-offset-y': '0px',
|
|
268
|
+
'--shadow-blur': '0px',
|
|
269
|
+
'--shadow-spread': '0px',
|
|
270
|
+
'--shadow-base-color': '#00000000',
|
|
271
|
+
'--container-sm': '576px',
|
|
272
|
+
'--container-md': '768px',
|
|
273
|
+
'--container-lg': '1056px',
|
|
274
|
+
'--container-xl': '1248px',
|
|
275
|
+
'--container-2xl': '1440px',
|
|
276
|
+
'--dropdown-offset': '4',
|
|
277
|
+
'--overlay-offset': '4',
|
|
278
|
+
'--font-sans': '"Inter Variable", sans-serif',
|
|
279
|
+
'--font-heading': '"Inter Variable", sans-serif',
|
|
280
|
+
'--font-brand': '"Bricolage Grotesque Variable", sans-serif',
|
|
281
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { defaultPreset, defaultPresetDark } from './default'
|
|
2
2
|
import { brutalist, brutalistDark } from './brutalist'
|
|
3
3
|
import { signalPop, signalPopDark } from './signal-pop'
|
|
4
|
+
import { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
4
5
|
|
|
5
6
|
export { defaultPreset, defaultPresetDark } from './default'
|
|
6
7
|
export { brutalist, brutalistDark } from './brutalist'
|
|
7
8
|
export { signalPop, signalPopDark } from './signal-pop'
|
|
9
|
+
export { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
8
10
|
|
|
9
11
|
export interface PresetDefinition {
|
|
10
12
|
name: string
|
|
@@ -38,6 +40,13 @@ export const presetDefinitions = [
|
|
|
38
40
|
light: signalPop,
|
|
39
41
|
dark: signalPopDark,
|
|
40
42
|
},
|
|
43
|
+
{
|
|
44
|
+
name: 'editorial-grid',
|
|
45
|
+
label: 'Editorial Grid',
|
|
46
|
+
description: 'Flat editorial grid, visible rules, and vivid signals.',
|
|
47
|
+
light: editorialGrid,
|
|
48
|
+
dark: editorialGridDark,
|
|
49
|
+
},
|
|
41
50
|
] satisfies PresetDefinition[]
|
|
42
51
|
|
|
43
52
|
export const presetDefinitionsByName = Object.fromEntries(
|