figma-kit 1.0.0-beta.25 → 1.0.0-beta.27

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/dist/tailwind.css CHANGED
@@ -1,3 +1,2328 @@
1
+ @layer components {
2
+ :root {
3
+ --font-family-default: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans,
4
+ sans-serif, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif,
5
+ SFProLocalRange;
6
+ --font-family-monospace: 'Roboto Mono', monospace;
7
+ }
8
+ }
9
+ @layer components {
10
+ :root {
11
+ --space-0: 0rem;
12
+ --space-px: 0.0625rem;
13
+ --space-0_5: 0.125rem;
14
+ --space-1: 0.25rem;
15
+ --space-1_5: 0.375rem;
16
+ --space-2: 0.5rem;
17
+ --space-2_5: 0.625rem;
18
+ --space-3: 0.75rem;
19
+ --space-3_5: 0.875rem;
20
+ --space-4: 1rem;
21
+ --space-5: 1.25rem;
22
+ --space-6: 1.5rem;
23
+ --space-7: 1.75rem;
24
+ --space-8: 2rem;
25
+ --space-9: 2.25rem;
26
+ --space-10: 2.5rem;
27
+ --space-11: 2.75rem;
28
+ --space-12: 3rem;
29
+ --space-13: 3.25rem;
30
+ --space-14: 3.5rem;
31
+ --space-15: 3.75rem;
32
+ --space-16: 4rem;
33
+ }
34
+ }
35
+ @layer components {
36
+ :root {
37
+ --radius-extra-small: 0.0625rem;
38
+ --radius-small: 0.125rem;
39
+ --radius-medium: 0.3125rem;
40
+ --radius-large: 0.8125rem;
41
+ --radius-full: 9999px;
42
+ --radius-default: var(--radius-small);
43
+ }
44
+ }
45
+ @layer components {
46
+ :root {
47
+ --font-size-1: 0.5625rem;
48
+ --font-size-2: 0.625rem;
49
+ --font-size-3: 0.6875rem;
50
+ --font-size-4: 0.75rem;
51
+ --font-size-5: 0.8125rem;
52
+ --font-size-6: 0.875rem;
53
+ --font-size-7: 0.9375rem;
54
+ --font-size-8: 1rem;
55
+ --font-size-9: 1.25rem;
56
+ --font-size-10: 1.5rem;
57
+ --font-size-default: var(--font-size-3);
58
+ }
59
+ }
60
+ @layer components {
61
+ :root {
62
+ --font-weight-default: 450;
63
+ --font-weight-strong: 550;
64
+ }
65
+ }
66
+ @layer components {
67
+ :root {
68
+ --line-height-1: 0.875rem;
69
+ --line-height-2: 0.875rem;
70
+ --line-height-3: 1rem;
71
+ --line-height-4: 1rem;
72
+ --line-height-5: 1.375rem;
73
+ --line-height-6: 1.5rem;
74
+ --line-height-7: 1.5625rem;
75
+ --line-height-8: 1.5625rem;
76
+ --line-height-9: 2rem;
77
+ --line-height-10: 2rem;
78
+ --line-height-default: var(--line-height-3);
79
+ }
80
+ }
81
+ @layer components {
82
+ :root {
83
+ --letter-spacing-1: 0.00281rem;
84
+ --letter-spacing-2: 0.00625rem;
85
+ --letter-spacing-3: 0.00344rem;
86
+ --letter-spacing-4: 0;
87
+ --letter-spacing-5: -0.002rem;
88
+ --letter-spacing-6: -0.00525rem;
89
+ --letter-spacing-7: -0.00469rem;
90
+ --letter-spacing-8: -0.011rem;
91
+ --letter-spacing-9: -0.013812rem;
92
+ --letter-spacing-10: -0.0255rem;
93
+ --letter-spacing-default: var(--letter-spacing-3);
94
+ }
95
+ }
96
+ @layer components {
97
+
98
+
99
+ :root,
100
+ .light,
101
+ .light-theme {
102
+ --elevation-100: 0px 0px 0.5px rgba(0, 0, 0, 0.3), 0px 1px 3px rgba(0, 0, 0, 0.15);
103
+ --elevation-200: 0px 0px 0.5px rgba(0, 0, 0, 0.18), 0px 3px 8px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
104
+ --elevation-300: 0px 0px 0.5px rgba(0, 0, 0, 0.15), 0px 5px 12px rgba(0, 0, 0, 0.13), 0px 1px 3px rgba(0, 0, 0, 0.1);
105
+ --elevation-400: 0px 0px 0.5px rgba(0, 0, 0, 0.12), 0px 10px 16px rgba(0, 0, 0, 0.12), 0px 2px 5px rgba(0, 0, 0, 0.15);
106
+ --elevation-500: 0px 0px 0.5px rgba(0, 0, 0, 0.08), 0px 10px 24px rgba(0, 0, 0, 0.18), 0px 2px 5px rgba(0, 0, 0, 0.15);
107
+ }
108
+
109
+
110
+ .figma-dark {
111
+ --elevation-100: 0px 0px 0.5px rgba(0, 0, 0, 0.5), 0px 1px 3px rgba(0, 0, 0, 0.4),
112
+ inset 0px 0.5px 0px rgba(255, 255, 255, 0.1), inset 0px 0px 0.5px rgba(255, 255, 255, 0.3);
113
+
114
+ --elevation-200: 0px 3px 8px rgba(0, 0, 0, 0.35), 0px 1px 3px rgba(0, 0, 0, 0.5),
115
+ inset 0px 0.5px 0px rgba(255, 255, 255, 0.08), inset 0px 0px 0.5px rgba(255, 255, 255, 0.3);
116
+
117
+ --elevation-300: 0px 5px 12px rgba(0, 0, 0, 0.35), 0px 1px 3px rgba(0, 0, 0, 0.5),
118
+ inset 0px 0.5px 0px rgba(255, 255, 255, 0.08), inset 0px 0px 0.5px rgba(255, 255, 255, 0.3);
119
+
120
+ --elevation-400: 0px 10px 16px rgba(0, 0, 0, 0.35), 0px 2px 5px rgba(0, 0, 0, 0.35),
121
+ inset 0px 0.5px 0px rgba(255, 255, 255, 0.08), inset 0px 0px 0.5px rgba(255, 255, 255, 0.35);
122
+
123
+ --elevation-500: 0px 10px 24px rgba(0, 0, 0, 0.45), 0px 3px 5px rgba(0, 0, 0, 0.35),
124
+ inset 0px 0.5px 0px rgba(255, 255, 255, 0.08), inset 0px 0px 0.5px rgba(255, 255, 255, 0.35);
125
+ }
126
+ }
127
+ @layer components {
128
+ :root {
129
+ --color-bg-menu: #1e1e1e;
130
+ --color-bg-menu-hover: #2c2c2c;
131
+ --color-bg-menu-selected: var(--figma-color-bg-selected-strong);
132
+ --color-border-menu: #383838;
133
+ --color-text-menu: var(--figma-color-text-oncomponent);
134
+ --color-text-menu-secondary: var(--figma-color-text-oncomponent-secondary);
135
+ --color-text-menu-tertiary: var(--figma-color-text-oncomponent-tertiary);
136
+ --color-icon-menu: var(--figma-color-icon-oncomponent);
137
+ --shadow-menu: var(--elevation-400);
138
+ --font-size-menu: var(--font-size-3);
139
+
140
+ --color-bg-tooltip: #1e1e1e;
141
+ --color-text-tooltip: #fff;
142
+ --shadow-tooltip: var(--elevation-300);
143
+
144
+ --color-overlay-dialog: #00000080;
145
+
146
+ /* Aliased for brevity when using in icon attributes */
147
+ --color-icon: var(--figma-color-icon);
148
+ --color-icon-secondary: var(--figma-color-icon-secondary);
149
+ --color-icon-tertiary: var(--figma-color-icon-tertiary);
150
+ }
151
+ }
152
+ @layer components {
153
+
154
+ .fp-Flex {
155
+ display: flex;
156
+ }
157
+
158
+ .fp-Flex:where(.fp-direction-row) {
159
+ flex-direction: row;
160
+ }
161
+ .fp-Flex:where(.fp-direction-column) {
162
+ flex-direction: column;
163
+ }
164
+ .fp-Flex:where(.fp-direction-row-reverse) {
165
+ flex-direction: row-reverse;
166
+ }
167
+ .fp-Flex:where(.fp-direction-column-reverse) {
168
+ flex-direction: column-reverse;
169
+ }
170
+
171
+ .fp-Flex:where(.fp-align-start) {
172
+ align-items: flex-start;
173
+ }
174
+ .fp-Flex:where(.fp-align-center) {
175
+ align-items: center;
176
+ }
177
+ .fp-Flex:where(.fp-align-end) {
178
+ align-items: flex-end;
179
+ }
180
+ .fp-Flex:where(.fp-align-baseline) {
181
+ align-items: baseline;
182
+ }
183
+ .fp-Flex:where(.fp-align-stretch) {
184
+ align-items: stretch;
185
+ }
186
+
187
+ /* Justify Classes */
188
+ .fp-Flex:where(.fp-justify-start) {
189
+ justify-content: flex-start;
190
+ }
191
+ .fp-Flex:where(.fp-justify-center) {
192
+ justify-content: center;
193
+ }
194
+ .fp-Flex:where(.fp-justify-end) {
195
+ justify-content: flex-end;
196
+ }
197
+ .fp-Flex:where(.fp-justify-between) {
198
+ justify-content: space-between;
199
+ }
200
+
201
+ .fp-Flex:where(.fp-wrap-nowrap) {
202
+ flex-wrap: nowrap;
203
+ }
204
+ .fp-Flex:where(.fp-wrap-wrap) {
205
+ flex-wrap: wrap;
206
+ }
207
+ .fp-Flex:where(.fp-wrap-wrap-reverse) {
208
+ flex-wrap: wrap-reverse;
209
+ }
210
+
211
+ .fp-Flex:where(.fp-gap-0) {
212
+ gap: var(--space-0);
213
+ }
214
+ .fp-Flex:where(.fp-gap-px) {
215
+ gap: var(--space-px);
216
+ }
217
+ .fp-Flex:where(.fp-gap-0_5) {
218
+ gap: var(--space-0_5);
219
+ }
220
+ .fp-Flex:where(.fp-gap-1) {
221
+ gap: var(--space-1);
222
+ }
223
+ .fp-Flex:where(.fp-gap-1_5) {
224
+ gap: var(--space-1_5);
225
+ }
226
+ .fp-Flex:where(.fp-gap-2) {
227
+ gap: var(--space-2);
228
+ }
229
+ .fp-Flex:where(.fp-gap-2_5) {
230
+ gap: var(--space-2_5);
231
+ }
232
+ .fp-Flex:where(.fp-gap-3) {
233
+ gap: var(--space-3);
234
+ }
235
+ .fp-Flex:where(.fp-gap-3_5) {
236
+ gap: var(--space-3_5);
237
+ }
238
+ .fp-Flex:where(.fp-gap-4) {
239
+ gap: var(--space-4);
240
+ }
241
+ .fp-Flex:where(.fp-gap-5) {
242
+ gap: var(--space-5);
243
+ }
244
+ .fp-Flex:where(.fp-gap-6) {
245
+ gap: var(--space-6);
246
+ }
247
+ .fp-Flex:where(.fp-gap-7) {
248
+ gap: var(--space-7);
249
+ }
250
+ .fp-Flex:where(.fp-gap-8) {
251
+ gap: var(--space-8);
252
+ }
253
+ .fp-Flex:where(.fp-gap-9) {
254
+ gap: var(--space-9);
255
+ }
256
+ .fp-Flex:where(.fp-gap-10) {
257
+ gap: var(--space-10);
258
+ }
259
+ .fp-Flex:where(.fp-gap-11) {
260
+ gap: var(--space-11);
261
+ }
262
+ .fp-Flex:where(.fp-gap-12) {
263
+ gap: var(--space-12);
264
+ }
265
+ .fp-Flex:where(.fp-gap-13) {
266
+ gap: var(--space-13);
267
+ }
268
+ .fp-Flex:where(.fp-gap-14) {
269
+ gap: var(--space-14);
270
+ }
271
+ .fp-Flex:where(.fp-gap-15) {
272
+ gap: var(--space-15);
273
+ }
274
+ .fp-Flex:where(.fp-gap-16) {
275
+ gap: var(--space-16);
276
+ }
277
+
278
+ /* Row Gap Classes */
279
+ .fp-Flex:where(.fp-rowGap-0) {
280
+ row-gap: var(--space-0);
281
+ }
282
+ .fp-Flex:where(.fp-rowGap-px) {
283
+ row-gap: var(--space-px);
284
+ }
285
+ .fp-Flex:where(.fp-rowGap-0_5) {
286
+ row-gap: var(--space-0_5);
287
+ }
288
+ .fp-Flex:where(.fp-rowGap-1) {
289
+ row-gap: var(--space-1);
290
+ }
291
+ .fp-Flex:where(.fp-rowGap-1_5) {
292
+ row-gap: var(--space-1_5);
293
+ }
294
+ .fp-Flex:where(.fp-rowGap-2) {
295
+ row-gap: var(--space-2);
296
+ }
297
+ .fp-Flex:where(.fp-rowGap-2_5) {
298
+ row-gap: var(--space-2_5);
299
+ }
300
+ .fp-Flex:where(.fp-rowGap-3) {
301
+ row-gap: var(--space-3);
302
+ }
303
+ .fp-Flex:where(.fp-rowGap-3_5) {
304
+ row-gap: var(--space-3_5);
305
+ }
306
+ .fp-Flex:where(.fp-rowGap-4) {
307
+ row-gap: var(--space-4);
308
+ }
309
+ .fp-Flex:where(.fp-rowGap-5) {
310
+ row-gap: var(--space-5);
311
+ }
312
+ .fp-Flex:where(.fp-rowGap-6) {
313
+ row-gap: var(--space-6);
314
+ }
315
+ .fp-Flex:where(.fp-rowGap-7) {
316
+ row-gap: var(--space-7);
317
+ }
318
+ .fp-Flex:where(.fp-rowGap-8) {
319
+ row-gap: var(--space-8);
320
+ }
321
+ .fp-Flex:where(.fp-rowGap-9) {
322
+ row-gap: var(--space-9);
323
+ }
324
+ .fp-Flex:where(.fp-rowGap-10) {
325
+ row-gap: var(--space-10);
326
+ }
327
+ .fp-Flex:where(.fp-rowGap-11) {
328
+ row-gap: var(--space-11);
329
+ }
330
+ .fp-Flex:where(.fp-rowGap-12) {
331
+ row-gap: var(--space-12);
332
+ }
333
+ .fp-Flex:where(.fp-rowGap-13) {
334
+ row-gap: var(--space-13);
335
+ }
336
+ .fp-Flex:where(.fp-rowGap-14) {
337
+ row-gap: var(--space-14);
338
+ }
339
+ .fp-Flex:where(.fp-rowGap-15) {
340
+ row-gap: var(--space-15);
341
+ }
342
+ .fp-Flex:where(.fp-rowGap-16) {
343
+ row-gap: var(--space-16);
344
+ }
345
+
346
+ .fp-Flex:where(.fp-columnGap-0) {
347
+ column-gap: var(--space-0);
348
+ }
349
+ .fp-Flex:where(.fp-columnGap-px) {
350
+ column-gap: var(--space-px);
351
+ }
352
+ .fp-Flex:where(.fp-columnGap-0_5) {
353
+ column-gap: var(--space-0_5);
354
+ }
355
+ .fp-Flex:where(.fp-columnGap-1) {
356
+ column-gap: var(--space-1);
357
+ }
358
+ .fp-Flex:where(.fp-columnGap-1_5) {
359
+ column-gap: var(--space-1_5);
360
+ }
361
+ .fp-Flex:where(.fp-columnGap-2) {
362
+ column-gap: var(--space-2);
363
+ }
364
+ .fp-Flex:where(.fp-columnGap-2_5) {
365
+ column-gap: var(--space-2_5);
366
+ }
367
+ .fp-Flex:where(.fp-columnGap-3) {
368
+ column-gap: var(--space-3);
369
+ }
370
+ .fp-Flex:where(.fp-columnGap-3_5) {
371
+ column-gap: var(--space-3_5);
372
+ }
373
+ .fp-Flex:where(.fp-columnGap-4) {
374
+ column-gap: var(--space-4);
375
+ }
376
+ .fp-Flex:where(.fp-columnGap-5) {
377
+ column-gap: var(--space-5);
378
+ }
379
+ .fp-Flex:where(.fp-columnGap-6) {
380
+ column-gap: var(--space-6);
381
+ }
382
+ .fp-Flex:where(.fp-columnGap-7) {
383
+ column-gap: var(--space-7);
384
+ }
385
+ .fp-Flex:where(.fp-columnGap-8) {
386
+ column-gap: var(--space-8);
387
+ }
388
+ .fp-Flex:where(.fp-columnGap-9) {
389
+ column-gap: var(--space-9);
390
+ }
391
+ .fp-Flex:where(.fp-columnGap-10) {
392
+ column-gap: var(--space-10);
393
+ }
394
+ .fp-Flex:where(.fp-columnGap-11) {
395
+ column-gap: var(--space-11);
396
+ }
397
+ .fp-Flex:where(.fp-columnGap-12) {
398
+ column-gap: var(--space-12);
399
+ }
400
+ .fp-Flex:where(.fp-columnGap-13) {
401
+ column-gap: var(--space-13);
402
+ }
403
+ .fp-Flex:where(.fp-columnGap-14) {
404
+ column-gap: var(--space-14);
405
+ }
406
+ .fp-Flex:where(.fp-columnGap-15) {
407
+ column-gap: var(--space-15);
408
+ }
409
+ .fp-Flex:where(.fp-columnGap-16) {
410
+ column-gap: var(--space-16);
411
+ }
412
+ }
413
+ @layer components {
414
+
415
+ .fp-Text {
416
+ margin: 0;
417
+ font-family: var(--font-family-default);
418
+ color: var(--figma-color-text);
419
+ font-size: var(--font-size, var(--font-size-default));
420
+ line-height: var(--line-height, var(--line-height-3));
421
+ letter-spacing: var(--letter-spacing, var(--letter-spacing-3));
422
+ font-weight: var(--font-weight, var(--font-weight-default));
423
+
424
+ /**
425
+ Use custom properties to avoid specificy issues when nesting Text.
426
+ Nested Text components inherit properties of the parent Text, unless customized.
427
+ At the same time, Text falls back to default values without requiring :root level styling. */
428
+ }
429
+ .fp-Text:where(.fp-size-small) {
430
+ --font-size: var(--font-size-1);
431
+ --line-height: var(--line-height-1);
432
+ --letter-spacing: var(--letter-spacing-1);
433
+ }
434
+
435
+ .fp-Text:where(.fp-size-medium) {
436
+ --font-size: var(--font-size-3);
437
+ --line-height: var(--line-height-3);
438
+ --letter-spacing: var(--letter-spacing-3);
439
+ }
440
+
441
+ .fp-Text:where(.fp-size-large) {
442
+ --font-size: var(--font-size-5);
443
+ --line-height: var(--line-height-5);
444
+ --letter-spacing: var(--letter-spacing-5);
445
+ }
446
+
447
+ .fp-Text:where(.fp-weight-default) {
448
+ --font-weight: var(--font-weight-default);
449
+ }
450
+
451
+ .fp-Text:where(.fp-weight-strong) {
452
+ --font-weight: var(--font-weight-strong);
453
+ }
454
+
455
+ .fp-Text:where(.fp-align-start) {
456
+ text-align: start;
457
+ }
458
+
459
+ .fp-Text:where(.fp-align-center) {
460
+ text-align: center;
461
+ }
462
+
463
+ .fp-Text:where(.fp-align-end) {
464
+ text-align: end;
465
+ }
466
+
467
+ .fp-Text:where(.fp-block) {
468
+ display: block;
469
+ }
470
+
471
+ .fp-Text strong {
472
+ font-weight: var(--font-weight-strong);
473
+ }
474
+
475
+ .fp-Text code {
476
+ font-family: var(--font-family-monospace);
477
+ font-size: var(--font-size-2);
478
+ background-color: var(--figma-color-bg-brand-tertiary);
479
+ padding: 0.05rem 0.15rem;
480
+ border-radius: var(--radius-extra-small);
481
+ }
482
+
483
+ .fp-Text mark {
484
+ background-color: var(--figma-color-bg-onselected);
485
+ }
486
+
487
+ .fp-Link {
488
+ color: var(--figma-color-text-brand);
489
+ text-decoration: none;
490
+ }
491
+
492
+ .fp-Link:focus-visible {
493
+ outline: 1px solid var(--figma-color-border-selected-strong);
494
+ }
495
+ }
496
+ @layer components {
497
+ .fp-Icon {
498
+ display: block;
499
+ flex-shrink: 0;
500
+ pointer-events: none;
501
+ }
502
+
503
+ .fp-Icon:where(.fp-size-1) {
504
+ width: var(--space-1);
505
+ }
506
+
507
+ .fp-Icon:where(.fp-size-2) {
508
+ width: var(--space-2);
509
+ }
510
+
511
+ .fp-Icon:where(.fp-size-2_5) {
512
+ width: var(--space-2_5);
513
+ }
514
+
515
+ .fp-Icon:where(.fp-size-3) {
516
+ width: var(--space-3);
517
+ }
518
+
519
+ .fp-Icon:where(.fp-size-3_5) {
520
+ width: var(--space-3_5);
521
+ }
522
+
523
+ .fp-Icon:where(.fp-size-4) {
524
+ width: var(--space-4);
525
+ }
526
+
527
+ .fp-Icon:where(.fp-size-5) {
528
+ width: var(--space-5);
529
+ }
530
+
531
+ .fp-Icon:where(.fp-size-6) {
532
+ width: var(--space-6);
533
+ }
534
+
535
+ .fp-Icon:where(.fp-size-7) {
536
+ width: var(--space-7);
537
+ }
538
+
539
+ .fp-Icon:where(.fp-size-8) {
540
+ width: var(--space-8);
541
+ }
542
+
543
+ .fp-Icon:where(.fp-size-9) {
544
+ width: var(--space-9);
545
+ }
546
+
547
+ .fp-Icon:where(.fp-size-10) {
548
+ width: var(--space-10);
549
+ }
550
+ }
551
+ @layer components {
552
+ .fp-Input {
553
+ all: unset;
554
+ box-sizing: border-box;
555
+ display: block;
556
+ width: 100%;
557
+ height: var(--space-6);
558
+ padding: var(--space-1) 0 var(--space-1) var(--space-2);
559
+ background-color: var(--figma-color-bg-secondary);
560
+ border-radius: var(--radius-medium);
561
+ font-family: var(--font-family-default);
562
+ font-size: var(--font-size-default);
563
+ font-weight: var(--font-weight-default);
564
+ letter-spacing: var(--letter-spacing-default);
565
+ line-height: var(--line-height-default);
566
+ color: var(--figma-color-text);
567
+ outline-width: 1px;
568
+ outline-style: solid;
569
+ outline-offset: -1px;
570
+ outline-color: transparent;
571
+ }
572
+
573
+ .fp-Input:hover:where(:not(:disabled, :focus)) {
574
+ outline-color: var(--figma-color-border);
575
+ }
576
+
577
+ .fp-Input:focus {
578
+ outline-color: var(--figma-color-border-selected);
579
+ }
580
+
581
+ .fp-Input:disabled {
582
+ background-color: var(--figma-color-bg);
583
+ outline-color: var(--figma-color-border-disabled);
584
+ color: var(--figma-color-text-disabled);
585
+ }
586
+
587
+ .fp-Input::placeholder {
588
+ color: var(--figma-color-text-tertiary);
589
+ }
590
+ }
591
+ @layer components {
592
+
593
+ .fp-ValueFieldRoot {
594
+ box-sizing: border-box;
595
+ display: flex;
596
+ position: relative;
597
+ align-items: center;
598
+ border-radius: var(--radius-medium);
599
+ padding: 0 1px;
600
+ background-color: var(--figma-color-bg-secondary);
601
+ font-family: var(--font-family-default);
602
+ font-size: var(--font-size-default);
603
+ font-weight: var(--font-weight-default);
604
+ letter-spacing: var(--letter-spacing-default);
605
+ line-height: var(--line-height-default);
606
+ outline-width: 1px;
607
+ outline-style: solid;
608
+ outline-offset: -1px;
609
+ outline-color: transparent;
610
+ }
611
+
612
+ .fp-ValueFieldRoot:hover:where(:not([data-disabled])) {
613
+ outline-color: var(--figma-color-border);
614
+ }
615
+
616
+ .fp-ValueFieldRoot:focus-within {
617
+ outline-color: var(--figma-color-border-selected);
618
+ }
619
+
620
+ .fp-ValueFieldRoot[data-disabled] {
621
+ background-color: var(--figma-color-bg);
622
+ outline-color: var(--figma-color-border-disabled);
623
+ color: var(--figma-color-text-disabled);
624
+ }
625
+
626
+ .fp-ValueFieldRoot .fp-ValueFieldBase {
627
+ cursor: default;
628
+ outline: 0;
629
+ }
630
+
631
+ .fp-ValueFieldScrubber {
632
+ display: flex;
633
+ align-items: center;
634
+ align-self: stretch;
635
+ flex-shrink: 0;
636
+ cursor: ew-resize;
637
+ color: var(--figma-color-text-secondary);
638
+ --color-icon: var(--figma-color-icon-secondary);
639
+ }
640
+
641
+ .fp-ValueFieldScrubber:empty {
642
+ position: absolute;
643
+ top: 0;
644
+ bottom: 0;
645
+ left: 0;
646
+ z-index: 1;
647
+ width: var(--space-1);
648
+ }
649
+
650
+ .fp-ValueFieldScrubber[data-disabled] {
651
+ cursor: default;
652
+ color: var(--figma-color-text-disabled);
653
+ --color-icon: var(--figma-color-icon-disabled);
654
+ }
655
+
656
+ .fp-ValueFieldScrubber:not(:empty) + .fp-ValueFieldBase {
657
+ padding-left: 0;
658
+ }
659
+
660
+ .fp-ValueFieldScrubber .fp-ValueFieldLabel:last-child {
661
+ width: var(--space-6);
662
+ }
663
+
664
+ .fp-ValueFieldScrubberCursor {
665
+ position: fixed;
666
+ top: 0;
667
+ left: 0;
668
+ z-index: 2147483647;
669
+ width: 26px;
670
+ height: 14px;
671
+ pointer-events: none;
672
+ color: var(--figma-color-text-oninverse);
673
+ filter: drop-shadow(0 1px 1px var(--figma-color-bg-inverse));
674
+ }
675
+
676
+ .fp-ValueFieldScrubberCursorIcon {
677
+ display: block;
678
+ width: 26px;
679
+ height: 14px;
680
+ fill: var(--figma-color-bg-inverse);
681
+ stroke: var(--figma-color-text-oninverse);
682
+ }
683
+
684
+ .fp-ValueFieldLabel {
685
+ display: flex;
686
+ align-items: center;
687
+ justify-content: center;
688
+ align-self: stretch;
689
+ flex-shrink: 0;
690
+ color: var(--figma-color-text-secondary);
691
+ --color-icon: var(--figma-color-icon-secondary);
692
+ height: var(--space-6);
693
+ width: var(--space-6);
694
+
695
+ /* Usually used for suffixes.
696
+ TODO: Replace with a variant. */
697
+ }
698
+ .fp-ValueFieldLabel:last-child {
699
+ width: var(--space-5);
700
+ }
701
+
702
+ .fp-ValueFieldLabel + .fp-ValueFieldBase {
703
+ padding-left: 0;
704
+ }
705
+
706
+ .fp-ValueFieldLabel[data-disabled] {
707
+ color: var(--figma-color-text-disabled);
708
+ --color-icon: var(--figma-color-icon-disabled);
709
+ }
710
+
711
+ .fp-ValueFieldMulti {
712
+ display: flex;
713
+ position: relative;
714
+ border-radius: var(--radius-medium);
715
+ box-sizing: border-box;
716
+ border: 1px solid transparent;
717
+ height: var(--space-6);
718
+ background-color: var(--figma-color-bg-secondary);
719
+ }
720
+
721
+ .fp-ValueFieldMulti::after {
722
+ content: '';
723
+ position: absolute;
724
+ inset: -1px;
725
+ border: 1px solid transparent;
726
+ border-radius: inherit;
727
+ outline-offset: -1px;
728
+ pointer-events: none;
729
+ }
730
+
731
+ .fp-ValueFieldMulti:hover:where(:not([data-disabled]))::after {
732
+ border-color: var(--figma-color-border);
733
+ }
734
+
735
+ .fp-ValueFieldMulti:focus-within::after {
736
+ outline: 1px solid var(--figma-color-border-selected);
737
+ }
738
+
739
+ .fp-ValueFieldMulti[data-disabled] {
740
+ background-color: var(--figma-color-bg);
741
+ }
742
+
743
+ .fp-ValueFieldMulti[data-disabled]::after {
744
+ border-color: var(--figma-color-border-disabled);
745
+ }
746
+
747
+ .fp-ValueFieldMulti .fp-ValueFieldRoot {
748
+ height: var(--space-6);
749
+ flex-grow: 1;
750
+ outline: 0;
751
+ border-radius: 0;
752
+ background-color: transparent;
753
+ margin-top: -1px;
754
+ }
755
+
756
+ .fp-ValueFieldMulti .fp-ValueFieldRoot:not(:first-child) {
757
+ border-left: 1px solid var(--figma-color-bg);
758
+ }
759
+
760
+ .fp-ValueFieldMulti .fp-ValueFieldRoot:first-child {
761
+ border-top-left-radius: var(--radius-medium);
762
+ border-bottom-left-radius: var(--radius-medium);
763
+ }
764
+
765
+ .fp-ValueFieldMulti .fp-ValueFieldRoot:last-child {
766
+ border-top-right-radius: var(--radius-medium);
767
+ border-bottom-right-radius: var(--radius-medium);
768
+ }
769
+
770
+ .fp-ValueFieldMulti .fp-ValueFieldBase {
771
+ background-color: transparent;
772
+ padding-left: calc(var(--space-2) - 1px);
773
+ }
774
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot):hover:where(:not([data-disabled]))::after {
775
+ border-color: transparent;
776
+ }
777
+
778
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot):focus-within::after {
779
+ outline: 0;
780
+ }
781
+
782
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot) > .fp-SliderRoot {
783
+ align-self: center;
784
+ margin-inline: 10px 11px;
785
+ }
786
+
787
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot) > .fp-ValueFieldRoot {
788
+ flex: 0 0 var(--space-14);
789
+ outline: 1px solid transparent;
790
+ outline-offset: -1px;
791
+ }
792
+
793
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot) > .fp-ValueFieldRoot:hover:where(:not([data-disabled])) {
794
+ outline-color: var(--figma-color-border);
795
+ }
796
+
797
+ .fp-ValueFieldMulti:has(> .fp-SliderRoot) > .fp-ValueFieldRoot:focus-within {
798
+ outline-color: var(--figma-color-border-selected);
799
+ }
800
+
801
+ .fp-ValueFieldNumericSelect {
802
+ width: 100%;
803
+ }
804
+
805
+ .fp-ValueFieldNumericSelect:hover:where(:not([data-disabled]))::after {
806
+ border-color: transparent;
807
+ }
808
+
809
+ .fp-ValueFieldNumericSelect:has(.fp-ValueFieldNumericSelectField:hover):where(:not([data-disabled]))::after {
810
+ border-color: var(--figma-color-border);
811
+ }
812
+
813
+ .fp-ValueFieldNumericSelect .fp-ValueFieldNumericSelectField {
814
+ min-width: 0;
815
+ }
816
+
817
+ .fp-ValueFieldNumericSelectTrigger {
818
+ all: unset;
819
+ appearance: none;
820
+ box-sizing: border-box;
821
+ align-self: flex-start;
822
+ display: flex;
823
+ align-items: center;
824
+ justify-content: center;
825
+ flex: 0 0 var(--space-6);
826
+ height: var(--space-6);
827
+ margin-top: -1px;
828
+ border-left: 1px solid var(--figma-color-bg);
829
+ border-top-right-radius: var(--radius-medium);
830
+ border-bottom-right-radius: var(--radius-medium);
831
+ color: var(--figma-color-text);
832
+ --color-icon: var(--figma-color-icon);
833
+ }
834
+
835
+ .fp-ValueFieldNumericSelectTrigger:hover:where(:not(:disabled)) {
836
+ background-color: var(--figma-color-bg-tertiary);
837
+ }
838
+
839
+ .fp-ValueFieldNumericSelectTrigger:disabled {
840
+ color: var(--figma-color-text-disabled);
841
+ --color-icon: var(--figma-color-icon-disabled);
842
+ }
843
+
844
+ .fp-ValueFieldNumericSelectTrigger > span:first-child {
845
+ position: absolute;
846
+ left: var(--space-2);
847
+ top: 0;
848
+ width: 0;
849
+ height: var(--space-6);
850
+ overflow: hidden;
851
+ opacity: 0;
852
+ pointer-events: none;
853
+ white-space: nowrap;
854
+ }
855
+
856
+ .fp-ValueFieldNumericSelectPositioner {
857
+ display: flex;
858
+ flex-direction: column;
859
+ min-width: calc(var(--anchor-width) + var(--space-6) - 2px);
860
+ min-height: calc(var(--available-height) + var(--space-6) - 2px);
861
+ }
862
+
863
+ .fp-ValueFieldNumericSelectPositionerInOptions {
864
+ margin-top: calc(var(--space-2) + 1px) !important;
865
+ }
866
+
867
+ .fp-ValueFieldNumericSelectIcon {
868
+ display: flex;
869
+ align-items: center;
870
+ justify-content: center;
871
+ }
872
+
873
+ .fp-ValueFieldNumericSelectCurrentItem {
874
+ background-color: var(--color-bg-menu-selected);
875
+ }
876
+ }
877
+ @layer components {
878
+
879
+ .fp-tooltip {
880
+ box-sizing: border-box;
881
+ padding: var(--space-1) var(--space-2);
882
+ background-color: var(--color-bg-tooltip);
883
+ font-family: var(--font-family-default);
884
+ font-size: var(--font-size-default);
885
+ font-weight: var(--font-weight-default);
886
+ letter-spacing: var(--letter-spacing-default);
887
+ line-height: var(--line-height-default);
888
+ min-height: var(--space-6);
889
+ color: var(--color-text-tooltip);
890
+ white-space: pre-wrap;
891
+ word-break: break-word;
892
+ border-radius: var(--radius-medium);
893
+ box-shadow: var(--elevation-300, 0 2px 7px rgba(0, 0, 0, 0.15));
894
+ }
895
+
896
+ .fp-tooltip-arrow {
897
+ fill: var(--color-bg-tooltip);
898
+ width: var(--space-3_5);
899
+ height: 7px;
900
+ position: absolute;
901
+ }
902
+
903
+ .fp-tooltip-arrow[data-side='top'] {
904
+ top: calc(100% - 1px);
905
+ }
906
+
907
+ .fp-tooltip-arrow[data-side='bottom'] {
908
+ bottom: calc(100% - 1px);
909
+ transform: rotate(180deg);
910
+ }
911
+
912
+ .fp-tooltip-arrow[data-side='left'] {
913
+ left: calc(100% - 1px);
914
+ transform: rotate(-90deg);
915
+ }
916
+
917
+ .fp-tooltip-arrow[data-side='right'] {
918
+ right: calc(100% - 1px);
919
+ transform: rotate(90deg);
920
+ }
921
+ }
922
+ @layer components {
923
+ .fp-textarea {
924
+ all: unset;
925
+ box-sizing: border-box;
926
+ display: block;
927
+ width: 100%;
928
+ height: var(--space-6);
929
+ padding: var(--space-1) var(--space-2);
930
+ background-color: var(--figma-color-bg-secondary);
931
+ border-radius: var(--radius-medium);
932
+ font-family: var(--font-family-default);
933
+ font-size: var(--font-size-default);
934
+ font-weight: var(--font-weight-default);
935
+ letter-spacing: var(--letter-spacing-default);
936
+ line-height: var(--line-height-default);
937
+ color: var(--figma-color-text);
938
+ outline-width: 1px;
939
+ outline-style: solid;
940
+ outline-offset: -1px;
941
+ outline-color: transparent;
942
+ resize: none;
943
+ word-break: break-word;
944
+ }
945
+
946
+ .fp-textarea:hover:where(:not(:disabled, :focus)) {
947
+ outline-color: var(--figma-color-border);
948
+ }
949
+
950
+ .fp-textarea:focus {
951
+ outline-color: var(--figma-color-border-selected);
952
+ }
953
+
954
+ .fp-textarea:disabled {
955
+ background-color: var(--figma-color-bg);
956
+ outline-color: var(--figma-color-border-disabled);
957
+ color: var(--figma-color-text-disabled);
958
+ }
959
+
960
+ .fp-textarea::placeholder {
961
+ color: var(--figma-color-text-tertiary);
962
+ }
963
+ }
964
+ @layer components {
965
+
966
+ .fp-MenuContent {
967
+ box-sizing: border-box;
968
+ -webkit-font-smoothing: antialiased;
969
+ -moz-osx-font-smoothing: grayscale;
970
+ cursor: default;
971
+ padding: var(--space-2);
972
+ background-color: var(--color-bg-menu);
973
+ border-radius: var(--radius-large);
974
+ font-size: var(--font-size-menu);
975
+ font-family: var(--font-family-default);
976
+ font-weight: var(--font-weight-default);
977
+ letter-spacing: var(--letter-spacing-default);
978
+ color: var(--color-text-menu);
979
+ box-shadow: var(--elevation-400);
980
+ outline: 0;
981
+ }
982
+
983
+ .fp-MenuItem {
984
+ position: relative;
985
+ display: flex;
986
+ align-items: center;
987
+ height: var(--space-6);
988
+ padding: 0 var(--space-2);
989
+ color: var(--color-text-menu);
990
+ line-height: 1rem;
991
+ white-space: nowrap;
992
+ border-radius: var(--radius-medium);
993
+ }
994
+
995
+ .fp-MenuItem[data-highlighted] {
996
+ outline: 0;
997
+ background-color: var(--color-bg-menu-selected);
998
+ }
999
+
1000
+ .fp-MenuItem[data-disabled] {
1001
+ color: var(--color-text-menu-tertiary);
1002
+ }
1003
+
1004
+ .fp-MenuSeparator {
1005
+ margin: var(--space-2) 0;
1006
+ height: 1px;
1007
+ background-color: var(--color-border-menu);
1008
+ }
1009
+
1010
+ .fp-MenuLabel {
1011
+ display: flex;
1012
+ align-items: center;
1013
+ height: var(--space-6);
1014
+ padding: 0 var(--space-2);
1015
+ color: var(--color-text-menu-tertiary);
1016
+ }
1017
+
1018
+ .fp-MenuLabel:where(.fp-MenuContent:has(.fp-MenuCheckboxItem, .fp-MenuRadioItem) .fp-MenuLabel) {
1019
+ padding-left: var(--space-6);
1020
+ }
1021
+
1022
+ .fp-MenuGroup {
1023
+ padding: var(--space-2) 0;
1024
+ }
1025
+
1026
+ .fp-MenuGroup:first-child {
1027
+ padding-top: 0;
1028
+ }
1029
+
1030
+ .fp-MenuGroup:last-child {
1031
+ padding-bottom: 0;
1032
+ }
1033
+
1034
+ .fp-MenuGroup:not(:first-child) {
1035
+ border-top: 1px solid var(--color-border-menu);
1036
+ }
1037
+
1038
+ .fp-MenuSubtriggerCaret {
1039
+ margin-left: auto;
1040
+ margin-right: calc(-1 * var(--space-2));
1041
+ padding-left: var(--space-6);
1042
+ --color-icon: var(--color-icon-menu);
1043
+ }
1044
+
1045
+ .fp-MenuCheckboxItem,
1046
+ .fp-MenuRadioItem {
1047
+ padding-left: var(--space-6);
1048
+ }
1049
+
1050
+ .fp-MenuItemIndicator {
1051
+ position: absolute;
1052
+ left: var(--space-1);
1053
+ --color-icon: var(--color-icon-menu);
1054
+ }
1055
+ }
1056
+ @layer components {
1057
+
1058
+ .fp-SelectTrigger {
1059
+ all: unset;
1060
+ appearance: none;
1061
+ box-sizing: border-box;
1062
+ display: flex;
1063
+ align-items: center;
1064
+ gap: var(--space-1);
1065
+ width: 100%;
1066
+ padding: 0 0 0 var(--space-2);
1067
+ height: var(--space-6);
1068
+ border: 1px solid var(--figma-color-border);
1069
+ border-radius: var(--radius-medium);
1070
+ font-family: var(--font-family-default);
1071
+ font-size: var(--font-size-default);
1072
+ font-weight: var(--font-weight-default);
1073
+ letter-spacing: var(--letter-spacing-default);
1074
+ color: var(--figma-color-text);
1075
+ }
1076
+
1077
+ .fp-SelectTriggerIcon {
1078
+ margin-left: auto;
1079
+ }
1080
+
1081
+ .fp-SelectPositioner {
1082
+ display: flex;
1083
+ flex-direction: column;
1084
+ min-width: calc(var(--anchor-width) + var(--space-6) - 1px);
1085
+ }
1086
+
1087
+ .fp-SelectScrollUpButton,
1088
+ .fp-SelectScrollDownButton {
1089
+ position: absolute;
1090
+ left: 0;
1091
+ right: 0;
1092
+ z-index: 1;
1093
+ display: flex;
1094
+ align-items: center;
1095
+ justify-content: center;
1096
+ height: var(--space-6);
1097
+ background-color: var(--color-bg-menu);
1098
+ --color-icon: var(--color-icon-menu);
1099
+ }
1100
+
1101
+ .fp-SelectScrollUpButton:hover, .fp-SelectScrollDownButton:hover {
1102
+ background-color: var(--color-bg-menu-hover);
1103
+ }
1104
+
1105
+ .fp-SelectScrollUpButton {
1106
+ top: 0;
1107
+ border-radius: var(--radius-large) var(--radius-large) 0 0;
1108
+ }
1109
+
1110
+ .fp-SelectScrollDownButton {
1111
+ bottom: 0;
1112
+ border-radius: 0 0 var(--radius-large) var(--radius-large);
1113
+ }
1114
+ }
1115
+ @layer components {
1116
+
1117
+ .fp-ComboboxTrigger {
1118
+ cursor: default;
1119
+ }
1120
+
1121
+ .fp-ComboboxTrigger:focus-visible {
1122
+ border-color: var(--figma-color-border-selected);
1123
+ }
1124
+
1125
+ .fp-ComboboxTrigger[data-disabled] {
1126
+ color: var(--figma-color-text-disabled);
1127
+ border-color: var(--figma-color-border-disabled);
1128
+ }
1129
+
1130
+ .fp-ComboboxPositioner {
1131
+ display: flex;
1132
+ flex-direction: column;
1133
+ min-width: var(--anchor-width);
1134
+ max-width: min(var(--available-width), 24rem);
1135
+ }
1136
+
1137
+ .fp-ComboboxPopup {
1138
+ box-sizing: border-box;
1139
+ display: flex;
1140
+ flex-direction: column;
1141
+ gap: var(--space-2);
1142
+ max-height: min(var(--available-height), 20rem);
1143
+ min-width: var(--anchor-width);
1144
+ padding: var(--space-2);
1145
+ background-color: var(--figma-color-bg);
1146
+ border-radius: var(--radius-large);
1147
+ box-shadow: var(--elevation-500);
1148
+ color: var(--figma-color-text);
1149
+ font-family: var(--font-family-default);
1150
+ font-size: var(--font-size-default);
1151
+ font-weight: var(--font-weight-default);
1152
+ letter-spacing: var(--letter-spacing-default);
1153
+ outline: 0;
1154
+ overflow: auto;
1155
+ }
1156
+
1157
+ .fp-ComboboxInputGroup {
1158
+ box-sizing: border-box;
1159
+ position: relative;
1160
+ flex-shrink: 0;
1161
+ --color-icon: var(--figma-color-icon-secondary);
1162
+ }
1163
+
1164
+ .fp-ComboboxInputGroup > .fp-Icon {
1165
+ position: absolute;
1166
+ top: 50%;
1167
+ left: var(--space-2);
1168
+ z-index: 1;
1169
+ transform: translateY(-50%);
1170
+ }
1171
+
1172
+ .fp-ComboboxInputGroup:has(.fp-ComboboxInput:disabled) {
1173
+ --color-icon: var(--figma-color-icon-disabled);
1174
+ }
1175
+
1176
+ .fp-ComboboxInput {
1177
+ min-width: 0;
1178
+ padding-left: calc(var(--space-2) + var(--space-6) + var(--space-1));
1179
+ padding-right: var(--space-6);
1180
+ }
1181
+
1182
+ .fp-ComboboxList {
1183
+ display: flex;
1184
+ flex-direction: column;
1185
+ }
1186
+
1187
+ .fp-ComboboxItem {
1188
+ width: 100%;
1189
+ box-sizing: border-box;
1190
+ color: var(--figma-color-text);
1191
+ line-height: var(--line-height-default);
1192
+ }
1193
+
1194
+ .fp-ComboboxItem[data-selected] {
1195
+ background-color: var(--figma-color-bg-selected-secondary);
1196
+ }
1197
+
1198
+ .fp-ComboboxItem[data-highlighted] {
1199
+ background-color: var(--figma-color-bg-hover);
1200
+ }
1201
+
1202
+ .fp-ComboboxItem[data-selected][data-highlighted] {
1203
+ background-color: var(--figma-color-bg-selected);
1204
+ }
1205
+
1206
+ .fp-ComboboxItem[data-disabled] {
1207
+ color: var(--figma-color-text-disabled);
1208
+ }
1209
+
1210
+ .fp-ComboboxItemIndicator {
1211
+ --color-icon: var(--figma-color-icon);
1212
+ }
1213
+
1214
+ .fp-ComboboxMessage {
1215
+ display: flex;
1216
+ align-items: center;
1217
+ min-height: var(--space-6);
1218
+ padding: 0 var(--space-2);
1219
+ color: var(--figma-color-text-secondary);
1220
+ }
1221
+
1222
+ .fp-ComboboxMessage:empty {
1223
+ min-height: 0;
1224
+ padding: 0;
1225
+ }
1226
+
1227
+ .fp-ComboboxClear.fp-IconButton,
1228
+ .fp-ComboboxSearchClear.fp-IconButton {
1229
+ --color-icon: var(--figma-color-icon-secondary);
1230
+ }
1231
+
1232
+ .fp-ComboboxClear.fp-IconButton:hover, .fp-ComboboxSearchClear.fp-IconButton:hover {
1233
+ background-color: transparent;
1234
+ --color-icon: var(--figma-color-icon-secondary-hover);
1235
+ }
1236
+
1237
+ .fp-ComboboxClear.fp-IconButton[data-disabled] {
1238
+ --color-icon: var(--figma-color-icon-disabled);
1239
+ }
1240
+
1241
+ .fp-ComboboxSearchClear.fp-IconButton {
1242
+ position: absolute;
1243
+ top: 0;
1244
+ right: 0;
1245
+ }
1246
+
1247
+ .fp-ComboboxInput:placeholder-shown + .fp-ComboboxSearchClear.fp-IconButton {
1248
+ display: none;
1249
+ }
1250
+ }
1251
+ @layer components {
1252
+
1253
+ .fp-Button {
1254
+ box-sizing: border-box;
1255
+ background-clip: border-box;
1256
+ background-color: transparent;
1257
+ user-select: none;
1258
+ appearance: none;
1259
+ border: 0;
1260
+ cursor: default;
1261
+ display: flex;
1262
+ align-items: center;
1263
+ justify-content: center;
1264
+ flex-shrink: 0;
1265
+ width: fit-content;
1266
+ outline-width: 1px;
1267
+ outline-offset: -1px;
1268
+ outline-style: solid;
1269
+ outline-color: transparent;
1270
+ font-family: var(--font-family-default);
1271
+ font-size: var(--font-size-default);
1272
+ font-weight: var(--font-weight-default);
1273
+ letter-spacing: var(--letter-spacing-default);
1274
+ line-height: var(--line-height-default);
1275
+ border-radius: var(--radius-medium);
1276
+ --color-icon: currentColor;
1277
+ }
1278
+
1279
+ .fp-Button:where(.fp-variant-secondary) {
1280
+ --button-color-bg: transparent;
1281
+ --button-color-border: var(--figma-color-text);
1282
+ --button-color-text: var(--figma-color-border);
1283
+ }
1284
+
1285
+ .fp-Button:where(.fp-variant-secondary) {
1286
+ color: var(--figma-color-text);
1287
+ outline-color: var(--figma-color-border);
1288
+ }
1289
+
1290
+ .fp-Button:where(.fp-variant-secondary):active {
1291
+ background-color: var(--figma-color-bg-pressed);
1292
+ }
1293
+
1294
+ .fp-Button:where(.fp-variant-secondary):focus-visible {
1295
+ outline-color: var(--figma-color-border-selected);
1296
+ }
1297
+
1298
+ .fp-Button:where(.fp-variant-secondary):disabled {
1299
+ color: var(--figma-color-text-disabled);
1300
+ outline-color: var(--figma-color-border-disabled);
1301
+ }
1302
+
1303
+ .fp-Button:where(.fp-variant-primary) {
1304
+ background-color: var(--figma-color-bg-brand);
1305
+ color: var(--figma-color-text-onbrand);
1306
+ }
1307
+
1308
+ .fp-Button:where(.fp-variant-primary):active {
1309
+ background-color: var(--figma-color-bg-brand-pressed);
1310
+ }
1311
+
1312
+ .fp-Button:where(.fp-variant-primary):focus-visible {
1313
+ outline-color: var(--figma-color-border-onbrand-strong);
1314
+ box-shadow: 0 0 0 1px var(--figma-color-border-selected-strong);
1315
+ }
1316
+
1317
+ .fp-Button:where(.fp-variant-primary):disabled {
1318
+ color: var(--figma-color-text-ondisabled);
1319
+ background-color: var(--figma-color-bg-disabled);
1320
+ }
1321
+ .fp-Button:where(.fp-variant-destructive) {
1322
+ background-color: var(--figma-color-bg-danger);
1323
+ color: var(--figma-color-text-ondanger);
1324
+ }
1325
+
1326
+ .fp-Button:where(.fp-variant-destructive):active {
1327
+ background-color: var(--figma-color-bg-danger-pressed);
1328
+ }
1329
+
1330
+ .fp-Button:where(.fp-variant-destructive):focus-visible {
1331
+ outline-color: var(--figma-color-border-ondanger-strong);
1332
+ box-shadow: 0 0 0 1px var(--figma-color-border-danger-strong);
1333
+ }
1334
+
1335
+ .fp-Button:where(.fp-variant-destructive):disabled {
1336
+ color: var(--figma-color-text-ondisabled);
1337
+ background-color: var(--figma-color-bg-disabled);
1338
+ }
1339
+
1340
+ .fp-Button:where(.fp-variant-success) {
1341
+ background-color: var(--figma-color-bg-success);
1342
+ color: var(--figma-color-text-onsuccess);
1343
+ }
1344
+
1345
+ .fp-Button:where(.fp-variant-success):active {
1346
+ background-color: var(--figma-color-bg-success-pressed);
1347
+ }
1348
+
1349
+ .fp-Button:where(.fp-variant-success):focus-visible {
1350
+ outline-color: var(--figma-color-border-onbrand-strong);
1351
+ box-shadow: 0 0 0 1px var(--figma-color-border-success-strong);
1352
+ }
1353
+
1354
+ .fp-Button:where(.fp-variant-success):disabled {
1355
+ color: var(--figma-color-text-ondisabled);
1356
+ background-color: var(--figma-color-bg-disabled);
1357
+ }
1358
+
1359
+ .fp-Button:where(.fp-variant-inverse) {
1360
+ background-color: var(--figma-color-bg-inverse);
1361
+ color: var(--figma-color-text-oninverse);
1362
+ font-weight: 400;
1363
+ }
1364
+
1365
+ .fp-Button:where(.fp-variant-inverse):active {
1366
+ background-color: var(--figma-color-bg-brand-pressed);
1367
+ }
1368
+
1369
+ .fp-Button:where(.fp-variant-inverse):focus-visible {
1370
+ outline-color: var(--figma-color-border-onbrand-strong);
1371
+ box-shadow: 0 0 0 1px var(--figma-color-border-selected);
1372
+ }
1373
+
1374
+ .fp-Button:where(.fp-variant-inverse):disabled {
1375
+ color: var(--figma-color-text-ondisabled);
1376
+ background-color: var(--figma-color-bg-disabled);
1377
+ }
1378
+
1379
+ .fp-Button:where(.fp-variant-text) {
1380
+ background-color: transparent;
1381
+ outline-color: transparent;
1382
+ color: var(--figma-color-text);
1383
+ }
1384
+
1385
+ .fp-Button:where(.fp-variant-text):hover {
1386
+ background-color: var(--figma-color-bg-hover);
1387
+ }
1388
+
1389
+ .fp-Button:where(.fp-variant-text):active {
1390
+ background-color: var(--figma-color-bg-pressed);
1391
+ }
1392
+
1393
+ .fp-Button:where(.fp-variant-text):focus-visible {
1394
+ outline-color: var(--figma-color-border-selected);
1395
+ }
1396
+
1397
+ .fp-Button:where(.fp-variant-text):disabled {
1398
+ color: var(--figma-color-text-disabled);
1399
+ outline-color: var(--figma-color-border-disabled);
1400
+ }
1401
+
1402
+ .fp-Button:where(.fp-full-width) {
1403
+ width: 100%;
1404
+ max-width: 100%;
1405
+ }
1406
+
1407
+ .fp-Button:where(.fp-size-small) {
1408
+ height: var(--space-6);
1409
+ padding: var(--space-1) var(--space-2);
1410
+ }
1411
+
1412
+ .fp-Button:where(.fp-size-medium) {
1413
+ height: var(--space-8);
1414
+ padding: var(--space-2) var(--space-3);
1415
+ }
1416
+ }
1417
+ @layer components {
1418
+
1419
+ .fp-IconButton {
1420
+ box-sizing: border-box;
1421
+ background-clip: border-box;
1422
+ background-color: transparent;
1423
+ user-select: none;
1424
+ appearance: none;
1425
+ border: 0;
1426
+ padding: 0;
1427
+ cursor: default;
1428
+ display: flex;
1429
+ align-items: center;
1430
+ justify-content: center;
1431
+ flex-shrink: 0;
1432
+ --color-icon: var(--figma-color-icon);
1433
+ border-radius: var(--radius-medium);
1434
+ }
1435
+
1436
+ .fp-IconButton:where(:hover:not(:disabled)) {
1437
+ background-color: var(--figma-color-bg-pressed);
1438
+ }
1439
+
1440
+ .fp-IconButton:focus-visible {
1441
+ outline-offset: -1px;
1442
+ outline: 1px solid var(--figma-color-border-selected);
1443
+ }
1444
+
1445
+ .fp-IconButton:disabled {
1446
+ --color-icon: var(--figma-color-icon-disabled);
1447
+ }
1448
+
1449
+ .fp-IconButton:where(.fp-size-small) {
1450
+ width: var(--space-6);
1451
+ height: var(--space-6);
1452
+ }
1453
+
1454
+ .fp-IconButton:where(.fp-size-medium) {
1455
+ width: var(--space-8);
1456
+ height: var(--space-8);
1457
+ }
1458
+ .fp-IconButton:where(.fp-active-appearance-subtle):where([data-state='open'], [data-popup-open]) {
1459
+ background-color: var(--figma-color-bg-selected);
1460
+ --color-icon: var(--figma-color-icon-brand);
1461
+ }
1462
+ .fp-IconButton:where(.fp-active-appearance-solid):where([data-state='open'], [data-popup-open]) {
1463
+ background-color: var(--figma-color-bg-selected-strong);
1464
+ --color-icon: var(--figma-color-icon-onbrand);
1465
+ }
1466
+ }
1467
+ @layer components {
1468
+
1469
+ .fp-switchRoot {
1470
+ appearance: none;
1471
+ box-sizing: border-box;
1472
+ position: relative;
1473
+ display: block;
1474
+ width: var(--space-8);
1475
+ height: var(--space-4);
1476
+ padding: 0;
1477
+ background: none;
1478
+ background-clip: padding-box;
1479
+ border-radius: var(--radius-full);
1480
+ border: 0;
1481
+ transition: background-position 0.08s ease-out;
1482
+
1483
+ /* Using ::before to render the background to create the real gap between the
1484
+ outline and the background in the focused mode as it is in Figma. */
1485
+ }
1486
+ .fp-switchRoot::before {
1487
+ position: absolute;
1488
+ inset: 0;
1489
+ border-radius: var(--radius-full);
1490
+ background: none;
1491
+ content: '';
1492
+ }
1493
+
1494
+ .fp-switchRoot[data-unchecked]::before {
1495
+ background: var(--figma-color-bg-tertiary);
1496
+ }
1497
+
1498
+ .fp-switchRoot[data-checked]::before {
1499
+ background: var(--figma-color-bg-brand);
1500
+ }
1501
+
1502
+ .fp-switchRoot:focus-visible {
1503
+ outline-offset: -1px;
1504
+ outline: 1px solid var(--figma-color-border-selected-strong);
1505
+ }
1506
+
1507
+ .fp-switchRoot:focus-visible::before {
1508
+ inset: 2px;
1509
+ }
1510
+ .fp-switchRoot[data-disabled][data-unchecked]::before {
1511
+ /* This gives it more contrast than the disabled checked state but this is
1512
+ how it is in Figma. ¯\_(ツ)_/¯ */
1513
+ background: var(--figma-color-bg-disabled);
1514
+ }
1515
+
1516
+ .fp-switchRoot[data-disabled][data-checked]::before {
1517
+ background: var(--figma-color-bg-tertiary);
1518
+ }
1519
+
1520
+ .fp-switchThumb {
1521
+ box-sizing: border-box;
1522
+ position: absolute;
1523
+ top: 1px;
1524
+ left: 1px;
1525
+ height: var(--space-3_5);
1526
+ width: var(--space-3_5);
1527
+ border-radius: var(--radius-full);
1528
+ background: var(--figma-color-icon-onbrand);
1529
+ transition: all 0.08s ease-out;
1530
+ }
1531
+
1532
+ .fp-switchThumb[data-disabled] {
1533
+ background-color: var(--figma-color-icon-ondisabled);
1534
+ }
1535
+
1536
+ .fp-switchThumb[data-unchecked] {
1537
+ left: 1px;
1538
+ }
1539
+
1540
+ .fp-switchThumb[data-checked] {
1541
+ left: calc(100% - var(--space-3_5) - 1px);
1542
+ }
1543
+ }
1544
+ @layer components {
1545
+
1546
+ :root,
1547
+ .light,
1548
+ .light-theme {
1549
+ --slider-track-border-color: #0000001a;
1550
+ --slider-track-bg: var(--figma-color-bg-secondary);
1551
+ --slider-thumb-bg: transparent;
1552
+ }
1553
+
1554
+ .figma-dark {
1555
+ --slider-track-border-color: #ffffff1a;
1556
+ }
1557
+
1558
+ .fp-SliderRoot {
1559
+ position: relative;
1560
+ display: flex;
1561
+ align-items: center;
1562
+ flex-grow: 1;
1563
+ outline: 0;
1564
+ border-color: transparent;
1565
+ border-style: solid;
1566
+ }
1567
+
1568
+ .fp-SliderRoot[data-orientation='horizontal'] {
1569
+ height: var(--slider-root-size);
1570
+ border-width: 0 var(--slider-thumb-inset);
1571
+ }
1572
+
1573
+ .fp-SliderRoot[data-orientation='vertical'] {
1574
+ flex-direction: column;
1575
+ width: var(--slider-root-size);
1576
+ border-width: var(--slider-thumb-inset) 0;
1577
+ }
1578
+
1579
+ .fp-SliderRoot:where(.fp-size-large) {
1580
+ --slider-root-size: var(--space-6);
1581
+ --slider-track-size: var(--space-4);
1582
+ --slider-thumb-size: var(--space-4);
1583
+ --slider-thumb-inset: calc(var(--slider-thumb-size) / 2);
1584
+ --slider-hint-width: var(--space-1);
1585
+ --slider-hint-height: var(--space-1);
1586
+ --slider-hint-offset: 0px;
1587
+ --slider-hint-radius: var(--radius-full);
1588
+ }
1589
+
1590
+ .fp-SliderRoot:where(.fp-size-small) {
1591
+ --slider-root-size: var(--space-4);
1592
+ --slider-track-size: var(--space-1_5);
1593
+ --slider-thumb-size: var(--space-3);
1594
+ --slider-thumb-inset: calc(var(--slider-track-size) / 2);
1595
+ --slider-hint-width: 1px;
1596
+ --slider-hint-height: 3px;
1597
+ --slider-hint-offset: calc(var(--slider-track-size) / 2 + 3px + var(--slider-hint-height) / 2);
1598
+ --slider-hint-radius: 0;
1599
+ --slider-track-bg: var(--figma-color-bg-tertiary);
1600
+ --slider-track-border-color: transparent;
1601
+ --slider-thumb-bg: var(--figma-color-icon-onbrand);
1602
+ }
1603
+
1604
+ .fp-SliderControl {
1605
+ position: relative;
1606
+ display: flex;
1607
+ align-items: center;
1608
+ flex-grow: 1;
1609
+ width: 100%;
1610
+ height: 100%;
1611
+ outline: 0;
1612
+ }
1613
+
1614
+ .fp-SliderControl::before {
1615
+ content: '';
1616
+ position: absolute;
1617
+ }
1618
+
1619
+ .fp-SliderRoot[data-orientation='horizontal'] .fp-SliderControl::before {
1620
+ inset: calc(50% - var(--space-11) / 2) calc((var(--slider-thumb-inset) + var(--space-3)) * -1);
1621
+ }
1622
+
1623
+ .fp-SliderRoot[data-orientation='vertical'] .fp-SliderControl {
1624
+ flex-direction: column;
1625
+ }
1626
+
1627
+ .fp-SliderRoot[data-orientation='vertical'] .fp-SliderControl::before {
1628
+ inset: calc((var(--slider-thumb-inset) + var(--space-3)) * -1) calc(50% - var(--space-11) / 2);
1629
+ }
1630
+
1631
+ .fp-SliderTrack {
1632
+ box-sizing: border-box;
1633
+ position: static;
1634
+ overflow: visible;
1635
+ flex-grow: 1;
1636
+ background: var(--slider-track-bg);
1637
+ border-radius: var(--radius-full);
1638
+ outline: 1px solid var(--slider-track-border-color);
1639
+ outline-offset: -1px;
1640
+ }
1641
+
1642
+ .fp-SliderTrack[data-orientation='horizontal'] {
1643
+ margin-left: calc(var(--slider-thumb-inset) * -1);
1644
+ margin-right: calc(var(--slider-thumb-inset) * -1);
1645
+ height: var(--slider-track-size);
1646
+ }
1647
+
1648
+ .fp-SliderTrack[data-orientation='vertical'] {
1649
+ margin-top: calc(var(--slider-thumb-inset) * -1);
1650
+ margin-bottom: calc(var(--slider-thumb-inset) * -1);
1651
+ width: var(--slider-track-size);
1652
+ }
1653
+
1654
+ .fp-SliderRange {
1655
+ position: absolute;
1656
+ display: block;
1657
+ background-color: var(--figma-color-bg-brand);
1658
+ border-radius: var(--radius-full);
1659
+ }
1660
+
1661
+ .fp-SliderRange[data-orientation='horizontal'] {
1662
+ height: var(--slider-track-size);
1663
+ margin-left: calc(var(--slider-thumb-inset) * -1);
1664
+ margin-right: calc(var(--slider-thumb-inset) * -1);
1665
+ }
1666
+
1667
+ .fp-SliderRange[data-orientation='vertical'] {
1668
+ width: var(--slider-track-size);
1669
+ margin-top: calc(var(--slider-thumb-inset) * -1);
1670
+ margin-bottom: calc(var(--slider-thumb-inset) * -1);
1671
+ }
1672
+
1673
+ .fp-SliderRange[data-disabled] {
1674
+ background-color: var(--figma-color-bg-disabled);
1675
+ }
1676
+
1677
+ .fp-SliderThumb {
1678
+ box-sizing: border-box;
1679
+ display: block;
1680
+ z-index: 1;
1681
+ width: var(--slider-thumb-size);
1682
+ height: var(--slider-thumb-size);
1683
+ background-color: var(--slider-thumb-bg);
1684
+ border: 4px solid var(--figma-color-icon-onbrand);
1685
+ border-radius: var(--radius-full);
1686
+ box-shadow: var(--elevation-200);
1687
+ outline: 0;
1688
+ }
1689
+
1690
+ .fp-SliderThumb[data-disabled] {
1691
+ background-color: var(--figma-color-bg-disabled-secondary);
1692
+ border: 0;
1693
+ box-shadow: none;
1694
+ }
1695
+
1696
+ .fp-SliderThumb.fp-SliderThumb-focusVisible:focus-visible {
1697
+ outline: 1px solid var(--figma-color-border-selected);
1698
+ }
1699
+
1700
+ .fp-SliderThumb.fp-SliderThumb-baseValue {
1701
+ --slider-thumb-bg: var(--figma-color-icon-onbrand);
1702
+ }
1703
+
1704
+ .fp-SliderHint {
1705
+ position: absolute;
1706
+ display: block;
1707
+ background-color: var(--figma-color-icon-tertiary);
1708
+ border-radius: var(--slider-hint-radius);
1709
+ }
1710
+
1711
+ .fp-SliderHint[data-orientation='horizontal'] {
1712
+ top: calc(50% + var(--slider-hint-offset));
1713
+ width: var(--slider-hint-width);
1714
+ height: var(--slider-hint-height);
1715
+ transform: translateY(-50%);
1716
+ }
1717
+
1718
+ .fp-SliderHint[data-orientation='vertical'] {
1719
+ left: calc(50% + var(--slider-hint-offset));
1720
+ width: var(--slider-hint-height);
1721
+ height: var(--slider-hint-width);
1722
+ transform: translateX(-50%);
1723
+ }
1724
+
1725
+ .fp-SliderHint.fp-SliderHint-baseValue {
1726
+ background-color: var(--figma-color-icon);
1727
+ }
1728
+ }
1729
+ @layer components {
1730
+
1731
+ .fp-DialogBaseContent {
1732
+ font-family: var(--font-family-default);
1733
+ color: var(--figma-color-text);
1734
+ background-color: var(--figma-color-bg);
1735
+ border-radius: var(--radius-large);
1736
+ box-shadow: var(--elevation-500);
1737
+ overflow-y: auto;
1738
+ outline: 0;
1739
+ }
1740
+
1741
+ .fp-DialogBaseHeader {
1742
+ box-sizing: border-box;
1743
+ display: flex;
1744
+ align-items: center;
1745
+ height: var(--space-10);
1746
+ padding: var(--space-1) var(--space-2);
1747
+ border-bottom: 1px solid var(--figma-color-border);
1748
+ background-color: var(--figma-color-bg);
1749
+ }
1750
+
1751
+ .fp-DialogBaseTitle {
1752
+ padding-left: var(--space-2);
1753
+ }
1754
+
1755
+ .fp-DialogBaseControls {
1756
+ display: flex;
1757
+ align-items: center;
1758
+ margin-left: auto;
1759
+ }
1760
+
1761
+ .fp-DialogBaseSection {
1762
+ box-sizing: border-box;
1763
+ padding: var(--space-4);
1764
+ border-bottom: 1px solid var(--figma-color-border);
1765
+ }
1766
+
1767
+ .fp-DialogBaseSection:where(:last-child) {
1768
+ border-bottom: 0;
1769
+ }
1770
+
1771
+ .fp-DialogBaseSection:where(.fp-DialogBaseSection-base) {
1772
+ padding: var(--space-4);
1773
+ }
1774
+
1775
+ .fp-DialogBaseSection:where(.fp-DialogBaseSection-small) {
1776
+ padding: var(--space-2) var(--space-4);
1777
+ }
1778
+
1779
+ .fp-DialogBaseOverlay {
1780
+ position: fixed;
1781
+ inset: 0;
1782
+ background-color: var(--color-overlay-dialog);
1783
+ }
1784
+ }
1785
+ @layer components {
1786
+ .fp-DialogContent {
1787
+ position: fixed;
1788
+ max-width: calc(100vw - 32px);
1789
+ max-height: 80%;
1790
+ }
1791
+
1792
+ .fp-DialogContent:where(.fp-placement-center) {
1793
+ top: 50%;
1794
+ left: 50%;
1795
+ transform: translate(-50%, -50%);
1796
+ }
1797
+
1798
+ .fp-DialogContent:where(.fp-placement-top) {
1799
+ top: min(10vh, 80px);
1800
+ left: 50%;
1801
+ transform: translateX(-50%);
1802
+ }
1803
+
1804
+ .fp-DialogContent:where(.fp-size-1) {
1805
+ width: 288px;
1806
+ }
1807
+
1808
+ .fp-DialogContent:where(.fp-size-2) {
1809
+ width: 352px;
1810
+ }
1811
+
1812
+ .fp-DialogContent:where(.fp-size-3) {
1813
+ width: 448px;
1814
+ }
1815
+
1816
+ .fp-DialogContent:where(.fp-size-fullscreen) {
1817
+ inset: 0;
1818
+ }
1819
+ }
1820
+ @layer components {
1821
+
1822
+ .fp-AlertDialogContent {
1823
+ position: fixed;
1824
+ top: 50%;
1825
+ left: 50%;
1826
+ transform: translate(-50%, -50%);
1827
+ max-width: calc(100vw - 32px);
1828
+ max-height: 80%;
1829
+ display: flex;
1830
+ flex-direction: column;
1831
+ gap: var(--space-4);
1832
+ padding: var(--space-4);
1833
+ }
1834
+
1835
+ .fp-AlertDialogContent:where(.fp-placement-center) {
1836
+ top: 50%;
1837
+ left: 50%;
1838
+ transform: translate(-50%, -50%);
1839
+ }
1840
+
1841
+ .fp-AlertDialogContent:where(.fp-placement-top) {
1842
+ top: min(10vh, 80px);
1843
+ left: 50%;
1844
+ transform: translateX(-50%);
1845
+ }
1846
+
1847
+ .fp-AlertDialogContent:where(.fp-size-1) {
1848
+ width: 288px;
1849
+ }
1850
+
1851
+ .fp-AlertDialogContent:where(.fp-size-2) {
1852
+ width: 352px;
1853
+ }
1854
+
1855
+ .fp-AlertDialogContent:where(.fp-size-3) {
1856
+ width: 448px;
1857
+ }
1858
+
1859
+ .fp-AlertDialogTitle {
1860
+ margin: 0;
1861
+ }
1862
+
1863
+ .fp-AlertDialogActions {
1864
+ display: flex;
1865
+ justify-content: flex-end;
1866
+ align-items: center;
1867
+ gap: var(--space-2);
1868
+ padding-top: var(--space-2);
1869
+ }
1870
+ }
1871
+ @layer components {
1872
+
1873
+ .fp-TabsList {
1874
+ display: flex;
1875
+ overflow-y: auto;
1876
+ gap: var(--space-2);
1877
+ }
1878
+
1879
+ .fp-TabsTrigger {
1880
+ all: unset;
1881
+ box-sizing: border-box;
1882
+ display: flex;
1883
+ align-items: center;
1884
+ justify-content: center;
1885
+ flex-shrink: 0;
1886
+ height: var(--space-6);
1887
+ padding: 0 var(--space-2);
1888
+ font-family: var(--font-family-default);
1889
+ font-size: var(--font-size-default);
1890
+ font-weight: var(--font-weight-default);
1891
+ letter-spacing: var(--letter-spacing-default);
1892
+ line-height: var(--line-height-default);
1893
+ white-space: nowrap;
1894
+ }
1895
+
1896
+ .fp-TabsTrigger:where(:not([data-active])) {
1897
+ color: var(--figma-color-text-secondary);
1898
+ --color-icon: var(--figma-color-icon-secondary);
1899
+ }
1900
+
1901
+ .fp-TabsTrigger:where([data-active]) {
1902
+ font-weight: var(--font-weight-strong);
1903
+ color: var(--figma-color-text);
1904
+ --color-icon: var(--figma-color-icon);
1905
+ background: var(--figma-color-bg-secondary);
1906
+ border-radius: var(--radius-medium);
1907
+ }
1908
+ }
1909
+ @layer components {
1910
+
1911
+ .fp-CheckboxRoot {
1912
+ position: relative;
1913
+ display: grid;
1914
+ grid-template-columns: var(--space-4) auto;
1915
+ min-height: 24px;
1916
+ gap: var(--space-1) var(--space-2);
1917
+ }
1918
+
1919
+ .fp-CheckboxInput {
1920
+ all: unset;
1921
+ box-sizing: border-box;
1922
+ display: block;
1923
+ width: var(--space-4);
1924
+ height: var(--space-4);
1925
+ margin: var(--space-1) 0;
1926
+ background-color: transparent;
1927
+ border: 1px solid var(--figma-color-border-strong);
1928
+ border-radius: var(--radius-medium);
1929
+ flex-shrink: 0;
1930
+ }
1931
+
1932
+ .fp-CheckboxInput:focus-visible {
1933
+ outline-offset: -1px;
1934
+ outline: 1px solid var(--figma-color-border-selected);
1935
+ }
1936
+
1937
+ .fp-CheckboxInput:focus-visible:checked {
1938
+ outline-offset: 0;
1939
+ outline: 1px solid var(--figma-color-border-selected-strong);
1940
+ border-color: var(--figma-color-icon-onbrand);
1941
+ }
1942
+
1943
+ .fp-CheckboxInput:checked {
1944
+ background-color: var(--figma-color-bg-brand);
1945
+ border-color: transparent;
1946
+ }
1947
+
1948
+ .fp-CheckboxInput:disabled {
1949
+ border-color: var(--figma-color-border-disabled-strong);
1950
+ }
1951
+
1952
+ .fp-CheckboxInput:disabled:checked {
1953
+ border-color: transparent;
1954
+ background-color: var(--figma-color-border-disabled-strong);
1955
+ }
1956
+
1957
+ .fp-CheckboxIndicator {
1958
+ display: block;
1959
+ pointer-events: none;
1960
+ position: absolute;
1961
+ top: var(--space-1);
1962
+ }
1963
+
1964
+ .fp-CheckboxCheckmark,
1965
+ .fp-CheckboxIndeterminate {
1966
+ display: none;
1967
+ }
1968
+
1969
+ .fp-CheckboxInput:checked ~ .fp-CheckboxIndicator .fp-CheckboxCheckmark {
1970
+ --color-icon: var(--figma-color-icon-onbrand);
1971
+ display: block;
1972
+ }
1973
+
1974
+ .fp-CheckboxInput:indeterminate ~ .fp-CheckboxIndicator .fp-CheckboxIndeterminate {
1975
+ --color-icon: var(--figma-color-icon);
1976
+ display: block;
1977
+ }
1978
+
1979
+ .fp-CheckboxInput:disabled:indeterminate ~ .fp-CheckboxIndicator .fp-CheckboxIndeterminate {
1980
+ --color-icon: var(--figma-color-icon-disabled);
1981
+ }
1982
+
1983
+ .fp-CheckboxLabel {
1984
+ margin-top: var(--space-1);
1985
+ }
1986
+
1987
+ .fp-CheckboxInput:disabled ~ .fp-CheckboxLabel {
1988
+ color: var(--figma-color-text-disabled);
1989
+ }
1990
+
1991
+ .fp-CheckboxDescription {
1992
+ color: var(--figma-color-text-secondary);
1993
+ grid-area: 2 / 2;
1994
+ }
1995
+ }
1996
+ @layer components {
1997
+
1998
+ .fp-RadioGroupRoot {
1999
+ display: flex;
2000
+ }
2001
+
2002
+ .fp-RadioGroupRoot[data-orientation='horizontal'] {
2003
+ gap: var(--space-5);
2004
+ }
2005
+
2006
+ .fp-RadioGroupRoot[data-orientation='vertical'] {
2007
+ flex-direction: column;
2008
+ gap: var(--space-2);
2009
+ }
2010
+
2011
+ .fp-RadioGroupItem {
2012
+ all: unset;
2013
+ box-sizing: border-box;
2014
+ display: inline-block;
2015
+ width: 16px;
2016
+ height: 16px;
2017
+ background-color: var(--figma-color-bg);
2018
+ border: 4px solid transparent;
2019
+ border-radius: var(--radius-full);
2020
+ outline-offset: -1px;
2021
+ outline: 1px solid var(--figma-color-icon);
2022
+ }
2023
+
2024
+ .fp-RadioGroupItem:focus-visible {
2025
+ outline-color: var(--figma-color-border-selected);
2026
+ }
2027
+
2028
+ .fp-RadioGroupItem[data-checked] {
2029
+ background-color: var(--figma-color-icon);
2030
+ border-color: var(--figma-color-bg);
2031
+ }
2032
+
2033
+ .fp-RadioGroupItem[data-disabled] {
2034
+ outline-color: var(--figma-color-icon-disabled);
2035
+ }
2036
+
2037
+ .fp-RadioGroupItem[data-disabled][data-checked] {
2038
+ background-color: var(--figma-color-icon-disabled);
2039
+ }
2040
+
2041
+ .fp-RadioGroupLabel {
2042
+ display: flex;
2043
+ gap: var(--space-2);
2044
+ }
2045
+
2046
+ .fp-RadioGroupLabel[data-disabled] {
2047
+ color: var(--figma-color-text-disabled);
2048
+ }
2049
+ }
2050
+ @layer components {
2051
+
2052
+ .fp-SegmentedControlRoot {
2053
+ display: inline-flex;
2054
+ background-color: var(--figma-color-bg-secondary);
2055
+ border-radius: var(--radius-medium);
2056
+ }
2057
+
2058
+ .fp-SegmentedControlRoot:where(.fp-full-width) {
2059
+ display: flex;
2060
+ }
2061
+
2062
+ .fp-SegmentedControlItem {
2063
+ all: unset;
2064
+ display: flex;
2065
+ align-items: center;
2066
+ justify-content: center;
2067
+ width: fit-content;
2068
+ flex: 1 0 auto;
2069
+ min-width: var(--space-6);
2070
+ height: var(--space-6);
2071
+ background-color: transparent;
2072
+ border-radius: var(--radius-medium);
2073
+ font-family: var(--font-family-default);
2074
+ font-size: var(--font-size-default);
2075
+ font-weight: var(--font-weight-default);
2076
+ letter-spacing: var(--letter-spacing-default);
2077
+ line-height: var(--line-height-default);
2078
+ white-space: nowrap;
2079
+ --color-icon: var(--figma-color-icon-secondary);
2080
+ }
2081
+
2082
+ .fp-SegmentedControlItem[data-pressed] {
2083
+ --color-icon: var(--figma-color-icon);
2084
+ background-color: var(--figma-color-bg);
2085
+ box-shadow: inset 0 0 0 var(--space-px) var(--figma-color-border);
2086
+ }
2087
+
2088
+ .fp-SegmentedControlItem:focus-visible {
2089
+ outline: 1px solid var(--figma-color-border-selected);
2090
+ outline-offset: -1px;
2091
+ }
2092
+
2093
+ .fp-SegmentedControlItem:disabled {
2094
+ --color-icon: var(--figma-color-icon-disabled);
2095
+ }
2096
+
2097
+ .fp-SegmentedControlText {
2098
+ display: flex;
2099
+ align-items: center;
2100
+ padding: var(--space-2);
2101
+ gap: var(--space-1_5);
2102
+ }
2103
+
2104
+ [data-disabled] .fp-SegmentedControlText {
2105
+ color: var(--figma-color-text-disabled);
2106
+ }
2107
+ }
2108
+ @layer components {
2109
+ :where(.fp-CollapsibleContent .fp-CollapsibleRoot) {
2110
+ margin-left: calc(-1 * var(--space-1));
2111
+ }
2112
+
2113
+ .fp-CollapsibleTrigger {
2114
+ all: unset;
2115
+ display: flex;
2116
+ align-items: center;
2117
+ width: 100%;
2118
+ padding: var(--space-2) 0;
2119
+ font-family: var(--font-family-default);
2120
+ font-size: var(--font-size-default);
2121
+ font-weight: var(--font-weight-default);
2122
+ letter-spacing: var(--letter-spacing-default);
2123
+ line-height: var(--line-height-default);
2124
+ color: var(--figma-color-text-secondary);
2125
+ }
2126
+
2127
+ .fp-CollapsibleIndicator {
2128
+ --color-icon: var(--figma-color-icon-secondary);
2129
+ }
2130
+
2131
+ [data-panel-open] > .fp-CollapsibleIndicator {
2132
+ transform: rotate(90deg);
2133
+ }
2134
+
2135
+ .fp-CollapsibleContent {
2136
+ margin-left: var(--space-4);
2137
+ }
2138
+ }
2139
+ @layer components {
2140
+
2141
+ .fp-ColorPickerHueSlider:where(.fp-color-model-hsv, .fp-color-model-hsl, .fp-color-model-rgb, .fp-color-model-hex) {
2142
+ --slider-track-bg: linear-gradient(
2143
+ 90deg,
2144
+ rgba(255, 0, 0, 1) var(--slider-thumb-inset),
2145
+ rgba(255, 48, 0, 1),
2146
+ rgba(255, 96, 0, 1),
2147
+ rgba(255, 143, 0, 1),
2148
+ rgba(255, 191, 0, 1),
2149
+ rgba(255, 239, 0, 1),
2150
+ rgba(223, 255, 0, 1),
2151
+ rgba(175, 255, 0, 1),
2152
+ rgba(128, 255, 0, 1),
2153
+ rgba(80, 255, 0, 1),
2154
+ rgba(32, 255, 0, 1),
2155
+ rgba(0, 255, 16, 1),
2156
+ rgba(0, 255, 64, 1),
2157
+ rgba(0, 255, 112, 1),
2158
+ rgba(0, 255, 159, 1),
2159
+ rgba(0, 255, 207, 1),
2160
+ rgba(0, 255, 255, 1),
2161
+ rgba(0, 207, 255, 1),
2162
+ rgba(0, 159, 255, 1),
2163
+ rgba(0, 112, 255, 1),
2164
+ rgba(0, 64, 255, 1),
2165
+ rgba(0, 16, 255, 1),
2166
+ rgba(32, 0, 255, 1),
2167
+ rgba(80, 0, 255, 1),
2168
+ rgba(127, 0, 255, 1),
2169
+ rgba(175, 0, 255, 1),
2170
+ rgba(223, 0, 255, 1),
2171
+ rgba(255, 0, 239, 1),
2172
+ rgba(255, 0, 191, 1),
2173
+ rgba(255, 0, 143, 1),
2174
+ rgba(255, 0, 96, 1),
2175
+ rgba(255, 0, 48, 1) calc(100% - var(--slider-thumb-inset))
2176
+ );
2177
+ }
2178
+ @supports (color: color(display-p3 1 1 1)) {
2179
+ @media (color-gamut: p3) {
2180
+
2181
+ .fp-ColorPickerHueSlider:where(.fp-color-model-hsv, .fp-color-model-hsl):where(.fp-color-space-display-p3) {
2182
+ --slider-track-bg: linear-gradient(
2183
+ 90deg,
2184
+ color(display-p3 1 0 0) var(--slider-thumb-inset),
2185
+ color(display-p3 1 0.1875 0),
2186
+ color(display-p3 1 0.375 0),
2187
+ color(display-p3 1 0.5625 0),
2188
+ color(display-p3 1 0.75 0),
2189
+ color(display-p3 1 0.9375 0),
2190
+ color(display-p3 0.875 1 0),
2191
+ color(display-p3 0.6875 1 0),
2192
+ color(display-p3 0.5 1 0),
2193
+ color(display-p3 0.3125 1 0),
2194
+ color(display-p3 0.125 1 0),
2195
+ color(display-p3 0 1 0.0625),
2196
+ color(display-p3 0 1 0.25),
2197
+ color(display-p3 0 1 0.4375),
2198
+ color(display-p3 0 1 0.625),
2199
+ color(display-p3 0 1 0.8125),
2200
+ color(display-p3 0 1 1),
2201
+ color(display-p3 0 0.8125 1),
2202
+ color(display-p3 0 0.625 1),
2203
+ color(display-p3 0 0.4375 1),
2204
+ color(display-p3 0 0.25 1),
2205
+ color(display-p3 0 0.0625 1),
2206
+ color(display-p3 0.125 0 1),
2207
+ color(display-p3 0.3125 0 1),
2208
+ color(display-p3 0.5 0 1),
2209
+ color(display-p3 0.6875 0 1),
2210
+ color(display-p3 0.875 0 1),
2211
+ color(display-p3 1 0 0.9375),
2212
+ color(display-p3 1 0 0.75),
2213
+ color(display-p3 1 0 0.5625),
2214
+ color(display-p3 1 0 0.375),
2215
+ color(display-p3 1 0 0.1875) calc(100% - var(--slider-thumb-inset))
2216
+ );
2217
+ }
2218
+ }
2219
+ }
2220
+
2221
+ .fp-ColorPickerAlphaSlider {
2222
+ --track-bg-step-1: var(--track-bg-transparent-srgb);
2223
+ --track-bg-step-2: var(--track-bg-opaque-srgb);
2224
+ --slider-thumb-bg: var(--thumb-bg-srgb);
2225
+
2226
+ --slider-track-bg: linear-gradient(
2227
+ to right,
2228
+ var(--track-bg-step-1) 0 var(--slider-thumb-inset),
2229
+ var(--track-bg-step-2) calc(100% - var(--slider-thumb-inset)) 100%
2230
+ ),
2231
+ url('data:image/svg+xml;utf8,%3Csvg%20width%3D%222%22%20height%3D%222%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0%200h1v2h1V1H0%22%20fill-rule%3D%22nonzero%22%20fill%3D%22%23e1e1e1%22/%3E%3C/svg%3E')
2232
+ 0 0 / auto 66.66%,
2233
+ #fff;
2234
+ }
2235
+ @supports (color: color(display-p3 1 1 1)) {
2236
+ @media (color-gamut: p3) {
2237
+
2238
+ .fp-ColorPickerAlphaSlider:where(.fp-color-space-display-p3) {
2239
+ --slider-thumb-bg: var(--thumb-bg-p3);
2240
+ --track-bg-step-1: var(--track-bg-transparent-p3);
2241
+ --track-bg-step-2: var(--track-bg-opaque-p3);
2242
+ }
2243
+ }
2244
+ }
2245
+
2246
+ .fp-ColorPickerArea {
2247
+ position: relative;
2248
+ width: 100%;
2249
+ aspect-ratio: 1 / 1;
2250
+ }
2251
+
2252
+ .fp-ColorPickerAreaCanvas {
2253
+ width: 100%;
2254
+ height: 100%;
2255
+ outline-width: 1px;
2256
+ outline-style: solid;
2257
+ outline-color: #0000001a; /*TODO: color-bordertranslucent*/
2258
+ outline-offset: -1px;
2259
+ --base-color: var(--base-color-srgb);
2260
+ --gradient-step-black: rgb(0 0 0);
2261
+ --gradient-step-black-transparent: rgb(0 0 0 / 0);
2262
+ --gradient-step-white: rgb(255 255 255);
2263
+ --gradient-step-white-transparent: rgb(255 255 255 / 0);
2264
+ --gradient-step-gray: rgb(128 128 128);
2265
+ --gradient-step-gray-transparent: rgb(128 128 128 / 0);
2266
+ }
2267
+ @supports (color: color(display-p3 1 1 1)) {
2268
+ @media (color-gamut: p3) {
2269
+
2270
+ .fp-ColorPickerAreaCanvas:where(.fp-color-space-display-p3) {
2271
+ --base-color: var(--base-color-p3);
2272
+ --gradient-step-black: color(display-p3 0 0 0);
2273
+ --gradient-step-black-transparent: color(display-p3 0 0 0 / 0);
2274
+ --gradient-step-white: color(display-p3 1 1 1);
2275
+ --gradient-step-white-transparent: color(display-p3 1 1 1 / 0);
2276
+ --gradient-step-gray: color(display-p3 0.5 0.5 0.5);
2277
+ --gradient-step-gray-transparent: color(display-p3 0.5 0.5 0.5 / 0);
2278
+ }
2279
+ }
2280
+ }
2281
+
2282
+ .fp-ColorPickerAreaCanvas:where(.fp-color-model-hsv, .fp-color-model-hex, .fp-color-model-rgb) {
2283
+ background: linear-gradient(to bottom, var(--gradient-step-black-transparent) 0%, var(--gradient-step-black) 100%),
2284
+ linear-gradient(to right, var(--gradient-step-white) 0%, var(--base-color) 100%);
2285
+ }
2286
+
2287
+ .fp-ColorPickerAreaCanvas:where(.fp-color-model-hsl) {
2288
+ background: linear-gradient(
2289
+ to bottom,
2290
+ var(--gradient-step-white) 0%,
2291
+ var(--gradient-step-white-transparent) 49.99%,
2292
+ var(--gradient-step-black-transparent) 50.01%,
2293
+ var(--gradient-step-black) 100%
2294
+ ),
2295
+ linear-gradient(to right, var(--gradient-step-gray) 0%, var(--gradient-step-gray-transparent) 100%),
2296
+ var(--base-color);
2297
+ }
2298
+
2299
+ .fp-ColorPickerThumb {
2300
+ position: absolute;
2301
+ box-sizing: border-box;
2302
+ box-shadow: var(--elevation-200);
2303
+ left: 0;
2304
+ transform: translate(-50%, -50%);
2305
+ width: 16px;
2306
+ height: 16px;
2307
+ border-radius: 8px;
2308
+ border-style: solid;
2309
+ border-width: 4px;
2310
+ border-color: white;
2311
+ background: var(--thumb-bg-srgb);
2312
+ }
2313
+
2314
+ .fp-ColorPickerThumb:focus-visible {
2315
+ outline: 1px solid var(--figma-color-border-selected);
2316
+ }
2317
+ @supports (color: color(display-p3 1 1 1)) {
2318
+ @media (color-gamut: p3) {
2319
+
2320
+ .fp-ColorPickerThumb:where(.fp-color-space-display-p3) {
2321
+ background: var(--thumb-bg-p3);
2322
+ }
2323
+ }
2324
+ }
2325
+ }
1
2326
  @theme {
2
2327
  --color-*: initial;
3
2328
 
@@ -181,15 +2506,12 @@
181
2506
  --icon-color-warning-secondary: var(--figma-color-icon-warning-secondary);
182
2507
  --icon-color-warning-tertiary: var(--figma-color-icon-warning-tertiary);
183
2508
  }
