@ecopages/radiant-themes 0.0.0-stage → 0.2.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.
Files changed (66) hide show
  1. package/README.md +96 -2
  2. package/dist/compiled/themes/cloudflare/compact.css +848 -0
  3. package/dist/compiled/themes/cloudflare.css +831 -0
  4. package/dist/compiled/themes/github/compact.css +819 -0
  5. package/dist/compiled/themes/github.css +802 -0
  6. package/dist/compiled/themes/high-contrast/compact.css +707 -0
  7. package/dist/compiled/themes/high-contrast.css +690 -0
  8. package/dist/compiled/themes/macos/compact.css +815 -0
  9. package/dist/compiled/themes/macos-classic/compact.css +1083 -0
  10. package/dist/compiled/themes/macos-classic.css +1066 -0
  11. package/dist/compiled/themes/macos.css +798 -0
  12. package/dist/compiled/themes/material/compact.css +634 -0
  13. package/dist/compiled/themes/material.css +617 -0
  14. package/dist/compiled/themes/vercel/compact.css +811 -0
  15. package/dist/compiled/themes/vercel.css +794 -0
  16. package/dist/compiled/themes/vscode/compact.css +763 -0
  17. package/dist/compiled/themes/vscode.css +746 -0
  18. package/dist/compiled/themes/windows95/compact.css +959 -0
  19. package/dist/compiled/themes/windows95.css +942 -0
  20. package/dist/foundation.css +11 -0
  21. package/dist/themes/cloudflare/compact.css +2 -0
  22. package/dist/themes/cloudflare.css +4 -0
  23. package/dist/themes/github/compact.css +2 -0
  24. package/dist/themes/github.css +4 -0
  25. package/dist/themes/high-contrast/compact.css +2 -0
  26. package/dist/themes/high-contrast.css +4 -0
  27. package/dist/themes/macos/compact.css +2 -0
  28. package/dist/themes/macos-classic/compact.css +2 -0
  29. package/dist/themes/macos-classic.css +4 -0
  30. package/dist/themes/macos.css +4 -0
  31. package/dist/themes/material/compact.css +2 -0
  32. package/dist/themes/material.css +4 -0
  33. package/dist/themes/vercel/compact.css +2 -0
  34. package/dist/themes/vercel.css +4 -0
  35. package/dist/themes/vscode/compact.css +2 -0
  36. package/dist/themes/vscode.css +4 -0
  37. package/dist/themes/windows95/compact.css +2 -0
  38. package/dist/themes/windows95.css +4 -0
  39. package/dist/tokens/colors/cloudflare.css +53 -0
  40. package/dist/tokens/colors/github.css +33 -0
  41. package/dist/tokens/colors/high-contrast.css +53 -0
  42. package/dist/tokens/colors/macos-classic.css +66 -0
  43. package/dist/tokens/colors/macos.css +40 -0
  44. package/dist/tokens/colors/material.css +25 -0
  45. package/dist/tokens/colors/vercel.css +71 -0
  46. package/dist/tokens/colors/vscode.css +31 -0
  47. package/dist/tokens/colors/windows95.css +54 -0
  48. package/dist/tokens/components/cloudflare.css +147 -0
  49. package/dist/tokens/components/github.css +111 -0
  50. package/dist/tokens/components/high-contrast.css +108 -0
  51. package/dist/tokens/components/macos-classic.css +587 -0
  52. package/dist/tokens/components/macos.css +225 -0
  53. package/dist/tokens/components/material.css +82 -0
  54. package/dist/tokens/components/vercel.css +150 -0
  55. package/dist/tokens/components/vscode.css +72 -0
  56. package/dist/tokens/components/windows95.css +433 -0
  57. package/dist/tokens/roles/cloudflare.css +150 -0
  58. package/dist/tokens/roles/github.css +150 -0
  59. package/dist/tokens/roles/high-contrast.css +155 -0
  60. package/dist/tokens/roles/macos-classic.css +142 -0
  61. package/dist/tokens/roles/macos.css +155 -0
  62. package/dist/tokens/roles/material.css +144 -0
  63. package/dist/tokens/roles/vercel.css +141 -0
  64. package/dist/tokens/roles/vscode.css +143 -0
  65. package/dist/tokens/roles/windows95.css +142 -0
  66. package/package.json +144 -3
