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