@vsn-ux/gaia-styles 0.1.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.
Files changed (53) hide show
  1. package/README.md +125 -0
  2. package/dist/all-no-reset-10pt.css +1104 -0
  3. package/dist/all-no-reset.css +1104 -0
  4. package/dist/all.css +1245 -0
  5. package/dist/base.css +6 -0
  6. package/dist/components/avatar.css +38 -0
  7. package/dist/components/badge.css +122 -0
  8. package/dist/components/button.css +117 -0
  9. package/dist/components/card.css +40 -0
  10. package/dist/components/checkbox.css +91 -0
  11. package/dist/components/form-field.css +32 -0
  12. package/dist/components/input.css +73 -0
  13. package/dist/components/menu.css +73 -0
  14. package/dist/components/notification.css +68 -0
  15. package/dist/components/radio-button.css +109 -0
  16. package/dist/components/segmented-control.css +76 -0
  17. package/dist/components/text-area.css +63 -0
  18. package/dist/components/tooltip.css +126 -0
  19. package/dist/components.css +861 -0
  20. package/dist/design-tokens.css +159 -0
  21. package/dist/design-tokens.d.ts +167 -0
  22. package/dist/design-tokens.js +1654 -0
  23. package/package.json +73 -0
  24. package/src/design-tokens/dtcg-tokens.json +504 -0
  25. package/src/font/Inter-Bold.woff2 +0 -0
  26. package/src/font/Inter-BoldItalic.woff2 +0 -0
  27. package/src/font/Inter-Italic.woff2 +0 -0
  28. package/src/font/Inter-Medium.woff2 +0 -0
  29. package/src/font/Inter-MediumItalic.woff2 +0 -0
  30. package/src/font/Inter-Regular.woff2 +0 -0
  31. package/src/font/Inter-SemiBold.woff2 +0 -0
  32. package/src/font/Inter-SemiBoldItalic.woff2 +0 -0
  33. package/src/font/inter.css +56 -0
  34. package/src/styles/all-no-reset-10pt.css +12 -0
  35. package/src/styles/all-no-reset.css +7 -0
  36. package/src/styles/all.css +8 -0
  37. package/src/styles/base.css +3 -0
  38. package/src/styles/components/avatar.css +11 -0
  39. package/src/styles/components/badge.css +43 -0
  40. package/src/styles/components/button.css +83 -0
  41. package/src/styles/components/card.css +19 -0
  42. package/src/styles/components/checkbox.css +66 -0
  43. package/src/styles/components/form-field.css +11 -0
  44. package/src/styles/components/input.css +40 -0
  45. package/src/styles/components/menu.css +27 -0
  46. package/src/styles/components/notification.css +39 -0
  47. package/src/styles/components/radio-button.css +44 -0
  48. package/src/styles/components/segmented-control.css +40 -0
  49. package/src/styles/components/text-area.css +27 -0
  50. package/src/styles/components/tooltip.css +92 -0
  51. package/src/styles/components.css +13 -0
  52. package/src/styles/tailwind.css +2 -0
  53. package/src/styles/theme.css +82 -0
