@leitware/composables 3.4.1 → 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.
@@ -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
+ }