@vsn-ux/gaia-styles 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -7
- package/dist/all-no-reset-10pt.css +319 -123
- package/dist/all-no-reset.css +319 -123
- package/dist/all.css +330 -134
- package/dist/base.css +1 -1
- package/dist/components/avatar.css +13 -5
- package/dist/components/badge.css +35 -3
- package/dist/components/button.css +14 -4
- package/dist/components/card.css +11 -3
- package/dist/components/checkbox.css +12 -3
- package/dist/components/dropdown.css +17 -7
- package/dist/components/form-field.css +17 -7
- package/dist/components/input.css +12 -3
- package/dist/components/menu.css +21 -11
- package/dist/components/notification.css +11 -3
- package/dist/components/radio.css +16 -3
- package/dist/components/segmented-control.css +41 -41
- package/dist/components/select.css +17 -5
- package/dist/components/switch.css +153 -0
- package/dist/components/tag.css +11 -3
- package/dist/components/text-area.css +12 -3
- package/dist/components/tooltip.css +15 -3
- package/dist/components.css +235 -91
- package/dist/design-tokens.css +86 -32
- package/dist/design-tokens.d.ts +50 -27
- package/dist/design-tokens.js +348 -90
- package/package.json +26 -26
- package/src/design-tokens/dtcg-tokens.json +197 -77
- package/src/styles/components/button.css +1 -1
- package/src/styles/components/segmented-control.css +12 -24
- package/src/styles/components/switch.css +76 -0
- package/src/styles/components.css +1 -0
- package/src/styles/theme.css +14 -14
package/dist/all-no-reset.css
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
|
-
/*! tailwindcss v4.
|
|
1
|
+
/*! tailwindcss v4.1.1 | MIT License | https://tailwindcss.com */
|
|
2
|
+
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
|
3
|
+
@layer base {
|
|
4
|
+
*, ::before, ::after, ::backdrop {
|
|
5
|
+
--tw-border-style: solid;
|
|
6
|
+
--tw-font-weight: initial;
|
|
7
|
+
--tw-leading: initial;
|
|
8
|
+
--tw-shadow: 0 0 #0000;
|
|
9
|
+
--tw-shadow-color: initial;
|
|
10
|
+
--tw-shadow-alpha: 100%;
|
|
11
|
+
--tw-inset-shadow: 0 0 #0000;
|
|
12
|
+
--tw-inset-shadow-color: initial;
|
|
13
|
+
--tw-inset-shadow-alpha: 100%;
|
|
14
|
+
--tw-ring-color: initial;
|
|
15
|
+
--tw-ring-shadow: 0 0 #0000;
|
|
16
|
+
--tw-inset-ring-color: initial;
|
|
17
|
+
--tw-inset-ring-shadow: 0 0 #0000;
|
|
18
|
+
--tw-ring-inset: initial;
|
|
19
|
+
--tw-ring-offset-width: 0px;
|
|
20
|
+
--tw-ring-offset-color: #fff;
|
|
21
|
+
--tw-ring-offset-shadow: 0 0 #0000;
|
|
22
|
+
--tw-outline-style: solid;
|
|
23
|
+
--tw-content: "";
|
|
24
|
+
--tw-translate-x: 0;
|
|
25
|
+
--tw-translate-y: 0;
|
|
26
|
+
--tw-translate-z: 0;
|
|
27
|
+
--tw-duration: initial;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
2
31
|
:root {
|
|
32
|
+
--ga-color-black: #000000;
|
|
3
33
|
--ga-color-blue-10: #edf4fe;
|
|
4
34
|
--ga-color-blue-40: #93bbf9;
|
|
5
35
|
--ga-color-blue-60: #366af6;
|
|
@@ -11,7 +41,7 @@
|
|
|
11
41
|
--ga-color-border-error: var(--ga-color-error);
|
|
12
42
|
--ga-color-border-focus: var(--ga-color-primary);
|
|
13
43
|
--ga-color-border-information: var(--ga-color-information);
|
|
14
|
-
--ga-color-border-primary: var(--ga-color-neutral-
|
|
44
|
+
--ga-color-border-primary: var(--ga-color-neutral-60);
|
|
15
45
|
--ga-color-border-secondary: var(--ga-color-secondary-30);
|
|
16
46
|
--ga-color-border-success: var(--ga-color-success);
|
|
17
47
|
--ga-color-border-warning: var(--ga-color-warning);
|
|
@@ -35,6 +65,8 @@
|
|
|
35
65
|
--ga-color-icon-on-action: var(--ga-color-secondary);
|
|
36
66
|
--ga-color-icon-on-disabled: var(--ga-color-neutral-60);
|
|
37
67
|
--ga-color-icon-on-primary: var(--ga-color-white);
|
|
68
|
+
--ga-color-icon-pictograms-pictogram-emphasis: var(--ga-color-neutral);
|
|
69
|
+
--ga-color-icon-pictograms-pictogram-fill: var(--ga-color-neutral);
|
|
38
70
|
--ga-color-icon-primary: var(--ga-color-primary-90);
|
|
39
71
|
--ga-color-icon-success: var(--ga-color-success);
|
|
40
72
|
--ga-color-icon-warning: var(--ga-color-warning);
|
|
@@ -44,6 +76,9 @@
|
|
|
44
76
|
--ga-color-information-light: var(--ga-color-utility-blue-light);
|
|
45
77
|
--ga-color-lime-10: #edf6dd;
|
|
46
78
|
--ga-color-lime-40: #a5c656;
|
|
79
|
+
--ga-color-miscellaneous-overlay: #371cff91;
|
|
80
|
+
--ga-color-miscellaneous-skeleton-element: var(--ga-color-neutral-10);
|
|
81
|
+
--ga-color-miscellaneous-skeleton-highlight: var(--ga-color-neutral-20);
|
|
47
82
|
--ga-color-neutral: var(--ga-color-neutral-30);
|
|
48
83
|
--ga-color-neutral-10: #f2f3f5;
|
|
49
84
|
--ga-color-neutral-20: #e2e4e9;
|
|
@@ -63,6 +98,7 @@
|
|
|
63
98
|
--ga-color-primary-90: var(--ga-color-cyan-90);
|
|
64
99
|
--ga-color-purple-10: #f3f1fe;
|
|
65
100
|
--ga-color-purple-40: #c3acf9;
|
|
101
|
+
--ga-color-purple-80: #591ab5;
|
|
66
102
|
--ga-color-red-10: #fcf1ee;
|
|
67
103
|
--ga-color-red-40: #eca79e;
|
|
68
104
|
--ga-color-red-60: #cc453e;
|
|
@@ -72,12 +108,22 @@
|
|
|
72
108
|
--ga-color-secondary: var(--ga-color-orange-20);
|
|
73
109
|
--ga-color-secondary-10: var(--ga-color-orange-10);
|
|
74
110
|
--ga-color-secondary-30: var(--ga-color-orange-30);
|
|
111
|
+
--ga-color-sequential-graph-10: var(--ga-color-teal-10);
|
|
112
|
+
--ga-color-sequential-graph-20: var(--ga-color-teal-20);
|
|
113
|
+
--ga-color-sequential-graph-30: var(--ga-color-teal-30);
|
|
114
|
+
--ga-color-sequential-graph-40: var(--ga-color-teal-40);
|
|
115
|
+
--ga-color-sequential-graph-50: var(--ga-color-teal-50);
|
|
116
|
+
--ga-color-sequential-graph-60: var(--ga-color-teal-60);
|
|
117
|
+
--ga-color-sequential-graph-70: var(--ga-color-teal-70);
|
|
118
|
+
--ga-color-sequential-graph-80: var(--ga-color-teal-80);
|
|
119
|
+
--ga-color-sequential-graph-90: var(--ga-color-teal-90);
|
|
120
|
+
--ga-color-sequential-graph-100: var(--ga-color-teal-100);
|
|
75
121
|
--ga-color-success: var(--ga-color-green-60);
|
|
76
122
|
--ga-color-success-light: var(--ga-color-utility-green-light);
|
|
77
123
|
--ga-color-surface-action: var(--ga-color-primary);
|
|
78
124
|
--ga-color-surface-action-hover: var(--ga-color-primary-90);
|
|
79
125
|
--ga-color-surface-action-hover-2: var(--ga-color-orange-20);
|
|
80
|
-
--ga-color-surface-disable-selected: var(--ga-color-neutral-
|
|
126
|
+
--ga-color-surface-disable-selected: var(--ga-color-neutral-60);
|
|
81
127
|
--ga-color-surface-disabled: var(--ga-color-neutral-20);
|
|
82
128
|
--ga-color-surface-error: var(--ga-color-utility-red-light);
|
|
83
129
|
--ga-color-surface-information: var(--ga-color-information-light);
|
|
@@ -99,10 +145,11 @@
|
|
|
99
145
|
--ga-color-text-action-hover: var(--ga-color-primary-90);
|
|
100
146
|
--ga-color-text-body: var(--ga-color-primary-90);
|
|
101
147
|
--ga-color-text-disable-selected: var(--ga-color-neutral-60);
|
|
102
|
-
--ga-color-text-disabled: var(--ga-color-
|
|
148
|
+
--ga-color-text-disabled: var(--ga-color-utility-grey);
|
|
103
149
|
--ga-color-text-error: var(--ga-color-primary-90);
|
|
104
150
|
--ga-color-text-headings: var(--ga-color-primary-90);
|
|
105
151
|
--ga-color-text-information: var(--ga-color-primary-90);
|
|
152
|
+
--ga-color-text-link-visited: var(--ga-color-purple-80);
|
|
106
153
|
--ga-color-text-on-action: var(--ga-color-secondary-10);
|
|
107
154
|
--ga-color-text-on-disabled: var(--ga-color-primary-70);
|
|
108
155
|
--ga-color-text-success: var(--ga-color-primary-90);
|
|
@@ -136,36 +183,70 @@
|
|
|
136
183
|
--ga-color-white: #ffffff;
|
|
137
184
|
--ga-color-yellow-10: #fdf5ae;
|
|
138
185
|
--ga-color-yellow-40: #e1b402;
|
|
139
|
-
--ga-font-family: "Inter";
|
|
186
|
+
--ga-font-family-primary: "Inter", -system-ui, sans-serif;
|
|
187
|
+
--ga-font-weight-bold: 700;
|
|
188
|
+
--ga-font-weight-medium: 500;
|
|
189
|
+
--ga-font-weight-normal: 400;
|
|
190
|
+
--ga-font-weight-semibold: 600;
|
|
140
191
|
--ga-radius: 4px;
|
|
141
|
-
--ga-radius-round:
|
|
142
|
-
--ga-radius-sharp: 0.
|
|
143
|
-
--ga-size-
|
|
144
|
-
--ga-size-
|
|
145
|
-
--ga-size-
|
|
146
|
-
--ga-size-
|
|
147
|
-
--ga-size-
|
|
148
|
-
--ga-size-
|
|
149
|
-
--ga-size-
|
|
150
|
-
--ga-size-
|
|
151
|
-
--ga-size-
|
|
152
|
-
--ga-size-
|
|
153
|
-
--ga-size-
|
|
154
|
-
--ga-size-
|
|
155
|
-
--ga-size-
|
|
156
|
-
--ga-size-
|
|
157
|
-
--ga-size-
|
|
158
|
-
--ga-size-
|
|
159
|
-
--ga-size-
|
|
160
|
-
--ga-size-
|
|
161
|
-
--ga-size
|
|
162
|
-
--ga-
|
|
163
|
-
--ga-
|
|
164
|
-
--ga-
|
|
165
|
-
--ga-
|
|
166
|
-
--ga-
|
|
167
|
-
--ga-
|
|
168
|
-
--ga-
|
|
192
|
+
--ga-radius-round: 999px;
|
|
193
|
+
--ga-radius-sharp: 0.02rem;
|
|
194
|
+
--ga-size-border-width-lg: 4px;
|
|
195
|
+
--ga-size-border-width-md: 2px;
|
|
196
|
+
--ga-size-border-width-none: 0;
|
|
197
|
+
--ga-size-border-width-sm: 1px;
|
|
198
|
+
--ga-size-spacing-00: 0;
|
|
199
|
+
--ga-size-spacing-01: 0.125rem;
|
|
200
|
+
--ga-size-spacing-02: 0.25rem;
|
|
201
|
+
--ga-size-spacing-03: 0.5rem;
|
|
202
|
+
--ga-size-spacing-04: 0.75rem;
|
|
203
|
+
--ga-size-spacing-05: 1rem;
|
|
204
|
+
--ga-size-spacing-06: 1.5rem;
|
|
205
|
+
--ga-size-spacing-07: 2rem;
|
|
206
|
+
--ga-size-spacing-08: 2.5rem;
|
|
207
|
+
--ga-size-spacing-09: 3rem;
|
|
208
|
+
--ga-size-spacing-10: 4rem;
|
|
209
|
+
--ga-size-spacing-11: 5rem;
|
|
210
|
+
--ga-size-spacing-12: 6rem;
|
|
211
|
+
--ga-size-spacing-13: 10rem;
|
|
212
|
+
--ga-text-2xl-font-size: 1.5rem;
|
|
213
|
+
--ga-text-2xl-font-style: normal;
|
|
214
|
+
--ga-text-2xl-line-height: 2.25;
|
|
215
|
+
--ga-text-2xl-tracking: -0.019rem;
|
|
216
|
+
--ga-text-3xl-font-size: 2.25rem;
|
|
217
|
+
--ga-text-3xl-font-style: normal;
|
|
218
|
+
--ga-text-3xl-line-height: 3.5;
|
|
219
|
+
--ga-text-3xl-tracking: -0.022rem;
|
|
220
|
+
--ga-text-lg-font-size: 1rem;
|
|
221
|
+
--ga-text-lg-font-style: normal;
|
|
222
|
+
--ga-text-lg-line-height: 1.5;
|
|
223
|
+
--ga-text-lg-tracking: -0.011rem;
|
|
224
|
+
--ga-text-md-font-size: 0.875rem;
|
|
225
|
+
--ga-text-md-font-style: normal;
|
|
226
|
+
--ga-text-md-line-height: 1.25;
|
|
227
|
+
--ga-text-md-tracking: -0.006rem;
|
|
228
|
+
--ga-text-sm-font-size: 0.75rem;
|
|
229
|
+
--ga-text-sm-font-style: normal;
|
|
230
|
+
--ga-text-sm-line-height: 1.25;
|
|
231
|
+
--ga-text-sm-tracking: 0;
|
|
232
|
+
--ga-text-xl-font-size: 1.25rem;
|
|
233
|
+
--ga-text-xl-font-style: normal;
|
|
234
|
+
--ga-text-xl-line-height: 2;
|
|
235
|
+
--ga-text-xl-tracking: -0.017rem;
|
|
236
|
+
--ga-text-xs-font-size: 0.6875rem;
|
|
237
|
+
--ga-text-xs-font-style: normal;
|
|
238
|
+
--ga-text-xs-line-height: 1;
|
|
239
|
+
--ga-text-xs-tracking: 0.005rem;
|
|
240
|
+
}
|
|
241
|
+
@media (color-gamut: p3) {
|
|
242
|
+
:root {
|
|
243
|
+
--ga-color-miscellaneous-overlay: #3800ff91;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
@media (color-gamut: rec2020) {
|
|
247
|
+
:root {
|
|
248
|
+
--ga-color-miscellaneous-overlay: #3e00ff91;
|
|
249
|
+
}
|
|
169
250
|
}
|
|
170
251
|
@layer theme, base, components, utilities;
|
|
171
252
|
@layer theme {
|
|
@@ -197,15 +278,15 @@
|
|
|
197
278
|
&.ga-avatar--small {
|
|
198
279
|
height: calc(0.25rem * 6);
|
|
199
280
|
width: calc(0.25rem * 6);
|
|
200
|
-
font-size: var(--ga-
|
|
201
|
-
line-height: var(--tw-leading,
|
|
281
|
+
font-size: var(--ga-text-sm-font-size);
|
|
282
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
202
283
|
letter-spacing: var(--tw-tracking, 0);
|
|
203
284
|
}
|
|
204
285
|
&.ga-avatar--large {
|
|
205
286
|
height: calc(0.25rem * 16);
|
|
206
287
|
width: calc(0.25rem * 16);
|
|
207
|
-
font-size: var(--ga-
|
|
208
|
-
line-height: var(--tw-leading,
|
|
288
|
+
font-size: var(--ga-text-2xl-font-size);
|
|
289
|
+
line-height: var(--tw-leading, var(--ga-text-2xl-line-height));
|
|
209
290
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.019));
|
|
210
291
|
}
|
|
211
292
|
}
|
|
@@ -217,8 +298,8 @@
|
|
|
217
298
|
min-width: calc(0.25rem * 6);
|
|
218
299
|
padding: calc(0.25rem * 1);
|
|
219
300
|
text-align: center;
|
|
220
|
-
font-size: var(--ga-
|
|
221
|
-
line-height: var(--tw-leading,
|
|
301
|
+
font-size: var(--ga-text-sm-font-size);
|
|
302
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
222
303
|
letter-spacing: var(--tw-tracking, 0);
|
|
223
304
|
--tw-leading: calc(0.25rem * 4);
|
|
224
305
|
line-height: calc(0.25rem * 4);
|
|
@@ -277,8 +358,8 @@
|
|
|
277
358
|
border-radius: var(--ga-radius);
|
|
278
359
|
padding-inline: calc(0.25rem * 4);
|
|
279
360
|
vertical-align: middle;
|
|
280
|
-
font-size: var(--ga-
|
|
281
|
-
line-height: var(--tw-leading,
|
|
361
|
+
font-size: var(--ga-text-md-font-size);
|
|
362
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
282
363
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
283
364
|
--tw-leading: calc(0.25rem * 1);
|
|
284
365
|
line-height: calc(0.25rem * 1);
|
|
@@ -321,7 +402,7 @@
|
|
|
321
402
|
}
|
|
322
403
|
&:disabled {
|
|
323
404
|
border-color: var(--ga-color-border-disabled);
|
|
324
|
-
background-color: var(--ga-color-
|
|
405
|
+
background-color: var(--ga-color-surface-page);
|
|
325
406
|
color: var(--ga-color-text-disabled);
|
|
326
407
|
}
|
|
327
408
|
}
|
|
@@ -373,8 +454,8 @@
|
|
|
373
454
|
border-color: var(--ga-color-border-primary);
|
|
374
455
|
background-color: #fff;
|
|
375
456
|
padding: calc(0.25rem * 4);
|
|
376
|
-
font-size: var(--ga-
|
|
377
|
-
line-height: var(--tw-leading,
|
|
457
|
+
font-size: var(--ga-text-md-font-size);
|
|
458
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
378
459
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
379
460
|
&.ga-card--selectable {
|
|
380
461
|
cursor: pointer;
|
|
@@ -471,8 +552,8 @@
|
|
|
471
552
|
}
|
|
472
553
|
.ga-checkbox__label {
|
|
473
554
|
min-height: calc(0.25rem * 4);
|
|
474
|
-
font-size: var(--ga-
|
|
475
|
-
line-height: var(--tw-leading,
|
|
555
|
+
font-size: var(--ga-text-md-font-size);
|
|
556
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
476
557
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
477
558
|
--tw-leading: calc(0.25rem * 4);
|
|
478
559
|
line-height: calc(0.25rem * 4);
|
|
@@ -493,8 +574,8 @@
|
|
|
493
574
|
border-width: 1px;
|
|
494
575
|
border-color: var(--ga-color-border-primary);
|
|
495
576
|
background-color: var(--ga-color-surface-primary);
|
|
496
|
-
font-size: var(--ga-
|
|
497
|
-
line-height: var(--tw-leading,
|
|
577
|
+
font-size: var(--ga-text-md-font-size);
|
|
578
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
498
579
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
499
580
|
--tw-outline-style: none;
|
|
500
581
|
outline-style: none;
|
|
@@ -511,8 +592,8 @@
|
|
|
511
592
|
padding-inline: calc(0.25rem * 3);
|
|
512
593
|
padding-block: calc(0.25rem * 2);
|
|
513
594
|
text-align: left;
|
|
514
|
-
font-size: var(--ga-
|
|
515
|
-
line-height: var(--tw-leading,
|
|
595
|
+
font-size: var(--ga-text-md-font-size);
|
|
596
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
516
597
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
517
598
|
--tw-leading: 1;
|
|
518
599
|
line-height: 1;
|
|
@@ -569,8 +650,8 @@
|
|
|
569
650
|
padding-inline: calc(0.25rem * 3);
|
|
570
651
|
padding-top: calc(0.25rem * 3);
|
|
571
652
|
padding-bottom: calc(0.25rem * 2);
|
|
572
|
-
font-size: var(--ga-
|
|
573
|
-
line-height: var(--tw-leading,
|
|
653
|
+
font-size: var(--ga-text-sm-font-size);
|
|
654
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
574
655
|
letter-spacing: var(--tw-tracking, 0);
|
|
575
656
|
--tw-font-weight: 600;
|
|
576
657
|
font-weight: 600;
|
|
@@ -620,15 +701,15 @@
|
|
|
620
701
|
overflow: hidden;
|
|
621
702
|
text-overflow: ellipsis;
|
|
622
703
|
white-space: nowrap;
|
|
623
|
-
font-size: var(--ga-
|
|
624
|
-
line-height: var(--tw-leading,
|
|
704
|
+
font-size: var(--ga-text-md-font-size);
|
|
705
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
625
706
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
626
707
|
--tw-font-weight: 500;
|
|
627
708
|
font-weight: 500;
|
|
628
709
|
}
|
|
629
710
|
.ga-form-field__label-state {
|
|
630
|
-
font-size: var(--ga-
|
|
631
|
-
line-height: var(--tw-leading,
|
|
711
|
+
font-size: var(--ga-text-sm-font-size);
|
|
712
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
632
713
|
letter-spacing: var(--tw-tracking, 0);
|
|
633
714
|
--tw-font-weight: 400;
|
|
634
715
|
font-weight: 400;
|
|
@@ -655,8 +736,8 @@
|
|
|
655
736
|
display: flex;
|
|
656
737
|
align-items: center;
|
|
657
738
|
gap: calc(0.25rem * 1);
|
|
658
|
-
font-size: var(--ga-
|
|
659
|
-
line-height: var(--tw-leading,
|
|
739
|
+
font-size: var(--ga-text-xs-font-size);
|
|
740
|
+
line-height: var(--tw-leading, var(--ga-text-xs-line-height));
|
|
660
741
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
|
|
661
742
|
}
|
|
662
743
|
}
|
|
@@ -674,8 +755,8 @@
|
|
|
674
755
|
background-color: var(--ga-color-bg-primary);
|
|
675
756
|
padding-inline: calc(0.25rem * 3);
|
|
676
757
|
padding-block: calc(0.25rem * 2);
|
|
677
|
-
font-size: var(--ga-
|
|
678
|
-
line-height: var(--tw-leading,
|
|
758
|
+
font-size: var(--ga-text-md-font-size);
|
|
759
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
679
760
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
680
761
|
&:hover {
|
|
681
762
|
border-color: var(--ga-color-border-action-hover);
|
|
@@ -748,8 +829,8 @@
|
|
|
748
829
|
padding-right: calc(0.25rem * 2);
|
|
749
830
|
padding-bottom: calc(0.25rem * 4);
|
|
750
831
|
padding-left: calc(0.25rem * 4);
|
|
751
|
-
font-size: var(--ga-
|
|
752
|
-
line-height: var(--tw-leading,
|
|
832
|
+
font-size: var(--ga-text-md-font-size);
|
|
833
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
753
834
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
754
835
|
&.ga-notification--information {
|
|
755
836
|
border-color: var(--ga-color-border-information);
|
|
@@ -813,8 +894,8 @@
|
|
|
813
894
|
border-width: 1px;
|
|
814
895
|
border-color: var(--ga-color-border-primary);
|
|
815
896
|
background-color: var(--ga-color-surface-primary);
|
|
816
|
-
font-size: var(--ga-
|
|
817
|
-
line-height: var(--tw-leading,
|
|
897
|
+
font-size: var(--ga-text-md-font-size);
|
|
898
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
818
899
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
819
900
|
.ga-menu__item {
|
|
820
901
|
position: relative;
|
|
@@ -924,8 +1005,8 @@
|
|
|
924
1005
|
overflow: hidden;
|
|
925
1006
|
text-overflow: ellipsis;
|
|
926
1007
|
white-space: nowrap;
|
|
927
|
-
font-size: var(--ga-
|
|
928
|
-
line-height: var(--tw-leading,
|
|
1008
|
+
font-size: var(--ga-text-md-font-size);
|
|
1009
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
929
1010
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
930
1011
|
--tw-font-weight: 500;
|
|
931
1012
|
font-weight: 500;
|
|
@@ -939,16 +1020,16 @@
|
|
|
939
1020
|
border-color: var(--ga-color-border-disabled);
|
|
940
1021
|
background-color: #fff;
|
|
941
1022
|
padding-inline: calc(0.25rem * 1);
|
|
942
|
-
font-size: var(--ga-
|
|
943
|
-
line-height: var(--tw-leading,
|
|
1023
|
+
font-size: var(--ga-text-xs-font-size);
|
|
1024
|
+
line-height: var(--tw-leading, var(--ga-text-xs-line-height));
|
|
944
1025
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
|
|
945
1026
|
--tw-font-weight: 500;
|
|
946
1027
|
font-weight: 500;
|
|
947
1028
|
color: var(--ga-color-text-body);
|
|
948
1029
|
}
|
|
949
1030
|
.ga-menu__item-description {
|
|
950
|
-
font-size: var(--ga-
|
|
951
|
-
line-height: var(--tw-leading,
|
|
1031
|
+
font-size: var(--ga-text-xs-font-size);
|
|
1032
|
+
line-height: var(--tw-leading, var(--ga-text-xs-line-height));
|
|
952
1033
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * 0.005));
|
|
953
1034
|
color: var(--ga-color-text-disable-selected);
|
|
954
1035
|
}
|
|
@@ -962,8 +1043,8 @@
|
|
|
962
1043
|
padding-inline: calc(0.25rem * 3);
|
|
963
1044
|
padding-top: calc(0.25rem * 3);
|
|
964
1045
|
padding-bottom: calc(0.25rem * 2);
|
|
965
|
-
font-size: var(--ga-
|
|
966
|
-
line-height: var(--tw-leading,
|
|
1046
|
+
font-size: var(--ga-text-sm-font-size);
|
|
1047
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
967
1048
|
letter-spacing: var(--tw-tracking, 0);
|
|
968
1049
|
--tw-font-weight: 600;
|
|
969
1050
|
font-weight: 600;
|
|
@@ -1060,8 +1141,8 @@
|
|
|
1060
1141
|
}
|
|
1061
1142
|
.ga-radio-button__label {
|
|
1062
1143
|
min-height: calc(0.25rem * 4);
|
|
1063
|
-
font-size: var(--ga-
|
|
1064
|
-
line-height: var(--tw-leading,
|
|
1144
|
+
font-size: var(--ga-text-md-font-size);
|
|
1145
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1065
1146
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1066
1147
|
--tw-leading: calc(0.25rem * 4);
|
|
1067
1148
|
line-height: calc(0.25rem * 4);
|
|
@@ -1072,64 +1153,54 @@
|
|
|
1072
1153
|
}
|
|
1073
1154
|
.ga-segmented-control {
|
|
1074
1155
|
display: inline-flex;
|
|
1075
|
-
height: calc(0.25rem * 10);
|
|
1076
1156
|
align-items: center;
|
|
1077
1157
|
justify-content: center;
|
|
1158
|
+
gap: calc(0.25rem * 1);
|
|
1159
|
+
border-radius: var(--ga-radius);
|
|
1160
|
+
border-style: var(--tw-border-style);
|
|
1161
|
+
border-width: 1px;
|
|
1162
|
+
border-color: var(--ga-color-border-primary);
|
|
1163
|
+
padding: calc(0.25rem * 0.5);
|
|
1078
1164
|
vertical-align: middle;
|
|
1079
|
-
font-size: var(--ga-
|
|
1080
|
-
line-height: var(--tw-leading,
|
|
1165
|
+
font-size: var(--ga-text-md-font-size);
|
|
1166
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1081
1167
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1082
1168
|
.ga-segmented-control__button {
|
|
1083
1169
|
display: inline-flex;
|
|
1084
|
-
height: calc(0.25rem *
|
|
1170
|
+
height: calc(0.25rem * 9);
|
|
1171
|
+
cursor: pointer;
|
|
1085
1172
|
align-items: center;
|
|
1086
1173
|
justify-content: center;
|
|
1087
1174
|
gap: calc(0.25rem * 2);
|
|
1088
|
-
border-
|
|
1089
|
-
border-
|
|
1090
|
-
border-
|
|
1091
|
-
border-
|
|
1092
|
-
|
|
1093
|
-
border-left-width: 1px;
|
|
1094
|
-
border-color: var(--ga-color-neutral-30);
|
|
1095
|
-
background-color: #fff;
|
|
1175
|
+
border-radius: var(--ga-radius);
|
|
1176
|
+
border-style: var(--tw-border-style);
|
|
1177
|
+
border-width: 1px;
|
|
1178
|
+
border-color: transparent;
|
|
1179
|
+
background-color: var(--ga-color-surface-primary);
|
|
1096
1180
|
padding-inline: calc(0.25rem * 4);
|
|
1097
1181
|
vertical-align: middle;
|
|
1098
1182
|
--tw-leading: calc(0.25rem * 1);
|
|
1099
1183
|
line-height: calc(0.25rem * 1);
|
|
1100
|
-
--
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
&:first-of-type {
|
|
1104
|
-
border-top-left-radius: var(--ga-radius);
|
|
1105
|
-
border-bottom-left-radius: var(--ga-radius);
|
|
1184
|
+
color: var(--ga-color-text-action);
|
|
1185
|
+
&.ga-segmented-control__button--selected, &:hover {
|
|
1186
|
+
border-color: var(--ga-color-border-action);
|
|
1106
1187
|
}
|
|
1107
|
-
&:
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
border-right-style: var(--tw-border-style);
|
|
1111
|
-
border-right-width: 1px;
|
|
1188
|
+
&:hover {
|
|
1189
|
+
background-color: var(--ga-color-surface-action-hover-2);
|
|
1190
|
+
color: var(--ga-color-text-action-hover);
|
|
1112
1191
|
}
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
color: var(--ga-color-
|
|
1192
|
+
&:focus-visible {
|
|
1193
|
+
outline-style: var(--tw-outline-style);
|
|
1194
|
+
outline-width: 2px;
|
|
1195
|
+
outline-offset: 2px;
|
|
1196
|
+
outline-color: var(--ga-color-border-focus);
|
|
1118
1197
|
}
|
|
1119
|
-
|
|
1120
|
-
|
|
1198
|
+
&.ga-segmented-control__button--icon-only {
|
|
1199
|
+
padding-inline: 0.5625rem;
|
|
1121
1200
|
&:hover {
|
|
1122
|
-
|
|
1123
|
-
}
|
|
1124
|
-
&:active {
|
|
1125
|
-
background-color: #fff;
|
|
1201
|
+
color: var(--ga-color-icon-action-hover);
|
|
1126
1202
|
}
|
|
1127
1203
|
}
|
|
1128
|
-
&.ga-segmented-control__button--disabled, &:disabled {
|
|
1129
|
-
border-color: var(--ga-color-neutral-30);
|
|
1130
|
-
background-color: var(--ga-color-neutral-10);
|
|
1131
|
-
color: var(--ga-color-grey-40);
|
|
1132
|
-
}
|
|
1133
1204
|
}
|
|
1134
1205
|
}
|
|
1135
1206
|
.ga-native-select {
|
|
@@ -1145,8 +1216,8 @@
|
|
|
1145
1216
|
padding-block: calc(0.25rem * 2);
|
|
1146
1217
|
padding-right: calc(0.25rem * 9);
|
|
1147
1218
|
padding-left: calc(0.25rem * 3);
|
|
1148
|
-
font-size: var(--ga-
|
|
1149
|
-
line-height: var(--tw-leading,
|
|
1219
|
+
font-size: var(--ga-text-md-font-size);
|
|
1220
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1150
1221
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1151
1222
|
--tw-leading: 1;
|
|
1152
1223
|
line-height: 1;
|
|
@@ -1176,8 +1247,8 @@
|
|
|
1176
1247
|
padding-inline: calc(0.25rem * 3);
|
|
1177
1248
|
padding-block: calc(0.25rem * 2);
|
|
1178
1249
|
text-align: left;
|
|
1179
|
-
font-size: var(--ga-
|
|
1180
|
-
line-height: var(--tw-leading,
|
|
1250
|
+
font-size: var(--ga-text-md-font-size);
|
|
1251
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1181
1252
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1182
1253
|
--tw-leading: 1;
|
|
1183
1254
|
line-height: 1;
|
|
@@ -1242,6 +1313,117 @@
|
|
|
1242
1313
|
}
|
|
1243
1314
|
}
|
|
1244
1315
|
}
|
|
1316
|
+
.ga-switch {
|
|
1317
|
+
position: relative;
|
|
1318
|
+
display: inline-flex;
|
|
1319
|
+
align-items: center;
|
|
1320
|
+
gap: calc(0.25rem * 3);
|
|
1321
|
+
.ga-switch__marker {
|
|
1322
|
+
pointer-events: none;
|
|
1323
|
+
position: absolute;
|
|
1324
|
+
top: calc(0.25rem * 0);
|
|
1325
|
+
left: calc(0.25rem * 0);
|
|
1326
|
+
display: inline-block;
|
|
1327
|
+
height: calc(0.25rem * 6);
|
|
1328
|
+
width: calc(0.25rem * 12);
|
|
1329
|
+
border-radius: calc(infinity * 1px);
|
|
1330
|
+
border-style: var(--tw-border-style);
|
|
1331
|
+
border-width: 1px;
|
|
1332
|
+
border-color: var(--ga-color-border-action);
|
|
1333
|
+
background-color: var(--ga-color-surface-primary);
|
|
1334
|
+
}
|
|
1335
|
+
.ga-switch__check-icon {
|
|
1336
|
+
position: absolute;
|
|
1337
|
+
top: calc(0.25rem * 0.75);
|
|
1338
|
+
left: calc(0.25rem * 1.5);
|
|
1339
|
+
color: var(--ga-color-icon-on-primary);
|
|
1340
|
+
opacity: 0%;
|
|
1341
|
+
transition-property: opacity;
|
|
1342
|
+
transition-timing-function: var(--tw-ease, ease);
|
|
1343
|
+
transition-duration: var(--tw-duration, 0s);
|
|
1344
|
+
--tw-duration: 300ms;
|
|
1345
|
+
transition-duration: 300ms;
|
|
1346
|
+
}
|
|
1347
|
+
.ga-switch__slider {
|
|
1348
|
+
pointer-events: none;
|
|
1349
|
+
position: absolute;
|
|
1350
|
+
top: calc(0.25rem * 0.75);
|
|
1351
|
+
left: calc(0.25rem * 0.75);
|
|
1352
|
+
display: inline-block;
|
|
1353
|
+
height: calc(0.25rem * 4);
|
|
1354
|
+
width: calc(0.25rem * 4);
|
|
1355
|
+
border-radius: calc(infinity * 1px);
|
|
1356
|
+
background-color: var(--ga-color-surface-action);
|
|
1357
|
+
transition-property: transform, translate, scale, rotate;
|
|
1358
|
+
transition-timing-function: var(--tw-ease, ease);
|
|
1359
|
+
transition-duration: var(--tw-duration, 0s);
|
|
1360
|
+
--tw-duration: 300ms;
|
|
1361
|
+
transition-duration: 300ms;
|
|
1362
|
+
}
|
|
1363
|
+
.ga-switch__label {
|
|
1364
|
+
-webkit-user-select: none;
|
|
1365
|
+
user-select: none;
|
|
1366
|
+
}
|
|
1367
|
+
input {
|
|
1368
|
+
display: inline-block;
|
|
1369
|
+
height: calc(0.25rem * 6);
|
|
1370
|
+
width: calc(0.25rem * 12);
|
|
1371
|
+
cursor: pointer;
|
|
1372
|
+
border-radius: calc(infinity * 1px);
|
|
1373
|
+
opacity: 0%;
|
|
1374
|
+
&:hover ~ .ga-switch__marker {
|
|
1375
|
+
background-color: var(--ga-color-surface-action-hover-2);
|
|
1376
|
+
.ga-switch__slider {
|
|
1377
|
+
background-color: var(--ga-color-surface-action-hover);
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1380
|
+
&:checked {
|
|
1381
|
+
~ .ga-switch__marker {
|
|
1382
|
+
border-color: var(--ga-color-border-action);
|
|
1383
|
+
background-color: var(--ga-color-surface-action);
|
|
1384
|
+
.ga-switch__slider {
|
|
1385
|
+
--tw-translate-x: calc(0.25rem * 6);
|
|
1386
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1387
|
+
background-color: var(--ga-color-surface-primary);
|
|
1388
|
+
}
|
|
1389
|
+
.ga-switch__check-icon {
|
|
1390
|
+
opacity: 100%;
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
&:hover:not(:disabled) ~ .ga-switch__marker {
|
|
1394
|
+
background-color: var(--ga-color-surface-action-hover);
|
|
1395
|
+
.ga-switch__slider {
|
|
1396
|
+
background-color: var(--ga-color-surface-action-hover-2);
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
&:focus-visible ~ .ga-switch__marker {
|
|
1401
|
+
outline-style: var(--tw-outline-style);
|
|
1402
|
+
outline-width: 2px;
|
|
1403
|
+
outline-offset: 2px;
|
|
1404
|
+
outline-color: var(--ga-color-border-focus);
|
|
1405
|
+
}
|
|
1406
|
+
&:disabled {
|
|
1407
|
+
cursor: not-allowed;
|
|
1408
|
+
~ .ga-switch__marker {
|
|
1409
|
+
border-color: var(--ga-color-border-disabled);
|
|
1410
|
+
background-color: var(--ga-color-surface-disabled);
|
|
1411
|
+
.ga-switch__check-icon {
|
|
1412
|
+
color: var(--ga-color-icon-on-disabled);
|
|
1413
|
+
}
|
|
1414
|
+
.ga-switch__slider {
|
|
1415
|
+
background-color: var(--ga-color-icon-on-disabled);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
&.ga-switch--invalid input ~ .ga-switch__marker {
|
|
1421
|
+
outline-style: var(--tw-outline-style);
|
|
1422
|
+
outline-width: 2px;
|
|
1423
|
+
outline-offset: 2px;
|
|
1424
|
+
outline-color: var(--ga-color-border-error);
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1245
1427
|
.ga-tag {
|
|
1246
1428
|
box-sizing: content-box;
|
|
1247
1429
|
display: inline-flex;
|
|
@@ -1255,8 +1437,8 @@
|
|
|
1255
1437
|
border-color: var(--ga-color-border-action);
|
|
1256
1438
|
padding-right: calc(0.25rem * 1);
|
|
1257
1439
|
padding-left: calc(0.25rem * 2);
|
|
1258
|
-
font-size: var(--ga-
|
|
1259
|
-
line-height: var(--tw-leading,
|
|
1440
|
+
font-size: var(--ga-text-sm-font-size);
|
|
1441
|
+
line-height: var(--tw-leading, var(--ga-text-sm-line-height));
|
|
1260
1442
|
letter-spacing: var(--tw-tracking, 0);
|
|
1261
1443
|
&:focus-visible {
|
|
1262
1444
|
outline-style: var(--tw-outline-style);
|
|
@@ -1427,8 +1609,8 @@
|
|
|
1427
1609
|
border-width: 1px;
|
|
1428
1610
|
border-color: var(--ga-color-border-primary);
|
|
1429
1611
|
background-color: var(--ga-color-bg-primary);
|
|
1430
|
-
font-size: var(--ga-
|
|
1431
|
-
line-height: var(--tw-leading,
|
|
1612
|
+
font-size: var(--ga-text-md-font-size);
|
|
1613
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1432
1614
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1433
1615
|
&:has(textarea:hover) {
|
|
1434
1616
|
border-color: var(--ga-color-border-action-hover);
|
|
@@ -1470,8 +1652,8 @@
|
|
|
1470
1652
|
border-radius: var(--ga-radius);
|
|
1471
1653
|
background-color: var(--ga-color-surface-action-hover);
|
|
1472
1654
|
padding: calc(0.25rem * 2);
|
|
1473
|
-
font-size: var(--ga-
|
|
1474
|
-
line-height: var(--tw-leading,
|
|
1655
|
+
font-size: var(--ga-text-md-font-size);
|
|
1656
|
+
line-height: var(--tw-leading, var(--ga-text-md-line-height));
|
|
1475
1657
|
letter-spacing: var(--tw-tracking, calc(var(--spacing) * 4 * -0.006));
|
|
1476
1658
|
color: var(--ga-color-text-on-action);
|
|
1477
1659
|
&.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 {
|
|
@@ -1583,6 +1765,11 @@
|
|
|
1583
1765
|
syntax: "*";
|
|
1584
1766
|
inherits: false;
|
|
1585
1767
|
}
|
|
1768
|
+
@property --tw-shadow-alpha {
|
|
1769
|
+
syntax: "<percentage>";
|
|
1770
|
+
inherits: false;
|
|
1771
|
+
initial-value: 100%;
|
|
1772
|
+
}
|
|
1586
1773
|
@property --tw-inset-shadow {
|
|
1587
1774
|
syntax: "*";
|
|
1588
1775
|
inherits: false;
|
|
@@ -1592,6 +1779,11 @@
|
|
|
1592
1779
|
syntax: "*";
|
|
1593
1780
|
inherits: false;
|
|
1594
1781
|
}
|
|
1782
|
+
@property --tw-inset-shadow-alpha {
|
|
1783
|
+
syntax: "<percentage>";
|
|
1784
|
+
inherits: false;
|
|
1785
|
+
initial-value: 100%;
|
|
1786
|
+
}
|
|
1595
1787
|
@property --tw-ring-color {
|
|
1596
1788
|
syntax: "*";
|
|
1597
1789
|
inherits: false;
|
|
@@ -1654,3 +1846,7 @@
|
|
|
1654
1846
|
inherits: false;
|
|
1655
1847
|
initial-value: 0;
|
|
1656
1848
|
}
|
|
1849
|
+
@property --tw-duration {
|
|
1850
|
+
syntax: "*";
|
|
1851
|
+
inherits: false;
|
|
1852
|
+
}
|