@leitware/composables 3.5.0 → 3.6.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 +17 -7
- package/dist/presets/sponder.css +350 -0
- package/package.json +6 -1
- package/src/styles/presets/sponder.css +350 -0
- package/src/styles/presets-data/index.ts +9 -0
- package/src/styles/presets-data/sponder.ts +121 -0
package/README.md
CHANGED
|
@@ -235,6 +235,15 @@ Editorial Grid:
|
|
|
235
235
|
@import '@leitware/composables/presets/kumo.css';
|
|
236
236
|
```
|
|
237
237
|
|
|
238
|
+
Sponder:
|
|
239
|
+
|
|
240
|
+
```css
|
|
241
|
+
@import '@fontsource-variable/inter';
|
|
242
|
+
@import '@fontsource-variable/geist';
|
|
243
|
+
@import '@leitware/composables/styles.css';
|
|
244
|
+
@import '@leitware/composables/presets/sponder.css';
|
|
245
|
+
```
|
|
246
|
+
|
|
238
247
|
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'`.
|
|
239
248
|
|
|
240
249
|
---
|
|
@@ -370,13 +379,14 @@ export default function RootLayout({ children }) {
|
|
|
370
379
|
|
|
371
380
|
The default theme is included in `styles.css`. Alternative presets are available as standalone CSS files:
|
|
372
381
|
|
|
373
|
-
| Preset | Vibe
|
|
374
|
-
| ------------------ |
|
|
375
|
-
| **Default** | Clean neutral system, works everywhere
|
|
376
|
-
| **Brutalist** | Bold, high-contrast, raw aesthetic
|
|
377
|
-
| **Signal Pop** | Bright consumer-tech, modular and graphic
|
|
378
|
-
| **Editorial Grid** | Flat technical catalogue with vivid signals
|
|
379
|
-
| **Kumo** | Cloudflare-inspired surfaces and highlighted buttons
|
|
382
|
+
| Preset | Vibe | Fonts |
|
|
383
|
+
| ------------------ | ---------------------------------------------------------- | ---------------------------------------------- |
|
|
384
|
+
| **Default** | Clean neutral system, works everywhere | Inter + Bricolage Grotesque |
|
|
385
|
+
| **Brutalist** | Bold, high-contrast, raw aesthetic | Space Grotesk + JetBrains Mono |
|
|
386
|
+
| **Signal Pop** | Bright consumer-tech, modular and graphic | IBM Plex Sans + Space Grotesk + JetBrains Mono |
|
|
387
|
+
| **Editorial Grid** | Flat technical catalogue with vivid signals | Inter + Bricolage Grotesque |
|
|
388
|
+
| **Kumo** | Cloudflare-inspired surfaces and highlighted buttons | Inter |
|
|
389
|
+
| **Sponder** | Dark slate surfaces and green accents in both colour modes | Inter + Geist |
|
|
380
390
|
|
|
381
391
|
```css
|
|
382
392
|
/* Optional: use exactly one alternative preset after styles.css */
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
@leitware/composables - Sponder Preset
|
|
3
|
+
============================================================================
|
|
4
|
+
Dark slate surfaces, green brand accents, and Inter and Geist typography.
|
|
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/sponder.css";
|
|
9
|
+
3. Add class="dark" to <html> for dark mode.
|
|
10
|
+
============================================================================ */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--bg-default: #101318ff;
|
|
14
|
+
--bg-inverse: #e7e4deff;
|
|
15
|
+
--bg-muted: #171b21ff;
|
|
16
|
+
--bg-surface-default: #12161dff;
|
|
17
|
+
--bg-surface-popover: #171c23ff;
|
|
18
|
+
--bg-surface-accent: #1c222aff;
|
|
19
|
+
--bg-surface-field: #242a33ff;
|
|
20
|
+
--bg-surface-input: #2b323cff;
|
|
21
|
+
--bg-surface-info: #112031ff;
|
|
22
|
+
--bg-surface-success: #0f2118ff;
|
|
23
|
+
--bg-surface-warning: #251c0dff;
|
|
24
|
+
--bg-surface-critical: #261615ff;
|
|
25
|
+
--bg-surface-emphasis: #1c1731ff;
|
|
26
|
+
--bg-surface-inverse: #e7e4deff;
|
|
27
|
+
--bg-surface-transparent: #ffffff0d;
|
|
28
|
+
--bg-overlay: rgba(2, 6, 23, 0.62);
|
|
29
|
+
--bg-surface-brand: #2a1f16ff;
|
|
30
|
+
--bg-surface-brand-2: #14202dff;
|
|
31
|
+
--bg-surface-brand-3: #201a2bff;
|
|
32
|
+
--bg-surface-brand-4: #142118ff;
|
|
33
|
+
--bg-surface-brand-5: #271b14ff;
|
|
34
|
+
--bg-surface-hover: #1a1f26ff;
|
|
35
|
+
--bg-fill-default: #12161dff;
|
|
36
|
+
--bg-fill-primary: #f2f0ebff;
|
|
37
|
+
--bg-fill-primary-hover: #ffffffff;
|
|
38
|
+
--bg-fill-selected: #f2f0ebff;
|
|
39
|
+
--bg-fill-brand: #52a276ff;
|
|
40
|
+
--bg-fill-brand-2: #6b83f5ff;
|
|
41
|
+
--bg-fill-brand-3: #f0a968ff;
|
|
42
|
+
--bg-fill-brand-4: #a198eaff;
|
|
43
|
+
--bg-fill-brand-5: #a7d8ffff;
|
|
44
|
+
--bg-fill-info: #3b9cf5ff;
|
|
45
|
+
--bg-fill-success: #55c783ff;
|
|
46
|
+
--bg-fill-warning: #e4a934ff;
|
|
47
|
+
--bg-fill-critical: #ec7c72ff;
|
|
48
|
+
--bg-fill-emphasis: #8b73f2ff;
|
|
49
|
+
--bg-fill-transparent: #ffffff0d;
|
|
50
|
+
--bg-fill-secondary: #1a1f26ff;
|
|
51
|
+
--bg-fill-secondary-hover: #20262eff;
|
|
52
|
+
--bg-fill-secondary-inverse: #101318ff;
|
|
53
|
+
--text-default: #f2f0ebff;
|
|
54
|
+
--text-secondary: #cad1daff;
|
|
55
|
+
--text-muted: #8c95a2ff;
|
|
56
|
+
--text-disabled: #555e6bff;
|
|
57
|
+
--text-inverse: #101318ff;
|
|
58
|
+
--text-on-fill-primary: #101318ff;
|
|
59
|
+
--text-on-fill-selected: #101318ff;
|
|
60
|
+
--text-on-fill-brand: #101318ff;
|
|
61
|
+
--text-on-fill-secondary: #f2f0ebff;
|
|
62
|
+
--text-on-surface-accent: #f2f0ebff;
|
|
63
|
+
--text-info: #8cc5ffff;
|
|
64
|
+
--text-success: #8ee2afff;
|
|
65
|
+
--text-warning: #f6c76eff;
|
|
66
|
+
--text-critical: #ffaaa2ff;
|
|
67
|
+
--text-emphasis: #c4b5ffff;
|
|
68
|
+
--text-brand: #9be0b7ff;
|
|
69
|
+
--text-brand-2: #b6c5ffff;
|
|
70
|
+
--text-brand-3: #f4c28eff;
|
|
71
|
+
--text-brand-4: #cdc5ffff;
|
|
72
|
+
--text-brand-5: #bfe7ffff;
|
|
73
|
+
--text-link: #f2f0ebff;
|
|
74
|
+
--icon-default: #f2f0ebff;
|
|
75
|
+
--icon-secondary: #cad1daff;
|
|
76
|
+
--icon-disabled: #4c5561ff;
|
|
77
|
+
--icon-inverse: #101318ff;
|
|
78
|
+
--icon-info: #3b9cf5ff;
|
|
79
|
+
--icon-success: #55c783ff;
|
|
80
|
+
--icon-warning: #e4a934ff;
|
|
81
|
+
--icon-critical: #ec7c72ff;
|
|
82
|
+
--icon-emphasis: #8b73f2ff;
|
|
83
|
+
--icon-brand: #52a276ff;
|
|
84
|
+
--icon-brand-2: #6b83f5ff;
|
|
85
|
+
--icon-brand-3: #f0a968ff;
|
|
86
|
+
--icon-brand-4: #a198eaff;
|
|
87
|
+
--icon-brand-5: #a7d8ffff;
|
|
88
|
+
--border-default: #2a3038ff;
|
|
89
|
+
--border-secondary: #20262eff;
|
|
90
|
+
--border-input: #00000000;
|
|
91
|
+
--border-tertiary: #363d47ff;
|
|
92
|
+
--border-disabled: #20262eff;
|
|
93
|
+
--border-inverse: #f2f0ebff;
|
|
94
|
+
--border-focus: #6b83f5ff;
|
|
95
|
+
--border-brand: #52a276ff;
|
|
96
|
+
--border-brand-2: #6b83f5ff;
|
|
97
|
+
--border-brand-3: #f0a968ff;
|
|
98
|
+
--border-brand-4: #a198eaff;
|
|
99
|
+
--border-brand-5: #a7d8ffff;
|
|
100
|
+
--border-info: #3b9cf5ff;
|
|
101
|
+
--border-success: #55c783ff;
|
|
102
|
+
--border-warning: #e4a934ff;
|
|
103
|
+
--border-critical: #ec7c72ff;
|
|
104
|
+
--border-emphasis: #8b73f2ff;
|
|
105
|
+
--chart-1: #52a276ff;
|
|
106
|
+
--chart-2: #6b83f5ff;
|
|
107
|
+
--chart-3: #f0a968ff;
|
|
108
|
+
--chart-4: #a198eaff;
|
|
109
|
+
--chart-5: #3b9cf5ff;
|
|
110
|
+
--sidebar-background: #12161dff;
|
|
111
|
+
--sidebar-foreground: #f2f0ebff;
|
|
112
|
+
--sidebar-primary: #f2f0ebff;
|
|
113
|
+
--sidebar-primary-foreground: #101318ff;
|
|
114
|
+
--sidebar-accent: #1a1f26ff;
|
|
115
|
+
--sidebar-accent-foreground: #f2f0ebff;
|
|
116
|
+
--sidebar-border: #222831ff;
|
|
117
|
+
--sidebar-ring: #6b83f5ff;
|
|
118
|
+
--spacing: 0.25rem;
|
|
119
|
+
--border-width-base: 0.0625rem;
|
|
120
|
+
--radius: 0.5rem;
|
|
121
|
+
--font-size-base: 1rem;
|
|
122
|
+
--leading-base: 1.33;
|
|
123
|
+
--letter-spacing-base: 0.025em;
|
|
124
|
+
--opacity-disabled: 0.5;
|
|
125
|
+
--shadow-offset-y: 1px;
|
|
126
|
+
--shadow-blur: 2px;
|
|
127
|
+
--shadow-spread: 1px;
|
|
128
|
+
--shadow-base-color: rgba(0, 0, 0, 0.1);
|
|
129
|
+
--container-sm: 576px;
|
|
130
|
+
--container-md: 768px;
|
|
131
|
+
--container-lg: 1056px;
|
|
132
|
+
--container-xl: 1248px;
|
|
133
|
+
--container-2xl: 1440px;
|
|
134
|
+
--dropdown-offset: 4;
|
|
135
|
+
--overlay-offset: 4;
|
|
136
|
+
--font-sans: 'Inter Variable', 'Inter', 'Helvetica Neue', Arial, sans-serif;
|
|
137
|
+
--font-heading: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
138
|
+
--font-brand: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
139
|
+
--button-radius: var(--radius-md);
|
|
140
|
+
--card-radius: var(--radius-lg);
|
|
141
|
+
--card-padding: calc(var(--spacing) * 4);
|
|
142
|
+
--input-radius: var(--radius-md);
|
|
143
|
+
--control-size-md: calc(var(--spacing) * 7);
|
|
144
|
+
--badge-radius: var(--radius-4xl);
|
|
145
|
+
--motion-duration-fast: 100ms;
|
|
146
|
+
--motion-duration-normal: 200ms;
|
|
147
|
+
--motion-duration-slow: 300ms;
|
|
148
|
+
--motion-duration-color: var(--motion-duration-fast);
|
|
149
|
+
--motion-duration-interaction: var(--motion-duration-fast);
|
|
150
|
+
--motion-duration-disclosure: var(--motion-duration-normal);
|
|
151
|
+
--motion-duration-overlay: var(--motion-duration-fast);
|
|
152
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
153
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
154
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
155
|
+
--motion-ease-linear: linear;
|
|
156
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
157
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
158
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
159
|
+
--hover-transform: none;
|
|
160
|
+
--hover-shadow: var(--shadow-md);
|
|
161
|
+
--active-scale: 0.98;
|
|
162
|
+
--background: var(--bg-default);
|
|
163
|
+
--foreground: var(--text-default);
|
|
164
|
+
--card: var(--bg-surface-default);
|
|
165
|
+
--card-foreground: var(--text-default);
|
|
166
|
+
--popover: var(--bg-surface-popover);
|
|
167
|
+
--popover-foreground: var(--text-default);
|
|
168
|
+
--primary: var(--bg-fill-primary);
|
|
169
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
170
|
+
--secondary: var(--bg-fill-secondary);
|
|
171
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
172
|
+
--muted: var(--bg-muted);
|
|
173
|
+
--muted-foreground: var(--text-muted);
|
|
174
|
+
--accent: var(--bg-surface-accent);
|
|
175
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
176
|
+
--destructive: var(--bg-fill-critical);
|
|
177
|
+
--border: var(--border-default);
|
|
178
|
+
--input: var(--border-input);
|
|
179
|
+
--ring: var(--border-focus);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.dark {
|
|
183
|
+
--bg-default: #101318ff;
|
|
184
|
+
--bg-inverse: #e7e4deff;
|
|
185
|
+
--bg-muted: #171b21ff;
|
|
186
|
+
--bg-surface-default: #12161dff;
|
|
187
|
+
--bg-surface-popover: #171c23ff;
|
|
188
|
+
--bg-surface-accent: #1c222aff;
|
|
189
|
+
--bg-surface-field: #242a33ff;
|
|
190
|
+
--bg-surface-input: #2b323cff;
|
|
191
|
+
--bg-surface-info: #112031ff;
|
|
192
|
+
--bg-surface-success: #0f2118ff;
|
|
193
|
+
--bg-surface-warning: #251c0dff;
|
|
194
|
+
--bg-surface-critical: #261615ff;
|
|
195
|
+
--bg-surface-emphasis: #1c1731ff;
|
|
196
|
+
--bg-surface-inverse: #e7e4deff;
|
|
197
|
+
--bg-surface-transparent: #ffffff0d;
|
|
198
|
+
--bg-overlay: rgba(2, 6, 23, 0.62);
|
|
199
|
+
--bg-surface-brand: #2a1f16ff;
|
|
200
|
+
--bg-surface-brand-2: #14202dff;
|
|
201
|
+
--bg-surface-brand-3: #201a2bff;
|
|
202
|
+
--bg-surface-brand-4: #142118ff;
|
|
203
|
+
--bg-surface-brand-5: #271b14ff;
|
|
204
|
+
--bg-surface-hover: #1a1f26ff;
|
|
205
|
+
--bg-fill-default: #12161dff;
|
|
206
|
+
--bg-fill-primary: #f2f0ebff;
|
|
207
|
+
--bg-fill-primary-hover: #ffffffff;
|
|
208
|
+
--bg-fill-selected: #f2f0ebff;
|
|
209
|
+
--bg-fill-brand: #52a276ff;
|
|
210
|
+
--bg-fill-brand-2: #6b83f5ff;
|
|
211
|
+
--bg-fill-brand-3: #f0a968ff;
|
|
212
|
+
--bg-fill-brand-4: #a198eaff;
|
|
213
|
+
--bg-fill-brand-5: #a7d8ffff;
|
|
214
|
+
--bg-fill-info: #3b9cf5ff;
|
|
215
|
+
--bg-fill-success: #55c783ff;
|
|
216
|
+
--bg-fill-warning: #e4a934ff;
|
|
217
|
+
--bg-fill-critical: #ec7c72ff;
|
|
218
|
+
--bg-fill-emphasis: #8b73f2ff;
|
|
219
|
+
--bg-fill-transparent: #ffffff0d;
|
|
220
|
+
--bg-fill-secondary: #1a1f26ff;
|
|
221
|
+
--bg-fill-secondary-hover: #20262eff;
|
|
222
|
+
--bg-fill-secondary-inverse: #101318ff;
|
|
223
|
+
--text-default: #f2f0ebff;
|
|
224
|
+
--text-secondary: #cad1daff;
|
|
225
|
+
--text-muted: #8c95a2ff;
|
|
226
|
+
--text-disabled: #555e6bff;
|
|
227
|
+
--text-inverse: #101318ff;
|
|
228
|
+
--text-on-fill-primary: #101318ff;
|
|
229
|
+
--text-on-fill-selected: #101318ff;
|
|
230
|
+
--text-on-fill-brand: #101318ff;
|
|
231
|
+
--text-on-fill-secondary: #f2f0ebff;
|
|
232
|
+
--text-on-surface-accent: #f2f0ebff;
|
|
233
|
+
--text-info: #8cc5ffff;
|
|
234
|
+
--text-success: #8ee2afff;
|
|
235
|
+
--text-warning: #f6c76eff;
|
|
236
|
+
--text-critical: #ffaaa2ff;
|
|
237
|
+
--text-emphasis: #c4b5ffff;
|
|
238
|
+
--text-brand: #9be0b7ff;
|
|
239
|
+
--text-brand-2: #b6c5ffff;
|
|
240
|
+
--text-brand-3: #f4c28eff;
|
|
241
|
+
--text-brand-4: #cdc5ffff;
|
|
242
|
+
--text-brand-5: #bfe7ffff;
|
|
243
|
+
--text-link: #f2f0ebff;
|
|
244
|
+
--icon-default: #f2f0ebff;
|
|
245
|
+
--icon-secondary: #cad1daff;
|
|
246
|
+
--icon-disabled: #4c5561ff;
|
|
247
|
+
--icon-inverse: #101318ff;
|
|
248
|
+
--icon-info: #3b9cf5ff;
|
|
249
|
+
--icon-success: #55c783ff;
|
|
250
|
+
--icon-warning: #e4a934ff;
|
|
251
|
+
--icon-critical: #ec7c72ff;
|
|
252
|
+
--icon-emphasis: #8b73f2ff;
|
|
253
|
+
--icon-brand: #52a276ff;
|
|
254
|
+
--icon-brand-2: #6b83f5ff;
|
|
255
|
+
--icon-brand-3: #f0a968ff;
|
|
256
|
+
--icon-brand-4: #a198eaff;
|
|
257
|
+
--icon-brand-5: #a7d8ffff;
|
|
258
|
+
--border-default: #2a3038ff;
|
|
259
|
+
--border-secondary: #20262eff;
|
|
260
|
+
--border-input: #00000000;
|
|
261
|
+
--border-tertiary: #363d47ff;
|
|
262
|
+
--border-disabled: #20262eff;
|
|
263
|
+
--border-inverse: #f2f0ebff;
|
|
264
|
+
--border-focus: #6b83f5ff;
|
|
265
|
+
--border-brand: #52a276ff;
|
|
266
|
+
--border-brand-2: #6b83f5ff;
|
|
267
|
+
--border-brand-3: #f0a968ff;
|
|
268
|
+
--border-brand-4: #a198eaff;
|
|
269
|
+
--border-brand-5: #a7d8ffff;
|
|
270
|
+
--border-info: #3b9cf5ff;
|
|
271
|
+
--border-success: #55c783ff;
|
|
272
|
+
--border-warning: #e4a934ff;
|
|
273
|
+
--border-critical: #ec7c72ff;
|
|
274
|
+
--border-emphasis: #8b73f2ff;
|
|
275
|
+
--chart-1: #52a276ff;
|
|
276
|
+
--chart-2: #6b83f5ff;
|
|
277
|
+
--chart-3: #f0a968ff;
|
|
278
|
+
--chart-4: #a198eaff;
|
|
279
|
+
--chart-5: #3b9cf5ff;
|
|
280
|
+
--sidebar-background: #12161dff;
|
|
281
|
+
--sidebar-foreground: #f2f0ebff;
|
|
282
|
+
--sidebar-primary: #f2f0ebff;
|
|
283
|
+
--sidebar-primary-foreground: #101318ff;
|
|
284
|
+
--sidebar-accent: #1a1f26ff;
|
|
285
|
+
--sidebar-accent-foreground: #f2f0ebff;
|
|
286
|
+
--sidebar-border: #222831ff;
|
|
287
|
+
--sidebar-ring: #6b83f5ff;
|
|
288
|
+
--spacing: 0.25rem;
|
|
289
|
+
--border-width-base: 0.0625rem;
|
|
290
|
+
--radius: 0.5rem;
|
|
291
|
+
--font-size-base: 1rem;
|
|
292
|
+
--leading-base: 1.33;
|
|
293
|
+
--letter-spacing-base: 0.025em;
|
|
294
|
+
--opacity-disabled: 0.5;
|
|
295
|
+
--shadow-offset-y: 1px;
|
|
296
|
+
--shadow-blur: 2px;
|
|
297
|
+
--shadow-spread: 1px;
|
|
298
|
+
--shadow-base-color: rgba(0, 0, 0, 0.1);
|
|
299
|
+
--container-sm: 576px;
|
|
300
|
+
--container-md: 768px;
|
|
301
|
+
--container-lg: 1056px;
|
|
302
|
+
--container-xl: 1248px;
|
|
303
|
+
--container-2xl: 1440px;
|
|
304
|
+
--dropdown-offset: 4;
|
|
305
|
+
--overlay-offset: 4;
|
|
306
|
+
--font-sans: 'Inter Variable', 'Inter', 'Helvetica Neue', Arial, sans-serif;
|
|
307
|
+
--font-heading: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
308
|
+
--font-brand: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
309
|
+
--button-radius: var(--radius-md);
|
|
310
|
+
--card-radius: var(--radius-lg);
|
|
311
|
+
--card-padding: calc(var(--spacing) * 4);
|
|
312
|
+
--input-radius: var(--radius-md);
|
|
313
|
+
--control-size-md: calc(var(--spacing) * 7);
|
|
314
|
+
--badge-radius: var(--radius-4xl);
|
|
315
|
+
--motion-duration-fast: 100ms;
|
|
316
|
+
--motion-duration-normal: 200ms;
|
|
317
|
+
--motion-duration-slow: 300ms;
|
|
318
|
+
--motion-duration-color: var(--motion-duration-fast);
|
|
319
|
+
--motion-duration-interaction: var(--motion-duration-fast);
|
|
320
|
+
--motion-duration-disclosure: var(--motion-duration-normal);
|
|
321
|
+
--motion-duration-overlay: var(--motion-duration-fast);
|
|
322
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
323
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
324
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
325
|
+
--motion-ease-linear: linear;
|
|
326
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
327
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
328
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
329
|
+
--hover-transform: none;
|
|
330
|
+
--hover-shadow: var(--shadow-md);
|
|
331
|
+
--active-scale: 0.98;
|
|
332
|
+
--background: var(--bg-default);
|
|
333
|
+
--foreground: var(--text-default);
|
|
334
|
+
--card: var(--bg-surface-default);
|
|
335
|
+
--card-foreground: var(--text-default);
|
|
336
|
+
--popover: var(--bg-surface-popover);
|
|
337
|
+
--popover-foreground: var(--text-default);
|
|
338
|
+
--primary: var(--bg-fill-primary);
|
|
339
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
340
|
+
--secondary: var(--bg-fill-secondary);
|
|
341
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
342
|
+
--muted: var(--bg-muted);
|
|
343
|
+
--muted-foreground: var(--text-muted);
|
|
344
|
+
--accent: var(--bg-surface-accent);
|
|
345
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
346
|
+
--destructive: var(--bg-fill-critical);
|
|
347
|
+
--border: var(--border-default);
|
|
348
|
+
--input: var(--border-input);
|
|
349
|
+
--ring: var(--border-focus);
|
|
350
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leitware/composables",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"react": "^18.0.0 || ^19.0.0",
|
|
63
63
|
"react-dom": "^18.0.0 || ^19.0.0",
|
|
64
64
|
"@fontsource-variable/inter": "^5.0.0",
|
|
65
|
+
"@fontsource-variable/geist": "^5.0.0",
|
|
65
66
|
"@fontsource-variable/bricolage-grotesque": "^5.0.0",
|
|
66
67
|
"@fontsource-variable/dm-sans": "^5.0.0",
|
|
67
68
|
"@fontsource-variable/fraunces": "^5.0.0",
|
|
@@ -87,6 +88,9 @@
|
|
|
87
88
|
"@fontsource-variable/inter": {
|
|
88
89
|
"optional": true
|
|
89
90
|
},
|
|
91
|
+
"@fontsource-variable/geist": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
90
94
|
"@fontsource-variable/bricolage-grotesque": {
|
|
91
95
|
"optional": true
|
|
92
96
|
},
|
|
@@ -152,6 +156,7 @@
|
|
|
152
156
|
"@fontsource-variable/bricolage-grotesque": "^5.2.10",
|
|
153
157
|
"@fontsource-variable/dm-sans": "^5.2.8",
|
|
154
158
|
"@fontsource-variable/fraunces": "^5.2.9",
|
|
159
|
+
"@fontsource-variable/geist": "^5.0.0",
|
|
155
160
|
"@fontsource-variable/inter": "^5.2.8",
|
|
156
161
|
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
|
157
162
|
"@fontsource-variable/plus-jakarta-sans": "^5.2.8",
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
@leitware/composables - Sponder Preset
|
|
3
|
+
============================================================================
|
|
4
|
+
Dark slate surfaces, green brand accents, and Inter and Geist typography.
|
|
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/sponder.css";
|
|
9
|
+
3. Add class="dark" to <html> for dark mode.
|
|
10
|
+
============================================================================ */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--bg-default: #101318ff;
|
|
14
|
+
--bg-inverse: #e7e4deff;
|
|
15
|
+
--bg-muted: #171b21ff;
|
|
16
|
+
--bg-surface-default: #12161dff;
|
|
17
|
+
--bg-surface-popover: #171c23ff;
|
|
18
|
+
--bg-surface-accent: #1c222aff;
|
|
19
|
+
--bg-surface-field: #242a33ff;
|
|
20
|
+
--bg-surface-input: #2b323cff;
|
|
21
|
+
--bg-surface-info: #112031ff;
|
|
22
|
+
--bg-surface-success: #0f2118ff;
|
|
23
|
+
--bg-surface-warning: #251c0dff;
|
|
24
|
+
--bg-surface-critical: #261615ff;
|
|
25
|
+
--bg-surface-emphasis: #1c1731ff;
|
|
26
|
+
--bg-surface-inverse: #e7e4deff;
|
|
27
|
+
--bg-surface-transparent: #ffffff0d;
|
|
28
|
+
--bg-overlay: rgba(2, 6, 23, 0.62);
|
|
29
|
+
--bg-surface-brand: #2a1f16ff;
|
|
30
|
+
--bg-surface-brand-2: #14202dff;
|
|
31
|
+
--bg-surface-brand-3: #201a2bff;
|
|
32
|
+
--bg-surface-brand-4: #142118ff;
|
|
33
|
+
--bg-surface-brand-5: #271b14ff;
|
|
34
|
+
--bg-surface-hover: #1a1f26ff;
|
|
35
|
+
--bg-fill-default: #12161dff;
|
|
36
|
+
--bg-fill-primary: #f2f0ebff;
|
|
37
|
+
--bg-fill-primary-hover: #ffffffff;
|
|
38
|
+
--bg-fill-selected: #f2f0ebff;
|
|
39
|
+
--bg-fill-brand: #52a276ff;
|
|
40
|
+
--bg-fill-brand-2: #6b83f5ff;
|
|
41
|
+
--bg-fill-brand-3: #f0a968ff;
|
|
42
|
+
--bg-fill-brand-4: #a198eaff;
|
|
43
|
+
--bg-fill-brand-5: #a7d8ffff;
|
|
44
|
+
--bg-fill-info: #3b9cf5ff;
|
|
45
|
+
--bg-fill-success: #55c783ff;
|
|
46
|
+
--bg-fill-warning: #e4a934ff;
|
|
47
|
+
--bg-fill-critical: #ec7c72ff;
|
|
48
|
+
--bg-fill-emphasis: #8b73f2ff;
|
|
49
|
+
--bg-fill-transparent: #ffffff0d;
|
|
50
|
+
--bg-fill-secondary: #1a1f26ff;
|
|
51
|
+
--bg-fill-secondary-hover: #20262eff;
|
|
52
|
+
--bg-fill-secondary-inverse: #101318ff;
|
|
53
|
+
--text-default: #f2f0ebff;
|
|
54
|
+
--text-secondary: #cad1daff;
|
|
55
|
+
--text-muted: #8c95a2ff;
|
|
56
|
+
--text-disabled: #555e6bff;
|
|
57
|
+
--text-inverse: #101318ff;
|
|
58
|
+
--text-on-fill-primary: #101318ff;
|
|
59
|
+
--text-on-fill-selected: #101318ff;
|
|
60
|
+
--text-on-fill-brand: #101318ff;
|
|
61
|
+
--text-on-fill-secondary: #f2f0ebff;
|
|
62
|
+
--text-on-surface-accent: #f2f0ebff;
|
|
63
|
+
--text-info: #8cc5ffff;
|
|
64
|
+
--text-success: #8ee2afff;
|
|
65
|
+
--text-warning: #f6c76eff;
|
|
66
|
+
--text-critical: #ffaaa2ff;
|
|
67
|
+
--text-emphasis: #c4b5ffff;
|
|
68
|
+
--text-brand: #9be0b7ff;
|
|
69
|
+
--text-brand-2: #b6c5ffff;
|
|
70
|
+
--text-brand-3: #f4c28eff;
|
|
71
|
+
--text-brand-4: #cdc5ffff;
|
|
72
|
+
--text-brand-5: #bfe7ffff;
|
|
73
|
+
--text-link: #f2f0ebff;
|
|
74
|
+
--icon-default: #f2f0ebff;
|
|
75
|
+
--icon-secondary: #cad1daff;
|
|
76
|
+
--icon-disabled: #4c5561ff;
|
|
77
|
+
--icon-inverse: #101318ff;
|
|
78
|
+
--icon-info: #3b9cf5ff;
|
|
79
|
+
--icon-success: #55c783ff;
|
|
80
|
+
--icon-warning: #e4a934ff;
|
|
81
|
+
--icon-critical: #ec7c72ff;
|
|
82
|
+
--icon-emphasis: #8b73f2ff;
|
|
83
|
+
--icon-brand: #52a276ff;
|
|
84
|
+
--icon-brand-2: #6b83f5ff;
|
|
85
|
+
--icon-brand-3: #f0a968ff;
|
|
86
|
+
--icon-brand-4: #a198eaff;
|
|
87
|
+
--icon-brand-5: #a7d8ffff;
|
|
88
|
+
--border-default: #2a3038ff;
|
|
89
|
+
--border-secondary: #20262eff;
|
|
90
|
+
--border-input: #00000000;
|
|
91
|
+
--border-tertiary: #363d47ff;
|
|
92
|
+
--border-disabled: #20262eff;
|
|
93
|
+
--border-inverse: #f2f0ebff;
|
|
94
|
+
--border-focus: #6b83f5ff;
|
|
95
|
+
--border-brand: #52a276ff;
|
|
96
|
+
--border-brand-2: #6b83f5ff;
|
|
97
|
+
--border-brand-3: #f0a968ff;
|
|
98
|
+
--border-brand-4: #a198eaff;
|
|
99
|
+
--border-brand-5: #a7d8ffff;
|
|
100
|
+
--border-info: #3b9cf5ff;
|
|
101
|
+
--border-success: #55c783ff;
|
|
102
|
+
--border-warning: #e4a934ff;
|
|
103
|
+
--border-critical: #ec7c72ff;
|
|
104
|
+
--border-emphasis: #8b73f2ff;
|
|
105
|
+
--chart-1: #52a276ff;
|
|
106
|
+
--chart-2: #6b83f5ff;
|
|
107
|
+
--chart-3: #f0a968ff;
|
|
108
|
+
--chart-4: #a198eaff;
|
|
109
|
+
--chart-5: #3b9cf5ff;
|
|
110
|
+
--sidebar-background: #12161dff;
|
|
111
|
+
--sidebar-foreground: #f2f0ebff;
|
|
112
|
+
--sidebar-primary: #f2f0ebff;
|
|
113
|
+
--sidebar-primary-foreground: #101318ff;
|
|
114
|
+
--sidebar-accent: #1a1f26ff;
|
|
115
|
+
--sidebar-accent-foreground: #f2f0ebff;
|
|
116
|
+
--sidebar-border: #222831ff;
|
|
117
|
+
--sidebar-ring: #6b83f5ff;
|
|
118
|
+
--spacing: 0.25rem;
|
|
119
|
+
--border-width-base: 0.0625rem;
|
|
120
|
+
--radius: 0.5rem;
|
|
121
|
+
--font-size-base: 1rem;
|
|
122
|
+
--leading-base: 1.33;
|
|
123
|
+
--letter-spacing-base: 0.025em;
|
|
124
|
+
--opacity-disabled: 0.5;
|
|
125
|
+
--shadow-offset-y: 1px;
|
|
126
|
+
--shadow-blur: 2px;
|
|
127
|
+
--shadow-spread: 1px;
|
|
128
|
+
--shadow-base-color: rgba(0, 0, 0, 0.1);
|
|
129
|
+
--container-sm: 576px;
|
|
130
|
+
--container-md: 768px;
|
|
131
|
+
--container-lg: 1056px;
|
|
132
|
+
--container-xl: 1248px;
|
|
133
|
+
--container-2xl: 1440px;
|
|
134
|
+
--dropdown-offset: 4;
|
|
135
|
+
--overlay-offset: 4;
|
|
136
|
+
--font-sans: 'Inter Variable', 'Inter', 'Helvetica Neue', Arial, sans-serif;
|
|
137
|
+
--font-heading: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
138
|
+
--font-brand: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
139
|
+
--button-radius: var(--radius-md);
|
|
140
|
+
--card-radius: var(--radius-lg);
|
|
141
|
+
--card-padding: calc(var(--spacing) * 4);
|
|
142
|
+
--input-radius: var(--radius-md);
|
|
143
|
+
--control-size-md: calc(var(--spacing) * 7);
|
|
144
|
+
--badge-radius: var(--radius-4xl);
|
|
145
|
+
--motion-duration-fast: 100ms;
|
|
146
|
+
--motion-duration-normal: 200ms;
|
|
147
|
+
--motion-duration-slow: 300ms;
|
|
148
|
+
--motion-duration-color: var(--motion-duration-fast);
|
|
149
|
+
--motion-duration-interaction: var(--motion-duration-fast);
|
|
150
|
+
--motion-duration-disclosure: var(--motion-duration-normal);
|
|
151
|
+
--motion-duration-overlay: var(--motion-duration-fast);
|
|
152
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
153
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
154
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
155
|
+
--motion-ease-linear: linear;
|
|
156
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
157
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
158
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
159
|
+
--hover-transform: none;
|
|
160
|
+
--hover-shadow: var(--shadow-md);
|
|
161
|
+
--active-scale: 0.98;
|
|
162
|
+
--background: var(--bg-default);
|
|
163
|
+
--foreground: var(--text-default);
|
|
164
|
+
--card: var(--bg-surface-default);
|
|
165
|
+
--card-foreground: var(--text-default);
|
|
166
|
+
--popover: var(--bg-surface-popover);
|
|
167
|
+
--popover-foreground: var(--text-default);
|
|
168
|
+
--primary: var(--bg-fill-primary);
|
|
169
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
170
|
+
--secondary: var(--bg-fill-secondary);
|
|
171
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
172
|
+
--muted: var(--bg-muted);
|
|
173
|
+
--muted-foreground: var(--text-muted);
|
|
174
|
+
--accent: var(--bg-surface-accent);
|
|
175
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
176
|
+
--destructive: var(--bg-fill-critical);
|
|
177
|
+
--border: var(--border-default);
|
|
178
|
+
--input: var(--border-input);
|
|
179
|
+
--ring: var(--border-focus);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.dark {
|
|
183
|
+
--bg-default: #101318ff;
|
|
184
|
+
--bg-inverse: #e7e4deff;
|
|
185
|
+
--bg-muted: #171b21ff;
|
|
186
|
+
--bg-surface-default: #12161dff;
|
|
187
|
+
--bg-surface-popover: #171c23ff;
|
|
188
|
+
--bg-surface-accent: #1c222aff;
|
|
189
|
+
--bg-surface-field: #242a33ff;
|
|
190
|
+
--bg-surface-input: #2b323cff;
|
|
191
|
+
--bg-surface-info: #112031ff;
|
|
192
|
+
--bg-surface-success: #0f2118ff;
|
|
193
|
+
--bg-surface-warning: #251c0dff;
|
|
194
|
+
--bg-surface-critical: #261615ff;
|
|
195
|
+
--bg-surface-emphasis: #1c1731ff;
|
|
196
|
+
--bg-surface-inverse: #e7e4deff;
|
|
197
|
+
--bg-surface-transparent: #ffffff0d;
|
|
198
|
+
--bg-overlay: rgba(2, 6, 23, 0.62);
|
|
199
|
+
--bg-surface-brand: #2a1f16ff;
|
|
200
|
+
--bg-surface-brand-2: #14202dff;
|
|
201
|
+
--bg-surface-brand-3: #201a2bff;
|
|
202
|
+
--bg-surface-brand-4: #142118ff;
|
|
203
|
+
--bg-surface-brand-5: #271b14ff;
|
|
204
|
+
--bg-surface-hover: #1a1f26ff;
|
|
205
|
+
--bg-fill-default: #12161dff;
|
|
206
|
+
--bg-fill-primary: #f2f0ebff;
|
|
207
|
+
--bg-fill-primary-hover: #ffffffff;
|
|
208
|
+
--bg-fill-selected: #f2f0ebff;
|
|
209
|
+
--bg-fill-brand: #52a276ff;
|
|
210
|
+
--bg-fill-brand-2: #6b83f5ff;
|
|
211
|
+
--bg-fill-brand-3: #f0a968ff;
|
|
212
|
+
--bg-fill-brand-4: #a198eaff;
|
|
213
|
+
--bg-fill-brand-5: #a7d8ffff;
|
|
214
|
+
--bg-fill-info: #3b9cf5ff;
|
|
215
|
+
--bg-fill-success: #55c783ff;
|
|
216
|
+
--bg-fill-warning: #e4a934ff;
|
|
217
|
+
--bg-fill-critical: #ec7c72ff;
|
|
218
|
+
--bg-fill-emphasis: #8b73f2ff;
|
|
219
|
+
--bg-fill-transparent: #ffffff0d;
|
|
220
|
+
--bg-fill-secondary: #1a1f26ff;
|
|
221
|
+
--bg-fill-secondary-hover: #20262eff;
|
|
222
|
+
--bg-fill-secondary-inverse: #101318ff;
|
|
223
|
+
--text-default: #f2f0ebff;
|
|
224
|
+
--text-secondary: #cad1daff;
|
|
225
|
+
--text-muted: #8c95a2ff;
|
|
226
|
+
--text-disabled: #555e6bff;
|
|
227
|
+
--text-inverse: #101318ff;
|
|
228
|
+
--text-on-fill-primary: #101318ff;
|
|
229
|
+
--text-on-fill-selected: #101318ff;
|
|
230
|
+
--text-on-fill-brand: #101318ff;
|
|
231
|
+
--text-on-fill-secondary: #f2f0ebff;
|
|
232
|
+
--text-on-surface-accent: #f2f0ebff;
|
|
233
|
+
--text-info: #8cc5ffff;
|
|
234
|
+
--text-success: #8ee2afff;
|
|
235
|
+
--text-warning: #f6c76eff;
|
|
236
|
+
--text-critical: #ffaaa2ff;
|
|
237
|
+
--text-emphasis: #c4b5ffff;
|
|
238
|
+
--text-brand: #9be0b7ff;
|
|
239
|
+
--text-brand-2: #b6c5ffff;
|
|
240
|
+
--text-brand-3: #f4c28eff;
|
|
241
|
+
--text-brand-4: #cdc5ffff;
|
|
242
|
+
--text-brand-5: #bfe7ffff;
|
|
243
|
+
--text-link: #f2f0ebff;
|
|
244
|
+
--icon-default: #f2f0ebff;
|
|
245
|
+
--icon-secondary: #cad1daff;
|
|
246
|
+
--icon-disabled: #4c5561ff;
|
|
247
|
+
--icon-inverse: #101318ff;
|
|
248
|
+
--icon-info: #3b9cf5ff;
|
|
249
|
+
--icon-success: #55c783ff;
|
|
250
|
+
--icon-warning: #e4a934ff;
|
|
251
|
+
--icon-critical: #ec7c72ff;
|
|
252
|
+
--icon-emphasis: #8b73f2ff;
|
|
253
|
+
--icon-brand: #52a276ff;
|
|
254
|
+
--icon-brand-2: #6b83f5ff;
|
|
255
|
+
--icon-brand-3: #f0a968ff;
|
|
256
|
+
--icon-brand-4: #a198eaff;
|
|
257
|
+
--icon-brand-5: #a7d8ffff;
|
|
258
|
+
--border-default: #2a3038ff;
|
|
259
|
+
--border-secondary: #20262eff;
|
|
260
|
+
--border-input: #00000000;
|
|
261
|
+
--border-tertiary: #363d47ff;
|
|
262
|
+
--border-disabled: #20262eff;
|
|
263
|
+
--border-inverse: #f2f0ebff;
|
|
264
|
+
--border-focus: #6b83f5ff;
|
|
265
|
+
--border-brand: #52a276ff;
|
|
266
|
+
--border-brand-2: #6b83f5ff;
|
|
267
|
+
--border-brand-3: #f0a968ff;
|
|
268
|
+
--border-brand-4: #a198eaff;
|
|
269
|
+
--border-brand-5: #a7d8ffff;
|
|
270
|
+
--border-info: #3b9cf5ff;
|
|
271
|
+
--border-success: #55c783ff;
|
|
272
|
+
--border-warning: #e4a934ff;
|
|
273
|
+
--border-critical: #ec7c72ff;
|
|
274
|
+
--border-emphasis: #8b73f2ff;
|
|
275
|
+
--chart-1: #52a276ff;
|
|
276
|
+
--chart-2: #6b83f5ff;
|
|
277
|
+
--chart-3: #f0a968ff;
|
|
278
|
+
--chart-4: #a198eaff;
|
|
279
|
+
--chart-5: #3b9cf5ff;
|
|
280
|
+
--sidebar-background: #12161dff;
|
|
281
|
+
--sidebar-foreground: #f2f0ebff;
|
|
282
|
+
--sidebar-primary: #f2f0ebff;
|
|
283
|
+
--sidebar-primary-foreground: #101318ff;
|
|
284
|
+
--sidebar-accent: #1a1f26ff;
|
|
285
|
+
--sidebar-accent-foreground: #f2f0ebff;
|
|
286
|
+
--sidebar-border: #222831ff;
|
|
287
|
+
--sidebar-ring: #6b83f5ff;
|
|
288
|
+
--spacing: 0.25rem;
|
|
289
|
+
--border-width-base: 0.0625rem;
|
|
290
|
+
--radius: 0.5rem;
|
|
291
|
+
--font-size-base: 1rem;
|
|
292
|
+
--leading-base: 1.33;
|
|
293
|
+
--letter-spacing-base: 0.025em;
|
|
294
|
+
--opacity-disabled: 0.5;
|
|
295
|
+
--shadow-offset-y: 1px;
|
|
296
|
+
--shadow-blur: 2px;
|
|
297
|
+
--shadow-spread: 1px;
|
|
298
|
+
--shadow-base-color: rgba(0, 0, 0, 0.1);
|
|
299
|
+
--container-sm: 576px;
|
|
300
|
+
--container-md: 768px;
|
|
301
|
+
--container-lg: 1056px;
|
|
302
|
+
--container-xl: 1248px;
|
|
303
|
+
--container-2xl: 1440px;
|
|
304
|
+
--dropdown-offset: 4;
|
|
305
|
+
--overlay-offset: 4;
|
|
306
|
+
--font-sans: 'Inter Variable', 'Inter', 'Helvetica Neue', Arial, sans-serif;
|
|
307
|
+
--font-heading: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
308
|
+
--font-brand: 'Geist Variable', 'Inter Variable', 'Helvetica Neue', Arial, sans-serif;
|
|
309
|
+
--button-radius: var(--radius-md);
|
|
310
|
+
--card-radius: var(--radius-lg);
|
|
311
|
+
--card-padding: calc(var(--spacing) * 4);
|
|
312
|
+
--input-radius: var(--radius-md);
|
|
313
|
+
--control-size-md: calc(var(--spacing) * 7);
|
|
314
|
+
--badge-radius: var(--radius-4xl);
|
|
315
|
+
--motion-duration-fast: 100ms;
|
|
316
|
+
--motion-duration-normal: 200ms;
|
|
317
|
+
--motion-duration-slow: 300ms;
|
|
318
|
+
--motion-duration-color: var(--motion-duration-fast);
|
|
319
|
+
--motion-duration-interaction: var(--motion-duration-fast);
|
|
320
|
+
--motion-duration-disclosure: var(--motion-duration-normal);
|
|
321
|
+
--motion-duration-overlay: var(--motion-duration-fast);
|
|
322
|
+
--motion-ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
|
|
323
|
+
--motion-ease-accelerate: cubic-bezier(0.4, 0, 1, 1);
|
|
324
|
+
--motion-ease-decelerate: cubic-bezier(0, 0, 0.2, 1);
|
|
325
|
+
--motion-ease-linear: linear;
|
|
326
|
+
--transition-default: var(--motion-duration-normal) var(--motion-ease-standard);
|
|
327
|
+
--transition-fast: var(--motion-duration-fast) var(--motion-ease-standard);
|
|
328
|
+
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
329
|
+
--hover-transform: none;
|
|
330
|
+
--hover-shadow: var(--shadow-md);
|
|
331
|
+
--active-scale: 0.98;
|
|
332
|
+
--background: var(--bg-default);
|
|
333
|
+
--foreground: var(--text-default);
|
|
334
|
+
--card: var(--bg-surface-default);
|
|
335
|
+
--card-foreground: var(--text-default);
|
|
336
|
+
--popover: var(--bg-surface-popover);
|
|
337
|
+
--popover-foreground: var(--text-default);
|
|
338
|
+
--primary: var(--bg-fill-primary);
|
|
339
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
340
|
+
--secondary: var(--bg-fill-secondary);
|
|
341
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
342
|
+
--muted: var(--bg-muted);
|
|
343
|
+
--muted-foreground: var(--text-muted);
|
|
344
|
+
--accent: var(--bg-surface-accent);
|
|
345
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
346
|
+
--destructive: var(--bg-fill-critical);
|
|
347
|
+
--border: var(--border-default);
|
|
348
|
+
--input: var(--border-input);
|
|
349
|
+
--ring: var(--border-focus);
|
|
350
|
+
}
|
|
@@ -6,6 +6,7 @@ import { signalPop, signalPopDark } from './signal-pop'
|
|
|
6
6
|
import { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
7
7
|
import { kumo, kumoDark } from './kumo'
|
|
8
8
|
import { oqita, oqitaDark } from './oqita'
|
|
9
|
+
import { sponder } from './sponder'
|
|
9
10
|
|
|
10
11
|
export { defaultPreset, defaultPresetDark } from './default'
|
|
11
12
|
export { brutalist, brutalistDark } from './brutalist'
|
|
@@ -13,6 +14,7 @@ export { signalPop, signalPopDark } from './signal-pop'
|
|
|
13
14
|
export { editorialGrid, editorialGridDark } from './editorial-grid'
|
|
14
15
|
export { kumo, kumoDark } from './kumo'
|
|
15
16
|
export { oqita, oqitaDark } from './oqita'
|
|
17
|
+
export { sponder } from './sponder'
|
|
16
18
|
|
|
17
19
|
export interface PresetDefinition {
|
|
18
20
|
name: string
|
|
@@ -76,6 +78,13 @@ export const presetDefinitions = [
|
|
|
76
78
|
light: oqita,
|
|
77
79
|
dark: oqitaDark,
|
|
78
80
|
},
|
|
81
|
+
{
|
|
82
|
+
name: 'sponder',
|
|
83
|
+
label: 'Sponder',
|
|
84
|
+
description: 'Dark slate surfaces, green brand accents, and Inter and Geist typography.',
|
|
85
|
+
light: sponder,
|
|
86
|
+
dark: sponder,
|
|
87
|
+
},
|
|
79
88
|
] satisfies PresetDefinition[]
|
|
80
89
|
|
|
81
90
|
export const presetDefinitionsByName = Object.fromEntries(
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { defaultPreset } from './default'
|
|
2
|
+
|
|
3
|
+
// Sponder uses the same dark palette in both colour modes.
|
|
4
|
+
export const sponder: Record<string, string> = {
|
|
5
|
+
...defaultPreset,
|
|
6
|
+
|
|
7
|
+
'--bg-default': '#101318FF',
|
|
8
|
+
'--bg-inverse': '#E7E4DEFF',
|
|
9
|
+
'--bg-muted': '#171B21FF',
|
|
10
|
+
'--bg-surface-default': '#12161DFF',
|
|
11
|
+
'--bg-surface-popover': '#171C23FF',
|
|
12
|
+
'--bg-surface-accent': '#1C222AFF',
|
|
13
|
+
'--bg-surface-field': '#242A33FF',
|
|
14
|
+
'--bg-surface-input': '#2B323CFF',
|
|
15
|
+
'--bg-surface-info': '#112031FF',
|
|
16
|
+
'--bg-surface-success': '#0F2118FF',
|
|
17
|
+
'--bg-surface-warning': '#251C0DFF',
|
|
18
|
+
'--bg-surface-critical': '#261615FF',
|
|
19
|
+
'--bg-surface-emphasis': '#1C1731FF',
|
|
20
|
+
'--bg-surface-inverse': '#E7E4DEFF',
|
|
21
|
+
'--bg-surface-transparent': '#FFFFFF0D',
|
|
22
|
+
'--bg-overlay': 'rgba(2, 6, 23, 0.62)',
|
|
23
|
+
'--bg-surface-brand': '#2A1F16FF',
|
|
24
|
+
'--bg-surface-brand-2': '#14202DFF',
|
|
25
|
+
'--bg-surface-brand-3': '#201A2BFF',
|
|
26
|
+
'--bg-surface-brand-4': '#142118FF',
|
|
27
|
+
'--bg-surface-brand-5': '#271B14FF',
|
|
28
|
+
'--bg-surface-hover': '#1A1F26FF',
|
|
29
|
+
'--bg-fill-default': '#12161DFF',
|
|
30
|
+
'--bg-fill-primary': '#F2F0EBFF',
|
|
31
|
+
'--bg-fill-primary-hover': '#FFFFFFFF',
|
|
32
|
+
'--bg-fill-selected': '#F2F0EBFF',
|
|
33
|
+
'--bg-fill-brand': '#52A276FF',
|
|
34
|
+
'--bg-fill-brand-2': '#6B83F5FF',
|
|
35
|
+
'--bg-fill-brand-3': '#F0A968FF',
|
|
36
|
+
'--bg-fill-brand-4': '#A198EAFF',
|
|
37
|
+
'--bg-fill-brand-5': '#A7D8FFFF',
|
|
38
|
+
'--bg-fill-info': '#3B9CF5FF',
|
|
39
|
+
'--bg-fill-success': '#55C783FF',
|
|
40
|
+
'--bg-fill-warning': '#E4A934FF',
|
|
41
|
+
'--bg-fill-critical': '#EC7C72FF',
|
|
42
|
+
'--bg-fill-emphasis': '#8B73F2FF',
|
|
43
|
+
'--bg-fill-transparent': '#FFFFFF0D',
|
|
44
|
+
'--bg-fill-secondary': '#1A1F26FF',
|
|
45
|
+
'--bg-fill-secondary-hover': '#20262EFF',
|
|
46
|
+
'--bg-fill-secondary-inverse': '#101318FF',
|
|
47
|
+
|
|
48
|
+
'--text-default': '#F2F0EBFF',
|
|
49
|
+
'--text-secondary': '#CAD1DAFF',
|
|
50
|
+
'--text-muted': '#8C95A2FF',
|
|
51
|
+
'--text-disabled': '#555E6BFF',
|
|
52
|
+
'--text-inverse': '#101318FF',
|
|
53
|
+
'--text-on-fill-primary': '#101318FF',
|
|
54
|
+
'--text-on-fill-selected': '#101318FF',
|
|
55
|
+
'--text-on-fill-brand': '#101318FF',
|
|
56
|
+
'--text-on-fill-secondary': '#F2F0EBFF',
|
|
57
|
+
'--text-on-surface-accent': '#F2F0EBFF',
|
|
58
|
+
'--text-info': '#8CC5FFFF',
|
|
59
|
+
'--text-success': '#8EE2AFFF',
|
|
60
|
+
'--text-warning': '#F6C76EFF',
|
|
61
|
+
'--text-critical': '#FFAAA2FF',
|
|
62
|
+
'--text-emphasis': '#C4B5FFFF',
|
|
63
|
+
'--text-brand': '#9BE0B7FF',
|
|
64
|
+
'--text-brand-2': '#B6C5FFFF',
|
|
65
|
+
'--text-brand-3': '#F4C28EFF',
|
|
66
|
+
'--text-brand-4': '#CDC5FFFF',
|
|
67
|
+
'--text-brand-5': '#BFE7FFFF',
|
|
68
|
+
'--text-link': '#F2F0EBFF',
|
|
69
|
+
|
|
70
|
+
'--icon-default': '#F2F0EBFF',
|
|
71
|
+
'--icon-secondary': '#CAD1DAFF',
|
|
72
|
+
'--icon-disabled': '#4C5561FF',
|
|
73
|
+
'--icon-inverse': '#101318FF',
|
|
74
|
+
'--icon-info': '#3B9CF5FF',
|
|
75
|
+
'--icon-success': '#55C783FF',
|
|
76
|
+
'--icon-warning': '#E4A934FF',
|
|
77
|
+
'--icon-critical': '#EC7C72FF',
|
|
78
|
+
'--icon-emphasis': '#8B73F2FF',
|
|
79
|
+
'--icon-brand': '#52A276FF',
|
|
80
|
+
'--icon-brand-2': '#6B83F5FF',
|
|
81
|
+
'--icon-brand-3': '#F0A968FF',
|
|
82
|
+
'--icon-brand-4': '#A198EAFF',
|
|
83
|
+
'--icon-brand-5': '#A7D8FFFF',
|
|
84
|
+
|
|
85
|
+
'--border-default': '#2A3038FF',
|
|
86
|
+
'--border-secondary': '#20262EFF',
|
|
87
|
+
'--border-input': '#00000000',
|
|
88
|
+
'--border-tertiary': '#363D47FF',
|
|
89
|
+
'--border-disabled': '#20262EFF',
|
|
90
|
+
'--border-inverse': '#F2F0EBFF',
|
|
91
|
+
'--border-focus': '#6B83F5FF',
|
|
92
|
+
'--border-brand': '#52A276FF',
|
|
93
|
+
'--border-brand-2': '#6B83F5FF',
|
|
94
|
+
'--border-brand-3': '#F0A968FF',
|
|
95
|
+
'--border-brand-4': '#A198EAFF',
|
|
96
|
+
'--border-brand-5': '#A7D8FFFF',
|
|
97
|
+
'--border-info': '#3B9CF5FF',
|
|
98
|
+
'--border-success': '#55C783FF',
|
|
99
|
+
'--border-warning': '#E4A934FF',
|
|
100
|
+
'--border-critical': '#EC7C72FF',
|
|
101
|
+
'--border-emphasis': '#8B73F2FF',
|
|
102
|
+
|
|
103
|
+
'--chart-1': '#52A276FF',
|
|
104
|
+
'--chart-2': '#6B83F5FF',
|
|
105
|
+
'--chart-3': '#F0A968FF',
|
|
106
|
+
'--chart-4': '#A198EAFF',
|
|
107
|
+
'--chart-5': '#3B9CF5FF',
|
|
108
|
+
|
|
109
|
+
'--sidebar-background': '#12161DFF',
|
|
110
|
+
'--sidebar-foreground': '#F2F0EBFF',
|
|
111
|
+
'--sidebar-primary': '#F2F0EBFF',
|
|
112
|
+
'--sidebar-primary-foreground': '#101318FF',
|
|
113
|
+
'--sidebar-accent': '#1A1F26FF',
|
|
114
|
+
'--sidebar-accent-foreground': '#F2F0EBFF',
|
|
115
|
+
'--sidebar-border': '#222831FF',
|
|
116
|
+
'--sidebar-ring': '#6B83F5FF',
|
|
117
|
+
|
|
118
|
+
'--font-sans': '"Inter Variable", "Inter", "Helvetica Neue", Arial, sans-serif',
|
|
119
|
+
'--font-heading': '"Geist Variable", "Inter Variable", "Helvetica Neue", Arial, sans-serif',
|
|
120
|
+
'--font-brand': '"Geist Variable", "Inter Variable", "Helvetica Neue", Arial, sans-serif',
|
|
121
|
+
}
|