@gomiui/theme-dovisual 0.0.1

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/dist/theme.css ADDED
@@ -0,0 +1,666 @@
1
+ /*
2
+ * @generated by `gomiui theme build` — do not edit manually.
3
+ * Source: src\dovisualTheme.ts
4
+ * Command: gomiui theme build src\dovisualTheme.ts --out dist\theme.css
5
+ * CLI: @gomiui/cli@0.0.2
6
+ * Core: @gomiui/core@0.0.1
7
+ */
8
+
9
+ @layer reset {
10
+ @scope ([data-gomiui-theme="dovisual"]) to ([data-gomiui-theme]) {
11
+ :where(h1, h2, h3, h4, h5, h6) {
12
+ font-family: var(--font-family-heading);
13
+ color: var(--color-text-primary);
14
+ }
15
+
16
+ :where(h1) {
17
+ font-size: var(--font-size-2xl);
18
+ font-weight: var(--font-weight-semibold);
19
+ line-height: 1.3333;
20
+ }
21
+
22
+ :where(h2) {
23
+ font-size: var(--font-size-xl);
24
+ font-weight: var(--font-weight-semibold);
25
+ line-height: 1.4;
26
+ }
27
+
28
+ :where(h3) {
29
+ font-size: var(--font-size-lg);
30
+ font-weight: var(--font-weight-semibold);
31
+ line-height: 1.4118;
32
+ }
33
+
34
+ :where(h4) {
35
+ font-size: var(--font-size-base);
36
+ font-weight: var(--font-weight-semibold);
37
+ line-height: 1.4286;
38
+ }
39
+
40
+ :where(h5) {
41
+ font-size: var(--font-size-sm);
42
+ font-weight: var(--font-weight-semibold);
43
+ line-height: 1.6667;
44
+ }
45
+
46
+ :where(h6) {
47
+ font-size: var(--font-size-xs);
48
+ font-weight: var(--font-weight-semibold);
49
+ line-height: 1.6;
50
+ }
51
+
52
+ :where(p) {
53
+ font-family: var(--font-family-body);
54
+ font-size: var(--font-size-base);
55
+ font-weight: var(--font-weight-normal);
56
+ line-height: 1.4286;
57
+ color: var(--color-text-primary);
58
+ }
59
+
60
+ :where(small) {
61
+ font-size: var(--font-size-sm);
62
+ font-weight: var(--font-weight-normal);
63
+ line-height: 1.6667;
64
+ color: var(--color-text-secondary);
65
+ }
66
+
67
+ :where(code, pre) {
68
+ font-family: var(--font-family-code);
69
+ font-size: var(--font-size-base);
70
+ line-height: 1.4286;
71
+ }
72
+
73
+ :where(hr) {
74
+ border: none;
75
+ border-top: 1px solid var(--color-border);
76
+ }
77
+ }
78
+ }
79
+
80
+ @layer gomiui-theme {
81
+ :root { color-scheme: light dark; }
82
+ html[data-theme="light"] { color-scheme: light; }
83
+ html[data-theme="dark"] { color-scheme: dark; }
84
+
85
+ @scope ([data-gomiui-theme="dovisual"]) to ([data-gomiui-theme]) {
86
+ :scope {
87
+ --font-size-4xs: 0.375rem;
88
+ --font-size-3xs: 0.4375rem;
89
+ --font-size-2xs: 0.5rem;
90
+ --font-size-xs: 0.625rem;
91
+ --font-size-sm: 0.75rem;
92
+ --font-size-base: 0.875rem;
93
+ --font-size-lg: 1.0625rem;
94
+ --font-size-xl: 1.25rem;
95
+ --font-size-2xl: 1.5rem;
96
+ --font-size-3xl: 1.8125rem;
97
+ --font-size-4xl: 2.1875rem;
98
+ --font-size-5xl: 2.625rem;
99
+ --text-heading-1-size: var(--font-size-2xl);
100
+ --text-heading-1-weight: var(--font-weight-semibold);
101
+ --text-heading-1-leading: 1.3333;
102
+ --text-heading-2-size: var(--font-size-xl);
103
+ --text-heading-2-weight: var(--font-weight-semibold);
104
+ --text-heading-2-leading: 1.4;
105
+ --text-heading-3-size: var(--font-size-lg);
106
+ --text-heading-3-weight: var(--font-weight-semibold);
107
+ --text-heading-3-leading: 1.4118;
108
+ --text-heading-4-size: var(--font-size-base);
109
+ --text-heading-4-weight: var(--font-weight-semibold);
110
+ --text-heading-4-leading: 1.4286;
111
+ --text-heading-5-size: var(--font-size-sm);
112
+ --text-heading-5-weight: var(--font-weight-semibold);
113
+ --text-heading-5-leading: 1.6667;
114
+ --text-heading-6-size: var(--font-size-xs);
115
+ --text-heading-6-weight: var(--font-weight-semibold);
116
+ --text-heading-6-leading: 1.6;
117
+ --text-body-size: var(--font-size-base);
118
+ --text-body-weight: var(--font-weight-normal);
119
+ --text-body-leading: 1.4286;
120
+ --text-large-size: var(--font-size-lg);
121
+ --text-large-weight: var(--font-weight-semibold);
122
+ --text-large-leading: 1.4118;
123
+ --text-label-size: var(--font-size-base);
124
+ --text-label-weight: var(--font-weight-medium);
125
+ --text-label-leading: 1.4286;
126
+ --text-code-size: var(--font-size-base);
127
+ --text-code-weight: var(--font-weight-normal);
128
+ --text-code-leading: 1.4286;
129
+ --text-supporting-size: var(--font-size-sm);
130
+ --text-supporting-weight: var(--font-weight-normal);
131
+ --text-supporting-leading: 1.6667;
132
+ --text-display-1-size: var(--font-size-5xl);
133
+ --text-display-1-weight: var(--font-weight-normal);
134
+ --text-display-1-leading: 1.2381;
135
+ --text-display-2-size: var(--font-size-4xl);
136
+ --text-display-2-weight: var(--font-weight-normal);
137
+ --text-display-2-leading: 1.2571;
138
+ --text-display-3-size: var(--font-size-3xl);
139
+ --text-display-3-weight: var(--font-weight-normal);
140
+ --text-display-3-leading: 1.3793;
141
+ --font-family-body: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
142
+ --font-family-heading: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
143
+ --font-family-code: "JetBrains Mono", "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
144
+ --color-accent: light-dark(#87E64B, #87E64B);
145
+ --color-accent-muted: light-dark(#25252a14, #f3f3f520);
146
+ --color-on-accent: light-dark(#ffffff, #25252a);
147
+ --color-neutral: light-dark(#25252a0f, #f3f3f51a);
148
+ --color-background-surface: light-dark(#E0E0E0, #1b1b1f);
149
+ --color-background-body: light-dark(#F2F2F2, #111015);
150
+ --color-overlay: light-dark(#25252a80, #28282acc);
151
+ --color-overlay-hover: light-dark(#25252a0d, #f3f3f50d);
152
+ --color-overlay-pressed: light-dark(#25252a1a, #f3f3f51a);
153
+ --color-background-muted: light-dark(#A9A9B2, #3b3b3f);
154
+ --color-text-primary: light-dark(#25252a, #f3f3f5);
155
+ --color-text-secondary: light-dark(#5e5e63, #ababb0);
156
+ --color-text-disabled: light-dark(#d7d7da, #5e5e61);
157
+ --color-text-accent: light-dark(#25252a, #f3f3f5);
158
+ --color-on-dark: #FFFFFF;
159
+ --color-on-light: light-dark(#25252a, #28282a);
160
+ --color-icon-accent: light-dark(#25252a, #f3f3f5);
161
+ --color-icon-primary: light-dark(#25252a, #f3f3f5);
162
+ --color-icon-secondary: light-dark(#83838a, #9d9da3);
163
+ --color-icon-disabled: light-dark(#d7d7da, #5e5e61);
164
+ --color-background-card: light-dark(#F7F7F7, #242325);
165
+ --color-background-popover: light-dark(#ffffff, #25252a);
166
+ --color-background-inverted: light-dark(#25252a, #f3f3f5);
167
+ --color-success: light-dark(#374c36, #b4cdb2);
168
+ --color-success-muted: light-dark(#d0e9ce, #b4cdb2);
169
+ --color-on-success: light-dark(#374c36, #d0e9ce);
170
+ --color-error: light-dark(#58413e, #dcc0bc);
171
+ --color-error-muted: light-dark(#f9dcd7, #dcc0bc);
172
+ --color-on-error: light-dark(#58413e, #f9dcd7);
173
+ --color-warning: light-dark(#524622, #d7c59c);
174
+ --color-warning-muted: light-dark(#f4e1b7, #d7c59c);
175
+ --color-on-warning: light-dark(#524622, #f4e1b7);
176
+ --color-border: light-dark(#e2e2e8, #f3f3f51a);
177
+ --color-border-emphasized: light-dark(#83838a, #5e5e61);
178
+ --color-skeleton: light-dark(#d4d4da, #5e5e64);
179
+ --color-shadow: light-dark(#25252a1a, #0000004d);
180
+ --color-background-blue: light-dark(#d7e4f5, #485362);
181
+ --color-border-blue: light-dark(#c9d6e7, #313c4a);
182
+ --color-icon-blue: light-dark(#3c4856, #d7e4f5);
183
+ --color-text-blue: light-dark(#3c4856, #d7e4f5);
184
+ --color-background-cyan: light-dark(#cce8e5, #3e5755);
185
+ --color-border-cyan: light-dark(#bedad7, #28403e);
186
+ --color-icon-cyan: light-dark(#334b49, #cce8e5);
187
+ --color-text-cyan: light-dark(#334b49, #cce8e5);
188
+ --color-background-gray: light-dark(#e2e2e8, #525257);
189
+ --color-border-gray: light-dark(#d4d4da, #3b3b3f);
190
+ --color-icon-gray: light-dark(#46464b, #e2e2e8);
191
+ --color-text-gray: light-dark(#46464b, #e2e2e8);
192
+ --color-background-green: light-dark(#d0e9ce, #425841);
193
+ --color-border-green: light-dark(#c2dbc0, #2b402b);
194
+ --color-icon-green: light-dark(#374c36, #d0e9ce);
195
+ --color-text-green: light-dark(#374c36, #d0e9ce);
196
+ --color-background-orange: light-dark(#ffdcbb, #684d32);
197
+ --color-border-orange: light-dark(#f1ceae, #4f361c);
198
+ --color-icon-orange: light-dark(#5b4227, #ffdcbb);
199
+ --color-text-orange: light-dark(#5b4227, #ffdcbb);
200
+ --color-background-pink: light-dark(#f0dde8, #5e4e57);
201
+ --color-border-pink: light-dark(#e2cfda, #463740);
202
+ --color-icon-pink: light-dark(#52424c, #f0dde8);
203
+ --color-text-pink: light-dark(#52424c, #f0dde8);
204
+ --color-background-purple: light-dark(#e8dff3, #564f60);
205
+ --color-border-purple: light-dark(#d9d1e5, #3f3949);
206
+ --color-icon-purple: light-dark(#4b4454, #e8dff3);
207
+ --color-text-purple: light-dark(#4b4454, #e8dff3);
208
+ --color-background-red: light-dark(#f9dcd7, #644d49);
209
+ --color-border-red: light-dark(#ebcec9, #4c3633);
210
+ --color-icon-red: light-dark(#58413e, #f9dcd7);
211
+ --color-text-red: light-dark(#58413e, #f9dcd7);
212
+ --color-background-teal: light-dark(#d4e7dc, #46564d);
213
+ --color-border-teal: light-dark(#c6d9ce, #303f36);
214
+ --color-icon-teal: light-dark(#3b4a41, #d4e7dc);
215
+ --color-text-teal: light-dark(#3b4a41, #d4e7dc);
216
+ --color-background-yellow: light-dark(#f4e1b7, #5e512d);
217
+ --color-border-yellow: light-dark(#e5d3a9, #463a18);
218
+ --color-icon-yellow: light-dark(#524622, #f4e1b7);
219
+ --color-text-yellow: light-dark(#524622, #f4e1b7);
220
+ --spacing-0-5: 4px;
221
+ --spacing-1: 8px;
222
+ --spacing-1-5: 12px;
223
+ --spacing-2: 16px;
224
+ --spacing-3: 24px;
225
+ --spacing-4: 32px;
226
+ --spacing-5: 40px;
227
+ --spacing-6: 48px;
228
+ --spacing-7: 56px;
229
+ --spacing-8: 64px;
230
+ --spacing-9: 72px;
231
+ --spacing-10: 80px;
232
+ --spacing-11: 88px;
233
+ --spacing-12: 96px;
234
+ --radius-inner: 8px;
235
+ --radius-element: 16px;
236
+ --radius-container: 24px;
237
+ --radius-page: 56px;
238
+ --radius-chat: 56px;
239
+ --shadow-low: 0 2px 4px #28282A0D, 0 4px 8px #28282A1A;
240
+ --shadow-med: 0 2px 4px #28282A0D, 0 4px 12px #28282A1A;
241
+ --shadow-high: 0 4px 6px #28282A1A, 0 12px 24px #28282A26;
242
+ --shadow-inset-hover: inset 0px 0px 0px 2px #28282A30;
243
+ --shadow-inset-selected: inset 0px 0px 0px 2px #28282A50;
244
+ --shadow-inset-success: inset 0px 0px 0px 2px #83838a30;
245
+ --shadow-inset-warning: inset 0px 0px 0px 2px #83838a30;
246
+ --shadow-inset-error: inset 0px 0px 0px 2px #83838a30;
247
+ --duration-fast-min: 95ms;
248
+ --duration-fast: 125ms;
249
+ --duration-fast-max: 165ms;
250
+ --duration-medium-min: 225ms;
251
+ --duration-medium: 300ms;
252
+ --duration-medium-max: 400ms;
253
+ --duration-slow-min: 525ms;
254
+ --duration-slow: 700ms;
255
+ --duration-slow-max: 935ms;
256
+ --color-syntax-keyword: light-dark(#645a72, #b2a7c1);
257
+ --color-syntax-string: light-dark(#4e6357, #9bb19a);
258
+ --color-syntax-comment: light-dark(#5e5e5e, #ababb0);
259
+ --color-syntax-number: light-dark(#755752, #bea792);
260
+ --color-syntax-function: light-dark(#506072, #99adc6);
261
+ --color-syntax-type: light-dark(#645a72, #b2a7c1);
262
+ --color-syntax-variable: light-dark(#5e5e5e, #ababb0);
263
+ --color-syntax-operator: light-dark(#5e5e5e, #ababb0);
264
+ --color-syntax-constant: light-dark(#755752, #bea792);
265
+ --color-syntax-tag: light-dark(#775751, #c7a39d);
266
+ --color-syntax-attribute: light-dark(#79693f, #b6aa90);
267
+ --color-syntax-property: light-dark(#4e6357, #94b2a0);
268
+ --color-syntax-punctuation: light-dark(#5e5e5e, #ababb0);
269
+ --color-syntax-background: light-dark(#f3f3f5, #171719);
270
+ }
271
+
272
+ .gomiui-heading.level-1 {
273
+ font-family: var(--font-family-heading);
274
+ font-size: var(--text-heading-1-size);
275
+ font-weight: var(--text-heading-1-weight);
276
+ line-height: var(--text-heading-1-leading);
277
+ }
278
+
279
+ .gomiui-heading.level-2 {
280
+ font-family: var(--font-family-heading);
281
+ font-size: var(--text-heading-2-size);
282
+ font-weight: var(--text-heading-2-weight);
283
+ line-height: var(--text-heading-2-leading);
284
+ }
285
+
286
+ .gomiui-heading.level-3 {
287
+ font-family: var(--font-family-heading);
288
+ font-size: var(--text-heading-3-size);
289
+ font-weight: var(--text-heading-3-weight);
290
+ line-height: var(--text-heading-3-leading);
291
+ }
292
+
293
+ .gomiui-heading.level-4 {
294
+ font-family: var(--font-family-heading);
295
+ font-size: var(--text-heading-4-size);
296
+ font-weight: var(--text-heading-4-weight);
297
+ line-height: var(--text-heading-4-leading);
298
+ }
299
+
300
+ .gomiui-heading.level-5 {
301
+ font-family: var(--font-family-heading);
302
+ font-size: var(--text-heading-5-size);
303
+ font-weight: var(--text-heading-5-weight);
304
+ line-height: var(--text-heading-5-leading);
305
+ }
306
+
307
+ .gomiui-heading.level-6 {
308
+ font-family: var(--font-family-heading);
309
+ font-size: var(--text-heading-6-size);
310
+ font-weight: var(--text-heading-6-weight);
311
+ line-height: var(--text-heading-6-leading);
312
+ }
313
+
314
+ .gomiui-heading.display-1 {
315
+ font-family: var(--font-family-heading);
316
+ font-size: var(--text-display-1-size);
317
+ line-height: var(--text-display-1-leading);
318
+ }
319
+
320
+ .gomiui-heading.display-2 {
321
+ font-family: var(--font-family-heading);
322
+ font-size: var(--text-display-2-size);
323
+ line-height: var(--text-display-2-leading);
324
+ }
325
+
326
+ .gomiui-heading.display-3 {
327
+ font-family: var(--font-family-heading);
328
+ font-size: var(--text-display-3-size);
329
+ line-height: var(--text-display-3-leading);
330
+ }
331
+
332
+ .gomiui-text.body {
333
+ font-family: var(--font-family-body);
334
+ font-size: var(--text-body-size);
335
+ line-height: var(--text-body-leading);
336
+ }
337
+
338
+ .gomiui-text.large {
339
+ font-family: var(--font-family-body);
340
+ font-size: var(--text-large-size);
341
+ line-height: var(--text-large-leading);
342
+ }
343
+
344
+ .gomiui-text.label {
345
+ font-family: var(--font-family-body);
346
+ font-size: var(--text-label-size);
347
+ line-height: var(--text-label-leading);
348
+ }
349
+
350
+ .gomiui-text.code {
351
+ font-family: var(--font-family-code);
352
+ font-size: var(--text-code-size);
353
+ line-height: var(--text-code-leading);
354
+ }
355
+
356
+ .gomiui-text.supporting {
357
+ font-family: var(--font-family-body);
358
+ font-size: var(--text-supporting-size);
359
+ line-height: var(--text-supporting-leading);
360
+ }
361
+
362
+ .gomiui-text.display-1 {
363
+ font-family: var(--font-family-heading);
364
+ font-size: var(--text-display-1-size);
365
+ line-height: var(--text-display-1-leading);
366
+ }
367
+
368
+ .gomiui-text.display-2 {
369
+ font-family: var(--font-family-heading);
370
+ font-size: var(--text-display-2-size);
371
+ line-height: var(--text-display-2-leading);
372
+ }
373
+
374
+ .gomiui-text.display-3 {
375
+ font-family: var(--font-family-heading);
376
+ font-size: var(--text-display-3-size);
377
+ line-height: var(--text-display-3-leading);
378
+ }
379
+
380
+ .gomiui-button {
381
+ border-radius: var(--radius-full);
382
+ --_button-radius: var(--radius-full);
383
+ }
384
+
385
+ .gomiui-button.secondary {
386
+ background-color: transparent;
387
+ border-width: 1.5px;
388
+ border-style: solid;
389
+ border-color: var(--color-border-emphasized);
390
+ }
391
+
392
+ .gomiui-button.secondary:hover:where(:not(:disabled,[aria-disabled="true"])) {
393
+ background-color: var(--color-neutral);
394
+ }
395
+
396
+ .gomiui-button.destructive {
397
+ background-color: var(--color-background-red);
398
+ color: var(--color-text-red);
399
+ }
400
+
401
+ .gomiui-badge.info {
402
+ background-color: var(--color-background-blue);
403
+ color: var(--color-text-blue);
404
+ }
405
+
406
+ .gomiui-badge.neutral {
407
+ background-color: var(--color-background-gray);
408
+ color: var(--color-text-gray);
409
+ }
410
+
411
+ .gomiui-badge.success {
412
+ background-color: var(--color-background-green);
413
+ color: var(--color-text-green);
414
+ }
415
+
416
+ .gomiui-badge.warning {
417
+ background-color: var(--color-background-yellow);
418
+ color: var(--color-text-yellow);
419
+ }
420
+
421
+ .gomiui-badge.error {
422
+ background-color: var(--color-background-red);
423
+ color: var(--color-text-red);
424
+ }
425
+
426
+ .gomiui-banner.info {
427
+ --color-accent-muted: var(--color-background-blue);
428
+ --color-text-primary: var(--color-text-blue);
429
+ --color-text-secondary: var(--color-text-blue);
430
+ --color-accent: var(--color-text-blue);
431
+ }
432
+
433
+ .gomiui-banner.success {
434
+ --color-success-muted: var(--color-background-green);
435
+ --color-text-primary: var(--color-text-green);
436
+ --color-text-secondary: var(--color-text-green);
437
+ --color-success: var(--color-text-green);
438
+ }
439
+
440
+ .gomiui-banner.warning {
441
+ --color-warning-muted: var(--color-background-yellow);
442
+ --color-text-primary: var(--color-text-yellow);
443
+ --color-text-secondary: var(--color-text-yellow);
444
+ --color-warning: var(--color-text-yellow);
445
+ }
446
+
447
+ .gomiui-banner.error {
448
+ --color-error-muted: var(--color-background-red);
449
+ --color-text-primary: var(--color-text-red);
450
+ --color-text-secondary: var(--color-text-red);
451
+ --color-error: var(--color-text-red);
452
+ }
453
+
454
+ .gomiui-progressbar-fill.accent {
455
+ background-color: light-dark(#d7e4f5, #a0acbc);
456
+ }
457
+
458
+ .gomiui-progressbar-fill.success {
459
+ background-color: light-dark(#d0e9ce, #9ab298);
460
+ }
461
+
462
+ .gomiui-progressbar-fill.warning {
463
+ background-color: light-dark(#f4e1b7, #bbaa82);
464
+ }
465
+
466
+ .gomiui-progressbar-fill.error {
467
+ background-color: light-dark(#f9dcd7, #c0a5a0);
468
+ }
469
+
470
+ .gomiui-progressbar-track {
471
+ background-color: var(--color-skeleton);
472
+ }
473
+
474
+ .gomiui-switch {
475
+ --color-background-gray: var(--color-skeleton);
476
+ }
477
+
478
+ .gomiui-field-status.success {
479
+ background-color: var(--color-background-green);
480
+ }
481
+
482
+ .gomiui-field-status.warning {
483
+ background-color: var(--color-background-yellow);
484
+ }
485
+
486
+ .gomiui-field-status.error {
487
+ background-color: var(--color-background-red);
488
+ }
489
+
490
+ .gomiui-text-input.success {
491
+ --color-success: light-dark(#7f977e, #99b298);
492
+ }
493
+
494
+ .gomiui-text-input.warning {
495
+ --color-warning: light-dark(#9f8f68, #bbaa81);
496
+ }
497
+
498
+ .gomiui-text-input.error {
499
+ --color-error: light-dark(#a58b86, #c0a5a1);
500
+ }
501
+
502
+ .gomiui-textarea.success {
503
+ --color-success: light-dark(#7f977e, #99b298);
504
+ }
505
+
506
+ .gomiui-textarea.warning {
507
+ --color-warning: light-dark(#9f8f68, #bbaa81);
508
+ }
509
+
510
+ .gomiui-textarea.error {
511
+ --color-error: light-dark(#a58b86, #c0a5a1);
512
+ }
513
+
514
+ .gomiui-number-input.success {
515
+ --color-success: light-dark(#7f977e, #99b298);
516
+ }
517
+
518
+ .gomiui-number-input.warning {
519
+ --color-warning: light-dark(#9f8f68, #bbaa81);
520
+ }
521
+
522
+ .gomiui-number-input.error {
523
+ --color-error: light-dark(#a58b86, #c0a5a1);
524
+ }
525
+
526
+ .gomiui-date-input.success {
527
+ --color-success: light-dark(#7f977e, #99b298);
528
+ }
529
+
530
+ .gomiui-date-input.warning {
531
+ --color-warning: light-dark(#9f8f68, #bbaa81);
532
+ }
533
+
534
+ .gomiui-date-input.error {
535
+ --color-error: light-dark(#a58b86, #c0a5a1);
536
+ }
537
+
538
+ .gomiui-time-input.success {
539
+ --color-success: light-dark(#7f977e, #99b298);
540
+ }
541
+
542
+ .gomiui-time-input.warning {
543
+ --color-warning: light-dark(#9f8f68, #bbaa81);
544
+ }
545
+
546
+ .gomiui-time-input.error {
547
+ --color-error: light-dark(#a58b86, #c0a5a1);
548
+ }
549
+
550
+ .gomiui-selector.success {
551
+ --color-success: light-dark(#7f977e, #99b298);
552
+ }
553
+
554
+ .gomiui-selector.warning {
555
+ --color-warning: light-dark(#9f8f68, #bbaa81);
556
+ }
557
+
558
+ .gomiui-selector.error {
559
+ --color-error: light-dark(#a58b86, #c0a5a1);
560
+ }
561
+
562
+ .gomiui-multi-selector.success {
563
+ --color-success: light-dark(#7f977e, #99b298);
564
+ }
565
+
566
+ .gomiui-multi-selector.warning {
567
+ --color-warning: light-dark(#9f8f68, #bbaa81);
568
+ }
569
+
570
+ .gomiui-multi-selector.error {
571
+ --color-error: light-dark(#a58b86, #c0a5a1);
572
+ }
573
+
574
+ .gomiui-typeahead.success {
575
+ --color-success: light-dark(#7f977e, #99b298);
576
+ }
577
+
578
+ .gomiui-typeahead.warning {
579
+ --color-warning: light-dark(#9f8f68, #bbaa81);
580
+ }
581
+
582
+ .gomiui-typeahead.error {
583
+ --color-error: light-dark(#a58b86, #c0a5a1);
584
+ }
585
+
586
+ .gomiui-tokenizer.success {
587
+ --color-success: light-dark(#7f977e, #99b298);
588
+ }
589
+
590
+ .gomiui-tokenizer.warning {
591
+ --color-warning: light-dark(#9f8f68, #bbaa81);
592
+ }
593
+
594
+ .gomiui-tokenizer.error {
595
+ --color-error: light-dark(#a58b86, #c0a5a1);
596
+ }
597
+
598
+ .gomiui-card {
599
+ --gomiui-card-padding: var(--spacing-3);
600
+ }
601
+
602
+ .gomiui-section {
603
+ --gomiui-section-padding: var(--spacing-3);
604
+ }
605
+
606
+ .gomiui-text.primary { color: var(--color-text-primary); }
607
+
608
+ .gomiui-heading.primary { color: var(--color-text-primary); }
609
+
610
+ .gomiui-text.secondary { color: var(--color-text-secondary); }
611
+
612
+ .gomiui-heading.secondary { color: var(--color-text-secondary); }
613
+
614
+ .gomiui-text.disabled { color: var(--color-text-disabled); }
615
+
616
+ .gomiui-heading.disabled { color: var(--color-text-disabled); }
617
+
618
+ .gomiui-text.placeholder { color: var(--color-text-secondary); }
619
+
620
+ .gomiui-heading.placeholder { color: var(--color-text-secondary); }
621
+
622
+ .gomiui-text.accent { color: var(--color-text-accent); }
623
+
624
+ .gomiui-heading.accent { color: var(--color-text-accent); }
625
+
626
+ .gomiui-text.size-4xs { font-size: var(--font-size-4xs); }
627
+
628
+ .gomiui-text.size-3xs { font-size: var(--font-size-3xs); }
629
+
630
+ .gomiui-text.size-2xs { font-size: var(--font-size-2xs); }
631
+
632
+ .gomiui-text.xsm { font-size: var(--font-size-xs); }
633
+
634
+ .gomiui-text.sm { font-size: var(--font-size-sm); }
635
+
636
+ .gomiui-text.base { font-size: var(--font-size-base); }
637
+
638
+ .gomiui-text.lg { font-size: var(--font-size-lg); }
639
+
640
+ .gomiui-text.xl { font-size: var(--font-size-xl); }
641
+
642
+ .gomiui-text.size-2xl { font-size: var(--font-size-2xl); }
643
+
644
+ .gomiui-text.size-3xl { font-size: var(--font-size-3xl); }
645
+
646
+ .gomiui-text.size-4xl { font-size: var(--font-size-4xl); }
647
+ }
648
+ }
649
+
650
+ @layer gomiui-theme {
651
+ @scope ([data-gomiui-theme="dovisual"]) to ([data-gomiui-theme]) {
652
+ [data-gomiui-media="dark"] {
653
+ color-scheme: dark;
654
+ --color-text-primary: var(--color-on-dark);
655
+ --color-icon-primary: var(--color-on-dark);
656
+ --color-accent: var(--color-on-dark);
657
+ }
658
+
659
+ [data-gomiui-media="light"] {
660
+ color-scheme: light;
661
+ --color-text-primary: var(--color-on-light);
662
+ --color-icon-primary: var(--color-on-light);
663
+ --color-accent: var(--color-on-light);
664
+ }
665
+ }
666
+ }