@@ -0,0 +1,861 @@
1
+ /*! tailwindcss v4.0.6 | MIT License | https://tailwindcss.com */
2
+ .ga-avatar {
3
+ display: inline-flex;
4
+ height: calc(0.25rem * 10);
5
+ width: calc(0.25rem * 10);
6
+ align-items: center;
7
+ justify-content: center;
8
+ overflow: hidden;
9
+ border-radius: calc(infinity * 1px);
10
+ border-style: var(--tw-border-style);
11
+ border-width: 1px;
12
+ vertical-align: middle;
13
+ --tw-font-weight: 700;
14
+ font-weight: 700;
15
+ &.ga-avatar--small {
16
+ height: calc(0.25rem * 6);
17
+ width: calc(0.25rem * 6);
18
+ font-size: var(--ga-size-font-sm);
19
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
20
+ letter-spacing: var(--tw-tracking, 0);
21
+ }
22
+ &.ga-avatar--large {
23
+ height: calc(0.25rem * 16);
24
+ width: calc(0.25rem * 16);
25
+ font-size: var(--ga-size-font-2xl);
26
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 2.25));
27
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.019));
28
+ }
29
+ }
30
+ .ga-badge {
31
+ display: inline-block;
32
+ border-radius: calc(infinity * 1px);
33
+ vertical-align: baseline;
34
+ &.ga-badge--text {
35
+ min-width: calc(0.25rem * 6);
36
+ padding: calc(0.25rem * 1);
37
+ text-align: center;
38
+ font-size: var(--ga-size-font-sm);
39
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
40
+ letter-spacing: var(--tw-tracking, 0);
41
+ --tw-leading: calc(0.25rem * 4);
42
+ line-height: calc(0.25rem * 4);
43
+ --tw-font-weight: 500;
44
+ font-weight: 500;
45
+ white-space: nowrap;
46
+ }
47
+ &.ga-badge--dot {
48
+ height: calc(0.25rem * 2);
49
+ width: calc(0.25rem * 2);
50
+ }
51
+ &.ga-badge--default {
52
+ background-color: var(--ga-color-surface-action);
53
+ color: var(--ga-color-text-on-action);
54
+ }
55
+ &.ga-badge--default-inverted {
56
+ background-color: var(--ga-color-orange-20);
57
+ color: var(--ga-color-cyan-90);
58
+ }
59
+ &.ga-badge--information {
60
+ background-color: var(--ga-color-blue-40);
61
+ color: var(--ga-color-cyan-90);
62
+ }
63
+ &.ga-badge--error {
64
+ background-color: var(--ga-color-red-40);
65
+ color: var(--ga-color-cyan-90);
66
+ }
67
+ &.ga-badge--warning {
68
+ background-color: var(--ga-color-orange-40);
69
+ color: var(--ga-color-cyan-90);
70
+ }
71
+ &.ga-badge--success {
72
+ background-color: var(--ga-color-green-40);
73
+ color: var(--ga-color-cyan-90);
74
+ }
75
+ &.ga-badge--muted {
76
+ background-color: #fff;
77
+ color: var(--ga-color-cyan-70);
78
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
79
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
80
+ --tw-ring-color: var(--ga-color-grey-40);
81
+ --tw-ring-inset: inset;
82
+ }
83
+ &.ga-badge--disabled {
84
+ background-color: var(--ga-color-surface-disabled);
85
+ color: var(--ga-color-text);
86
+ }
87
+ }
88
+ .ga-button {
89
+ display: inline-flex;
90
+ height: calc(0.25rem * 10);
91
+ cursor: pointer;
92
+ align-items: center;
93
+ justify-content: center;
94
+ gap: calc(0.25rem * 2);
95
+ border-radius: var(--ga-radius);
96
+ padding-inline: calc(0.25rem * 4);
97
+ vertical-align: middle;
98
+ font-size: var(--ga-size-font-md);
99
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
100
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
101
+ --tw-leading: calc(0.25rem * 1);
102
+ line-height: calc(0.25rem * 1);
103
+ --tw-font-weight: 700;
104
+ font-weight: 700;
105
+ &:focus-visible {
106
+ outline-style: var(--tw-outline-style);
107
+ outline-width: 2px;
108
+ outline-offset: 2px;
109
+ outline-color: var(--ga-color-border-focus);
110
+ }
111
+ &:disabled {
112
+ cursor: not-allowed;
113
+ }
114
+ &.ga-button--primary {
115
+ background-color: var(--ga-color-surface-action);
116
+ color: var(--ga-color-text-on-action);
117
+ &:hover {
118
+ background-color: var(--ga-color-surface-action-hover);
119
+ }
120
+ &:active {
121
+ background-color: var(--ga-color-primary-70);
122
+ }
123
+ &:disabled {
124
+ background-color: var(--ga-color-surface-disabled);
125
+ color: var(--ga-color-text-disabled);
126
+ }
127
+ }
128
+ &.ga-button--secondary {
129
+ border-style: var(--tw-border-style);
130
+ border-width: 1px;
131
+ border-color: var(--ga-color-border-action);
132
+ background-color: var(--ga-color-surface-primary);
133
+ color: var(--ga-color-text-action);
134
+ &:hover {
135
+ background-color: var(--ga-color-surface-action-hover-2);
136
+ }
137
+ &:active {
138
+ background-color: var(--ga-color-surface-primary);
139
+ }
140
+ &:disabled {
141
+ border-color: var(--ga-color-border-disabled);
142
+ background-color: var(--ga-color-surace-page);
143
+ color: var(--ga-color-text-disabled);
144
+ }
145
+ }
146
+ &.ga-button--ghost {
147
+ background-color: transparent;
148
+ color: var(--ga-color-text-action);
149
+ &:hover {
150
+ background-color: var(--ga-color-surface-action-hover-2);
151
+ }
152
+ &:active {
153
+ background-color: transparent;
154
+ }
155
+ &:disabled {
156
+ background-color: transparent;
157
+ color: var(--ga-color-text-disabled);
158
+ }
159
+ }
160
+ &.ga-button--transparent {
161
+ border-style: var(--tw-border-style);
162
+ border-width: 1px;
163
+ border-color: var(--ga-color-border-action);
164
+ background-color: transparent;
165
+ color: var(--ga-color-text-action);
166
+ &:hover {
167
+ background-color: var(--ga-color-surface-action-hover-2);
168
+ }
169
+ &:focus-visible {
170
+ border-color: var(--ga-color-border-action);
171
+ }
172
+ &:active {
173
+ background-color: transparent;
174
+ }
175
+ &:disabled {
176
+ border-color: var(--ga-color-border-disabled);
177
+ background-color: transparent;
178
+ color: var(--ga-color-text-disabled);
179
+ }
180
+ }
181
+ &.ga-button--icon-only {
182
+ width: calc(0.25rem * 10);
183
+ padding-inline: calc(0.25rem * 0);
184
+ }
185
+ }
186
+ .ga-card {
187
+ border-radius: var(--ga-radius);
188
+ border-style: var(--tw-border-style);
189
+ border-width: 1px;
190
+ border-color: var(--ga-color-border-primary);
191
+ background-color: #fff;
192
+ padding: calc(0.25rem * 4);
193
+ font-size: var(--ga-size-font-md);
194
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
195
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
196
+ &.ga-card--selectable {
197
+ cursor: pointer;
198
+ &:hover {
199
+ border-color: var(--ga-color-border-action-hover);
200
+ background-color: var(--ga-color-surface-action-hover-2);
201
+ }
202
+ &:focus-visible {
203
+ outline-style: var(--tw-outline-style);
204
+ outline-width: 2px;
205
+ outline-offset: 2px;
206
+ outline-color: var(--ga-color-border-focus);
207
+ }
208
+ }
209
+ &.ga-card--disabled {
210
+ border-color: var(--ga-color-border-disabled);
211
+ background-color: var(--ga-color-surface-disabled);
212
+ color: var(--ga-color-text-disabled);
213
+ }
214
+ }
215
+ .ga-checkbox {
216
+ position: relative;
217
+ display: inline-flex;
218
+ gap: calc(0.25rem * 2);
219
+ .ga-checkbox__native {
220
+ height: calc(0.25rem * 5);
221
+ width: calc(0.25rem * 5);
222
+ flex-shrink: 0;
223
+ opacity: 0%;
224
+ &:not(:disabled) {
225
+ cursor: pointer;
226
+ }
227
+ }
228
+ .ga-checkbox__marker {
229
+ pointer-events: none;
230
+ position: absolute;
231
+ top: calc(0.25rem * 0);
232
+ left: calc(0.25rem * 0);
233
+ height: calc(0.25rem * 5);
234
+ width: calc(0.25rem * 5);
235
+ border-radius: var(--ga-radius);
236
+ border-style: var(--tw-border-style);
237
+ border-width: 2px;
238
+ border-color: var(--ga-color-border-action);
239
+ color: #fff;
240
+ .ga-checkbox__marker__indicator-checked, .ga-checkbox__marker__indicator-indeterminate {
241
+ display: none;
242
+ }
243
+ }
244
+ .ga-checkbox__native:focus-visible ~ .ga-checkbox__marker {
245
+ outline-style: var(--tw-outline-style);
246
+ outline-width: 2px;
247
+ outline-offset: 2px;
248
+ outline-color: var(--ga-color-border-focus);
249
+ }
250
+ .ga-checkbox__native:not(:disabled):hover ~ .ga-checkbox__marker {
251
+ border-color: var(--ga-color-border-action-hover);
252
+ background-color: var(--ga-color-surface-action-hover-2);
253
+ }
254
+ .ga-checkbox__native:checked ~ .ga-checkbox__marker {
255
+ background-color: var(--ga-color-surface-action);
256
+ .ga-checkbox__marker__indicator-checked {
257
+ display: block;
258
+ }
259
+ }
260
+ .ga-checkbox__native:indeterminate ~ .ga-checkbox__marker {
261
+ background-color: var(--ga-color-surface-action);
262
+ .ga-checkbox__marker__indicator-indeterminate {
263
+ display: block;
264
+ }
265
+ }
266
+ .ga-checkbox__native:not(:disabled):checked:hover ~ .ga-checkbox__marker, .ga-checkbox__native:not(:disabled):indeterminate:hover ~ .ga-checkbox__marker {
267
+ background-color: var(--ga-color-surface-action-hover);
268
+ }
269
+ .ga-checkbox__native:disabled ~ .ga-checkbox__marker {
270
+ border-color: var(--ga-color-border-disabled);
271
+ background-color: var(--ga-color-surface-disabled);
272
+ color: var(--ga-color-text-disabled);
273
+ }
274
+ &.ga-checkbox--invalid .ga-checkbox__marker {
275
+ border-color: var(--ga-color-border-error);
276
+ background-color: var(--ga-color-surface-error);
277
+ color: var(--ga-color-border-error);
278
+ }
279
+ .ga-checkbox__label {
280
+ min-height: calc(0.25rem * 5);
281
+ font-size: var(--ga-size-font-md);
282
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
283
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
284
+ --tw-leading: calc(0.25rem * 5);
285
+ line-height: calc(0.25rem * 5);
286
+ &:empty {
287
+ display: none;
288
+ }
289
+ }
290
+ }
291
+ .ga-form-field {
292
+ display: flex;
293
+ flex-direction: column;
294
+ gap: calc(0.25rem * 2);
295
+ .ga-form-field__label {
296
+ padding-inline: calc(0.25rem * 1);
297
+ font-size: var(--ga-size-font-md);
298
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
299
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
300
+ --tw-leading: calc(0.25rem * 5);
301
+ line-height: calc(0.25rem * 5);
302
+ --tw-font-weight: 500;
303
+ font-weight: 500;
304
+ }
305
+ .ga-form-field__info {
306
+ display: flex;
307
+ align-items: center;
308
+ gap: calc(0.25rem * 1);
309
+ font-size: var(--ga-size-font-xs);
310
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
311
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
312
+ }
313
+ }
314
+ .ga-input {
315
+ display: flex;
316
+ height: calc(0.25rem * 10);
317
+ width: calc(0.25rem * 50);
318
+ flex-direction: row;
319
+ align-items: center;
320
+ gap: calc(0.25rem * 2);
321
+ border-radius: var(--ga-radius);
322
+ border-style: var(--tw-border-style);
323
+ border-width: 1px;
324
+ border-color: var(--ga-color-border-primary);
325
+ background-color: var(--ga-color-bg-primary);
326
+ padding-inline: calc(0.25rem * 3);
327
+ padding-block: calc(0.25rem * 2);
328
+ font-size: var(--ga-size-font-md);
329
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
330
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
331
+ &:has(input:hover), &:is(input:hover) {
332
+ border-color: var(--ga-color-border-action-hover);
333
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
334
+ background-color: var(--ga-color-surface-action-hover-2);
335
+ }
336
+ }
337
+ &:has(input:disabled), &:is(input:disabled) {
338
+ border-color: var(--ga-color-border-primary);
339
+ background-color: var(--ga-color-surface-disabled);
340
+ color: var(--ga-color-text-disable-selected);
341
+ }
342
+ &:has(input:focus), &:is(input:focus) {
343
+ border-color: var(--ga-color-border-focus);
344
+ outline-style: var(--tw-outline-style);
345
+ outline-width: 1px;
346
+ outline-color: var(--ga-color-border-focus);
347
+ }
348
+ &.ga-input--invalid {
349
+ border-color: var(--ga-color-border-error);
350
+ outline-style: var(--tw-outline-style);
351
+ outline-width: 1px;
352
+ outline-color: var(--ga-color-border-error);
353
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
354
+ background-color: var(--ga-color-surface-error);
355
+ }
356
+ }
357
+ input {
358
+ height: calc(0.25rem * 6);
359
+ width: 100%;
360
+ min-width: calc(0.25rem * 0);
361
+ --tw-leading: calc(0.25rem * 6);
362
+ line-height: calc(0.25rem * 6);
363
+ --tw-outline-style: none;
364
+ outline-style: none;
365
+ }
366
+ &:is(input) {
367
+ min-width: calc(0.25rem * 0);
368
+ --tw-leading: calc(0.25rem * 6);
369
+ line-height: calc(0.25rem * 6);
370
+ }
371
+ }
372
+ .ga-notification {
373
+ display: flex;
374
+ flex-direction: row;
375
+ align-items: flex-start;
376
+ gap: calc(0.25rem * 4);
377
+ border-radius: var(--ga-radius);
378
+ border-style: var(--tw-border-style);
379
+ border-width: 2px;
380
+ border-color: var(--ga-color-border-primary);
381
+ background-color: var(--ga-color-surface-primary);
382
+ padding-top: calc(0.25rem * 2);
383
+ padding-right: calc(0.25rem * 2);
384
+ padding-bottom: calc(0.25rem * 4);
385
+ padding-left: calc(0.25rem * 4);
386
+ font-size: var(--ga-size-font-md);
387
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
388
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
389
+ &.ga-notification--information {
390
+ border-color: var(--ga-color-border-information);
391
+ background-color: var(--ga-color-surface-information);
392
+ }
393
+ &.ga-notification--success {
394
+ border-color: var(--ga-color-border-success);
395
+ background-color: var(--ga-color-surface-success);
396
+ }
397
+ &.ga-notification--error {
398
+ border-color: var(--ga-color-border-error);
399
+ background-color: var(--ga-color-surface-error);
400
+ }
401
+ &.ga-notification--warning {
402
+ border-color: var(--ga-color-border-warning);
403
+ background-color: var(--ga-color-surface-warning);
404
+ }
405
+ .ga-notification__icon {
406
+ margin-top: calc(0.25rem * 2);
407
+ flex-shrink: 0;
408
+ }
409
+ .ga-notification__description {
410
+ padding-right: calc(0.25rem * 2);
411
+ }
412
+ .ga-notification__heading {
413
+ display: flex;
414
+ min-height: calc(0.25rem * 10);
415
+ flex-direction: row;
416
+ align-items: center;
417
+ gap: calc(0.25rem * 2);
418
+ }
419
+ .ga-notification__title {
420
+ flex: 1;
421
+ --tw-font-weight: 700;
422
+ font-weight: 700;
423
+ }
424
+ .ga-notification__title-actions {
425
+ display: flex;
426
+ flex-shrink: 0;
427
+ flex-direction: row;
428
+ }
429
+ }
430
+ .ga-menu {
431
+ display: flex;
432
+ min-width: calc(0.25rem * 36);
433
+ flex-direction: column;
434
+ align-items: stretch;
435
+ border-radius: var(--ga-radius);
436
+ border-style: var(--tw-border-style);
437
+ border-width: 1px;
438
+ border-color: var(--ga-color-border-primary);
439
+ background-color: var(--ga-color-surface-primary);
440
+ .ga-menu__item {
441
+ display: flex;
442
+ height: calc(0.25rem * 9);
443
+ cursor: pointer;
444
+ flex-direction: row;
445
+ align-items: center;
446
+ gap: calc(0.25rem * 2);
447
+ padding-inline: calc(0.25rem * 3);
448
+ padding-block: calc(0.25rem * 2);
449
+ text-align: left;
450
+ font-size: var(--ga-size-font-md);
451
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
452
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
453
+ --tw-leading: 1;
454
+ line-height: 1;
455
+ --tw-font-weight: 500;
456
+ font-weight: 500;
457
+ color: var(--ga-color-text-action);
458
+ &:first-child {
459
+ border-top-left-radius: var(--ga-radius);
460
+ border-top-right-radius: var(--ga-radius);
461
+ }
462
+ &:hover {
463
+ background-color: var(--ga-color-surface-action-hover-2);
464
+ color: var(--ga-color-text-action-hover);
465
+ }
466
+ &:active {
467
+ background-color: var(--ga-color-surface-action);
468
+ color: var(--ga-color-text-on-action);
469
+ }
470
+ }
471
+ .ga-menu__separator {
472
+ margin-left: calc(0.25rem * 3);
473
+ border-bottom-style: var(--tw-border-style);
474
+ border-bottom-width: 1px;
475
+ border-color: var(--ga-color-border-primary);
476
+ }
477
+ .ga-menu__title {
478
+ padding-inline: calc(0.25rem * 3);
479
+ padding-top: calc(0.25rem * 3);
480
+ padding-bottom: calc(0.25rem * 2);
481
+ font-size: var(--ga-size-font-sm);
482
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
483
+ letter-spacing: var(--tw-tracking, 0);
484
+ --tw-font-weight: 600;
485
+ font-weight: 600;
486
+ color: var(--ga-color-text-disable-selected);
487
+ }
488
+ }
489
+ .ga-radio-button {
490
+ position: relative;
491
+ display: inline-flex;
492
+ cursor: pointer;
493
+ gap: calc(0.25rem * 2);
494
+ .ga-radio-button__native {
495
+ height: calc(0.25rem * 5);
496
+ width: calc(0.25rem * 5);
497
+ flex-shrink: 0;
498
+ cursor: pointer;
499
+ opacity: 0%;
500
+ &:disabled {
501
+ cursor: default;
502
+ }
503
+ }
504
+ .ga-radio-button__marker {
505
+ pointer-events: none;
506
+ position: absolute;
507
+ top: calc(0.25rem * 0);
508
+ left: calc(0.25rem * 0);
509
+ height: calc(0.25rem * 5);
510
+ width: calc(0.25rem * 5);
511
+ border-radius: calc(infinity * 1px);
512
+ border-style: var(--tw-border-style);
513
+ border-width: 2px;
514
+ border-color: var(--ga-color-border-action);
515
+ color: #fff;
516
+ }
517
+ .ga-radio-button__native:focus-visible ~ .ga-radio-button__marker {
518
+ outline-style: var(--tw-outline-style);
519
+ outline-width: 2px;
520
+ outline-offset: 2px;
521
+ outline-color: var(--ga-color-border-focus);
522
+ }
523
+ .ga-radio-button__native:not(:disabled):hover ~ .ga-radio-button__marker {
524
+ border-color: var(--ga-color-border-action-hover);
525
+ background-color: var(--ga-color-surface-action-hover-2);
526
+ }
527
+ .ga-radio-button__native:checked ~ .ga-radio-button__marker {
528
+ background-color: var(--ga-color-surface-action);
529
+ &::after {
530
+ position: absolute;
531
+ top: calc(1/2 * 100%);
532
+ left: calc(1/2 * 100%);
533
+ display: block;
534
+ height: calc(0.25rem * 2);
535
+ width: calc(0.25rem * 2);
536
+ --tw-translate-x: calc(calc(1/2 * 100%) * -1);
537
+ translate: var(--tw-translate-x) var(--tw-translate-y);
538
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
539
+ translate: var(--tw-translate-x) var(--tw-translate-y);
540
+ border-radius: calc(infinity * 1px);
541
+ background-color: #fff;
542
+ --tw-content: '';
543
+ content: var(--tw-content);
544
+ }
545
+ }
546
+ .ga-radio-button__native:not(:disabled):checked:hover ~ .ga-radio-button__marker {
547
+ background-color: var(--ga-color-surface-action-hover);
548
+ }
549
+ .ga-radio-button__native:disabled ~ .ga-radio-button__marker {
550
+ border-color: var(--ga-color-border-disabled);
551
+ background-color: var(--ga-color-surface-disabled);
552
+ color: var(--ga-color-text-disabled);
553
+ }
554
+ .ga-radio-button__label {
555
+ min-height: calc(0.25rem * 4);
556
+ font-size: var(--ga-size-font-md);
557
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
558
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
559
+ --tw-leading: calc(0.25rem * 5);
560
+ line-height: calc(0.25rem * 5);
561
+ }
562
+ }
563
+ .ga-segmented-control {
564
+ display: inline-flex;
565
+ height: calc(0.25rem * 10);
566
+ align-items: center;
567
+ justify-content: center;
568
+ vertical-align: middle;
569
+ font-size: var(--ga-size-font-md);
570
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
571
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
572
+ .ga-segmented-control__button {
573
+ display: inline-flex;
574
+ height: calc(0.25rem * 10);
575
+ align-items: center;
576
+ justify-content: center;
577
+ gap: calc(0.25rem * 2);
578
+ border-top-style: var(--tw-border-style);
579
+ border-top-width: 1px;
580
+ border-bottom-style: var(--tw-border-style);
581
+ border-bottom-width: 1px;
582
+ border-left-style: var(--tw-border-style);
583
+ border-left-width: 1px;
584
+ border-color: var(--ga-color-neutral-30);
585
+ background-color: #fff;
586
+ padding-inline: calc(0.25rem * 4);
587
+ vertical-align: middle;
588
+ --tw-leading: calc(0.25rem * 1);
589
+ line-height: calc(0.25rem * 1);
590
+ --tw-font-weight: 500;
591
+ font-weight: 500;
592
+ color: var(--ga-color-cyan-80);
593
+ &:first-of-type {
594
+ border-top-left-radius: var(--ga-radius);
595
+ border-bottom-left-radius: var(--ga-radius);
596
+ }
597
+ &:last-of-type {
598
+ border-top-right-radius: var(--ga-radius);
599
+ border-bottom-right-radius: var(--ga-radius);
600
+ border-right-style: var(--tw-border-style);
601
+ border-right-width: 1px;
602
+ }
603
+ &.ga-segmented-control__button--selected {
604
+ background-color: var(--ga-color-cyan-80);
605
+ --tw-font-weight: 600;
606
+ font-weight: 600;
607
+ color: var(--ga-color-orange-10);
608
+ }
609
+ &:not( .ga-segmented-control__button--selected, .ga-segmented-control__button--disabled, :disabled ) {
610
+ cursor: pointer;
611
+ &:hover {
612
+ background-color: var(--ga-color-surface-action-hover-2);
613
+ }
614
+ &:active {
615
+ background-color: #fff;
616
+ }
617
+ }
618
+ &.ga-segmented-control__button--disabled, &:disabled {
619
+ border-color: var(--ga-color-neutral-30);
620
+ background-color: var(--ga-color-neutral-10);
621
+ color: var(--ga-color-grey-40);
622
+ }
623
+ }
624
+ }
625
+ .ga-text-area {
626
+ display: flex;
627
+ width: calc(0.25rem * 50);
628
+ flex-direction: row;
629
+ align-items: center;
630
+ gap: calc(0.25rem * 2);
631
+ border-radius: var(--ga-radius);
632
+ border-style: var(--tw-border-style);
633
+ border-width: 1px;
634
+ border-color: var(--ga-color-border-primary);
635
+ background-color: var(--ga-color-bg-primary);
636
+ font-size: var(--ga-size-font-md);
637
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
638
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
639
+ &:has(textarea:hover) {
640
+ border-color: var(--ga-color-border-action-hover);
641
+ }
642
+ &:has(textarea:disabled) {
643
+ border-color: var(--ga-color-border-primary);
644
+ background-color: var(--ga-color-surface-disabled);
645
+ color: var(--ga-color-text-disable-selected);
646
+ }
647
+ &:has(textarea:focus) {
648
+ border-color: var(--ga-color-border-focus);
649
+ outline-style: var(--tw-outline-style);
650
+ outline-width: 1px;
651
+ outline-color: var(--ga-color-border-focus);
652
+ }
653
+ &.ga-text-area--invalid {
654
+ border-color: var(--ga-color-border-error);
655
+ outline-style: var(--tw-outline-style);
656
+ outline-width: 1px;
657
+ outline-color: var(--ga-color-border-error);
658
+ &:has(textarea:not(:placeholder-shown)) {
659
+ background-color: var(--ga-color-surface-error);
660
+ }
661
+ }
662
+ textarea {
663
+ width: 100%;
664
+ min-width: calc(0.25rem * 0);
665
+ padding-inline: calc(0.25rem * 3);
666
+ padding-block: calc(0.25rem * 2);
667
+ --tw-leading: calc(0.25rem * 6);
668
+ line-height: calc(0.25rem * 6);
669
+ --tw-outline-style: none;
670
+ outline-style: none;
671
+ }
672
+ }
673
+ .ga-tooltip {
674
+ position: relative;
675
+ max-width: calc(0.25rem * 100);
676
+ border-radius: var(--ga-radius);
677
+ background-color: var(--ga-color-surface-action-hover);
678
+ padding: calc(0.25rem * 2);
679
+ font-size: var(--ga-size-font-md);
680
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
681
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
682
+ color: var(--ga-color-text-on-action);
683
+ &.ga-tooltip--top-start, &.ga-tooltip--top-center, &.ga-tooltip--top-end, &.ga-tooltip--bottom-start, &.ga-tooltip--bottom-center, &.ga-tooltip--bottom-end, &.ga-tooltip--left-start, &.ga-tooltip--left-center, &.ga-tooltip--left-end, &.ga-tooltip--right-start, &.ga-tooltip--right-center, &.ga-tooltip--right-end {
684
+ &::before {
685
+ content: var(--tw-content);
686
+ position: absolute;
687
+ }
688
+ &::before {
689
+ content: var(--tw-content);
690
+ --tw-content: '';
691
+ content: var(--tw-content);
692
+ }
693
+ }
694
+ &.ga-tooltip--top-start, &.ga-tooltip--top-center, &.ga-tooltip--top-end {
695
+ margin-bottom: calc(0.25rem * 2);
696
+ }
697
+ &.ga-tooltip--bottom-start, &.ga-tooltip--bottom-center, &.ga-tooltip--bottom-end {
698
+ margin-top: calc(0.25rem * 2);
699
+ }
700
+ &.ga-tooltip--left-start, &.ga-tooltip--left-center, &.ga-tooltip--left-end {
701
+ margin-right: calc(0.25rem * 2);
702
+ }
703
+ &.ga-tooltip--right-start, &.ga-tooltip--right-center, &.ga-tooltip--right-end {
704
+ margin-left: calc(0.25rem * 2);
705
+ }
706
+ &.ga-tooltip--top-start::before, &.ga-tooltip--top-center::before, &.ga-tooltip--top-end::before {
707
+ bottom: calc(0.25rem * -2);
708
+ border-inline-style: var(--tw-border-style);
709
+ border-inline-width: 8px;
710
+ border-top-style: var(--tw-border-style);
711
+ border-top-width: 8px;
712
+ border-inline-color: transparent;
713
+ border-top-color: var(--ga-color-surface-action-hover);
714
+ }
715
+ &.ga-tooltip--bottom-start::before, &.ga-tooltip--bottom-center::before, &.ga-tooltip--bottom-end::before {
716
+ top: calc(0.25rem * -2);
717
+ border-inline-style: var(--tw-border-style);
718
+ border-inline-width: 8px;
719
+ border-bottom-style: var(--tw-border-style);
720
+ border-bottom-width: 8px;
721
+ border-inline-color: transparent;
722
+ border-bottom-color: var(--ga-color-surface-action-hover);
723
+ }
724
+ &.ga-tooltip--top-start::before, &.ga-tooltip--bottom-start::before {
725
+ left: calc(0.25rem * 4);
726
+ }
727
+ &.ga-tooltip--top-center::before, &.ga-tooltip--bottom-center::before {
728
+ left: calc(1/2 * 100%);
729
+ --tw-translate-x: calc(calc(1/2 * 100%) * -1);
730
+ translate: var(--tw-translate-x) var(--tw-translate-y);
731
+ }
732
+ &.ga-tooltip--top-end::before, &.ga-tooltip--bottom-end::before {
733
+ right: calc(0.25rem * 4);
734
+ }
735
+ &.ga-tooltip--left-start::before, &.ga-tooltip--left-center::before, &.ga-tooltip--left-end::before {
736
+ right: calc(0.25rem * -2);
737
+ border-block-style: var(--tw-border-style);
738
+ border-block-width: 8px;
739
+ border-left-style: var(--tw-border-style);
740
+ border-left-width: 8px;
741
+ border-block-color: transparent;
742
+ border-left-color: var(--ga-color-surface-action-hover);
743
+ }
744
+ &.ga-tooltip--right-start::before, &.ga-tooltip--right-center::before, &.ga-tooltip--right-end::before {
745
+ left: calc(0.25rem * -2);
746
+ border-block-style: var(--tw-border-style);
747
+ border-block-width: 8px;
748
+ border-right-style: var(--tw-border-style);
749
+ border-right-width: 8px;
750
+ border-block-color: transparent;
751
+ border-right-color: var(--ga-color-surface-action-hover);
752
+ }
753
+ &.ga-tooltip--left-start::before, &.ga-tooltip--right-start::before {
754
+ top: calc(0.25rem * 4);
755
+ }
756
+ &.ga-tooltip--left-center::before, &.ga-tooltip--right-center::before {
757
+ top: calc(1/2 * 100%);
758
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
759
+ translate: var(--tw-translate-x) var(--tw-translate-y);
760
+ }
761
+ &.ga-tooltip--left-end::before, &.ga-tooltip--right-end::before {
762
+ bottom: calc(0.25rem * 4);
763
+ }
764
+ .ga-tooltip__title {
765
+ --tw-font-weight: 600;
766
+ font-weight: 600;
767
+ }
768
+ }
769
+ @property --tw-border-style {
770
+ syntax: "*";
771
+ inherits: false;
772
+ initial-value: solid;
773
+ }
774
+ @property --tw-font-weight {
775
+ syntax: "*";
776
+ inherits: false;
777
+ }
778
+ @property --tw-leading {
779
+ syntax: "*";
780
+ inherits: false;
781
+ }
782
+ @property --tw-shadow {
783
+ syntax: "*";
784
+ inherits: false;
785
+ initial-value: 0 0 #0000;
786
+ }
787
+ @property --tw-shadow-color {
788
+ syntax: "*";
789
+ inherits: false;
790
+ }
791
+ @property --tw-inset-shadow {
792
+ syntax: "*";
793
+ inherits: false;
794
+ initial-value: 0 0 #0000;
795
+ }
796
+ @property --tw-inset-shadow-color {
797
+ syntax: "*";
798
+ inherits: false;
799
+ }
800
+ @property --tw-ring-color {
801
+ syntax: "*";
802
+ inherits: false;
803
+ }
804
+ @property --tw-ring-shadow {
805
+ syntax: "*";
806
+ inherits: false;
807
+ initial-value: 0 0 #0000;
808
+ }
809
+ @property --tw-inset-ring-color {
810
+ syntax: "*";
811
+ inherits: false;
812
+ }
813
+ @property --tw-inset-ring-shadow {
814
+ syntax: "*";
815
+ inherits: false;
816
+ initial-value: 0 0 #0000;
817
+ }
818
+ @property --tw-ring-inset {
819
+ syntax: "*";
820
+ inherits: false;
821
+ }
822
+ @property --tw-ring-offset-width {
823
+ syntax: "<length>";
824
+ inherits: false;
825
+ initial-value: 0px;
826
+ }
827
+ @property --tw-ring-offset-color {
828
+ syntax: "*";
829
+ inherits: false;
830
+ initial-value: #fff;
831
+ }
832
+ @property --tw-ring-offset-shadow {
833
+ syntax: "*";
834
+ inherits: false;
835
+ initial-value: 0 0 #0000;
836
+ }
837
+ @property --tw-outline-style {
838
+ syntax: "*";
839
+ inherits: false;
840
+ initial-value: solid;
841
+ }
842
+ @property --tw-translate-x {
843
+ syntax: "*";
844
+ inherits: false;
845
+ initial-value: 0;
846
+ }
847
+ @property --tw-translate-y {
848
+ syntax: "*";
849
+ inherits: false;
850
+ initial-value: 0;
851
+ }
852
+ @property --tw-translate-z {
853
+ syntax: "*";
854
+ inherits: false;
855
+ initial-value: 0;
856
+ }
857
+ @property --tw-content {
858
+ syntax: "*";
859
+ inherits: false;
860
+ initial-value: "";
861
+ }