@ecopages/radiant-ui 0.1.0-beta.0 → 0.1.0-beta.2

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 (75) hide show
  1. package/README.md +4 -2
  2. package/dist/components/ui/alert/alert.css +56 -23
  3. package/dist/components/ui/breadcrumb/breadcrumb.css +85 -36
  4. package/dist/components/ui/carousel/carousel.css +465 -166
  5. package/dist/components/ui/checkbox/checkbox.css +196 -49
  6. package/dist/components/ui/combobox/combobox.css +213 -60
  7. package/dist/components/ui/dialog/dialog.css +176 -49
  8. package/dist/components/ui/disclosure/disclosure.css +228 -100
  9. package/dist/components/ui/feed/feed.css +30 -10
  10. package/dist/components/ui/field/field.css +18 -22
  11. package/dist/components/ui/form/form.css +7 -8
  12. package/dist/components/ui/grid/grid.css +172 -43
  13. package/dist/components/ui/input/input.css +126 -30
  14. package/dist/components/ui/label/label.css +20 -6
  15. package/dist/components/ui/listbox/listbox.css +137 -19
  16. package/dist/components/ui/menu-button/index.js +1 -1
  17. package/dist/components/ui/menu-button/index.js.map +4 -4
  18. package/dist/components/ui/menu-button/menu-button.css +158 -38
  19. package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
  20. package/dist/components/ui/menubar/index.js +1 -1
  21. package/dist/components/ui/menubar/index.js.map +2 -2
  22. package/dist/components/ui/menubar/menubar.css +207 -39
  23. package/dist/components/ui/meter/meter.css +50 -13
  24. package/dist/components/ui/navigation-menu/navigation-menu.css +281 -85
  25. package/dist/components/ui/radio-group/radio-group.css +179 -40
  26. package/dist/components/ui/shared/floating-position.d.ts +37 -0
  27. package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
  28. package/dist/components/ui/shared/placement.d.ts +2 -0
  29. package/dist/components/ui/sidebar/sidebar.css +407 -189
  30. package/dist/components/ui/slider/slider.css +220 -47
  31. package/dist/components/ui/spinbutton/spinbutton.css +65 -15
  32. package/dist/components/ui/switch/switch.css +164 -43
  33. package/dist/components/ui/tabs/tabs.css +145 -24
  34. package/dist/components/ui/textarea/textarea.css +128 -31
  35. package/dist/components/ui/toast/toast.css +388 -255
  36. package/dist/components/ui/toolbar/toolbar.css +118 -11
  37. package/dist/components/ui/tooltip/index.js +1 -1
  38. package/dist/components/ui/tooltip/index.js.map +4 -4
  39. package/dist/components/ui/tooltip/tooltip.css +119 -21
  40. package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
  41. package/dist/components/ui/tree/tree.css +180 -49
  42. package/dist/components/ui/treegrid/treegrid.css +190 -72
  43. package/dist/components/ui/window-splitter/window-splitter.css +144 -31
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.map +4 -4
  46. package/dist/styles/components/button.css +299 -113
  47. package/dist/styles/radiant-ui-core.css +828 -7
  48. package/dist/styles/radiant-ui.css +1497 -8
  49. package/dist/styles/styles.css +5830 -36
  50. package/dist/styles/tailwind.css +1607 -27
  51. package/dist/styles/themes/aurora.css +637 -15
  52. package/dist/styles/themes/default-compact-soft.css +580 -15
  53. package/dist/styles/themes/default.css +641 -2
  54. package/dist/styles/themes/glacier.css +637 -15
  55. package/dist/styles/tokens/colors/aurora.css +1 -73
  56. package/dist/styles/tokens/colors/basalt.css +1 -36
  57. package/dist/styles/tokens/colors/glacier.css +1 -45
  58. package/dist/styles/tokens/colors/palettes.css +1 -3
  59. package/dist/styles/tokens/elevation/default.css +11 -19
  60. package/dist/styles/tokens/elevation/flat.css +11 -19
  61. package/dist/styles/tokens/motion/default.css +6 -17
  62. package/dist/styles/tokens/motion/snappy.css +6 -17
  63. package/dist/styles/tokens/presets/colors/index.css +446 -4
  64. package/dist/styles/tokens/radius/default.css +17 -31
  65. package/dist/styles/tokens/radius/edgy.css +17 -32
  66. package/dist/styles/tokens/radius/sharp.css +20 -2
  67. package/dist/styles/tokens/radius/soft.css +17 -31
  68. package/dist/styles/tokens/semantic.css +445 -79
  69. package/dist/styles/tokens/spacing/compact.css +16 -21
  70. package/dist/styles/tokens/spacing/default.css +16 -21
  71. package/dist/styles/tokens/spacing/scale-bridge.css +1 -17
  72. package/dist/styles/tokens/spacing/wide.css +16 -21
  73. package/dist/styles/tokens/system.css +21 -33
  74. package/dist/styles/tokens/typography/default.css +23 -33
  75. package/package.json +5 -6