184
-
185
2509
  @utility icon-* {
186
2510
  --color-icon: --value(--icon-color-*);
187
2511
  }
188
-
189
2512
  @theme {
190
2513
  --radius-*: initial;
191
2514
  }
192
-
193
2515
  @theme inline {
194
2516
  --radius-extra-small: var(--radius-extra-small);
195
2517
  --radius-small: var(--radius-small);
@@ -197,11 +2519,9 @@
197
2519
  --radius-large: var(--radius-large);
198
2520
  --radius-full: var(--radius-full);
199
2521
  }
200
-
201
2522
  @utility rounded {
202
2523
  border-radius: var(--radius-default);
203
2524
  }
204
-
205
2525
  @theme {
206
2526
  --font-*: initial;
207
2527
  --font-weight-*: initial;
@@ -209,7 +2529,6 @@
209
2529
  --tracking-*: initial;
210
2530
  --leading-*: initial;
211
2531
  }
212
-
213
2532
  @theme inline {
214
2533
  --font-sans: var(--font-family-default);
215
2534
  --font-monospace: var(--font-family-monospace);
@@ -259,11 +2578,9 @@
259
2578
  --leading-medium: var(--line-height-3);
260
2579
  --leading-large: var(--line-height-5);
261
2580
  }
262
-
263
2581
  @theme {
264
2582
  --shadow-*: initial;
265
2583
  }
266
-
267
2584
  @theme inline {
268
2585
  --shadow-100: var(--elevation-100);
269
2586
  --shadow-200: var(--elevation-200);