@leitware/composables 3.1.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/presets/oqita.css +485 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/rules/composables.md +1 -0
- package/skills/use-composables/references/public-api.md +2 -2
- package/src/index.ts +2 -0
- package/src/opinionated/image.tsx +69 -0
- package/src/styles/presets/oqita.css +485 -0
- package/src/styles/presets-data/index.ts +10 -0
- package/src/styles/presets-data/oqita.ts +262 -0
package/README.md
CHANGED
|
@@ -54,6 +54,24 @@ import { FormInput } from '@leitware/composables'
|
|
|
54
54
|
import { Card } from '@leitware/composables'
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
### Images
|
|
58
|
+
|
|
59
|
+
`Image` requires `src`, `alt`, and intrinsic pixel `width`/`height`, or explicit `fill` mode. Dimensions reserve space before loading; images shrink to fit their container. Use `alt=""` for decorative images.
|
|
60
|
+
|
|
61
|
+
```tsx
|
|
62
|
+
import { AspectRatio, Image } from '@leitware/composables'
|
|
63
|
+
|
|
64
|
+
<Image src="/mountains.jpg" alt="Snow on the mountain peaks" width={1200} height={800} />
|
|
65
|
+
|
|
66
|
+
<AspectRatio ratio={16 / 9}>
|
|
67
|
+
<Image src="/mountains.jpg" alt="Snow on the mountain peaks" fill />
|
|
68
|
+
</AspectRatio>
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
`fill` absolutely positions the image inside a positioned parent with a defined size. For a background, use a relatively positioned container, `alt=""`, and place foreground content above the image. `fit="cover"` crops by default; `fit="contain"` shows the entire image against the muted background. `position` controls the focal point. `className`, `style`, and the forwarded ref target the actual image.
|
|
72
|
+
|
|
73
|
+
Images default to `loading="lazy"` and `decoding="async"`. For an above-the-fold hero, use `loading="eager"` and optionally `fetchPriority="high"`. Native `srcSet`, `sizes`, events, and other image attributes pass through. Supply `sizes` to describe the rendered width when using width-descriptor `srcSet` sources. This is a native browser image component: it does not generate responsive sources or provide Next.js image optimization. Captions and credits can be composed using `figure` and `figcaption`.
|
|
74
|
+
|
|
57
75
|
### Override the theme
|
|
58
76
|
|
|
59
77
|
Override known semantic variables after the imports. Define both modes when a colour decision should change with the theme:
|
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
/* ============================================================================
|
|
2
|
+
@leitware/composables - Oqita Preset
|
|
3
|
+
============================================================================
|
|
4
|
+
Friendly and soft: expressive type, compact pill controls, quiet surfaces, and cobalt actions.
|
|
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/oqita.css";
|
|
9
|
+
3. Add class="dark" to <html> for dark mode.
|
|
10
|
+
============================================================================ */
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--bg-default: #faf8f3;
|
|
14
|
+
--bg-inverse: #202b43;
|
|
15
|
+
--bg-muted: #efebe3;
|
|
16
|
+
--bg-surface-default: #ffffff;
|
|
17
|
+
--bg-surface-popover: #ffffff;
|
|
18
|
+
--bg-surface-accent: #efebe3;
|
|
19
|
+
--bg-surface-field: #ffffff;
|
|
20
|
+
--bg-surface-input: #ffffff;
|
|
21
|
+
--bg-surface-info: #f0f1f3;
|
|
22
|
+
--bg-surface-success: #f0f1f3;
|
|
23
|
+
--bg-surface-warning: #f0f1f3;
|
|
24
|
+
--bg-surface-critical: #f0f1f3;
|
|
25
|
+
--bg-surface-emphasis: #f0f1f3;
|
|
26
|
+
--bg-surface-inverse: #202b43;
|
|
27
|
+
--bg-surface-transparent: #202b430a;
|
|
28
|
+
--bg-overlay: #111a32a6;
|
|
29
|
+
--bg-surface-brand: #f0f1f3;
|
|
30
|
+
--bg-surface-brand-2: #f0f1f3;
|
|
31
|
+
--bg-surface-brand-3: #f0f1f3;
|
|
32
|
+
--bg-surface-brand-4: #f0f1f3;
|
|
33
|
+
--bg-surface-brand-5: #f0f1f3;
|
|
34
|
+
--bg-surface-hover: #e7e2d8;
|
|
35
|
+
--bg-fill-default: #ffffff;
|
|
36
|
+
--bg-fill-primary: #2549e8;
|
|
37
|
+
--bg-fill-primary-hover: #1c3bc4;
|
|
38
|
+
--bg-fill-selected: #2549e8;
|
|
39
|
+
--bg-fill-brand: #ff7518;
|
|
40
|
+
--bg-fill-brand-2: #ffcc00;
|
|
41
|
+
--bg-fill-brand-3: #18b86a;
|
|
42
|
+
--bg-fill-brand-4: #00b7d4;
|
|
43
|
+
--bg-fill-brand-5: #ff6090;
|
|
44
|
+
--bg-fill-info: #137c99;
|
|
45
|
+
--bg-fill-success: #167347;
|
|
46
|
+
--bg-fill-warning: #946100;
|
|
47
|
+
--bg-fill-critical: #b92c37;
|
|
48
|
+
--bg-fill-emphasis: #2549e8;
|
|
49
|
+
--bg-fill-transparent: #202b430a;
|
|
50
|
+
--bg-fill-secondary: #efebe3;
|
|
51
|
+
--bg-fill-secondary-hover: #e3ded3;
|
|
52
|
+
--bg-fill-secondary-inverse: #ffffff;
|
|
53
|
+
--text-default: #202b43;
|
|
54
|
+
--text-secondary: #535b6c;
|
|
55
|
+
--text-muted: #616779;
|
|
56
|
+
--text-disabled: #9296a0;
|
|
57
|
+
--text-inverse: #ffffff;
|
|
58
|
+
--text-on-fill-primary: #ffffff;
|
|
59
|
+
--text-on-fill-selected: #ffffff;
|
|
60
|
+
--text-on-fill-brand: #202b43;
|
|
61
|
+
--text-on-fill-secondary: #202b43;
|
|
62
|
+
--text-on-surface-accent: #202b43;
|
|
63
|
+
--text-info: #103b50;
|
|
64
|
+
--text-success: #103d29;
|
|
65
|
+
--text-warning: #514000;
|
|
66
|
+
--text-critical: #641923;
|
|
67
|
+
--text-emphasis: #103b50;
|
|
68
|
+
--text-brand: #572600;
|
|
69
|
+
--text-brand-2: #514000;
|
|
70
|
+
--text-brand-3: #103d29;
|
|
71
|
+
--text-brand-4: #103b50;
|
|
72
|
+
--text-brand-5: #581a32;
|
|
73
|
+
--text-link: #2549c8;
|
|
74
|
+
--icon-default: #202b43;
|
|
75
|
+
--icon-secondary: #535b6c;
|
|
76
|
+
--icon-disabled: #9296a0;
|
|
77
|
+
--icon-inverse: #ffffff;
|
|
78
|
+
--icon-info: #103b50;
|
|
79
|
+
--icon-success: #103d29;
|
|
80
|
+
--icon-warning: #514000;
|
|
81
|
+
--icon-critical: #641923;
|
|
82
|
+
--icon-emphasis: #103b50;
|
|
83
|
+
--icon-brand: #572600;
|
|
84
|
+
--icon-brand-2: #514000;
|
|
85
|
+
--icon-brand-3: #103d29;
|
|
86
|
+
--icon-brand-4: #103b50;
|
|
87
|
+
--icon-brand-5: #581a32;
|
|
88
|
+
--border-default: #e2e4e8;
|
|
89
|
+
--border-secondary: #e2e4e8;
|
|
90
|
+
--border-input: #b3b9c3;
|
|
91
|
+
--border-tertiary: #cfd3da;
|
|
92
|
+
--border-disabled: #dcd7cd;
|
|
93
|
+
--border-inverse: #535b6c;
|
|
94
|
+
--border-focus: #2549e8;
|
|
95
|
+
--border-brand: #f0f1f3;
|
|
96
|
+
--border-brand-2: #f0f1f3;
|
|
97
|
+
--border-brand-3: #f0f1f3;
|
|
98
|
+
--border-brand-4: #f0f1f3;
|
|
99
|
+
--border-brand-5: #f0f1f3;
|
|
100
|
+
--border-info: #f0f1f3;
|
|
101
|
+
--border-success: #f0f1f3;
|
|
102
|
+
--border-warning: #f0f1f3;
|
|
103
|
+
--border-critical: #f0f1f3;
|
|
104
|
+
--border-emphasis: #f0f1f3;
|
|
105
|
+
--chart-1: #2549e8;
|
|
106
|
+
--chart-2: #ff7518;
|
|
107
|
+
--chart-3: #167347;
|
|
108
|
+
--chart-4: #946100;
|
|
109
|
+
--chart-5: #b92f63;
|
|
110
|
+
--sidebar-background: #202b43;
|
|
111
|
+
--sidebar-foreground: #ffffff;
|
|
112
|
+
--sidebar-primary: #ffcc00;
|
|
113
|
+
--sidebar-primary-foreground: #202b43;
|
|
114
|
+
--sidebar-accent: #34425d;
|
|
115
|
+
--sidebar-accent-foreground: #ffffff;
|
|
116
|
+
--sidebar-border: #303b50;
|
|
117
|
+
--sidebar-ring: #ffcc00;
|
|
118
|
+
--spacing: 0.25rem;
|
|
119
|
+
--border-width-base: 0.0625rem;
|
|
120
|
+
--radius: 0.875rem;
|
|
121
|
+
--font-size-base: 1rem;
|
|
122
|
+
--leading-base: 1.5;
|
|
123
|
+
--letter-spacing-base: 0.01em;
|
|
124
|
+
--opacity-disabled: 0.5;
|
|
125
|
+
--shadow-offset-y: 3px;
|
|
126
|
+
--shadow-blur: 8px;
|
|
127
|
+
--shadow-spread: -1px;
|
|
128
|
+
--shadow-base-color: #242d4512;
|
|
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: 'DM Sans Variable', ui-sans-serif, system-ui, sans-serif;
|
|
137
|
+
--font-heading: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
|
|
138
|
+
--font-brand: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
|
|
139
|
+
--button-radius: 9999px;
|
|
140
|
+
--card-radius: calc(var(--radius) * 1.6);
|
|
141
|
+
--card-padding: calc(var(--spacing) * 5);
|
|
142
|
+
--input-radius: var(--radius-lg);
|
|
143
|
+
--control-size-md: calc(var(--spacing) * 11);
|
|
144
|
+
--badge-radius: 9999px;
|
|
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: none;
|
|
161
|
+
--active-scale: 0.98;
|
|
162
|
+
--control-size-sm: calc(var(--spacing) * 10);
|
|
163
|
+
--control-size-lg: calc(var(--spacing) * 12);
|
|
164
|
+
--control-font-size: var(--text-base);
|
|
165
|
+
--button-height: var(--control-size-md);
|
|
166
|
+
--button-height-xs: calc(var(--spacing) * 8);
|
|
167
|
+
--button-height-sm: var(--control-size-sm);
|
|
168
|
+
--button-height-lg: var(--control-size-lg);
|
|
169
|
+
--button-font-size: var(--text-base);
|
|
170
|
+
--button-font-size-xs: var(--text-sm);
|
|
171
|
+
--button-font-size-sm: var(--text-sm);
|
|
172
|
+
--button-gap: calc(var(--spacing) * 2);
|
|
173
|
+
--button-radius-xs: 9999px;
|
|
174
|
+
--button-radius-sm: 9999px;
|
|
175
|
+
--button-min-width-ratio: 2;
|
|
176
|
+
--button-brand-font-weight: 600;
|
|
177
|
+
--button-primary-shadow: 0 4px 0 #142b99, 0 8px 18px #2549e81f;
|
|
178
|
+
--button-primary-hover-shadow: var(--button-primary-shadow);
|
|
179
|
+
--button-primary-border: transparent;
|
|
180
|
+
--button-primary-hover-border: transparent;
|
|
181
|
+
--button-secondary-border: transparent;
|
|
182
|
+
--button-secondary-hover-bg: var(--bg-fill-secondary-hover);
|
|
183
|
+
--button-quiet-hover-bg: var(--bg-surface-hover);
|
|
184
|
+
--button-destructive-bg: #b92c37;
|
|
185
|
+
--button-destructive-text: #ffffff;
|
|
186
|
+
--button-destructive-border: transparent;
|
|
187
|
+
--button-destructive-hover-border: transparent;
|
|
188
|
+
--button-destructive-shadow: 0 4px 0 #7a1822, 0 8px 18px #b92c371f;
|
|
189
|
+
--button-destructive-hover-shadow: var(--button-destructive-shadow);
|
|
190
|
+
--button-destructive-hover-background-image: linear-gradient(#9f202b, #9f202b);
|
|
191
|
+
--label-font-size: var(--text-sm);
|
|
192
|
+
--body-font-size: var(--text-base);
|
|
193
|
+
--body-line-height: var(--text-base--line-height);
|
|
194
|
+
--title-font-size: var(--text-lg);
|
|
195
|
+
--title-line-height: var(--text-lg--line-height);
|
|
196
|
+
--heading-font-size: var(--text-xl);
|
|
197
|
+
--heading-line-height: var(--text-xl--line-height);
|
|
198
|
+
--card-border-width: calc(var(--border-width-base) * 0);
|
|
199
|
+
--alert-border-width: calc(var(--border-width-base) * 0);
|
|
200
|
+
--dialog-radius: calc(var(--radius) * 1.6);
|
|
201
|
+
--checkbox-radius: calc(var(--radius) * 0.4);
|
|
202
|
+
--choice-size: calc(var(--spacing) * 5);
|
|
203
|
+
--choice-border-color: var(--border-input);
|
|
204
|
+
--switch-height: calc(var(--spacing) * 6);
|
|
205
|
+
--slider-size: calc(var(--spacing) * 5);
|
|
206
|
+
--tabs-list-radius: 9999px;
|
|
207
|
+
--tabs-tab-radius: 9999px;
|
|
208
|
+
--tabs-list-padding: calc(var(--spacing) * 0.5);
|
|
209
|
+
--tabs-tab-height: var(--control-size-sm);
|
|
210
|
+
--focus-ring-color: var(--border-focus);
|
|
211
|
+
--focus-ring-width: 3px;
|
|
212
|
+
--focus-ring-offset: 3px;
|
|
213
|
+
--focus-ring-opacity: 100%;
|
|
214
|
+
--hover-ring-width: 0px;
|
|
215
|
+
--hover-ring-color: transparent;
|
|
216
|
+
--button-brand-bg: var(--bg-fill-brand);
|
|
217
|
+
--button-brand-text: var(--text-on-fill-brand);
|
|
218
|
+
--button-brand-border: transparent;
|
|
219
|
+
--button-brand-hover-border: transparent;
|
|
220
|
+
--button-brand-hover-shadow: none;
|
|
221
|
+
--button-brand-2-bg: var(--bg-fill-brand-2);
|
|
222
|
+
--button-brand-2-text: var(--text-on-fill-brand);
|
|
223
|
+
--button-brand-2-border: transparent;
|
|
224
|
+
--button-brand-2-hover-border: transparent;
|
|
225
|
+
--button-brand-2-hover-shadow: none;
|
|
226
|
+
--button-brand-3-bg: var(--bg-fill-brand-3);
|
|
227
|
+
--button-brand-3-text: var(--text-on-fill-brand);
|
|
228
|
+
--button-brand-3-border: transparent;
|
|
229
|
+
--button-brand-3-hover-border: transparent;
|
|
230
|
+
--button-brand-3-hover-shadow: none;
|
|
231
|
+
--button-brand-4-bg: var(--bg-fill-brand-4);
|
|
232
|
+
--button-brand-4-text: var(--text-on-fill-brand);
|
|
233
|
+
--button-brand-4-border: transparent;
|
|
234
|
+
--button-brand-4-hover-border: transparent;
|
|
235
|
+
--button-brand-4-hover-shadow: none;
|
|
236
|
+
--button-brand-5-bg: var(--bg-fill-brand-5);
|
|
237
|
+
--button-brand-5-text: var(--text-on-fill-brand);
|
|
238
|
+
--button-brand-5-border: transparent;
|
|
239
|
+
--button-brand-5-hover-border: transparent;
|
|
240
|
+
--button-brand-5-hover-shadow: none;
|
|
241
|
+
--background: var(--bg-default);
|
|
242
|
+
--foreground: var(--text-default);
|
|
243
|
+
--card: var(--bg-surface-default);
|
|
244
|
+
--card-foreground: var(--text-default);
|
|
245
|
+
--popover: var(--bg-surface-popover);
|
|
246
|
+
--popover-foreground: var(--text-default);
|
|
247
|
+
--primary: var(--bg-fill-primary);
|
|
248
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
249
|
+
--secondary: var(--bg-fill-secondary);
|
|
250
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
251
|
+
--muted: var(--bg-muted);
|
|
252
|
+
--muted-foreground: var(--text-muted);
|
|
253
|
+
--accent: var(--bg-surface-accent);
|
|
254
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
255
|
+
--destructive: var(--bg-fill-critical);
|
|
256
|
+
--border: var(--border-default);
|
|
257
|
+
--input: var(--border-input);
|
|
258
|
+
--ring: var(--border-focus);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.dark {
|
|
262
|
+
--bg-default: #131c2e;
|
|
263
|
+
--bg-inverse: #faf8f3;
|
|
264
|
+
--bg-muted: #27334a;
|
|
265
|
+
--bg-surface-default: #1d2940;
|
|
266
|
+
--bg-surface-popover: #1d2940;
|
|
267
|
+
--bg-surface-accent: #27334a;
|
|
268
|
+
--bg-surface-field: #131c2e;
|
|
269
|
+
--bg-surface-input: #131c2e;
|
|
270
|
+
--bg-surface-info: #27334a;
|
|
271
|
+
--bg-surface-success: #27334a;
|
|
272
|
+
--bg-surface-warning: #27334a;
|
|
273
|
+
--bg-surface-critical: #27334a;
|
|
274
|
+
--bg-surface-emphasis: #27334a;
|
|
275
|
+
--bg-surface-inverse: #faf8f3;
|
|
276
|
+
--bg-surface-transparent: #ffffff0f;
|
|
277
|
+
--bg-overlay: #070d19c4;
|
|
278
|
+
--bg-surface-brand: #27334a;
|
|
279
|
+
--bg-surface-brand-2: #27334a;
|
|
280
|
+
--bg-surface-brand-3: #27334a;
|
|
281
|
+
--bg-surface-brand-4: #27334a;
|
|
282
|
+
--bg-surface-brand-5: #27334a;
|
|
283
|
+
--bg-surface-hover: #34425d;
|
|
284
|
+
--bg-fill-default: #1d2940;
|
|
285
|
+
--bg-fill-primary: #2549e8;
|
|
286
|
+
--bg-fill-primary-hover: #3155f0;
|
|
287
|
+
--bg-fill-selected: #2549e8;
|
|
288
|
+
--bg-fill-brand: #ff7518;
|
|
289
|
+
--bg-fill-brand-2: #ffcc00;
|
|
290
|
+
--bg-fill-brand-3: #18b86a;
|
|
291
|
+
--bg-fill-brand-4: #00b7d4;
|
|
292
|
+
--bg-fill-brand-5: #ff6090;
|
|
293
|
+
--bg-fill-info: #00b7d4;
|
|
294
|
+
--bg-fill-success: #57d78b;
|
|
295
|
+
--bg-fill-warning: #ffcc00;
|
|
296
|
+
--bg-fill-critical: #ff8590;
|
|
297
|
+
--bg-fill-emphasis: #2549e8;
|
|
298
|
+
--bg-fill-transparent: #ffffff0f;
|
|
299
|
+
--bg-fill-secondary: #34425d;
|
|
300
|
+
--bg-fill-secondary-hover: #42516f;
|
|
301
|
+
--bg-fill-secondary-inverse: #1d2940;
|
|
302
|
+
--text-default: #faf8f3;
|
|
303
|
+
--text-secondary: #bac3d2;
|
|
304
|
+
--text-muted: #a3afc3;
|
|
305
|
+
--text-disabled: #6b7892;
|
|
306
|
+
--text-inverse: #202b43;
|
|
307
|
+
--text-on-fill-primary: #ffffff;
|
|
308
|
+
--text-on-fill-selected: #ffffff;
|
|
309
|
+
--text-on-fill-brand: #202b43;
|
|
310
|
+
--text-on-fill-secondary: #faf8f3;
|
|
311
|
+
--text-on-surface-accent: #faf8f3;
|
|
312
|
+
--text-info: #00b7d4;
|
|
313
|
+
--text-success: #57d78b;
|
|
314
|
+
--text-warning: #ffcc00;
|
|
315
|
+
--text-critical: #ff8590;
|
|
316
|
+
--text-emphasis: #00b7d4;
|
|
317
|
+
--text-brand: #ff9a40;
|
|
318
|
+
--text-brand-2: #ffcc00;
|
|
319
|
+
--text-brand-3: #57d78b;
|
|
320
|
+
--text-brand-4: #00b7d4;
|
|
321
|
+
--text-brand-5: #ff7ba8;
|
|
322
|
+
--text-link: #00b7d4;
|
|
323
|
+
--icon-default: #faf8f3;
|
|
324
|
+
--icon-secondary: #bac3d2;
|
|
325
|
+
--icon-disabled: #6b7892;
|
|
326
|
+
--icon-inverse: #202b43;
|
|
327
|
+
--icon-info: #00b7d4;
|
|
328
|
+
--icon-success: #57d78b;
|
|
329
|
+
--icon-warning: #ffcc00;
|
|
330
|
+
--icon-critical: #ff8590;
|
|
331
|
+
--icon-emphasis: #00b7d4;
|
|
332
|
+
--icon-brand: #ff9a40;
|
|
333
|
+
--icon-brand-2: #ffcc00;
|
|
334
|
+
--icon-brand-3: #57d78b;
|
|
335
|
+
--icon-brand-4: #00b7d4;
|
|
336
|
+
--icon-brand-5: #ff7ba8;
|
|
337
|
+
--border-default: #303b50;
|
|
338
|
+
--border-secondary: #303b50;
|
|
339
|
+
--border-input: #69758b;
|
|
340
|
+
--border-tertiary: #455167;
|
|
341
|
+
--border-disabled: #3d4b65;
|
|
342
|
+
--border-inverse: #cfcac0;
|
|
343
|
+
--border-focus: #ffcc00;
|
|
344
|
+
--border-brand: #27334a;
|
|
345
|
+
--border-brand-2: #27334a;
|
|
346
|
+
--border-brand-3: #27334a;
|
|
347
|
+
--border-brand-4: #27334a;
|
|
348
|
+
--border-brand-5: #27334a;
|
|
349
|
+
--border-info: #27334a;
|
|
350
|
+
--border-success: #27334a;
|
|
351
|
+
--border-warning: #27334a;
|
|
352
|
+
--border-critical: #27334a;
|
|
353
|
+
--border-emphasis: #27334a;
|
|
354
|
+
--chart-1: #00b7d4;
|
|
355
|
+
--chart-2: #ff7518;
|
|
356
|
+
--chart-3: #57d78b;
|
|
357
|
+
--chart-4: #ffcc00;
|
|
358
|
+
--chart-5: #ff7ba8;
|
|
359
|
+
--sidebar-background: #10182a;
|
|
360
|
+
--sidebar-foreground: #faf8f3;
|
|
361
|
+
--sidebar-primary: #ffcc00;
|
|
362
|
+
--sidebar-primary-foreground: #202b43;
|
|
363
|
+
--sidebar-accent: #27334a;
|
|
364
|
+
--sidebar-accent-foreground: #faf8f3;
|
|
365
|
+
--sidebar-border: #27334a;
|
|
366
|
+
--sidebar-ring: #ffcc00;
|
|
367
|
+
--font-sans: 'DM Sans Variable', ui-sans-serif, system-ui, sans-serif;
|
|
368
|
+
--font-heading: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
|
|
369
|
+
--font-brand: 'Bricolage Grotesque Variable', ui-sans-serif, system-ui, sans-serif;
|
|
370
|
+
--spacing: 0.25rem;
|
|
371
|
+
--font-size-base: 1rem;
|
|
372
|
+
--leading-base: 1.5;
|
|
373
|
+
--letter-spacing-base: 0.01em;
|
|
374
|
+
--radius: 0.875rem;
|
|
375
|
+
--border-width-base: 0.0625rem;
|
|
376
|
+
--control-size-sm: calc(var(--spacing) * 10);
|
|
377
|
+
--control-size-md: calc(var(--spacing) * 11);
|
|
378
|
+
--control-size-lg: calc(var(--spacing) * 12);
|
|
379
|
+
--control-font-size: var(--text-base);
|
|
380
|
+
--button-height: var(--control-size-md);
|
|
381
|
+
--button-height-xs: calc(var(--spacing) * 8);
|
|
382
|
+
--button-height-sm: var(--control-size-sm);
|
|
383
|
+
--button-height-lg: var(--control-size-lg);
|
|
384
|
+
--button-font-size: var(--text-base);
|
|
385
|
+
--button-font-size-xs: var(--text-sm);
|
|
386
|
+
--button-font-size-sm: var(--text-sm);
|
|
387
|
+
--button-gap: calc(var(--spacing) * 2);
|
|
388
|
+
--button-radius: 9999px;
|
|
389
|
+
--button-radius-xs: 9999px;
|
|
390
|
+
--button-radius-sm: 9999px;
|
|
391
|
+
--button-min-width-ratio: 2;
|
|
392
|
+
--button-brand-font-weight: 600;
|
|
393
|
+
--button-primary-shadow: 0 4px 0 #142b99, 0 8px 18px #2549e81f;
|
|
394
|
+
--button-primary-hover-shadow: var(--button-primary-shadow);
|
|
395
|
+
--button-primary-border: transparent;
|
|
396
|
+
--button-primary-hover-border: transparent;
|
|
397
|
+
--button-secondary-border: transparent;
|
|
398
|
+
--button-secondary-hover-bg: var(--bg-fill-secondary-hover);
|
|
399
|
+
--button-quiet-hover-bg: var(--bg-surface-hover);
|
|
400
|
+
--button-destructive-bg: #b92c37;
|
|
401
|
+
--button-destructive-text: #ffffff;
|
|
402
|
+
--button-destructive-border: transparent;
|
|
403
|
+
--button-destructive-hover-border: transparent;
|
|
404
|
+
--button-destructive-shadow: 0 4px 0 #7a1822, 0 8px 18px #b92c371f;
|
|
405
|
+
--button-destructive-hover-shadow: var(--button-destructive-shadow);
|
|
406
|
+
--button-destructive-hover-background-image: linear-gradient(#9f202b, #9f202b);
|
|
407
|
+
--input-radius: var(--radius-lg);
|
|
408
|
+
--label-font-size: var(--text-sm);
|
|
409
|
+
--body-font-size: var(--text-base);
|
|
410
|
+
--body-line-height: var(--text-base--line-height);
|
|
411
|
+
--title-font-size: var(--text-lg);
|
|
412
|
+
--title-line-height: var(--text-lg--line-height);
|
|
413
|
+
--heading-font-size: var(--text-xl);
|
|
414
|
+
--heading-line-height: var(--text-xl--line-height);
|
|
415
|
+
--card-radius: calc(var(--radius) * 1.6);
|
|
416
|
+
--card-padding: calc(var(--spacing) * 5);
|
|
417
|
+
--card-border-width: calc(var(--border-width-base) * 0);
|
|
418
|
+
--alert-border-width: calc(var(--border-width-base) * 0);
|
|
419
|
+
--dialog-radius: calc(var(--radius) * 1.6);
|
|
420
|
+
--badge-radius: 9999px;
|
|
421
|
+
--checkbox-radius: calc(var(--radius) * 0.4);
|
|
422
|
+
--choice-size: calc(var(--spacing) * 5);
|
|
423
|
+
--choice-border-color: var(--border-input);
|
|
424
|
+
--switch-height: calc(var(--spacing) * 6);
|
|
425
|
+
--slider-size: calc(var(--spacing) * 5);
|
|
426
|
+
--tabs-list-radius: 9999px;
|
|
427
|
+
--tabs-tab-radius: 9999px;
|
|
428
|
+
--tabs-list-padding: calc(var(--spacing) * 0.5);
|
|
429
|
+
--tabs-tab-height: var(--control-size-sm);
|
|
430
|
+
--shadow-offset-y: 3px;
|
|
431
|
+
--shadow-blur: 8px;
|
|
432
|
+
--shadow-spread: -1px;
|
|
433
|
+
--shadow-base-color: #00000033;
|
|
434
|
+
--focus-ring-color: var(--border-focus);
|
|
435
|
+
--focus-ring-width: 3px;
|
|
436
|
+
--focus-ring-offset: 3px;
|
|
437
|
+
--focus-ring-opacity: 100%;
|
|
438
|
+
--hover-ring-width: 0px;
|
|
439
|
+
--hover-ring-color: transparent;
|
|
440
|
+
--hover-shadow: none;
|
|
441
|
+
--active-scale: 0.98;
|
|
442
|
+
--button-brand-bg: var(--bg-fill-brand);
|
|
443
|
+
--button-brand-text: var(--text-on-fill-brand);
|
|
444
|
+
--button-brand-border: transparent;
|
|
445
|
+
--button-brand-hover-border: transparent;
|
|
446
|
+
--button-brand-hover-shadow: none;
|
|
447
|
+
--button-brand-2-bg: var(--bg-fill-brand-2);
|
|
448
|
+
--button-brand-2-text: var(--text-on-fill-brand);
|
|
449
|
+
--button-brand-2-border: transparent;
|
|
450
|
+
--button-brand-2-hover-border: transparent;
|
|
451
|
+
--button-brand-2-hover-shadow: none;
|
|
452
|
+
--button-brand-3-bg: var(--bg-fill-brand-3);
|
|
453
|
+
--button-brand-3-text: var(--text-on-fill-brand);
|
|
454
|
+
--button-brand-3-border: transparent;
|
|
455
|
+
--button-brand-3-hover-border: transparent;
|
|
456
|
+
--button-brand-3-hover-shadow: none;
|
|
457
|
+
--button-brand-4-bg: var(--bg-fill-brand-4);
|
|
458
|
+
--button-brand-4-text: var(--text-on-fill-brand);
|
|
459
|
+
--button-brand-4-border: transparent;
|
|
460
|
+
--button-brand-4-hover-border: transparent;
|
|
461
|
+
--button-brand-4-hover-shadow: none;
|
|
462
|
+
--button-brand-5-bg: var(--bg-fill-brand-5);
|
|
463
|
+
--button-brand-5-text: var(--text-on-fill-brand);
|
|
464
|
+
--button-brand-5-border: transparent;
|
|
465
|
+
--button-brand-5-hover-border: transparent;
|
|
466
|
+
--button-brand-5-hover-shadow: none;
|
|
467
|
+
--background: var(--bg-default);
|
|
468
|
+
--foreground: var(--text-default);
|
|
469
|
+
--card: var(--bg-surface-default);
|
|
470
|
+
--card-foreground: var(--text-default);
|
|
471
|
+
--popover: var(--bg-surface-popover);
|
|
472
|
+
--popover-foreground: var(--text-default);
|
|
473
|
+
--primary: var(--bg-fill-primary);
|
|
474
|
+
--primary-foreground: var(--text-on-fill-primary);
|
|
475
|
+
--secondary: var(--bg-fill-secondary);
|
|
476
|
+
--secondary-foreground: var(--text-on-fill-secondary);
|
|
477
|
+
--muted: var(--bg-muted);
|
|
478
|
+
--muted-foreground: var(--text-muted);
|
|
479
|
+
--accent: var(--bg-surface-accent);
|
|
480
|
+
--accent-foreground: var(--text-on-surface-accent);
|
|
481
|
+
--destructive: var(--bg-fill-critical);
|
|
482
|
+
--border: var(--border-default);
|
|
483
|
+
--input: var(--border-input);
|
|
484
|
+
--ring: var(--border-focus);
|
|
485
|
+
}
|