@@ -0,0 +1,798 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ :root {
4
+ --shadow-control: 0 1px 2px 0 rgb(0 0 0 / 0.05);
5
+ --shadow-overlay: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
6
+ --shadow-modal: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
7
+ --sheen-highlight: color-mix(in oklab, white 8%, transparent);
8
+ --sheen-shade: color-mix(in oklab, black 7%, transparent);
9
+ --sheen-image: linear-gradient(to bottom, var(--sheen-highlight), transparent 55%, var(--sheen-shade));
10
+ }
11
+ :root, :host {
12
+ --shadow-control: var(--shadow-control);
13
+ --shadow-overlay: var(--shadow-overlay);
14
+ --shadow-modal: var(--shadow-modal);
15
+ --font-sans: var(--font-sans);
16
+ --font-heading: var(--font-heading);
17
+ --font-mono: var(--font-mono);
18
+ --text-xs: var(--text-xs);
19
+ --text-sm: var(--text-sm);
20
+ --text-body: var(--text-body);
21
+ --text-lg: var(--text-lg);
22
+ --text-xl: var(--text-xl);
23
+ --text-2xl: var(--text-2xl);
24
+ --text-3xl: var(--text-3xl);
25
+ --text-4xl: var(--text-4xl);
26
+ --text-5xl: var(--text-5xl);
27
+ --font-weight-medium: var(--weight-medium);
28
+ --font-weight-semibold: var(--weight-semibold);
29
+ --opacity-disabled: var(--opacity-disabled);
30
+ --opacity-muted: var(--opacity-muted);
31
+ --color-primary: var(--primary);
32
+ --color-primary-container: var(--primary-container);
33
+ --color-on-primary-container: var(--on-primary-container);
34
+ --color-surface: var(--surface);
35
+ --color-on-surface: var(--on-surface);
36
+ --color-surface-container-low: var(--surface-container-low);
37
+ --color-on-surface-container-low: var(--on-surface-container-low);
38
+ --color-surface-container: var(--surface-container);
39
+ --color-border: var(--border);
40
+ --spacing-1: var(--space-1);
41
+ --radius-none: var(--border-radius-none);
42
+ --radius-xs: var(--border-radius-xs);
43
+ --radius-control: var(--radius-control);
44
+ --radius-container: var(--radius-container);
45
+ --radius-pill: var(--radius-pill);
46
+ }
47
+ :root {
48
+ --text-xs: 0.75rem;
49
+ --text-sm: 0.875rem;
50
+ --text-body: 1rem;
51
+ --text-lg: 1.125rem;
52
+ --text-xl: 1.25rem;
53
+ --text-2xl: 1.5rem;
54
+ --text-3xl: 1.875rem;
55
+ --text-4xl: 2.25rem;
56
+ --text-5xl: 3rem;
57
+ --text-label: 0.875rem;
58
+ --text-control: 0.875rem;
59
+ --text-control-input: 1rem;
60
+ --leading-body: 1.5;
61
+ --leading-relaxed: 1.625;
62
+ --leading-compact: 1.25;
63
+ --weight-regular: 400;
64
+ --weight-medium: 500;
65
+ --weight-semibold: 600;
66
+ --tracking-wide: 0.025em;
67
+ }
68
+ @media (min-width: 640px) {
69
+ :root {
70
+ --text-control-input: var(--text-control);
71
+ }
72
+ }
73
+ :root {
74
+ --duration-fast: 150ms;
75
+ --duration-normal: 200ms;
76
+ --duration-slow: 300ms;
77
+ --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
78
+ --ease-out: cubic-bezier(0, 0, 0.2, 1);
79
+ --color-black: oklch(0% 0 0);
80
+ --color-white: oklch(100% 0 0);
81
+ --border-width-hairline: 1px;
82
+ --border-width-thin: 1px;
83
+ --border-width-thick: 2px;
84
+ --rui-track-mix: 45%;
85
+ --rui-track-fill: var(--on-background);
86
+ @supports (color: color-mix(in lab, red, red)) {
87
+ --rui-track-fill: color-mix(in oklab, var(--on-background) var(--rui-track-mix), transparent);
88
+ }
89
+ --focus-ring-width: 2px;
90
+ --focus-ring-offset: 2px;
91
+ --opacity-disabled: 0.5;
92
+ --opacity-muted: 0.6;
93
+ --z-dropdown: 10;
94
+ --z-popover: 20;
95
+ --z-overlay: 30;
96
+ --z-modal: 40;
97
+ --z-toast: 50;
98
+ --size-control-sm: var(--space-8, 2rem);
99
+ --size-control-md: var(--space-10, 2.5rem);
100
+ --size-control-lg: var(--space-12, 3rem);
101
+ --size-icon-sm: 1rem;
102
+ --size-icon-md: 1.25rem;
103
+ }
104
+ @layer base {
105
+ :where(a[href], button, input:not([type='hidden']):not(.sr-only), select, textarea, [tabindex]):not(
106
+ [data-rui-focus-managed]
107
+ ):focus-visible {
108
+ outline: var(--focus-ring-width, 3px) solid var(--focus-ring);
109
+ outline-offset: var(--focus-ring-offset, 2px);
110
+ }
111
+ }
112
+ @media (prefers-contrast: more) {
113
+ html:root,
114
+ html:root[data-rui-theme],
115
+ html:root.dark[data-rui-theme] {
116
+ --rui-border-alpha: 100%;
117
+ --rui-control-border-color: var(--on-background);
118
+ --border: var(--rui-border-color);
119
+ @supports (color: color-mix(in lab, red, red)) {
120
+ --border: color-mix(in oklab, var(--rui-border-color) 45%, var(--on-background));
121
+ }
122
+ --opacity-disabled: 0.78;
123
+ --opacity-muted: 0.78;
124
+ --focus-ring-width: 3px;
125
+ --focus-ring-offset: 2px;
126
+ }
127
+ }
128
+ @media (prefers-reduced-motion: reduce) {
129
+ :root {
130
+ --duration-fast: 0ms;
131
+ --duration-normal: 0ms;
132
+ --duration-slow: 0ms;
133
+ }
134
+ *,
135
+ *::before,
136
+ *::after {
137
+ animation-duration: 0.01ms !important;
138
+ animation-iteration-count: 1 !important;
139
+ scroll-behavior: auto !important;
140
+ transition-duration: 0.01ms !important;
141
+ }
142
+ }
143
+ @media (forced-colors: active) {
144
+ html:root,
145
+ html:root.dark,
146
+ html:root[data-rui-theme],
147
+ html:root.dark[data-rui-theme] {
148
+ --primary: Highlight;
149
+ --on-primary: HighlightText;
150
+ --primary-container: Highlight;
151
+ --on-primary-container: HighlightText;
152
+ --primary-light: LinkText;
153
+ --primary-dark: Highlight;
154
+ --secondary: ButtonText;
155
+ --on-secondary: ButtonFace;
156
+ --secondary-container: ButtonFace;
157
+ --on-secondary-container: ButtonText;
158
+ --tertiary: ButtonText;
159
+ --on-tertiary: ButtonFace;
160
+ --tertiary-container: ButtonFace;
161
+ --on-tertiary-container: ButtonText;
162
+ --error: CanvasText;
163
+ --on-error: Canvas;
164
+ --error-container: Canvas;
165
+ --on-error-container: CanvasText;
166
+ --success: CanvasText;
167
+ --on-success: Canvas;
168
+ --success-container: Canvas;
169
+ --on-success-container: CanvasText;
170
+ --info: LinkText;
171
+ --on-info: Canvas;
172
+ --info-container: Canvas;
173
+ --on-info-container: CanvasText;
174
+ --warning: CanvasText;
175
+ --on-warning: Canvas;
176
+ --warning-container: Canvas;
177
+ --on-warning-container: CanvasText;
178
+ --neutral: GrayText;
179
+ --surface: Canvas;
180
+ --on-surface: CanvasText;
181
+ --surface-container-lowest: Canvas;
182
+ --on-surface-container-lowest: CanvasText;
183
+ --surface-container-low: Canvas;
184
+ --on-surface-container-low: CanvasText;
185
+ --surface-container: Canvas;
186
+ --on-surface-container: CanvasText;
187
+ --surface-container-high: Canvas;
188
+ --on-surface-container-high: CanvasText;
189
+ --surface-container-highest: Canvas;
190
+ --on-surface-container-highest: CanvasText;
191
+ --background: Canvas;
192
+ --on-background: CanvasText;
193
+ --border: ButtonText;
194
+ --focus-ring: Highlight;
195
+ --on-focus-ring: HighlightText;
196
+ --link: LinkText;
197
+ --overlay: Canvas;
198
+ --background-code: Canvas;
199
+ --on-background-code: CanvasText;
200
+ }
201
+ :where(.rui-button, .rui-input, .rui-textarea, .rui-select, .rui-checkbox__control, .rui-radio__control) {
202
+ forced-color-adjust: auto;
203
+ border-color: ButtonText;
204
+ }
205
+ :where([aria-selected='true'], [aria-checked='true'], [aria-pressed='true'], [aria-current='page']) {
206
+ border-color: Highlight;
207
+ }
208
+ @layer base {
209
+ :where(a[href], button, input:not([type='hidden']):not(.sr-only), select, textarea, [tabindex]):not(
210
+ [data-rui-focus-managed]
211
+ ):focus-visible {
212
+ outline: 3px solid Highlight !important;
213
+ outline-offset: 2px !important;
214
+ }
215
+ }
216
+ :disabled,
217
+ [aria-disabled='true'] {
218
+ color: GrayText;
219
+ opacity: 1;
220
+ }
221
+ }
222
+ :where(:root) {
223
+ --rui-density: 1;
224
+ }
225
+ :root {
226
+ --space-1: calc(0.25rem * var(--rui-density));
227
+ --space-2: calc(0.5rem * var(--rui-density));
228
+ --space-3: calc(0.75rem * var(--rui-density));
229
+ --space-4: calc(1rem * var(--rui-density));
230
+ --space-5: calc(1.25rem * var(--rui-density));
231
+ --space-6: calc(1.5rem * var(--rui-density));
232
+ --space-8: calc(2rem * var(--rui-density));
233
+ --space-10: calc(2.5rem * var(--rui-density));
234
+ --space-12: calc(3rem * var(--rui-density));
235
+ --space-16: calc(4rem * var(--rui-density));
236
+ --space-control-x: var(--space-3);
237
+ --space-control-y: var(--space-2);
238
+ --space-inline: var(--space-2);
239
+ --space-stack: var(--space-4);
240
+ --space-inset: var(--space-4);
241
+ --rui-radius-scale: 1;
242
+ --border-radius-none: 0;
243
+ --border-radius-xs: calc(0.25rem * var(--rui-radius-scale));
244
+ --border-radius-sm: calc(0.5rem * var(--rui-radius-scale));
245
+ --border-radius-md: calc(0.75rem * var(--rui-radius-scale));
246
+ --border-radius-lg: calc(1rem * var(--rui-radius-scale));
247
+ --border-radius-xl: calc(1.25rem * var(--rui-radius-scale));
248
+ --border-radius-2xl: calc(1.5rem * var(--rui-radius-scale));
249
+ --border-radius-3xl: calc(2rem * var(--rui-radius-scale));
250
+ --border-radius-full: 9999px;
251
+ --radius-control: var(--border-radius-md);
252
+ --radius-container: var(--border-radius-lg);
253
+ --radius-pill: var(--border-radius-full);
254
+ }
255
+ :where(:root) {
256
+ color-scheme: light;
257
+ }
258
+ :where(.dark) {
259
+ color-scheme: dark;
260
+ }
261
+ :where(:root), :root[data-rui-theme='macos'] {
262
+ --macos-canvas: #f5f5f7;
263
+ --macos-surface: #ffffff;
264
+ --macos-subtle: #e9e9ed;
265
+ --macos-border: #7f7f84;
266
+ --macos-separator: #d1d1d6;
267
+ --macos-text: #1d1d1f;
268
+ --macos-muted: #55555b;
269
+ --macos-blue: #005fcc;
270
+ --macos-blue-light: #004da8;
271
+ --macos-green: #176b35;
272
+ --macos-red: #a51d2d;
273
+ --macos-amber: #704500;
274
+ --macos-purple: #6e3bb5;
275
+ }
276
+ :where(.dark), :root.dark[data-rui-theme='macos'] {
277
+ --macos-canvas: #1c1c1e;
278
+ --macos-surface: #2c2c2e;
279
+ --macos-subtle: #3a3a3c;
280
+ --macos-border: #8e8e93;
281
+ --macos-separator: #3a3a3c;
282
+ --macos-text: #f5f5f7;
283
+ --macos-muted: #d1d1d6;
284
+ --macos-blue: #55a6ff;
285
+ --macos-blue-light: #8cc2ff;
286
+ --macos-green: #63d982;
287
+ --macos-red: #ff7a83;
288
+ --macos-amber: #ffd166;
289
+ --macos-purple: #c8a1ff;
290
+ }
291
+ :where(:root), :root[data-rui-theme='macos'] {
292
+ --gray-50: #ffffff;
293
+ --gray-100: #f5f5f7;
294
+ --gray-200: #e9e9ed;
295
+ --gray-300: #d1d1d6;
296
+ --gray-400: #aeaeb2;
297
+ --gray-500: #8e8e93;
298
+ --gray-600: #6e6e73;
299
+ --gray-700: #55555b;
300
+ --gray-800: #363638;
301
+ --gray-900: #1d1d1f;
302
+ --gray-950: #000000;
303
+ --primary: var(--macos-blue);
304
+ --on-primary: #ffffff;
305
+ --primary-light: var(--macos-blue-light);
306
+ --primary-dark: #004591;
307
+ --primary-container: #dcecff;
308
+ --on-primary-container: #002f68;
309
+ --secondary: var(--macos-purple);
310
+ --on-secondary: #ffffff;
311
+ --secondary-light: #8154c5;
312
+ --secondary-dark: #4b277f;
313
+ --secondary-container: #eee5fb;
314
+ --on-secondary-container: #35204f;
315
+ --tertiary: #3a3a3c;
316
+ --on-tertiary: #ffffff;
317
+ --tertiary-container: #e9e9ed;
318
+ --on-tertiary-container: #1d1d1f;
319
+ --error: var(--macos-red);
320
+ --on-error: #ffffff;
321
+ --error-light: #c93141;
322
+ --error-dark: #6c101c;
323
+ --error-container: #fbe3e5;
324
+ --on-error-container: #5d1119;
325
+ --success: var(--macos-green);
326
+ --on-success: #ffffff;
327
+ --success-light: #238544;
328
+ --success-dark: #0e4823;
329
+ --success-container: #e0f3e5;
330
+ --on-success-container: #143b20;
331
+ --info: var(--macos-blue);
332
+ --on-info: #ffffff;
333
+ --info-light: var(--macos-blue-light);
334
+ --info-dark: #004591;
335
+ --info-container: #dcecff;
336
+ --on-info-container: #002f68;
337
+ --warning: var(--macos-amber);
338
+ --on-warning: #ffffff;
339
+ --warning-light: #895900;
340
+ --warning-dark: #493000;
341
+ --warning-container: #fff1d0;
342
+ --on-warning-container: #493000;
343
+ --neutral: var(--macos-muted);
344
+ --surface: var(--macos-surface);
345
+ --on-surface: var(--macos-text);
346
+ --surface-container-lowest: #ffffff;
347
+ --on-surface-container-lowest: #1d1d1f;
348
+ --surface-container-low: var(--macos-canvas);
349
+ --on-surface-container-low: #1d1d1f;
350
+ --surface-container: var(--macos-subtle);
351
+ --on-surface-container: #1d1d1f;
352
+ --surface-container-high: #d1d1d6;
353
+ --on-surface-container-high: #1d1d1f;
354
+ --surface-container-highest: #aeaeb2;
355
+ --on-surface-container-highest: #1d1d1f;
356
+ --background: var(--macos-canvas);
357
+ --on-background: var(--macos-text);
358
+ --rui-border-color: var(--macos-separator);
359
+ --rui-control-border-color: var(--macos-border);
360
+ --border: var(--rui-border-color);
361
+ @supports (color: color-mix(in lab, red, red)) {
362
+ --border: color-mix(in srgb, var(--rui-border-color) var(--rui-border-alpha), transparent);
363
+ }
364
+ --focus-ring: var(--macos-blue);
365
+ --on-focus-ring: #ffffff;
366
+ --link: #0053b4;
367
+ --overlay: rgb(0 0 0 / 45%);
368
+ --background-code: #e9e9ed;
369
+ --on-background-code: #1d1d1f;
370
+ }
371
+ :where(.dark), :root.dark[data-rui-theme='macos'] {
372
+ --gray-50: #ffffff;
373
+ --gray-100: #f5f5f7;
374
+ --gray-200: #d1d1d6;
375
+ --gray-300: #aeaeb2;
376
+ --gray-400: #8e8e93;
377
+ --gray-500: #6e6e73;
378
+ --gray-600: #55555b;
379
+ --gray-700: #3a3a3c;
380
+ --gray-800: #2c2c2e;
381
+ --gray-900: #1c1c1e;
382
+ --gray-950: #000000;
383
+ --primary: var(--macos-blue);
384
+ --on-primary: #000000;
385
+ --primary-light: var(--macos-blue-light);
386
+ --primary-dark: #1475d1;
387
+ --primary-container: #12375d;
388
+ --on-primary-container: #d5eaff;
389
+ --secondary: var(--macos-purple);
390
+ --on-secondary: #000000;
391
+ --secondary-light: #d9c0ff;
392
+ --secondary-dark: #9466d8;
393
+ --secondary-container: #47325f;
394
+ --on-secondary-container: #f0e4ff;
395
+ --tertiary: #d1d1d6;
396
+ --on-tertiary: #000000;
397
+ --tertiary-container: #3a3a3c;
398
+ --on-tertiary-container: #f5f5f7;
399
+ --error: var(--macos-red);
400
+ --on-error: #000000;
401
+ --error-light: #ffb9bd;
402
+ --error-dark: #ff939a;
403
+ --error-container: #61252b;
404
+ --on-error-container: #ffe7e9;
405
+ --success: var(--macos-green);
406
+ --on-success: #000000;
407
+ --success-light: #a0f4b5;
408
+ --success-dark: #43b864;
409
+ --success-container: #20472b;
410
+ --on-success-container: #d7ffe1;
411
+ --info: var(--macos-blue);
412
+ --on-info: #000000;
413
+ --info-light: var(--macos-blue-light);
414
+ --info-dark: #1475d1;
415
+ --info-container: #12375d;
416
+ --on-info-container: #d5eaff;
417
+ --warning: var(--macos-amber);
418
+ --on-warning: #000000;
419
+ --warning-light: #ffe09a;
420
+ --warning-dark: #edb94e;
421
+ --warning-container: #57431f;
422
+ --on-warning-container: #ffefc9;
423
+ --neutral: var(--macos-muted);
424
+ --surface: var(--macos-surface);
425
+ --on-surface: var(--macos-text);
426
+ --surface-container-lowest: #1c1c1e;
427
+ --on-surface-container-lowest: #f5f5f7;
428
+ --surface-container-low: #1c1c1e;
429
+ --on-surface-container-low: #f5f5f7;
430
+ --surface-container: var(--macos-subtle);
431
+ --on-surface-container: #f5f5f7;
432
+ --surface-container-high: #48484a;
433
+ --on-surface-container-high: #f5f5f7;
434
+ --surface-container-highest: #636366;
435
+ --on-surface-container-highest: #ffffff;
436
+ --background: var(--macos-canvas);
437
+ --on-background: var(--macos-text);
438
+ --rui-border-color: var(--macos-separator);
439
+ --rui-control-border-color: var(--macos-border);
440
+ --border: var(--rui-border-color);
441
+ @supports (color: color-mix(in lab, red, red)) {
442
+ --border: color-mix(in srgb, var(--rui-border-color) var(--rui-border-alpha), transparent);
443
+ }
444
+ --focus-ring: var(--macos-blue-light);
445
+ --on-focus-ring: #000000;
446
+ --link: #8cc2ff;
447
+ --overlay: rgb(0 0 0 / 60%);
448
+ --background-code: #2c2c2e;
449
+ --on-background-code: #f5f5f7;
450
+ }
451
+ :root, :root[data-rui-theme='macos'] {
452
+ --font-sans: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
453
+ --font-heading: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
454
+ --font-mono: 'SFMono-Regular', Menlo, Monaco, monospace;
455
+ --border-radius-xs: 0.375rem;
456
+ --border-radius-sm: 0.5rem;
457
+ --border-radius-md: 0.5rem;
458
+ --border-radius-lg: 0.625rem;
459
+ --border-radius-xl: 0.75rem;
460
+ --border-radius-2xl: 1rem;
461
+ --border-radius-3xl: 1.25rem;
462
+ --radius-control: var(--border-radius-md);
463
+ --radius-container: var(--border-radius-lg);
464
+ --rui-border-alpha: 100%;
465
+ --focus-ring-width: 3px;
466
+ --focus-ring-offset: 3px;
467
+ }
468
+ @layer components {
469
+ :root.dark .rui-button--destructive {
470
+ background-color: #d93036;
471
+ color: #ffffff;
472
+ }
473
+ :root.dark .rui-button--destructive:hover:not(:disabled) {
474
+ background-color: #c9302c;
475
+ }
476
+ :root.dark .rui-button--destructive:active:not(:disabled) {
477
+ background-color: #b62324;
478
+ }
479
+ :root.dark .rui-button--filled {
480
+ background-color: #0a6cd6;
481
+ color: #ffffff;
482
+ }
483
+ :root.dark .rui-button--filled:hover:not(:disabled) {
484
+ background-color: #0a64c8;
485
+ }
486
+ :root.dark .rui-button--filled:active:not(:disabled),
487
+ :root.dark .rui-button--filled[aria-pressed='true'] {
488
+ background-color: #0a5bb5;
489
+ }
490
+ :root .rui-button {
491
+ border-radius: var(--radius-control);
492
+ border-style: var(--tw-border-style);
493
+ border-width: 1px;
494
+ border-color: transparent;
495
+ --tw-font-weight: var(--font-weight-medium);
496
+ font-weight: var(--font-weight-medium);
497
+ --tw-shadow: 0 0 #0000;
498
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
499
+ transition-duration: var(--duration-fast);
500
+ }
501
+ :root .rui-button--filled,
502
+ :root .rui-button--destructive {
503
+ --tw-shadow: var(--shadow-control);
504
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
505
+ }
506
+ :root .rui-button--outline {
507
+ border-color: var(--color-border);
508
+ background-color: var(--color-surface);
509
+ color: var(--color-on-surface);
510
+ border-color: var(--rui-control-border-color);
511
+ }
512
+ :root .rui-button--outline:hover:not(:disabled),
513
+ :root .rui-button--ghost:hover:not(:disabled) {
514
+ background-color: var(--color-surface-container-low);
515
+ }
516
+ :root .rui-input,
517
+ :root .rui-textarea,
518
+ :root .rui-autocomplete__input,
519
+ :root .rui-combobox__input,
520
+ :root .rui-date-field__input,
521
+ :root .rui-date-input__segment,
522
+ :root .rui-number-field__input,
523
+ :root .rui-select__control {
524
+ border-radius: var(--radius-control);
525
+ border-color: var(--color-border);
526
+ background-color: var(--color-surface);
527
+ color: var(--color-on-surface);
528
+ --tw-shadow: 0 0 #0000;
529
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
530
+ border-color: var(--rui-control-border-color);
531
+ }
532
+ :root .rui-checkbox__control,
533
+ :root .rui-radio__control {
534
+ border-color: var(--color-border);
535
+ background-color: var(--color-surface);
536
+ border-color: var(--rui-control-border-color);
537
+ }
538
+ :root .rui-switch {
539
+ --rui-switch-track: var(--on-background);
540
+ @supports (color: color-mix(in lab, red, red)) {
541
+ --rui-switch-track: color-mix(in oklab, var(--on-background) 14%, transparent);
542
+ }
543
+ --rui-switch-track-hover: var(--on-background);
544
+ @supports (color: color-mix(in lab, red, red)) {
545
+ --rui-switch-track-hover: color-mix(in oklab, var(--on-background) 20%, transparent);
546
+ }
547
+ --rui-switch-thumb: #ffffff;
548
+ --rui-switch-thumb-on: #ffffff;
549
+ }
550
+ :root .rui-switch__track {
551
+ border-radius: var(--radius-pill);
552
+ }
553
+ :root .rui-switch__thumb {
554
+ box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.12),
555
+ 0 1px 2px rgb(0 0 0 / 0.24);
556
+ }
557
+ :root .rui-checkbox__control {
558
+ border-radius: var(--radius-xs);
559
+ }
560
+ :root .rui-listbox__option[aria-selected='true'],
561
+ :root .rui-menu-button__item[aria-checked='true'],
562
+ :root .rui-menubar__menu-item[aria-checked='true'],
563
+ :root .rui-tree__node[aria-selected='true'],
564
+ :root .rui-calendar__day[aria-selected='true'],
565
+ :root .rui-sidebar__menu-button--active,
566
+ :root .rui-navigation-menu__link-list a[aria-current='page'] {
567
+ border-radius: var(--radius-control);
568
+ background-color: var(--color-primary-container);
569
+ color: var(--color-on-primary-container);
570
+ }
571
+ :root .rui-dialog__surface,
572
+ :root .rui-popover-host,
573
+ :root .rui-hover-card__content,
574
+ :root .rui-menu-button__menu,
575
+ :root .rui-menubar__menu,
576
+ :root .rui-select__listbox,
577
+ :root .rui-combobox__listbox,
578
+ :root .rui-calendar,
579
+ :root rui-tabs[variant='boxed'] {
580
+ border-radius: var(--radius-container);
581
+ border-style: var(--tw-border-style);
582
+ border-width: 1px;
583
+ border-color: var(--color-border);
584
+ background-color: var(--color-surface);
585
+ --tw-shadow: var(--shadow-overlay);
586
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
587
+ }
588
+ :root .rui-dialog__title,
589
+ :root .rui-calendar__header,
590
+ :root .rui-sidebar__header,
591
+ :root .rui-table__header {
592
+ background-color: var(--color-surface-container-low);
593
+ --tw-font-weight: var(--font-weight-semibold);
594
+ font-weight: var(--font-weight-semibold);
595
+ color: var(--color-on-surface);
596
+ }
597
+ :root rui-tabs[variant='boxed'] {
598
+ border-radius: var(--radius-container);
599
+ border-style: var(--tw-border-style);
600
+ border-width: 1px;
601
+ border-color: var(--color-border);
602
+ background-color: var(--color-surface);
603
+ --tw-shadow: var(--shadow-control);
604
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
605
+ }
606
+ :root rui-tabs[variant='boxed'] .rui-tabs__list {
607
+ gap: var(--spacing-1);
608
+ border-style: var(--tw-border-style);
609
+ border-width: 0px;
610
+ background-color: var(--color-surface-container-low);
611
+ padding-inline: var(--spacing-1);
612
+ padding-block: var(--spacing-1);
613
+ border-radius: var(--radius-control);
614
+ }
615
+ :root rui-tabs[variant='boxed'] .rui-tabs__tab {
616
+ border-radius: var(--radius-control);
617
+ border-style: var(--tw-border-style);
618
+ border-width: 0px;
619
+ background-color: transparent;
620
+ color: var(--color-on-surface-container-low);
621
+ padding-inline: var(--rui-tabs-tab-padding-x);
622
+ padding-block: var(--rui-tabs-tab-padding-y);
623
+ }
624
+ :root rui-tabs[variant='boxed'] .rui-tabs__tab[aria-selected='true'] {
625
+ border-radius: var(--radius-control);
626
+ background-color: var(--color-surface);
627
+ --tw-font-weight: var(--font-weight-semibold);
628
+ font-weight: var(--font-weight-semibold);
629
+ color: var(--color-on-surface);
630
+ --tw-shadow: var(--shadow-control);
631
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
632
+ border-bottom-color: transparent;
633
+ }
634
+ :root rui-tabs[variant='boxed'] .rui-tabs__panel {
635
+ border-radius: var(--radius-none);
636
+ background-color: var(--color-surface);
637
+ padding: var(--rui-tabs-panel-padding);
638
+ }
639
+ :root .rui-tabs__tab[aria-selected='true'] {
640
+ border-radius: var(--radius-pill);
641
+ background-color: var(--color-surface-container);
642
+ --tw-font-weight: var(--font-weight-semibold);
643
+ font-weight: var(--font-weight-semibold);
644
+ color: var(--color-on-surface);
645
+ border-bottom-color: transparent;
646
+ }
647
+ :root .rui-alert,
648
+ :root .rui-toast__content {
649
+ border-radius: var(--radius-container);
650
+ border-style: var(--tw-border-style);
651
+ border-width: 1px;
652
+ border-color: var(--color-border);
653
+ background-color: var(--color-surface);
654
+ color: var(--color-on-surface);
655
+ --tw-shadow: var(--shadow-overlay);
656
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
657
+ }
658
+ :root .rui-alert--info .rui-alert__icon {
659
+ color: var(--info);
660
+ }
661
+ :root .rui-alert--success .rui-alert__icon {
662
+ color: var(--success);
663
+ }
664
+ :root .rui-alert--warning .rui-alert__icon {
665
+ color: var(--warning);
666
+ }
667
+ :root .rui-alert--error .rui-alert__icon {
668
+ color: var(--error);
669
+ }
670
+ :root .rui-badge,
671
+ :root .rui-chip,
672
+ :root .rui-pagination__link {
673
+ border-radius: var(--radius-pill);
674
+ }
675
+ :root .rui-table__row:nth-child(even),
676
+ :root .rui-grid__row:nth-child(even) {
677
+ background-color: var(--color-surface-container-low);
678
+ }
679
+ :root .rui-separator,
680
+ :root .rui-sidebar__separator {
681
+ background-color: var(--color-border);
682
+ }
683
+ :root .rui-slider__thumb {
684
+ border-radius: var(--radius-pill);
685
+ border-style: var(--tw-border-style);
686
+ border-width: 1px;
687
+ border-color: var(--color-surface);
688
+ background-color: var(--color-primary);
689
+ --tw-shadow: var(--shadow-control);
690
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
691
+ }
692
+ :root .rui-meter__track,
693
+ :root .rui-slider__range-track {
694
+ border-radius: var(--radius-pill);
695
+ background-color: var(--color-surface-container);
696
+ }
697
+ :root .rui-meter__fill,
698
+ :root .rui-slider__range-fill {
699
+ border-radius: var(--radius-pill);
700
+ background-color: var(--color-primary);
701
+ }
702
+ }
703
+ @property --tw-border-style {
704
+ syntax: "*";
705
+ inherits: false;
706
+ initial-value: solid;
707
+ }
708
+ @property --tw-font-weight {
709
+ syntax: "*";
710
+ inherits: false;
711
+ }
712
+ @property --tw-shadow {
713
+ syntax: "*";
714
+ inherits: false;
715
+ initial-value: 0 0 #0000;
716
+ }
717
+ @property --tw-shadow-color {
718
+ syntax: "*";
719
+ inherits: false;
720
+ }
721
+ @property --tw-shadow-alpha {
722
+ syntax: "<percentage>";
723
+ inherits: false;
724
+ initial-value: 100%;
725
+ }
726
+ @property --tw-inset-shadow {
727
+ syntax: "*";
728
+ inherits: false;
729
+ initial-value: 0 0 #0000;
730
+ }
731
+ @property --tw-inset-shadow-color {
732
+ syntax: "*";
733
+ inherits: false;
734
+ }
735
+ @property --tw-inset-shadow-alpha {
736
+ syntax: "<percentage>";
737
+ inherits: false;
738
+ initial-value: 100%;
739
+ }
740
+ @property --tw-ring-color {
741
+ syntax: "*";
742
+ inherits: false;
743
+ }
744
+ @property --tw-ring-shadow {
745
+ syntax: "*";
746
+ inherits: false;
747
+ initial-value: 0 0 #0000;
748
+ }
749
+ @property --tw-inset-ring-color {
750
+ syntax: "*";
751
+ inherits: false;
752
+ }
753
+ @property --tw-inset-ring-shadow {
754
+ syntax: "*";
755
+ inherits: false;
756
+ initial-value: 0 0 #0000;
757
+ }
758
+ @property --tw-ring-inset {
759
+ syntax: "*";
760
+ inherits: false;
761
+ }
762
+ @property --tw-ring-offset-width {
763
+ syntax: "<length>";
764
+ inherits: false;
765
+ initial-value: 0px;
766
+ }
767
+ @property --tw-ring-offset-color {
768
+ syntax: "*";
769
+ inherits: false;
770
+ initial-value: #fff;
771
+ }
772
+ @property --tw-ring-offset-shadow {
773
+ syntax: "*";
774
+ inherits: false;
775
+ initial-value: 0 0 #0000;
776
+ }
777
+ @layer properties {
778
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
779
+ *, ::before, ::after, ::backdrop {
780
+ --tw-border-style: solid;
781
+ --tw-font-weight: initial;
782
+ --tw-shadow: 0 0 #0000;
783
+ --tw-shadow-color: initial;
784
+ --tw-shadow-alpha: 100%;
785
+ --tw-inset-shadow: 0 0 #0000;
786
+ --tw-inset-shadow-color: initial;
787
+ --tw-inset-shadow-alpha: 100%;
788
+ --tw-ring-color: initial;
789
+ --tw-ring-shadow: 0 0 #0000;
790
+ --tw-inset-ring-color: initial;
791
+ --tw-inset-ring-shadow: 0 0 #0000;
792
+ --tw-ring-inset: initial;
793
+ --tw-ring-offset-width: 0px;
794
+ --tw-ring-offset-color: #fff;
795
+ --tw-ring-offset-shadow: 0 0 #0000;
796
+ }
797
+ }
798
+ }