@@ -1,7 +1,828 @@
1
- /**
2
- * Tailwind + shared component primitives (no theme).
3
- * Pair with a theme file, or use `radiant-ui.css` for the default bundle.
4
- */
5
- @import 'tailwindcss';
6
- @import './utilities/sheen.css';
7
- @import './components/button.css';
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
4
+ @layer theme;
5
+ @layer base {
6
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
7
+ box-sizing: border-box;
8
+ margin: 0;
9
+ padding: 0;
10
+ border: 0 solid;
11
+ }
12
+ html, :host {
13
+ line-height: 1.5;
14
+ -webkit-text-size-adjust: 100%;
15
+ tab-size: 4;
16
+ font-family: var(--default-font-family, var(--font-sans, var(--font-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji")));
17
+ font-feature-settings: var(--default-font-feature-settings, initial);
18
+ font-variation-settings: var(--default-font-variation-settings, initial);
19
+ -webkit-tap-highlight-color: transparent;
20
+ }
21
+ hr {
22
+ height: 0;
23
+ color: inherit;
24
+ border-top-width: 1px;
25
+ }
26
+ abbr:where([title]) {
27
+ -webkit-text-decoration: underline dotted;
28
+ text-decoration: underline dotted;
29
+ }
30
+ h1, h2, h3, h4, h5, h6 {
31
+ font-size: inherit;
32
+ font-weight: inherit;
33
+ }
34
+ a {
35
+ color: inherit;
36
+ -webkit-text-decoration: inherit;
37
+ text-decoration: inherit;
38
+ }
39
+ b, strong {
40
+ font-weight: bolder;
41
+ }
42
+ code, kbd, samp, pre {
43
+ font-family: var(--default-mono-font-family, var(--font-mono, var(--font-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace)));
44
+ font-feature-settings: var(--default-mono-font-feature-settings, initial);
45
+ font-variation-settings: var(--default-mono-font-variation-settings, initial);
46
+ font-size: 1em;
47
+ }
48
+ small {
49
+ font-size: 80%;
50
+ }
51
+ sub, sup {
52
+ font-size: 75%;
53
+ line-height: 0;
54
+ position: relative;
55
+ vertical-align: baseline;
56
+ }
57
+ sub {
58
+ bottom: -0.25em;
59
+ }
60
+ sup {
61
+ top: -0.5em;
62
+ }
63
+ table {
64
+ text-indent: 0;
65
+ border-color: inherit;
66
+ border-collapse: collapse;
67
+ }
68
+ :-moz-focusring:where(:not(iframe)) {
69
+ outline: auto;
70
+ }
71
+ progress {
72
+ vertical-align: baseline;
73
+ }
74
+ summary {
75
+ display: list-item;
76
+ }
77
+ ol, ul, menu {
78
+ list-style: none;
79
+ }
80
+ img, svg, video, canvas, audio, iframe, embed, object {
81
+ display: block;
82
+ vertical-align: middle;
83
+ }
84
+ img, video {
85
+ max-width: 100%;
86
+ height: auto;
87
+ }
88
+ button, input, select, optgroup, textarea, ::file-selector-button {
89
+ font: inherit;
90
+ font-feature-settings: inherit;
91
+ font-variation-settings: inherit;
92
+ letter-spacing: inherit;
93
+ color: inherit;
94
+ border-radius: 0;
95
+ background-color: transparent;
96
+ opacity: 1;
97
+ }
98
+ :where(select:is([multiple], [size])) optgroup {
99
+ font-weight: bolder;
100
+ }
101
+ :where(select:is([multiple], [size])) optgroup option {
102
+ padding-inline-start: 20px;
103
+ }
104
+ ::file-selector-button {
105
+ margin-inline-end: 4px;
106
+ }
107
+ ::placeholder {
108
+ opacity: 1;
109
+ }
110
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
111
+ ::placeholder {
112
+ color: currentcolor;
113
+ @supports (color: color-mix(in lab, red, red)) {
114
+ color: color-mix(in oklab, currentcolor 50%, transparent);
115
+ }
116
+ }
117
+ }
118
+ textarea {
119
+ resize: vertical;
120
+ }
121
+ ::-webkit-search-decoration {
122
+ -webkit-appearance: none;
123
+ }
124
+ ::-webkit-date-and-time-value {
125
+ min-height: 1lh;
126
+ text-align: inherit;
127
+ }
128
+ ::-webkit-datetime-edit {
129
+ display: inline-flex;
130
+ }
131
+ ::-webkit-datetime-edit-fields-wrapper {
132
+ padding: 0;
133
+ }
134
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
135
+ padding-block: 0;
136
+ }
137
+ ::-webkit-calendar-picker-indicator {
138
+ line-height: 1;
139
+ }
140
+ :-moz-ui-invalid {
141
+ box-shadow: none;
142
+ }
143
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
144
+ appearance: button;
145
+ }
146
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
147
+ height: auto;
148
+ }
149
+ [hidden]:where(:not([hidden="until-found"])) {
150
+ display: none !important;
151
+ }
152
+ }
153
+ @layer utilities {
154
+ .collapse {
155
+ visibility: collapse;
156
+ }
157
+ .visible {
158
+ visibility: visible;
159
+ }
160
+ .absolute {
161
+ position: absolute;
162
+ }
163
+ .fixed {
164
+ position: fixed;
165
+ }
166
+ .relative {
167
+ position: relative;
168
+ }
169
+ .container {
170
+ width: 100%;
171
+ @media (width >= 40rem) {
172
+ max-width: 40rem;
173
+ }
174
+ @media (width >= 48rem) {
175
+ max-width: 48rem;
176
+ }
177
+ @media (width >= 64rem) {
178
+ max-width: 64rem;
179
+ }
180
+ @media (width >= 80rem) {
181
+ max-width: 80rem;
182
+ }
183
+ @media (width >= 96rem) {
184
+ max-width: 96rem;
185
+ }
186
+ }
187
+ .mt-1 {
188
+ margin-top: var(--spacing-1, var(--space-1));
189
+ }
190
+ .mt-2 {
191
+ margin-top: var(--spacing-2, var(--space-2));
192
+ }
193
+ .block {
194
+ display: block;
195
+ }
196
+ .contents {
197
+ display: contents;
198
+ }
199
+ .flex {
200
+ display: flex;
201
+ }
202
+ .grid {
203
+ display: grid;
204
+ }
205
+ .hidden {
206
+ display: none;
207
+ }
208
+ .inline {
209
+ display: inline;
210
+ }
211
+ .size-4 {
212
+ width: var(--spacing-4, var(--space-4));
213
+ height: var(--spacing-4, var(--space-4));
214
+ }
215
+ .size-6 {
216
+ width: var(--spacing-6, var(--space-6));
217
+ height: var(--spacing-6, var(--space-6));
218
+ }
219
+ .h-14 {
220
+ height: calc(var(--spacing, 0.25rem) * 14);
221
+ }
222
+ .h-full {
223
+ height: 100%;
224
+ }
225
+ .w-full {
226
+ width: 100%;
227
+ }
228
+ .max-w-3xl {
229
+ max-width: var(--container-3xl, 48rem);
230
+ }
231
+ .max-w-5xl {
232
+ max-width: var(--container-5xl, 64rem);
233
+ }
234
+ .max-w-prose {
235
+ max-width: 65ch;
236
+ }
237
+ .min-w-0 {
238
+ min-width: 0px;
239
+ }
240
+ .flex-1 {
241
+ flex: 1;
242
+ }
243
+ .shrink-0 {
244
+ flex-shrink: 0;
245
+ }
246
+ .transform {
247
+ transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
248
+ }
249
+ .resize {
250
+ resize: both;
251
+ }
252
+ .flex-col {
253
+ flex-direction: column;
254
+ }
255
+ .place-items-center {
256
+ place-items: center;
257
+ }
258
+ .items-center {
259
+ align-items: center;
260
+ }
261
+ .justify-between {
262
+ justify-content: space-between;
263
+ }
264
+ .gap-0\.5 {
265
+ gap: calc(var(--spacing, 0.25rem) * 0.5);
266
+ }
267
+ .gap-2 {
268
+ gap: var(--spacing-2, var(--space-2));
269
+ }
270
+ .gap-3 {
271
+ gap: var(--spacing-3, var(--space-3));
272
+ }
273
+ .gap-4 {
274
+ gap: var(--spacing-4, var(--space-4));
275
+ }
276
+ .truncate {
277
+ overflow: hidden;
278
+ text-overflow: ellipsis;
279
+ white-space: nowrap;
280
+ }
281
+ .overflow-y-auto {
282
+ overflow-y: auto;
283
+ }
284
+ .rounded-control {
285
+ border-radius: var(--radius-control, var(--radius-control));
286
+ }
287
+ .rounded-md {
288
+ border-radius: var(--radius-md, var(--border-radius-md));
289
+ }
290
+ .border {
291
+ border-style: var(--tw-border-style);
292
+ border-width: 1px;
293
+ }
294
+ .border-t {
295
+ border-top-style: var(--tw-border-style);
296
+ border-top-width: 1px;
297
+ }
298
+ .border-b {
299
+ border-bottom-style: var(--tw-border-style);
300
+ border-bottom-width: 1px;
301
+ }
302
+ .border-border {
303
+ border-color: var(--color-border, var(--border));
304
+ }
305
+ .bg-primary {
306
+ background-color: var(--color-primary, var(--primary));
307
+ }
308
+ .bg-surface {
309
+ background-color: var(--color-surface, var(--surface));
310
+ }
311
+ .p-4 {
312
+ padding: var(--spacing-4, var(--space-4));
313
+ }
314
+ .px-4 {
315
+ padding-inline: var(--spacing-4, var(--space-4));
316
+ }
317
+ .py-2 {
318
+ padding-block: var(--spacing-2, var(--space-2));
319
+ }
320
+ .pt-1\.5 {
321
+ padding-top: calc(var(--spacing, 0.25rem) * 1.5);
322
+ }
323
+ .text-2xl {
324
+ font-size: var(--text-2xl, 1.5rem);
325
+ line-height: var(--tw-leading, var(--text-2xl--line-height, calc(2 / 1.5)));
326
+ }
327
+ .text-base {
328
+ font-size: var(--text-base, 1rem);
329
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
330
+ }
331
+ .text-sm {
332
+ font-size: var(--text-sm, var(--text-sm));
333
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
334
+ }
335
+ .text-xs {
336
+ font-size: var(--text-xs, var(--text-xs));
337
+ line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
338
+ }
339
+ .font-bold {
340
+ --tw-font-weight: var(--font-weight-bold, 700);
341
+ font-weight: var(--font-weight-bold, 700);
342
+ }
343
+ .font-medium {
344
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
345
+ font-weight: var(--font-weight-medium, var(--weight-medium));
346
+ }
347
+ .font-semibold {
348
+ --tw-font-weight: var(--font-weight-semibold, var(--weight-semibold));
349
+ font-weight: var(--font-weight-semibold, var(--weight-semibold));
350
+ }
351
+ .text-on-primary {
352
+ color: var(--color-on-primary, var(--on-primary));
353
+ }
354
+ .text-on-surface {
355
+ color: var(--color-on-surface, var(--on-surface));
356
+ }
357
+ .shadow {
358
+ --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
359
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
360
+ }
361
+ .shadow-md {
362
+ --tw-shadow: var(--shadow-overlay);
363
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
364
+ }
365
+ .ring {
366
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
367
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
368
+ }
369
+ .outline {
370
+ outline-style: var(--tw-outline-style);
371
+ outline-width: 1px;
372
+ }
373
+ .blur {
374
+ --tw-blur: blur(8px);
375
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
376
+ }
377
+ .filter {
378
+ filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
379
+ }
380
+ .transition {
381
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
382
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
383
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
384
+ }
385
+ .duration-150 {
386
+ --tw-duration: 150ms;
387
+ transition-duration: 150ms;
388
+ }
389
+ @media (width >= 40rem) {
390
+ .sm\:p-6 {
391
+ padding: var(--spacing-6, var(--space-6));
392
+ }
393
+ .sm\:px-6 {
394
+ padding-inline: var(--spacing-6, var(--space-6));
395
+ }
396
+ }
397
+ @media (width >= 64rem) {
398
+ .lg\:p-8 {
399
+ padding: var(--spacing-8, var(--space-8));
400
+ }
401
+ .lg\:px-8 {
402
+ padding-inline: var(--spacing-8, var(--space-8));
403
+ }
404
+ }
405
+ }
406
+ @layer components {
407
+ .rui-button {
408
+ display: inline-flex;
409
+ height: fit-content;
410
+ width: fit-content;
411
+ align-items: center;
412
+ justify-content: center;
413
+ gap: var(--spacing-2, var(--space-2));
414
+ border-radius: var(--radius-button, var(--radius-control));
415
+ border-style: var(--tw-border-style);
416
+ border-width: 1px;
417
+ border-color: transparent;
418
+ font-size: var(--text-sm, var(--text-sm));
419
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
420
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
421
+ font-weight: var(--font-weight-medium, var(--weight-medium));
422
+ transition-property: background-color,color,box-shadow;
423
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
424
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
425
+ --tw-duration: 300ms;
426
+ transition-duration: 300ms;
427
+ --tw-ease: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
428
+ transition-timing-function: var(--ease-out, cubic-bezier(0, 0, 0.2, 1));
429
+ cursor: pointer;
430
+ white-space: nowrap;
431
+ }
432
+ .rui-button > svg {
433
+ pointer-events: none;
434
+ }
435
+ .rui-button:focus-visible {
436
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
437
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
438
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
439
+ --tw-outline-style: none;
440
+ outline-style: none;
441
+ @media (forced-colors: active) {
442
+ outline: 2px solid transparent;
443
+ outline-offset: 2px;
444
+ }
445
+ }
446
+ .rui-button:disabled {
447
+ cursor: not-allowed;
448
+ opacity: 50%;
449
+ }
450
+ .rui-button--filled {
451
+ background-color: var(--color-primary, var(--primary));
452
+ @media (forced-colors: active) {
453
+ background-image: none;
454
+ }
455
+ background-image: var(--sheen-image);
456
+ @media (forced-colors: active) {
457
+ background-image: none;
458
+ }
459
+ color: var(--color-on-primary, var(--on-primary));
460
+ }
461
+ .rui-button--filled:hover:not(:disabled) {
462
+ background-color: var(--color-primary, var(--primary));
463
+ @supports (color: color-mix(in lab, red, red)) {
464
+ background-color: color-mix(in oklab, var(--color-primary, var(--primary)) 90%, transparent);
465
+ }
466
+ }
467
+ .rui-button--filled:active:not(:disabled) {
468
+ background-color: var(--color-primary-dark, var(--primary-dark));
469
+ }
470
+ .rui-button--filled[aria-pressed='true'] {
471
+ background-color: var(--color-primary-dark, var(--primary-dark));
472
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
473
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
474
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
475
+ }
476
+ .rui-button--outline {
477
+ border-color: var(--color-border, var(--border));
478
+ background-color: transparent;
479
+ color: var(--color-on-background, var(--on-background));
480
+ }
481
+ .rui-button--outline:hover:not(:disabled) {
482
+ background-color: var(--color-surface, var(--surface));
483
+ @media (forced-colors: active) {
484
+ background-image: none;
485
+ }
486
+ background-image: var(--sheen-image);
487
+ @media (forced-colors: active) {
488
+ background-image: none;
489
+ }
490
+ }
491
+ .rui-button--outline:active:not(:disabled) {
492
+ background-color: var(--color-surface, var(--surface));
493
+ @supports (color: color-mix(in lab, red, red)) {
494
+ background-color: color-mix(in oklab, var(--color-surface, var(--surface)) 80%, transparent);
495
+ }
496
+ @media (forced-colors: active) {
497
+ background-image: none;
498
+ }
499
+ background-image: var(--sheen-image);
500
+ @media (forced-colors: active) {
501
+ background-image: none;
502
+ }
503
+ }
504
+ .rui-button--outline[aria-pressed='true'] {
505
+ background-color: var(--color-background, var(--background));
506
+ @media (forced-colors: active) {
507
+ background-image: none;
508
+ }
509
+ background-image: var(--sheen-image);
510
+ @media (forced-colors: active) {
511
+ background-image: none;
512
+ }
513
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
514
+ font-weight: var(--font-weight-medium, var(--weight-medium));
515
+ color: var(--color-on-background, var(--on-background));
516
+ --tw-shadow: var(--shadow-control);
517
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
518
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
519
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
520
+ }
521
+ .rui-button--ghost {
522
+ background-color: transparent;
523
+ color: var(--color-on-surface, var(--on-surface));
524
+ }
525
+ .rui-button--ghost:hover:not(:disabled) {
526
+ background-color: var(--color-surface-container-low, var(--surface-container-low));
527
+ @media (forced-colors: active) {
528
+ background-image: none;
529
+ }
530
+ background-image: var(--sheen-image);
531
+ @media (forced-colors: active) {
532
+ background-image: none;
533
+ }
534
+ }
535
+ .rui-button--ghost:active:not(:disabled) {
536
+ background-color: var(--color-surface-container, var(--surface-container));
537
+ }
538
+ .rui-button--ghost[aria-pressed='true'] {
539
+ background-color: var(--color-background, var(--background));
540
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
541
+ font-weight: var(--font-weight-medium, var(--weight-medium));
542
+ color: var(--color-on-background, var(--on-background));
543
+ --tw-shadow: var(--shadow-control);
544
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
545
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
546
+ --tw-ring-color: var(--color-border, var(--border));
547
+ --tw-ring-inset: inset;
548
+ }
549
+ .rui-button--destructive {
550
+ background-color: var(--color-error, var(--error));
551
+ @media (forced-colors: active) {
552
+ background-image: none;
553
+ }
554
+ background-image: var(--sheen-image);
555
+ @media (forced-colors: active) {
556
+ background-image: none;
557
+ }
558
+ color: var(--color-on-error, var(--on-error));
559
+ }
560
+ .rui-button--destructive:hover:not(:disabled) {
561
+ background-color: var(--color-error, var(--error));
562
+ @supports (color: color-mix(in lab, red, red)) {
563
+ background-color: color-mix(in oklab, var(--color-error, var(--error)) 90%, transparent);
564
+ }
565
+ }
566
+ .rui-button--destructive:active:not(:disabled) {
567
+ background-color: var(--color-error-dark, var(--error-dark));
568
+ }
569
+ .rui-button--sm {
570
+ padding-inline: var(--spacing-2, var(--space-2));
571
+ padding-block: var(--spacing-1, var(--space-1));
572
+ font-size: var(--text-xs, var(--text-xs));
573
+ line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
574
+ }
575
+ .rui-button--md {
576
+ padding-inline: var(--spacing-4, var(--space-4));
577
+ padding-block: var(--spacing-2, var(--space-2));
578
+ font-size: var(--text-sm, var(--text-sm));
579
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
580
+ }
581
+ .rui-button--lg {
582
+ padding-inline: var(--spacing-6, var(--space-6));
583
+ padding-block: var(--spacing-3, var(--space-3));
584
+ font-size: var(--text-base, 1rem);
585
+ line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
586
+ }
587
+ .rui-button--icon {
588
+ padding: var(--spacing-2, var(--space-2));
589
+ font-size: var(--text-sm, var(--text-sm));
590
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
591
+ }
592
+ .rui-button--primary {
593
+ background-color: var(--color-primary, var(--primary));
594
+ @media (forced-colors: active) {
595
+ background-image: none;
596
+ }
597
+ background-image: var(--sheen-image);
598
+ @media (forced-colors: active) {
599
+ background-image: none;
600
+ }
601
+ color: var(--color-on-primary, var(--on-primary));
602
+ }
603
+ .rui-button--secondary {
604
+ background-color: var(--color-secondary, var(--secondary));
605
+ @media (forced-colors: active) {
606
+ background-image: none;
607
+ }
608
+ background-image: var(--sheen-image);
609
+ @media (forced-colors: active) {
610
+ background-image: none;
611
+ }
612
+ color: var(--color-on-secondary, var(--on-secondary));
613
+ }
614
+ .rui-button--error {
615
+ background-color: var(--color-error, var(--error));
616
+ @media (forced-colors: active) {
617
+ background-image: none;
618
+ }
619
+ background-image: var(--sheen-image);
620
+ @media (forced-colors: active) {
621
+ background-image: none;
622
+ }
623
+ color: var(--color-on-error, var(--on-error));
624
+ }
625
+ }
626
+ @property --tw-rotate-x {
627
+ syntax: "*";
628
+ inherits: false;
629
+ }
630
+ @property --tw-rotate-y {
631
+ syntax: "*";
632
+ inherits: false;
633
+ }
634
+ @property --tw-rotate-z {
635
+ syntax: "*";
636
+ inherits: false;
637
+ }
638
+ @property --tw-skew-x {
639
+ syntax: "*";
640
+ inherits: false;
641
+ }
642
+ @property --tw-skew-y {
643
+ syntax: "*";
644
+ inherits: false;
645
+ }
646
+ @property --tw-border-style {
647
+ syntax: "*";
648
+ inherits: false;
649
+ initial-value: solid;
650
+ }
651
+ @property --tw-font-weight {
652
+ syntax: "*";
653
+ inherits: false;
654
+ }
655
+ @property --tw-shadow {
656
+ syntax: "*";
657
+ inherits: false;
658
+ initial-value: 0 0 #0000;
659
+ }
660
+ @property --tw-shadow-color {
661
+ syntax: "*";
662
+ inherits: false;
663
+ }
664
+ @property --tw-shadow-alpha {
665
+ syntax: "<percentage>";
666
+ inherits: false;
667
+ initial-value: 100%;
668
+ }
669
+ @property --tw-inset-shadow {
670
+ syntax: "*";
671
+ inherits: false;
672
+ initial-value: 0 0 #0000;
673
+ }
674
+ @property --tw-inset-shadow-color {
675
+ syntax: "*";
676
+ inherits: false;
677
+ }
678
+ @property --tw-inset-shadow-alpha {
679
+ syntax: "<percentage>";
680
+ inherits: false;
681
+ initial-value: 100%;
682
+ }
683
+ @property --tw-ring-color {
684
+ syntax: "*";
685
+ inherits: false;
686
+ }
687
+ @property --tw-ring-shadow {
688
+ syntax: "*";
689
+ inherits: false;
690
+ initial-value: 0 0 #0000;
691
+ }
692
+ @property --tw-inset-ring-color {
693
+ syntax: "*";
694
+ inherits: false;
695
+ }
696
+ @property --tw-inset-ring-shadow {
697
+ syntax: "*";
698
+ inherits: false;
699
+ initial-value: 0 0 #0000;
700
+ }
701
+ @property --tw-ring-inset {
702
+ syntax: "*";
703
+ inherits: false;
704
+ }
705
+ @property --tw-ring-offset-width {
706
+ syntax: "<length>";
707
+ inherits: false;
708
+ initial-value: 0px;
709
+ }
710
+ @property --tw-ring-offset-color {
711
+ syntax: "*";
712
+ inherits: false;
713
+ initial-value: #fff;
714
+ }
715
+ @property --tw-ring-offset-shadow {
716
+ syntax: "*";
717
+ inherits: false;
718
+ initial-value: 0 0 #0000;
719
+ }
720
+ @property --tw-outline-style {
721
+ syntax: "*";
722
+ inherits: false;
723
+ initial-value: solid;
724
+ }
725
+ @property --tw-blur {
726
+ syntax: "*";
727
+ inherits: false;
728
+ }
729
+ @property --tw-brightness {
730
+ syntax: "*";
731
+ inherits: false;
732
+ }
733
+ @property --tw-contrast {
734
+ syntax: "*";
735
+ inherits: false;
736
+ }
737
+ @property --tw-grayscale {
738
+ syntax: "*";
739
+ inherits: false;
740
+ }
741
+ @property --tw-hue-rotate {
742
+ syntax: "*";
743
+ inherits: false;
744
+ }
745
+ @property --tw-invert {
746
+ syntax: "*";
747
+ inherits: false;
748
+ }
749
+ @property --tw-opacity {
750
+ syntax: "*";
751
+ inherits: false;
752
+ }
753
+ @property --tw-saturate {
754
+ syntax: "*";
755
+ inherits: false;
756
+ }
757
+ @property --tw-sepia {
758
+ syntax: "*";
759
+ inherits: false;
760
+ }
761
+ @property --tw-drop-shadow {
762
+ syntax: "*";
763
+ inherits: false;
764
+ }
765
+ @property --tw-drop-shadow-color {
766
+ syntax: "*";
767
+ inherits: false;
768
+ }
769
+ @property --tw-drop-shadow-alpha {
770
+ syntax: "<percentage>";
771
+ inherits: false;
772
+ initial-value: 100%;
773
+ }
774
+ @property --tw-drop-shadow-size {
775
+ syntax: "*";
776
+ inherits: false;
777
+ }
778
+ @property --tw-duration {
779
+ syntax: "*";
780
+ inherits: false;
781
+ }
782
+ @property --tw-ease {
783
+ syntax: "*";
784
+ inherits: false;
785
+ }
786
+ @layer properties {
787
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
788
+ *, ::before, ::after, ::backdrop {
789
+ --tw-rotate-x: initial;
790
+ --tw-rotate-y: initial;
791
+ --tw-rotate-z: initial;
792
+ --tw-skew-x: initial;
793
+ --tw-skew-y: initial;
794
+ --tw-border-style: solid;
795
+ --tw-font-weight: initial;
796
+ --tw-shadow: 0 0 #0000;
797
+ --tw-shadow-color: initial;
798
+ --tw-shadow-alpha: 100%;
799
+ --tw-inset-shadow: 0 0 #0000;
800
+ --tw-inset-shadow-color: initial;
801
+ --tw-inset-shadow-alpha: 100%;
802
+ --tw-ring-color: initial;
803
+ --tw-ring-shadow: 0 0 #0000;
804
+ --tw-inset-ring-color: initial;
805
+ --tw-inset-ring-shadow: 0 0 #0000;
806
+ --tw-ring-inset: initial;
807
+ --tw-ring-offset-width: 0px;
808
+ --tw-ring-offset-color: #fff;
809
+ --tw-ring-offset-shadow: 0 0 #0000;
810
+ --tw-outline-style: solid;
811
+ --tw-blur: initial;
812
+ --tw-brightness: initial;
813
+ --tw-contrast: initial;
814
+ --tw-grayscale: initial;
815
+ --tw-hue-rotate: initial;
816
+ --tw-invert: initial;
817
+ --tw-opacity: initial;
818
+ --tw-saturate: initial;
819
+ --tw-sepia: initial;
820
+ --tw-drop-shadow: initial;
821
+ --tw-drop-shadow-color: initial;
822
+ --tw-drop-shadow-alpha: 100%;
823
+ --tw-drop-shadow-size: initial;
824
+ --tw-duration: initial;
825
+ --tw-ease: initial;
826
+ }
827
+ }
828
+ }