@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,1104 @@
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-xs--line-height: calc(var(--spacing) * 4 * 1);
208
+ --text-xs--letter-spacing: calc(var(--spacing) * 4 * 0.005);
209
+ --text-sm: var(--ga-size-font-sm);
210
+ --text-sm--line-height: calc(var(--spacing) * 4 * 1.25);
211
+ --text-sm--letter-spacing: 0;
212
+ --text-md: var(--ga-size-font-md);
213
+ --text-md--line-height: calc(var(--spacing) * 4 * 1.25);
214
+ --text-md--letter-spacing: calc(var(--spacing) * 4 * -0.006);
215
+ --text-lg: var(--ga-size-font-lg);
216
+ --text-lg--line-height: calc(var(--spacing) * 4 * 1.5);
217
+ --text-lg--letter-spacing: calc(var(--spacing) * 4 * -0.011);
218
+ --text-xl: var(--ga-size-font-xl);
219
+ --text-xl--line-height: calc(var(--spacing) * 4 * 2);
220
+ --text-xl--letter-spacing: calc(var(--spacing) * 4 * -0.017);
221
+ --text-2xl: var(--ga-size-font-2xl);
222
+ --text-2xl--line-height: calc(var(--spacing) * 4 * 2.25);
223
+ --text-2xl--letter-spacing: calc(var(--spacing) * 4 * -0.019);
224
+ --text-3xl: var(--ga-size-font-3xl);
225
+ --text-3xl--line-height: calc(var(--spacing) * 4 * 3.5);
226
+ --text-3xl--letter-spacing: calc(var(--spacing) * 4 * -0.022);
227
+ --font-weight-normal: 400;
228
+ --font-weight-medium: 500;
229
+ --font-weight-semibold: 600;
230
+ --font-weight-bold: 700;
231
+ --radius: var(--ga-radius);
232
+ --radius-sharp: var(--ga-radius-sharp);
233
+ --spacing: 0.25rem;
234
+ }
235
+ }
236
+ @layer base {
237
+ body {
238
+ font-family: Inter, ui-sans-serif, system-ui, sans-serif;
239
+ font-feature-settings: 'liga' 1, 'calt' 1;
240
+ color: var(--ga-color-cyan-90);
241
+ }
242
+ }
243
+ @layer components {
244
+ .ga-avatar {
245
+ display: inline-flex;
246
+ height: calc(0.25rem * 10);
247
+ width: calc(0.25rem * 10);
248
+ align-items: center;
249
+ justify-content: center;
250
+ overflow: hidden;
251
+ border-radius: calc(infinity * 1px);
252
+ border-style: var(--tw-border-style);
253
+ border-width: 1px;
254
+ vertical-align: middle;
255
+ --tw-font-weight: 700;
256
+ font-weight: 700;
257
+ &.ga-avatar--small {
258
+ height: calc(0.25rem * 6);
259
+ width: calc(0.25rem * 6);
260
+ font-size: var(--ga-size-font-sm);
261
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
262
+ letter-spacing: var(--tw-tracking, 0);
263
+ }
264
+ &.ga-avatar--large {
265
+ height: calc(0.25rem * 16);
266
+ width: calc(0.25rem * 16);
267
+ font-size: var(--ga-size-font-2xl);
268
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 2.25));
269
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.019));
270
+ }
271
+ }
272
+ .ga-badge {
273
+ display: inline-block;
274
+ border-radius: calc(infinity * 1px);
275
+ vertical-align: baseline;
276
+ &.ga-badge--text {
277
+ min-width: calc(0.25rem * 6);
278
+ padding: calc(0.25rem * 1);
279
+ text-align: center;
280
+ font-size: var(--ga-size-font-sm);
281
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
282
+ letter-spacing: var(--tw-tracking, 0);
283
+ --tw-leading: calc(0.25rem * 4);
284
+ line-height: calc(0.25rem * 4);
285
+ --tw-font-weight: 500;
286
+ font-weight: 500;
287
+ white-space: nowrap;
288
+ }
289
+ &.ga-badge--dot {
290
+ height: calc(0.25rem * 2);
291
+ width: calc(0.25rem * 2);
292
+ }
293
+ &.ga-badge--default {
294
+ background-color: var(--ga-color-surface-action);
295
+ color: var(--ga-color-text-on-action);
296
+ }
297
+ &.ga-badge--default-inverted {
298
+ background-color: var(--ga-color-orange-20);
299
+ color: var(--ga-color-cyan-90);
300
+ }
301
+ &.ga-badge--information {
302
+ background-color: var(--ga-color-blue-40);
303
+ color: var(--ga-color-cyan-90);
304
+ }
305
+ &.ga-badge--error {
306
+ background-color: var(--ga-color-red-40);
307
+ color: var(--ga-color-cyan-90);
308
+ }
309
+ &.ga-badge--warning {
310
+ background-color: var(--ga-color-orange-40);
311
+ color: var(--ga-color-cyan-90);
312
+ }
313
+ &.ga-badge--success {
314
+ background-color: var(--ga-color-green-40);
315
+ color: var(--ga-color-cyan-90);
316
+ }
317
+ &.ga-badge--muted {
318
+ background-color: #fff;
319
+ color: var(--ga-color-cyan-70);
320
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentColor);
321
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
322
+ --tw-ring-color: var(--ga-color-grey-40);
323
+ --tw-ring-inset: inset;
324
+ }
325
+ &.ga-badge--disabled {
326
+ background-color: var(--ga-color-surface-disabled);
327
+ color: var(--ga-color-text);
328
+ }
329
+ }
330
+ .ga-button {
331
+ display: inline-flex;
332
+ height: calc(0.25rem * 10);
333
+ cursor: pointer;
334
+ align-items: center;
335
+ justify-content: center;
336
+ gap: calc(0.25rem * 2);
337
+ border-radius: var(--ga-radius);
338
+ padding-inline: calc(0.25rem * 4);
339
+ vertical-align: middle;
340
+ font-size: var(--ga-size-font-md);
341
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
342
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
343
+ --tw-leading: calc(0.25rem * 1);
344
+ line-height: calc(0.25rem * 1);
345
+ --tw-font-weight: 700;
346
+ font-weight: 700;
347
+ &:focus-visible {
348
+ outline-style: var(--tw-outline-style);
349
+ outline-width: 2px;
350
+ outline-offset: 2px;
351
+ outline-color: var(--ga-color-border-focus);
352
+ }
353
+ &:disabled {
354
+ cursor: not-allowed;
355
+ }
356
+ &.ga-button--primary {
357
+ background-color: var(--ga-color-surface-action);
358
+ color: var(--ga-color-text-on-action);
359
+ &:hover {
360
+ background-color: var(--ga-color-surface-action-hover);
361
+ }
362
+ &:active {
363
+ background-color: var(--ga-color-primary-70);
364
+ }
365
+ &:disabled {
366
+ background-color: var(--ga-color-surface-disabled);
367
+ color: var(--ga-color-text-disabled);
368
+ }
369
+ }
370
+ &.ga-button--secondary {
371
+ border-style: var(--tw-border-style);
372
+ border-width: 1px;
373
+ border-color: var(--ga-color-border-action);
374
+ background-color: var(--ga-color-surface-primary);
375
+ color: var(--ga-color-text-action);
376
+ &:hover {
377
+ background-color: var(--ga-color-surface-action-hover-2);
378
+ }
379
+ &:active {
380
+ background-color: var(--ga-color-surface-primary);
381
+ }
382
+ &:disabled {
383
+ border-color: var(--ga-color-border-disabled);
384
+ background-color: var(--ga-color-surace-page);
385
+ color: var(--ga-color-text-disabled);
386
+ }
387
+ }
388
+ &.ga-button--ghost {
389
+ background-color: transparent;
390
+ color: var(--ga-color-text-action);
391
+ &:hover {
392
+ background-color: var(--ga-color-surface-action-hover-2);
393
+ }
394
+ &:active {
395
+ background-color: transparent;
396
+ }
397
+ &:disabled {
398
+ background-color: transparent;
399
+ color: var(--ga-color-text-disabled);
400
+ }
401
+ }
402
+ &.ga-button--transparent {
403
+ border-style: var(--tw-border-style);
404
+ border-width: 1px;
405
+ border-color: var(--ga-color-border-action);
406
+ background-color: transparent;
407
+ color: var(--ga-color-text-action);
408
+ &:hover {
409
+ background-color: var(--ga-color-surface-action-hover-2);
410
+ }
411
+ &:focus-visible {
412
+ border-color: var(--ga-color-border-action);
413
+ }
414
+ &:active {
415
+ background-color: transparent;
416
+ }
417
+ &:disabled {
418
+ border-color: var(--ga-color-border-disabled);
419
+ background-color: transparent;
420
+ color: var(--ga-color-text-disabled);
421
+ }
422
+ }
423
+ &.ga-button--icon-only {
424
+ width: calc(0.25rem * 10);
425
+ padding-inline: calc(0.25rem * 0);
426
+ }
427
+ }
428
+ .ga-card {
429
+ border-radius: var(--ga-radius);
430
+ border-style: var(--tw-border-style);
431
+ border-width: 1px;
432
+ border-color: var(--ga-color-border-primary);
433
+ background-color: #fff;
434
+ padding: calc(0.25rem * 4);
435
+ font-size: var(--ga-size-font-md);
436
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
437
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
438
+ &.ga-card--selectable {
439
+ cursor: pointer;
440
+ &:hover {
441
+ border-color: var(--ga-color-border-action-hover);
442
+ background-color: var(--ga-color-surface-action-hover-2);
443
+ }
444
+ &:focus-visible {
445
+ outline-style: var(--tw-outline-style);
446
+ outline-width: 2px;
447
+ outline-offset: 2px;
448
+ outline-color: var(--ga-color-border-focus);
449
+ }
450
+ }
451
+ &.ga-card--disabled {
452
+ border-color: var(--ga-color-border-disabled);
453
+ background-color: var(--ga-color-surface-disabled);
454
+ color: var(--ga-color-text-disabled);
455
+ }
456
+ }
457
+ .ga-checkbox {
458
+ position: relative;
459
+ display: inline-flex;
460
+ gap: calc(0.25rem * 2);
461
+ .ga-checkbox__native {
462
+ height: calc(0.25rem * 5);
463
+ width: calc(0.25rem * 5);
464
+ flex-shrink: 0;
465
+ opacity: 0%;
466
+ &:not(:disabled) {
467
+ cursor: pointer;
468
+ }
469
+ }
470
+ .ga-checkbox__marker {
471
+ pointer-events: none;
472
+ position: absolute;
473
+ top: calc(0.25rem * 0);
474
+ left: calc(0.25rem * 0);
475
+ height: calc(0.25rem * 5);
476
+ width: calc(0.25rem * 5);
477
+ border-radius: var(--ga-radius);
478
+ border-style: var(--tw-border-style);
479
+ border-width: 2px;
480
+ border-color: var(--ga-color-border-action);
481
+ color: #fff;
482
+ .ga-checkbox__marker__indicator-checked, .ga-checkbox__marker__indicator-indeterminate {
483
+ display: none;
484
+ }
485
+ }
486
+ .ga-checkbox__native:focus-visible ~ .ga-checkbox__marker {
487
+ outline-style: var(--tw-outline-style);
488
+ outline-width: 2px;
489
+ outline-offset: 2px;
490
+ outline-color: var(--ga-color-border-focus);
491
+ }
492
+ .ga-checkbox__native:not(:disabled):hover ~ .ga-checkbox__marker {
493
+ border-color: var(--ga-color-border-action-hover);
494
+ background-color: var(--ga-color-surface-action-hover-2);
495
+ }
496
+ .ga-checkbox__native:checked ~ .ga-checkbox__marker {
497
+ background-color: var(--ga-color-surface-action);
498
+ .ga-checkbox__marker__indicator-checked {
499
+ display: block;
500
+ }
501
+ }
502
+ .ga-checkbox__native:indeterminate ~ .ga-checkbox__marker {
503
+ background-color: var(--ga-color-surface-action);
504
+ .ga-checkbox__marker__indicator-indeterminate {
505
+ display: block;
506
+ }
507
+ }
508
+ .ga-checkbox__native:not(:disabled):checked:hover ~ .ga-checkbox__marker, .ga-checkbox__native:not(:disabled):indeterminate:hover ~ .ga-checkbox__marker {
509
+ background-color: var(--ga-color-surface-action-hover);
510
+ }
511
+ .ga-checkbox__native:disabled ~ .ga-checkbox__marker {
512
+ border-color: var(--ga-color-border-disabled);
513
+ background-color: var(--ga-color-surface-disabled);
514
+ color: var(--ga-color-text-disabled);
515
+ }
516
+ &.ga-checkbox--invalid .ga-checkbox__marker {
517
+ border-color: var(--ga-color-border-error);
518
+ background-color: var(--ga-color-surface-error);
519
+ color: var(--ga-color-border-error);
520
+ }
521
+ .ga-checkbox__label {
522
+ min-height: calc(0.25rem * 5);
523
+ font-size: var(--ga-size-font-md);
524
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
525
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
526
+ --tw-leading: calc(0.25rem * 5);
527
+ line-height: calc(0.25rem * 5);
528
+ &:empty {
529
+ display: none;
530
+ }
531
+ }
532
+ }
533
+ .ga-form-field {
534
+ display: flex;
535
+ flex-direction: column;
536
+ gap: calc(0.25rem * 2);
537
+ .ga-form-field__label {
538
+ padding-inline: calc(0.25rem * 1);
539
+ font-size: var(--ga-size-font-md);
540
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
541
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
542
+ --tw-leading: calc(0.25rem * 5);
543
+ line-height: calc(0.25rem * 5);
544
+ --tw-font-weight: 500;
545
+ font-weight: 500;
546
+ }
547
+ .ga-form-field__info {
548
+ display: flex;
549
+ align-items: center;
550
+ gap: calc(0.25rem * 1);
551
+ font-size: var(--ga-size-font-xs);
552
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1));
553
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
554
+ }
555
+ }
556
+ .ga-input {
557
+ display: flex;
558
+ height: calc(0.25rem * 10);
559
+ width: calc(0.25rem * 50);
560
+ flex-direction: row;
561
+ align-items: center;
562
+ gap: calc(0.25rem * 2);
563
+ border-radius: var(--ga-radius);
564
+ border-style: var(--tw-border-style);
565
+ border-width: 1px;
566
+ border-color: var(--ga-color-border-primary);
567
+ background-color: var(--ga-color-bg-primary);
568
+ padding-inline: calc(0.25rem * 3);
569
+ padding-block: calc(0.25rem * 2);
570
+ font-size: var(--ga-size-font-md);
571
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
572
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
573
+ &:has(input:hover), &:is(input:hover) {
574
+ border-color: var(--ga-color-border-action-hover);
575
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
576
+ background-color: var(--ga-color-surface-action-hover-2);
577
+ }
578
+ }
579
+ &:has(input:disabled), &:is(input:disabled) {
580
+ border-color: var(--ga-color-border-primary);
581
+ background-color: var(--ga-color-surface-disabled);
582
+ color: var(--ga-color-text-disable-selected);
583
+ }
584
+ &:has(input:focus), &:is(input:focus) {
585
+ border-color: var(--ga-color-border-focus);
586
+ outline-style: var(--tw-outline-style);
587
+ outline-width: 1px;
588
+ outline-color: var(--ga-color-border-focus);
589
+ }
590
+ &.ga-input--invalid {
591
+ border-color: var(--ga-color-border-error);
592
+ outline-style: var(--tw-outline-style);
593
+ outline-width: 1px;
594
+ outline-color: var(--ga-color-border-error);
595
+ &:has(input:not(:placeholder-shown)), &:is(input:not(:placeholder-shown)) {
596
+ background-color: var(--ga-color-surface-error);
597
+ }
598
+ }
599
+ input {
600
+ height: calc(0.25rem * 6);
601
+ width: 100%;
602
+ min-width: calc(0.25rem * 0);
603
+ --tw-leading: calc(0.25rem * 6);
604
+ line-height: calc(0.25rem * 6);
605
+ --tw-outline-style: none;
606
+ outline-style: none;
607
+ }
608
+ &:is(input) {
609
+ min-width: calc(0.25rem * 0);
610
+ --tw-leading: calc(0.25rem * 6);
611
+ line-height: calc(0.25rem * 6);
612
+ }
613
+ }
614
+ .ga-notification {
615
+ display: flex;
616
+ flex-direction: row;
617
+ align-items: flex-start;
618
+ gap: calc(0.25rem * 4);
619
+ border-radius: var(--ga-radius);
620
+ border-style: var(--tw-border-style);
621
+ border-width: 2px;
622
+ border-color: var(--ga-color-border-primary);
623
+ background-color: var(--ga-color-surface-primary);
624
+ padding-top: calc(0.25rem * 2);
625
+ padding-right: calc(0.25rem * 2);
626
+ padding-bottom: calc(0.25rem * 4);
627
+ padding-left: calc(0.25rem * 4);
628
+ font-size: var(--ga-size-font-md);
629
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
630
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
631
+ &.ga-notification--information {
632
+ border-color: var(--ga-color-border-information);
633
+ background-color: var(--ga-color-surface-information);
634
+ }
635
+ &.ga-notification--success {
636
+ border-color: var(--ga-color-border-success);
637
+ background-color: var(--ga-color-surface-success);
638
+ }
639
+ &.ga-notification--error {
640
+ border-color: var(--ga-color-border-error);
641
+ background-color: var(--ga-color-surface-error);
642
+ }
643
+ &.ga-notification--warning {
644
+ border-color: var(--ga-color-border-warning);
645
+ background-color: var(--ga-color-surface-warning);
646
+ }
647
+ .ga-notification__icon {
648
+ margin-top: calc(0.25rem * 2);
649
+ flex-shrink: 0;
650
+ }
651
+ .ga-notification__description {
652
+ padding-right: calc(0.25rem * 2);
653
+ }
654
+ .ga-notification__heading {
655
+ display: flex;
656
+ min-height: calc(0.25rem * 10);
657
+ flex-direction: row;
658
+ align-items: center;
659
+ gap: calc(0.25rem * 2);
660
+ }
661
+ .ga-notification__title {
662
+ flex: 1;
663
+ --tw-font-weight: 700;
664
+ font-weight: 700;
665
+ }
666
+ .ga-notification__title-actions {
667
+ display: flex;
668
+ flex-shrink: 0;
669
+ flex-direction: row;
670
+ }
671
+ }
672
+ .ga-menu {
673
+ display: flex;
674
+ min-width: calc(0.25rem * 36);
675
+ flex-direction: column;
676
+ align-items: stretch;
677
+ border-radius: var(--ga-radius);
678
+ border-style: var(--tw-border-style);
679
+ border-width: 1px;
680
+ border-color: var(--ga-color-border-primary);
681
+ background-color: var(--ga-color-surface-primary);
682
+ .ga-menu__item {
683
+ display: flex;
684
+ height: calc(0.25rem * 9);
685
+ cursor: pointer;
686
+ flex-direction: row;
687
+ align-items: center;
688
+ gap: calc(0.25rem * 2);
689
+ padding-inline: calc(0.25rem * 3);
690
+ padding-block: calc(0.25rem * 2);
691
+ text-align: left;
692
+ font-size: var(--ga-size-font-md);
693
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
694
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
695
+ --tw-leading: 1;
696
+ line-height: 1;
697
+ --tw-font-weight: 500;
698
+ font-weight: 500;
699
+ color: var(--ga-color-text-action);
700
+ &:first-child {
701
+ border-top-left-radius: var(--ga-radius);
702
+ border-top-right-radius: var(--ga-radius);
703
+ }
704
+ &:hover {
705
+ background-color: var(--ga-color-surface-action-hover-2);
706
+ color: var(--ga-color-text-action-hover);
707
+ }
708
+ &:active {
709
+ background-color: var(--ga-color-surface-action);
710
+ color: var(--ga-color-text-on-action);
711
+ }
712
+ }
713
+ .ga-menu__separator {
714
+ margin-left: calc(0.25rem * 3);
715
+ border-bottom-style: var(--tw-border-style);
716
+ border-bottom-width: 1px;
717
+ border-color: var(--ga-color-border-primary);
718
+ }
719
+ .ga-menu__title {
720
+ padding-inline: calc(0.25rem * 3);
721
+ padding-top: calc(0.25rem * 3);
722
+ padding-bottom: calc(0.25rem * 2);
723
+ font-size: var(--ga-size-font-sm);
724
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
725
+ letter-spacing: var(--tw-tracking, 0);
726
+ --tw-font-weight: 600;
727
+ font-weight: 600;
728
+ color: var(--ga-color-text-disable-selected);
729
+ }
730
+ }
731
+ .ga-radio-button {
732
+ position: relative;
733
+ display: inline-flex;
734
+ cursor: pointer;
735
+ gap: calc(0.25rem * 2);
736
+ .ga-radio-button__native {
737
+ height: calc(0.25rem * 5);
738
+ width: calc(0.25rem * 5);
739
+ flex-shrink: 0;
740
+ cursor: pointer;
741
+ opacity: 0%;
742
+ &:disabled {
743
+ cursor: default;
744
+ }
745
+ }
746
+ .ga-radio-button__marker {
747
+ pointer-events: none;
748
+ position: absolute;
749
+ top: calc(0.25rem * 0);
750
+ left: calc(0.25rem * 0);
751
+ height: calc(0.25rem * 5);
752
+ width: calc(0.25rem * 5);
753
+ border-radius: calc(infinity * 1px);
754
+ border-style: var(--tw-border-style);
755
+ border-width: 2px;
756
+ border-color: var(--ga-color-border-action);
757
+ color: #fff;
758
+ }
759
+ .ga-radio-button__native:focus-visible ~ .ga-radio-button__marker {
760
+ outline-style: var(--tw-outline-style);
761
+ outline-width: 2px;
762
+ outline-offset: 2px;
763
+ outline-color: var(--ga-color-border-focus);
764
+ }
765
+ .ga-radio-button__native:not(:disabled):hover ~ .ga-radio-button__marker {
766
+ border-color: var(--ga-color-border-action-hover);
767
+ background-color: var(--ga-color-surface-action-hover-2);
768
+ }
769
+ .ga-radio-button__native:checked ~ .ga-radio-button__marker {
770
+ background-color: var(--ga-color-surface-action);
771
+ &::after {
772
+ position: absolute;
773
+ top: calc(1/2 * 100%);
774
+ left: calc(1/2 * 100%);
775
+ display: block;
776
+ height: calc(0.25rem * 2);
777
+ width: calc(0.25rem * 2);
778
+ --tw-translate-x: calc(calc(1/2 * 100%) * -1);
779
+ translate: var(--tw-translate-x) var(--tw-translate-y);
780
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
781
+ translate: var(--tw-translate-x) var(--tw-translate-y);
782
+ border-radius: calc(infinity * 1px);
783
+ background-color: #fff;
784
+ --tw-content: '';
785
+ content: var(--tw-content);
786
+ }
787
+ }
788
+ .ga-radio-button__native:not(:disabled):checked:hover ~ .ga-radio-button__marker {
789
+ background-color: var(--ga-color-surface-action-hover);
790
+ }
791
+ .ga-radio-button__native:disabled ~ .ga-radio-button__marker {
792
+ border-color: var(--ga-color-border-disabled);
793
+ background-color: var(--ga-color-surface-disabled);
794
+ color: var(--ga-color-text-disabled);
795
+ }
796
+ .ga-radio-button__label {
797
+ min-height: calc(0.25rem * 4);
798
+ font-size: var(--ga-size-font-md);
799
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
800
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
801
+ --tw-leading: calc(0.25rem * 5);
802
+ line-height: calc(0.25rem * 5);
803
+ }
804
+ }
805
+ .ga-segmented-control {
806
+ display: inline-flex;
807
+ height: calc(0.25rem * 10);
808
+ align-items: center;
809
+ justify-content: center;
810
+ vertical-align: middle;
811
+ font-size: var(--ga-size-font-md);
812
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
813
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
814
+ .ga-segmented-control__button {
815
+ display: inline-flex;
816
+ height: calc(0.25rem * 10);
817
+ align-items: center;
818
+ justify-content: center;
819
+ gap: calc(0.25rem * 2);
820
+ border-top-style: var(--tw-border-style);
821
+ border-top-width: 1px;
822
+ border-bottom-style: var(--tw-border-style);
823
+ border-bottom-width: 1px;
824
+ border-left-style: var(--tw-border-style);
825
+ border-left-width: 1px;
826
+ border-color: var(--ga-color-neutral-30);
827
+ background-color: #fff;
828
+ padding-inline: calc(0.25rem * 4);
829
+ vertical-align: middle;
830
+ --tw-leading: calc(0.25rem * 1);
831
+ line-height: calc(0.25rem * 1);
832
+ --tw-font-weight: 500;
833
+ font-weight: 500;
834
+ color: var(--ga-color-cyan-80);
835
+ &:first-of-type {
836
+ border-top-left-radius: var(--ga-radius);
837
+ border-bottom-left-radius: var(--ga-radius);
838
+ }
839
+ &:last-of-type {
840
+ border-top-right-radius: var(--ga-radius);
841
+ border-bottom-right-radius: var(--ga-radius);
842
+ border-right-style: var(--tw-border-style);
843
+ border-right-width: 1px;
844
+ }
845
+ &.ga-segmented-control__button--selected {
846
+ background-color: var(--ga-color-cyan-80);
847
+ --tw-font-weight: 600;
848
+ font-weight: 600;
849
+ color: var(--ga-color-orange-10);
850
+ }
851
+ &:not( .ga-segmented-control__button--selected, .ga-segmented-control__button--disabled, :disabled ) {
852
+ cursor: pointer;
853
+ &:hover {
854
+ background-color: var(--ga-color-surface-action-hover-2);
855
+ }
856
+ &:active {
857
+ background-color: #fff;
858
+ }
859
+ }
860
+ &.ga-segmented-control__button--disabled, &:disabled {
861
+ border-color: var(--ga-color-neutral-30);
862
+ background-color: var(--ga-color-neutral-10);
863
+ color: var(--ga-color-grey-40);
864
+ }
865
+ }
866
+ }
867
+ .ga-text-area {
868
+ display: flex;
869
+ width: calc(0.25rem * 50);
870
+ flex-direction: row;
871
+ align-items: center;
872
+ gap: calc(0.25rem * 2);
873
+ border-radius: var(--ga-radius);
874
+ border-style: var(--tw-border-style);
875
+ border-width: 1px;
876
+ border-color: var(--ga-color-border-primary);
877
+ background-color: var(--ga-color-bg-primary);
878
+ font-size: var(--ga-size-font-md);
879
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
880
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
881
+ &:has(textarea:hover) {
882
+ border-color: var(--ga-color-border-action-hover);
883
+ }
884
+ &:has(textarea:disabled) {
885
+ border-color: var(--ga-color-border-primary);
886
+ background-color: var(--ga-color-surface-disabled);
887
+ color: var(--ga-color-text-disable-selected);
888
+ }
889
+ &:has(textarea:focus) {
890
+ border-color: var(--ga-color-border-focus);
891
+ outline-style: var(--tw-outline-style);
892
+ outline-width: 1px;
893
+ outline-color: var(--ga-color-border-focus);
894
+ }
895
+ &.ga-text-area--invalid {
896
+ border-color: var(--ga-color-border-error);
897
+ outline-style: var(--tw-outline-style);
898
+ outline-width: 1px;
899
+ outline-color: var(--ga-color-border-error);
900
+ &:has(textarea:not(:placeholder-shown)) {
901
+ background-color: var(--ga-color-surface-error);
902
+ }
903
+ }
904
+ textarea {
905
+ width: 100%;
906
+ min-width: calc(0.25rem * 0);
907
+ padding-inline: calc(0.25rem * 3);
908
+ padding-block: calc(0.25rem * 2);
909
+ --tw-leading: calc(0.25rem * 6);
910
+ line-height: calc(0.25rem * 6);
911
+ --tw-outline-style: none;
912
+ outline-style: none;
913
+ }
914
+ }
915
+ .ga-tooltip {
916
+ position: relative;
917
+ max-width: calc(0.25rem * 100);
918
+ border-radius: var(--ga-radius);
919
+ background-color: var(--ga-color-surface-action-hover);
920
+ padding: calc(0.25rem * 2);
921
+ font-size: var(--ga-size-font-md);
922
+ line-height: var(--tw-leading, calc(var(--spacing) * 4 * 1.25));
923
+ letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
924
+ color: var(--ga-color-text-on-action);
925
+ &.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 {
926
+ &::before {
927
+ content: var(--tw-content);
928
+ position: absolute;
929
+ }
930
+ &::before {
931
+ content: var(--tw-content);
932
+ --tw-content: '';
933
+ content: var(--tw-content);
934
+ }
935
+ }
936
+ &.ga-tooltip--top-start, &.ga-tooltip--top-center, &.ga-tooltip--top-end {
937
+ margin-bottom: calc(0.25rem * 2);
938
+ }
939
+ &.ga-tooltip--bottom-start, &.ga-tooltip--bottom-center, &.ga-tooltip--bottom-end {
940
+ margin-top: calc(0.25rem * 2);
941
+ }
942
+ &.ga-tooltip--left-start, &.ga-tooltip--left-center, &.ga-tooltip--left-end {
943
+ margin-right: calc(0.25rem * 2);
944
+ }
945
+ &.ga-tooltip--right-start, &.ga-tooltip--right-center, &.ga-tooltip--right-end {
946
+ margin-left: calc(0.25rem * 2);
947
+ }
948
+ &.ga-tooltip--top-start::before, &.ga-tooltip--top-center::before, &.ga-tooltip--top-end::before {
949
+ bottom: calc(0.25rem * -2);
950
+ border-inline-style: var(--tw-border-style);
951
+ border-inline-width: 8px;
952
+ border-top-style: var(--tw-border-style);
953
+ border-top-width: 8px;
954
+ border-inline-color: transparent;
955
+ border-top-color: var(--ga-color-surface-action-hover);
956
+ }
957
+ &.ga-tooltip--bottom-start::before, &.ga-tooltip--bottom-center::before, &.ga-tooltip--bottom-end::before {
958
+ top: calc(0.25rem * -2);
959
+ border-inline-style: var(--tw-border-style);
960
+ border-inline-width: 8px;
961
+ border-bottom-style: var(--tw-border-style);
962
+ border-bottom-width: 8px;
963
+ border-inline-color: transparent;
964
+ border-bottom-color: var(--ga-color-surface-action-hover);
965
+ }
966
+ &.ga-tooltip--top-start::before, &.ga-tooltip--bottom-start::before {
967
+ left: calc(0.25rem * 4);
968
+ }
969
+ &.ga-tooltip--top-center::before, &.ga-tooltip--bottom-center::before {
970
+ left: calc(1/2 * 100%);
971
+ --tw-translate-x: calc(calc(1/2 * 100%) * -1);
972
+ translate: var(--tw-translate-x) var(--tw-translate-y);
973
+ }
974
+ &.ga-tooltip--top-end::before, &.ga-tooltip--bottom-end::before {
975
+ right: calc(0.25rem * 4);
976
+ }
977
+ &.ga-tooltip--left-start::before, &.ga-tooltip--left-center::before, &.ga-tooltip--left-end::before {
978
+ right: calc(0.25rem * -2);
979
+ border-block-style: var(--tw-border-style);
980
+ border-block-width: 8px;
981
+ border-left-style: var(--tw-border-style);
982
+ border-left-width: 8px;
983
+ border-block-color: transparent;
984
+ border-left-color: var(--ga-color-surface-action-hover);
985
+ }
986
+ &.ga-tooltip--right-start::before, &.ga-tooltip--right-center::before, &.ga-tooltip--right-end::before {
987
+ left: calc(0.25rem * -2);
988
+ border-block-style: var(--tw-border-style);
989
+ border-block-width: 8px;
990
+ border-right-style: var(--tw-border-style);
991
+ border-right-width: 8px;
992
+ border-block-color: transparent;
993
+ border-right-color: var(--ga-color-surface-action-hover);
994
+ }
995
+ &.ga-tooltip--left-start::before, &.ga-tooltip--right-start::before {
996
+ top: calc(0.25rem * 4);
997
+ }
998
+ &.ga-tooltip--left-center::before, &.ga-tooltip--right-center::before {
999
+ top: calc(1/2 * 100%);
1000
+ --tw-translate-y: calc(calc(1/2 * 100%) * -1);
1001
+ translate: var(--tw-translate-x) var(--tw-translate-y);
1002
+ }
1003
+ &.ga-tooltip--left-end::before, &.ga-tooltip--right-end::before {
1004
+ bottom: calc(0.25rem * 4);
1005
+ }
1006
+ .ga-tooltip__title {
1007
+ --tw-font-weight: 600;
1008
+ font-weight: 600;
1009
+ }
1010
+ }
1011
+ }
1012
+ @property --tw-border-style {
1013
+ syntax: "*";
1014
+ inherits: false;
1015
+ initial-value: solid;
1016
+ }
1017
+ @property --tw-font-weight {
1018
+ syntax: "*";
1019
+ inherits: false;
1020
+ }
1021
+ @property --tw-leading {
1022
+ syntax: "*";
1023
+ inherits: false;
1024
+ }
1025
+ @property --tw-shadow {
1026
+ syntax: "*";
1027
+ inherits: false;
1028
+ initial-value: 0 0 #0000;
1029
+ }
1030
+ @property --tw-shadow-color {
1031
+ syntax: "*";
1032
+ inherits: false;
1033
+ }
1034
+ @property --tw-inset-shadow {
1035
+ syntax: "*";
1036
+ inherits: false;
1037
+ initial-value: 0 0 #0000;
1038
+ }
1039
+ @property --tw-inset-shadow-color {
1040
+ syntax: "*";
1041
+ inherits: false;
1042
+ }
1043
+ @property --tw-ring-color {
1044
+ syntax: "*";
1045
+ inherits: false;
1046
+ }
1047
+ @property --tw-ring-shadow {
1048
+ syntax: "*";
1049
+ inherits: false;
1050
+ initial-value: 0 0 #0000;
1051
+ }
1052
+ @property --tw-inset-ring-color {
1053
+ syntax: "*";
1054
+ inherits: false;
1055
+ }
1056
+ @property --tw-inset-ring-shadow {
1057
+ syntax: "*";
1058
+ inherits: false;
1059
+ initial-value: 0 0 #0000;
1060
+ }
1061
+ @property --tw-ring-inset {
1062
+ syntax: "*";
1063
+ inherits: false;
1064
+ }
1065
+ @property --tw-ring-offset-width {
1066
+ syntax: "<length>";
1067
+ inherits: false;
1068
+ initial-value: 0px;
1069
+ }
1070
+ @property --tw-ring-offset-color {
1071
+ syntax: "*";
1072
+ inherits: false;
1073
+ initial-value: #fff;
1074
+ }
1075
+ @property --tw-ring-offset-shadow {
1076
+ syntax: "*";
1077
+ inherits: false;
1078
+ initial-value: 0 0 #0000;
1079
+ }
1080
+ @property --tw-outline-style {
1081
+ syntax: "*";
1082
+ inherits: false;
1083
+ initial-value: solid;
1084
+ }
1085
+ @property --tw-translate-x {
1086
+ syntax: "*";
1087
+ inherits: false;
1088
+ initial-value: 0;
1089
+ }
1090
+ @property --tw-translate-y {
1091
+ syntax: "*";
1092
+ inherits: false;
1093
+ initial-value: 0;
1094
+ }
1095
+ @property --tw-translate-z {
1096
+ syntax: "*";
1097
+ inherits: false;
1098
+ initial-value: 0;
1099
+ }
1100
+ @property --tw-content {
1101
+ syntax: "*";
1102
+ inherits: false;
1103
+ initial-value: "";
1104
+ }