@tangible/ui 0.2.22 → 0.2.24
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/components/Checkbox/Checkbox.js +1 -1
- package/components/DatePicker/DateRangePicker.js +1 -1
- package/components/Dropdown/Dropdown.js +1 -1
- package/components/GradientPicker/GradientPicker.js +3 -3
- package/components/NavMenu/NavMenu.d.ts +26 -0
- package/components/NavMenu/NavMenu.js +113 -0
- package/components/NavMenu/index.d.ts +2 -0
- package/components/NavMenu/index.js +1 -0
- package/components/NavMenu/types.d.ts +75 -0
- package/components/NavMenu/types.js +4 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +1 -0
- package/figma-tokens.json +94 -5
- package/package.json +5 -1
- package/skills/building-with-tui/SKILL.md +24 -10
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +604 -125
- package/styles/all.expanded.unlayered.css +604 -125
- package/styles/all.unlayered.css +1 -1
- package/styles/components/_bundle.scss +2 -0
- package/styles/components/accordion.scss +5 -0
- package/styles/components/button.scss +13 -9
- package/styles/components/card.scss +14 -0
- package/styles/components/checkbox.scss +13 -2
- package/styles/components/color-picker.scss +13 -4
- package/styles/components/combobox.scss +42 -16
- package/styles/components/date-picker.scss +9 -6
- package/styles/components/dropdown.scss +30 -13
- package/styles/components/gradient-picker.scss +4 -5
- package/styles/components/input/index.scss +16 -6
- package/styles/components/multi-combobox.scss +32 -17
- package/styles/components/multi-select.scss +41 -16
- package/styles/components/nav-menu.scss +212 -0
- package/styles/components/radio.scss +11 -3
- package/styles/components/search-select.scss +53 -17
- package/styles/components/segmented-control.scss +6 -0
- package/styles/components/select.scss +42 -16
- package/styles/components/sidebar.scss +4 -0
- package/styles/components/slider.scss +1 -1
- package/styles/components/switch.scss +1 -1
- package/styles/components/table.scss +8 -1
- package/styles/components/tabs.scss +4 -1
- package/styles/components/text-input.scss +15 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/index.scss +18 -0
- package/styles/system/_constants.scss +0 -6
- package/styles/system/_palettes.scss +6 -0
- package/styles/system/_text-styles.scss +200 -0
- package/styles/system/_tokens.scss +9 -2
- package/styles/system/index.scss +3 -1
- package/tui-manifest.json +130 -6
- package/utils/listbox/group.js +3 -1
- package/utils/portal.js +34 -5
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
@use "./slider" as slider;
|
|
34
34
|
@use "./switch" as switch;
|
|
35
35
|
@use "./sidebar" as sidebar;
|
|
36
|
+
@use "./nav-menu" as navmenu;
|
|
36
37
|
@use "./step-indicator" as stepindicator;
|
|
37
38
|
@use "./search-input" as searchinput;
|
|
38
39
|
@use "./search-select" as searchselect;
|
|
@@ -116,6 +117,7 @@ $-input-dependents: (input, field, text-input, textarea, pager, search-input, se
|
|
|
116
117
|
@if -wants($only, slider) { @include slider.styles(); }
|
|
117
118
|
@if -wants($only, switch) { @include switch.styles(); }
|
|
118
119
|
@if -wants($only, sidebar) { @include sidebar.styles(); }
|
|
120
|
+
@if -wants($only, nav-menu) { @include navmenu.styles(); }
|
|
119
121
|
@if -wants($only, step-indicator) { @include stepindicator.styles(); }
|
|
120
122
|
@if -wants($only, step-list) { @include steplist.styles(); }
|
|
121
123
|
@if -wants($only, table) { @include table.styles(); }
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* @tui-tokens
|
|
4
4
|
--tui-accordion-bg
|
|
5
5
|
--tui-accordion-bg-open
|
|
6
|
+
--tui-accordion-fg
|
|
6
7
|
--tui-accordion-border
|
|
7
8
|
--tui-accordion-divider
|
|
8
9
|
--tui-accordion-radius
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
// Component API tokens (never defined here, only read via fallback):
|
|
26
27
|
// --tui-accordion-bg Item background
|
|
27
28
|
// --tui-accordion-bg-open Background when expanded
|
|
29
|
+
// --tui-accordion-fg Text color (item and panel)
|
|
28
30
|
// --tui-accordion-border Border color
|
|
29
31
|
// --tui-accordion-divider Border between trigger and panel when open
|
|
30
32
|
// --tui-accordion-radius Border radius
|
|
@@ -58,6 +60,7 @@
|
|
|
58
60
|
// Internal tokens — read component API with fallback to primitives
|
|
59
61
|
--_bg: var(--#{sys.$prefix}accordion-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
60
62
|
--_bg-open: var(--#{sys.$prefix}accordion-bg-open, var(--#{sys.$prefix}color-bg-surface));
|
|
63
|
+
--_fg: var(--#{sys.$prefix}accordion-fg, var(--#{sys.$prefix}color-fg));
|
|
61
64
|
--_border: var(--#{sys.$prefix}accordion-border, var(--#{sys.$prefix}color-border));
|
|
62
65
|
--_divider: var(--#{sys.$prefix}accordion-divider, var(--_border));
|
|
63
66
|
--_radius: var(--#{sys.$prefix}accordion-radius, var(--#{sys.$prefix}radius-md));
|
|
@@ -70,6 +73,7 @@
|
|
|
70
73
|
--_indicator: var(--#{sys.$prefix}accordion-indicator, currentColor);
|
|
71
74
|
|
|
72
75
|
background-color: var(--_bg);
|
|
76
|
+
color: var(--_fg);
|
|
73
77
|
border: var(--#{sys.$prefix}border-width) solid var(--_border);
|
|
74
78
|
border-radius: var(--_radius);
|
|
75
79
|
overflow: hidden;
|
|
@@ -195,6 +199,7 @@
|
|
|
195
199
|
overflow: hidden;
|
|
196
200
|
padding-inline: var(--_panel-padding);
|
|
197
201
|
background: var(--_panel-bg);
|
|
202
|
+
color: var(--_fg);
|
|
198
203
|
// No padding-block — it would prevent full collapse during the
|
|
199
204
|
// grid-template-rows animation. Both top and bottom spacing use
|
|
200
205
|
// pseudo-elements that participate in the grid row and shrink to 0.
|
|
@@ -452,16 +452,20 @@ $_typography-lineHeight: var(--#{sys.$prefix}button-line-height, 1.4);
|
|
|
452
452
|
// File input button
|
|
453
453
|
// ---------------------------------------------------------------------------
|
|
454
454
|
.#{sys.$prefix}interface input[type="file"] {
|
|
455
|
-
//
|
|
456
|
-
--_bg
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
--_bg-interact: var(--#{sys.$prefix}button-bg-interact, var(--#{sys.$prefix}theme-primary-stronger));
|
|
461
|
-
--_fg-interact: var(--#{sys.$prefix}button-fg-interact, var(--#{sys.$prefix}color-fg-on-accent));
|
|
462
|
-
--_border-interact: var(--#{sys.$prefix}button-border-interact, var(--#{sys.$prefix}theme-primary-stronger));
|
|
463
|
-
|
|
455
|
+
// The button's internals live on the pseudo-element, not the input. The
|
|
456
|
+
// input is also the field (input/index.scss sets its own --_bg/--_fg on it),
|
|
457
|
+
// and same-named internals on one element collide: this rule is more
|
|
458
|
+
// specific, so the whole field used to take the button's primary fill and
|
|
459
|
+
// white text (#116).
|
|
464
460
|
&::file-selector-button {
|
|
461
|
+
--_bg: var(--#{sys.$prefix}button-bg, var(--#{sys.$prefix}theme-primary-base));
|
|
462
|
+
--_fg: var(--#{sys.$prefix}button-fg, var(--#{sys.$prefix}color-fg-on-accent));
|
|
463
|
+
--_border: var(--#{sys.$prefix}button-border, var(--#{sys.$prefix}theme-primary-base));
|
|
464
|
+
--_radius: var(--#{sys.$prefix}button-radius, var(--#{sys.$prefix}radius-md));
|
|
465
|
+
--_bg-interact: var(--#{sys.$prefix}button-bg-interact, var(--#{sys.$prefix}theme-primary-stronger));
|
|
466
|
+
--_fg-interact: var(--#{sys.$prefix}button-fg-interact, var(--#{sys.$prefix}color-fg-on-accent));
|
|
467
|
+
--_border-interact: var(--#{sys.$prefix}button-border-interact, var(--#{sys.$prefix}theme-primary-stronger));
|
|
468
|
+
|
|
465
469
|
@include button-base;
|
|
466
470
|
|
|
467
471
|
background-color: var(--_bg);
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
/* @tui-tokens
|
|
4
4
|
--tui-card-bg
|
|
5
|
+
--tui-card-fg
|
|
5
6
|
--tui-card-bg-interact
|
|
6
7
|
--tui-card-border
|
|
7
8
|
--tui-card-border-width
|
|
@@ -23,6 +24,7 @@
|
|
|
23
24
|
// Component API tokens (never defined here, only read via fallback):
|
|
24
25
|
// --tui-card-bg Background color
|
|
25
26
|
// --tui-card-bg-interact Hover/focus fill (default: no change; ghost: bg-muted)
|
|
27
|
+
// --tui-card-fg Text color (solid/elevated; outline, ghost and seamless inherit; ghost owns it on hover)
|
|
26
28
|
// --tui-card-border Border color
|
|
27
29
|
// --tui-card-border-width Border width (falls back to --tui-border-width)
|
|
28
30
|
// --tui-card-border-interact Hover/focus border color
|
|
@@ -41,6 +43,10 @@
|
|
|
41
43
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}card {
|
|
42
44
|
// Internal tokens — read component API with fallback to primitives
|
|
43
45
|
--_bg: var(--#{sys.$prefix}card-bg, var(--#{sys.$prefix}color-bg));
|
|
46
|
+
// Text colour is owned wherever the card paints a fill. Variants with no
|
|
47
|
+
// resting fill (outline/ghost/seamless) re-point --_fg to inherit.
|
|
48
|
+
--_fg: var(--#{sys.$prefix}card-fg, var(--#{sys.$prefix}color-fg));
|
|
49
|
+
--_fg-interact: var(--_fg);
|
|
44
50
|
--_border: var(--#{sys.$prefix}card-border, var(--#{sys.$prefix}color-border));
|
|
45
51
|
--_border-width: var(--#{sys.$prefix}card-border-width, var(--#{sys.$prefix}border-width));
|
|
46
52
|
--_border-interact: var(--#{sys.$prefix}card-border-interact, var(--#{sys.$prefix}theme-primary-base));
|
|
@@ -65,6 +71,7 @@
|
|
|
65
71
|
border-color: var(--_border);
|
|
66
72
|
border-radius: var(--_radius);
|
|
67
73
|
background-color: var(--_bg);
|
|
74
|
+
color: var(--_fg);
|
|
68
75
|
|
|
69
76
|
// -------------------------------------------------------------------------
|
|
70
77
|
// Media
|
|
@@ -283,12 +290,14 @@
|
|
|
283
290
|
&:hover {
|
|
284
291
|
--_border: var(--_border-interact);
|
|
285
292
|
background-color: var(--_bg-interact);
|
|
293
|
+
color: var(--_fg-interact);
|
|
286
294
|
}
|
|
287
295
|
|
|
288
296
|
&:focus-visible,
|
|
289
297
|
&:has(:focus-visible) {
|
|
290
298
|
--_border: var(--_border-interact);
|
|
291
299
|
background-color: var(--_bg-interact);
|
|
300
|
+
color: var(--_fg-interact);
|
|
292
301
|
}
|
|
293
302
|
|
|
294
303
|
&:active,
|
|
@@ -341,12 +350,16 @@
|
|
|
341
350
|
// Outline: border only, no fill.
|
|
342
351
|
&.is-style-outline {
|
|
343
352
|
--_bg: transparent;
|
|
353
|
+
--_fg: var(--#{sys.$prefix}card-fg, inherit);
|
|
344
354
|
}
|
|
345
355
|
|
|
346
356
|
// Ghost: no resting chrome, reveals a fill on interaction. Border colour goes
|
|
347
357
|
// transparent (box metrics preserved so it aligns with solid/outline in grids).
|
|
348
358
|
&.is-style-ghost {
|
|
349
359
|
--_bg: transparent;
|
|
360
|
+
--_fg: var(--#{sys.$prefix}card-fg, inherit);
|
|
361
|
+
// The hover fill is real, so the text colour is owned while it shows.
|
|
362
|
+
--_fg-interact: var(--#{sys.$prefix}card-fg, var(--#{sys.$prefix}color-fg));
|
|
350
363
|
--_border: transparent;
|
|
351
364
|
--_bg-interact: var(--#{sys.$prefix}card-bg-interact, var(--#{sys.$prefix}color-bg-muted));
|
|
352
365
|
}
|
|
@@ -357,6 +370,7 @@
|
|
|
357
370
|
// `ghost` when you want a hover-reveal on a chrome-less card.
|
|
358
371
|
&.is-style-seamless {
|
|
359
372
|
--_bg: transparent;
|
|
373
|
+
--_fg: var(--#{sys.$prefix}card-fg, inherit);
|
|
360
374
|
--_border: transparent;
|
|
361
375
|
// 0px, NOT 0 — these feed calcs (`calc(100% + var(--_padding))`,
|
|
362
376
|
// `calc(var(--_radius) - var(--_border-width))`). A unitless zero makes
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
/* @tui-tokens
|
|
4
4
|
--tui-checkbox-accent
|
|
5
5
|
--tui-checkbox-border
|
|
6
|
+
--tui-checkbox-border-hover
|
|
6
7
|
--tui-checkbox-border-invalid
|
|
7
8
|
--tui-checkbox-radius
|
|
8
9
|
--tui-checkbox-bg
|
|
@@ -30,7 +31,8 @@ $_indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/sv
|
|
|
30
31
|
// --tui-checkbox-accent Accent color for checked/indeterminate
|
|
31
32
|
// → --tui-input-accent → --tui-theme-primary-base
|
|
32
33
|
// --tui-checkbox-border Border color (unchecked)
|
|
33
|
-
//
|
|
34
|
+
// --tui-checkbox-border-hover Hover border (opt-in; default: no change)
|
|
35
|
+
// → --tui-input-border → --tui-color-border-control
|
|
34
36
|
// --tui-checkbox-border-invalid Border color (invalid)
|
|
35
37
|
// → --tui-theme-danger-base
|
|
36
38
|
// --tui-checkbox-radius Border radius
|
|
@@ -58,7 +60,10 @@ $_indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/sv
|
|
|
58
60
|
) {
|
|
59
61
|
// Internal tokens with real fallbacks
|
|
60
62
|
--_accent: var(--#{sys.$prefix}checkbox-accent, var(--#{sys.$prefix}input-accent, var(--#{sys.$prefix}theme-primary-base)));
|
|
61
|
-
--_border: var(--#{sys.$prefix}checkbox-border, var(--#{sys.$prefix}color-border));
|
|
63
|
+
--_border-rest: var(--#{sys.$prefix}checkbox-border, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control)));
|
|
64
|
+
// No hover change unless a consumer opts in (house rule for form controls).
|
|
65
|
+
--_border-hover: var(--#{sys.$prefix}checkbox-border-hover, var(--#{sys.$prefix}input-border-hover, var(--_border-rest)));
|
|
66
|
+
--_border: var(--_border-rest);
|
|
62
67
|
--_radius: var(--#{sys.$prefix}checkbox-radius, var(--#{sys.$prefix}radius-sm));
|
|
63
68
|
--_bg: var(--#{sys.$prefix}checkbox-bg, var(--#{sys.$prefix}color-bg));
|
|
64
69
|
|
|
@@ -110,6 +115,12 @@ $_indeterminate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/sv
|
|
|
110
115
|
background-image: $_indeterminate;
|
|
111
116
|
}
|
|
112
117
|
|
|
118
|
+
// Hover: before Invalid so an invalid box keeps its red. Checked and
|
|
119
|
+
// indeterminate set border-color directly, so this can't touch them.
|
|
120
|
+
&:hover:not(:disabled) {
|
|
121
|
+
--_border: var(--_border-hover);
|
|
122
|
+
}
|
|
123
|
+
|
|
113
124
|
// Invalid
|
|
114
125
|
&[aria-invalid="true"] {
|
|
115
126
|
--_border: var(--#{sys.$prefix}checkbox-border-invalid, var(--#{sys.$prefix}theme-danger-base));
|
|
@@ -166,11 +166,17 @@
|
|
|
166
166
|
// the tui-input-group hosts do — a context re-pointing --tui-input-border
|
|
167
167
|
// or --tui-input-radius reaches this box too.
|
|
168
168
|
border: var(--#{sys.$prefix}border-width) solid
|
|
169
|
-
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
|
|
169
|
+
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control));
|
|
170
170
|
border-radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
|
|
171
171
|
background: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
172
|
+
color: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg));
|
|
172
173
|
font-size: var(--#{sys.$prefix}typography-size-xs);
|
|
173
174
|
|
|
175
|
+
// Opt-in hover, resting border by default; before focus so focus wins.
|
|
176
|
+
&:hover {
|
|
177
|
+
border-color: var(--#{sys.$prefix}input-border-hover, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control)));
|
|
178
|
+
}
|
|
179
|
+
|
|
174
180
|
&:focus-within {
|
|
175
181
|
border-color: var(--#{sys.$prefix}focus-ring-color);
|
|
176
182
|
outline: var(--#{sys.$prefix}focus-ring-width) solid var(--#{sys.$prefix}focus-ring-color);
|
|
@@ -254,7 +260,7 @@
|
|
|
254
260
|
color: var(--#{sys.$prefix}color-fg-muted);
|
|
255
261
|
|
|
256
262
|
code {
|
|
257
|
-
font-family: var(--#{sys.$prefix}font-family-mono,
|
|
263
|
+
font-family: var(--#{sys.$prefix}font-family-mono, #{sys.$font-stack-mono});
|
|
258
264
|
}
|
|
259
265
|
|
|
260
266
|
// Kept in the DOM (so the aria-live region announces on toggle) but
|
|
@@ -284,7 +290,7 @@
|
|
|
284
290
|
// --tui-input-border / --tui-input-radius must reach this trigger the
|
|
285
291
|
// same as every other control.
|
|
286
292
|
border: var(--#{sys.$prefix}border-width) solid
|
|
287
|
-
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
|
|
293
|
+
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control));
|
|
288
294
|
border-radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
|
|
289
295
|
background: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
290
296
|
color: var(--#{sys.$prefix}color-fg);
|
|
@@ -325,8 +331,11 @@
|
|
|
325
331
|
min-block-size: 0;
|
|
326
332
|
}
|
|
327
333
|
|
|
334
|
+
// Opt-in hover, resting border by default. This used to read
|
|
335
|
+
// --tui-color-border-strong, which doesn't exist, so it fell back to the
|
|
336
|
+
// decorative border and hover made the boundary LIGHTER than its 3:1 rest.
|
|
328
337
|
&:hover {
|
|
329
|
-
border-color: var(--#{sys.$prefix}
|
|
338
|
+
border-color: var(--#{sys.$prefix}input-border-hover, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control)));
|
|
330
339
|
}
|
|
331
340
|
|
|
332
341
|
// Match the shared form-control focus treatment: border turns primary plus
|
|
@@ -5,15 +5,21 @@
|
|
|
5
5
|
--tui-combobox-input-bg
|
|
6
6
|
--tui-combobox-input-fg
|
|
7
7
|
--tui-combobox-input-border
|
|
8
|
+
--tui-combobox-input-border-hover
|
|
8
9
|
--tui-combobox-input-border-focus
|
|
9
10
|
--tui-combobox-input-radius
|
|
10
11
|
--tui-combobox-content-bg
|
|
12
|
+
--tui-combobox-content-fg
|
|
11
13
|
--tui-combobox-content-border
|
|
12
14
|
--tui-combobox-content-shadow
|
|
13
15
|
--tui-combobox-content-radius
|
|
14
16
|
--tui-combobox-option-radius
|
|
15
17
|
--tui-combobox-option-bg-hover
|
|
16
18
|
--tui-combobox-option-bg-selected
|
|
19
|
+
--tui-combobox-option-fg-hover
|
|
20
|
+
--tui-combobox-option-fg-selected
|
|
21
|
+
--tui-combobox-option-bg-selected-hover
|
|
22
|
+
--tui-combobox-option-check
|
|
17
23
|
--tui-combobox-option-gap
|
|
18
24
|
*/
|
|
19
25
|
|
|
@@ -27,19 +33,31 @@ $_min-width: 160px;
|
|
|
27
33
|
//
|
|
28
34
|
// Shares visual language with Select. Uses Select tokens as fallbacks.
|
|
29
35
|
//
|
|
36
|
+
// Panel and option tokens sit on top of the family-wide --tui-listbox-* layer
|
|
37
|
+
// (bg, fg, border, shadow, radius, option-radius, option-gap, option-bg-hover,
|
|
38
|
+
// option-fg-hover, option-bg-selected, option-fg-selected,
|
|
39
|
+
// option-bg-selected-hover, option-check). Set --tui-listbox-* to restyle every
|
|
40
|
+
// listbox at once; a per-component token below overrides it for this one.
|
|
41
|
+
//
|
|
30
42
|
// Component API tokens (only define if Combobox needs different values):
|
|
31
43
|
// --tui-combobox-input-bg
|
|
32
44
|
// --tui-combobox-input-fg
|
|
33
45
|
// --tui-combobox-input-border
|
|
46
|
+
// --tui-combobox-input-border-hover
|
|
34
47
|
// --tui-combobox-input-border-focus
|
|
35
48
|
// --tui-combobox-input-radius
|
|
36
49
|
// --tui-combobox-content-bg
|
|
50
|
+
// --tui-combobox-content-fg
|
|
37
51
|
// --tui-combobox-content-border
|
|
38
52
|
// --tui-combobox-content-shadow
|
|
39
53
|
// --tui-combobox-content-radius
|
|
40
54
|
// --tui-combobox-option-radius
|
|
41
55
|
// --tui-combobox-option-bg-hover
|
|
42
56
|
// --tui-combobox-option-bg-selected
|
|
57
|
+
// --tui-combobox-option-fg-hover
|
|
58
|
+
// --tui-combobox-option-fg-selected
|
|
59
|
+
// --tui-combobox-option-bg-selected-hover
|
|
60
|
+
// --tui-combobox-option-check
|
|
43
61
|
//
|
|
44
62
|
// ==========================================================================
|
|
45
63
|
|
|
@@ -73,7 +91,8 @@ $_min-width: 160px;
|
|
|
73
91
|
// trigger-* overrides still win; the shared input default sits underneath.
|
|
74
92
|
--_bg: var(--#{sys.$prefix}combobox-input-bg, var(--#{sys.$prefix}select-trigger-bg, var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface))));
|
|
75
93
|
--_fg: var(--#{sys.$prefix}combobox-input-fg, var(--#{sys.$prefix}select-trigger-fg, var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg))));
|
|
76
|
-
--_border: var(--#{sys.$prefix}combobox-input-border, var(--#{sys.$prefix}select-trigger-border, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border))));
|
|
94
|
+
--_border-rest: var(--#{sys.$prefix}combobox-input-border, var(--#{sys.$prefix}select-trigger-border, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control))));
|
|
95
|
+
--_border-hover: var(--#{sys.$prefix}combobox-input-border-hover, var(--#{sys.$prefix}select-trigger-border-hover, var(--#{sys.$prefix}input-border-hover, var(--_border-rest))));
|
|
77
96
|
--_border-focus: var(--#{sys.$prefix}combobox-input-border-focus, var(--#{sys.$prefix}select-trigger-border-focus, var(--#{sys.$prefix}input-border-focus, var(--#{sys.$prefix}theme-primary-base))));
|
|
78
97
|
--_radius: var(--#{sys.$prefix}combobox-input-radius, var(--#{sys.$prefix}select-trigger-radius, var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md))));
|
|
79
98
|
|
|
@@ -188,10 +207,11 @@ $_min-width: 160px;
|
|
|
188
207
|
|
|
189
208
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}combobox__content {
|
|
190
209
|
// Internal tokens with fallbacks to Select tokens
|
|
191
|
-
--_bg: var(--#{sys.$prefix}combobox-content-bg, var(--#{sys.$prefix}select-content-bg, var(--#{sys.$prefix}color-bg-elevated)));
|
|
192
|
-
--
|
|
193
|
-
--
|
|
194
|
-
--
|
|
210
|
+
--_bg: var(--#{sys.$prefix}combobox-content-bg, var(--#{sys.$prefix}select-content-bg, var(--#{sys.$prefix}listbox-bg, var(--#{sys.$prefix}color-bg-elevated))));
|
|
211
|
+
--_fg: var(--#{sys.$prefix}combobox-content-fg, var(--#{sys.$prefix}select-content-fg, var(--#{sys.$prefix}listbox-fg, var(--#{sys.$prefix}color-fg))));
|
|
212
|
+
--_border: var(--#{sys.$prefix}combobox-content-border, var(--#{sys.$prefix}select-content-border, var(--#{sys.$prefix}listbox-border, var(--#{sys.$prefix}color-border))));
|
|
213
|
+
--_shadow: var(--#{sys.$prefix}combobox-content-shadow, var(--#{sys.$prefix}select-content-shadow, var(--#{sys.$prefix}listbox-shadow, var(--#{sys.$prefix}shadow-dropdown))));
|
|
214
|
+
--_radius: var(--#{sys.$prefix}combobox-content-radius, var(--#{sys.$prefix}select-content-radius, var(--#{sys.$prefix}listbox-radius, var(--#{sys.$prefix}radius-md))));
|
|
195
215
|
--_min-width: var(--#{sys.$prefix}combobox-min-width, var(--#{sys.$prefix}select-min-width, #{$_min-width}));
|
|
196
216
|
|
|
197
217
|
// Layout
|
|
@@ -228,6 +248,7 @@ $_min-width: 160px;
|
|
|
228
248
|
|
|
229
249
|
// Visual
|
|
230
250
|
background-color: var(--_bg);
|
|
251
|
+
color: var(--_fg);
|
|
231
252
|
border: var(--#{sys.$prefix}border-width) solid var(--_border);
|
|
232
253
|
border-radius: var(--_radius);
|
|
233
254
|
box-shadow: var(--_shadow);
|
|
@@ -242,9 +263,13 @@ $_min-width: 160px;
|
|
|
242
263
|
|
|
243
264
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}combobox__option {
|
|
244
265
|
// Internal tokens with fallbacks to Select tokens
|
|
245
|
-
--_option-radius: var(--#{sys.$prefix}combobox-option-radius, var(--#{sys.$prefix}select-option-radius, var(--#{sys.$prefix}radius-sm)));
|
|
246
|
-
--_bg-hover: var(--#{sys.$prefix}combobox-option-bg-hover, var(--#{sys.$prefix}select-option-bg-hover, var(--#{sys.$prefix}color-fill-subtle)));
|
|
247
|
-
--_bg-selected: var(--#{sys.$prefix}combobox-option-bg-selected, var(--#{sys.$prefix}select-option-bg-selected, var(--#{sys.$prefix}theme-primary-subtlest)));
|
|
266
|
+
--_option-radius: var(--#{sys.$prefix}combobox-option-radius, var(--#{sys.$prefix}select-option-radius, var(--#{sys.$prefix}listbox-option-radius, var(--#{sys.$prefix}radius-sm))));
|
|
267
|
+
--_bg-hover: var(--#{sys.$prefix}combobox-option-bg-hover, var(--#{sys.$prefix}select-option-bg-hover, var(--#{sys.$prefix}listbox-option-bg-hover, var(--#{sys.$prefix}color-fill-subtle))));
|
|
268
|
+
--_bg-selected: var(--#{sys.$prefix}combobox-option-bg-selected, var(--#{sys.$prefix}select-option-bg-selected, var(--#{sys.$prefix}listbox-option-bg-selected, var(--#{sys.$prefix}theme-primary-subtlest))));
|
|
269
|
+
--_fg-hover: var(--#{sys.$prefix}combobox-option-fg-hover, var(--#{sys.$prefix}select-option-fg-hover, var(--#{sys.$prefix}listbox-option-fg-hover, inherit)));
|
|
270
|
+
--_fg-selected: var(--#{sys.$prefix}combobox-option-fg-selected, var(--#{sys.$prefix}select-option-fg-selected, var(--#{sys.$prefix}listbox-option-fg-selected, inherit)));
|
|
271
|
+
--_bg-selected-hover: var(--#{sys.$prefix}combobox-option-bg-selected-hover, var(--#{sys.$prefix}select-option-bg-selected-hover, var(--#{sys.$prefix}listbox-option-bg-selected-hover, var(--#{sys.$prefix}theme-primary-subtle))));
|
|
272
|
+
--_check: var(--#{sys.$prefix}combobox-option-check, var(--#{sys.$prefix}select-option-check, var(--#{sys.$prefix}listbox-option-check, var(--#{sys.$prefix}theme-primary-strong))));
|
|
248
273
|
|
|
249
274
|
// Layout
|
|
250
275
|
display: flex;
|
|
@@ -265,21 +290,24 @@ $_min-width: 160px;
|
|
|
265
290
|
// (Not `& + &`: sass expands both ampersands to the full compound
|
|
266
291
|
// selector, and the :where() prefix ends up mid-combinator — dead rule.)
|
|
267
292
|
& + .#{sys.$prefix}combobox__option {
|
|
268
|
-
margin-block-start: var(--#{sys.$prefix}combobox-option-gap, var(--#{sys.$prefix}select-option-gap, 2px));
|
|
293
|
+
margin-block-start: var(--#{sys.$prefix}combobox-option-gap, var(--#{sys.$prefix}select-option-gap, var(--#{sys.$prefix}listbox-option-gap, 2px)));
|
|
269
294
|
}
|
|
270
295
|
|
|
271
296
|
&:hover:not([data-disabled]),
|
|
272
297
|
&[data-highlighted]:not([data-disabled]) {
|
|
273
298
|
background-color: var(--_bg-hover);
|
|
299
|
+
color: var(--_fg-hover);
|
|
274
300
|
}
|
|
275
301
|
|
|
276
302
|
&[aria-selected="true"] {
|
|
277
303
|
background-color: var(--_bg-selected);
|
|
304
|
+
color: var(--_fg-selected);
|
|
278
305
|
}
|
|
279
306
|
|
|
280
307
|
&[aria-selected="true"]:hover:not([data-disabled]),
|
|
281
308
|
&[aria-selected="true"][data-highlighted]:not([data-disabled]) {
|
|
282
|
-
background-color: var(
|
|
309
|
+
background-color: var(--_bg-selected-hover);
|
|
310
|
+
color: var(--_fg-selected);
|
|
283
311
|
}
|
|
284
312
|
|
|
285
313
|
&[data-disabled] {
|
|
@@ -295,7 +323,7 @@ $_min-width: 160px;
|
|
|
295
323
|
|
|
296
324
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}combobox__option-check {
|
|
297
325
|
flex-shrink: 0;
|
|
298
|
-
color: var(
|
|
326
|
+
color: var(--_check);
|
|
299
327
|
}
|
|
300
328
|
|
|
301
329
|
// ---------------------------------------------------------------------------
|
|
@@ -317,11 +345,9 @@ $_min-width: 160px;
|
|
|
317
345
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}combobox__label {
|
|
318
346
|
padding: var(--#{sys.$prefix}spacing-xs) var(--#{sys.$prefix}spacing-sm);
|
|
319
347
|
padding-bottom: var(--#{sys.$prefix}spacing-xxs);
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
text-transform: uppercase;
|
|
324
|
-
letter-spacing: sys.$label-letter-spacing;
|
|
348
|
+
// The overline text style. The mixin keeps static markup styled; the
|
|
349
|
+
// component also renders .tui-text-style-overline as the override hook.
|
|
350
|
+
@include sys.text-style(sys.$prefix, overline);
|
|
325
351
|
}
|
|
326
352
|
|
|
327
353
|
// ---------------------------------------------------------------------------
|
|
@@ -280,8 +280,9 @@
|
|
|
280
280
|
display: inline-flex;
|
|
281
281
|
align-items: center;
|
|
282
282
|
background-color: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
283
|
+
color: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg));
|
|
283
284
|
border: var(--#{sys.$prefix}border-width) solid
|
|
284
|
-
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
|
|
285
|
+
var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control));
|
|
285
286
|
border-radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
|
|
286
287
|
padding-inline: var(--#{sys.$prefix}spacing-sm);
|
|
287
288
|
|
|
@@ -298,6 +299,11 @@
|
|
|
298
299
|
}
|
|
299
300
|
}
|
|
300
301
|
|
|
302
|
+
// Opt-in hover, resting border by default; before focus so focus wins.
|
|
303
|
+
&:hover {
|
|
304
|
+
border-color: var(--#{sys.$prefix}input-border-hover, var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control)));
|
|
305
|
+
}
|
|
306
|
+
|
|
301
307
|
&:focus-within {
|
|
302
308
|
border-color: var(--#{sys.$prefix}input-border-focus, var(--#{sys.$prefix}theme-primary-base));
|
|
303
309
|
outline: var(--#{sys.$prefix}focus-ring-width) solid var(--#{sys.$prefix}focus-ring-color);
|
|
@@ -398,11 +404,8 @@
|
|
|
398
404
|
}
|
|
399
405
|
|
|
400
406
|
&__field-label {
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
font-weight: var(--#{sys.$prefix}typography-weight-medium, 500);
|
|
404
|
-
letter-spacing: sys.$label-letter-spacing;
|
|
405
|
-
text-transform: uppercase;
|
|
407
|
+
// Overline text style; the component also renders the class.
|
|
408
|
+
@include sys.text-style(sys.$prefix, overline);
|
|
406
409
|
}
|
|
407
410
|
|
|
408
411
|
&__fields-dash {
|
|
@@ -11,6 +11,9 @@
|
|
|
11
11
|
--tui-dropdown-min-width
|
|
12
12
|
--tui-dropdown-item-bg-hover
|
|
13
13
|
--tui-dropdown-item-bg-active
|
|
14
|
+
--tui-dropdown-item-fg
|
|
15
|
+
--tui-dropdown-item-fg-hover
|
|
16
|
+
--tui-dropdown-item-fg-active
|
|
14
17
|
*/
|
|
15
18
|
|
|
16
19
|
@mixin styles() {
|
|
@@ -28,6 +31,9 @@
|
|
|
28
31
|
// --tui-dropdown-min-width Minimum width
|
|
29
32
|
// --tui-dropdown-item-bg-hover Item hover background
|
|
30
33
|
// --tui-dropdown-item-bg-active Item active/selected background
|
|
34
|
+
// --tui-dropdown-item-fg Item text (default: the menu's fg)
|
|
35
|
+
// --tui-dropdown-item-fg-hover Item hover/focus text
|
|
36
|
+
// --tui-dropdown-item-fg-active Item pressed text
|
|
31
37
|
//
|
|
32
38
|
// ==========================================================================
|
|
33
39
|
|
|
@@ -44,6 +50,13 @@
|
|
|
44
50
|
// no feedback at all.
|
|
45
51
|
--_item-bg-hover: var(--#{sys.$prefix}dropdown-item-bg-hover, var(--#{sys.$prefix}color-fill-subtle));
|
|
46
52
|
--_item-bg-active: var(--#{sys.$prefix}dropdown-item-bg-active, var(--#{sys.$prefix}color-fill));
|
|
53
|
+
// Each row state pairs its fill with a foreground. These resolve HERE, on
|
|
54
|
+
// the panel, and reach the items as computed colours. The items are
|
|
55
|
+
// Buttons with their own --_fg, so a var(--_fg) written on the item would
|
|
56
|
+
// read the Button's internal, not the menu's.
|
|
57
|
+
--_item-fg: var(--#{sys.$prefix}dropdown-item-fg, var(--_fg));
|
|
58
|
+
--_item-fg-hover: var(--#{sys.$prefix}dropdown-item-fg-hover, var(--_item-fg));
|
|
59
|
+
--_item-fg-active: var(--#{sys.$prefix}dropdown-item-fg-active, var(--_item-fg-hover));
|
|
47
60
|
|
|
48
61
|
// Layout
|
|
49
62
|
z-index: var(--_z);
|
|
@@ -90,26 +103,32 @@
|
|
|
90
103
|
text-align: left;
|
|
91
104
|
font-weight: normal;
|
|
92
105
|
|
|
93
|
-
// Override Button's
|
|
106
|
+
// Override Button's colours for menu context. These are the tokens the
|
|
107
|
+
// ghost variant actually reads: rest from -bg/-fg, hover/focus/active from
|
|
108
|
+
// -bg-interact/-fg-interact. Setting -fg to `inherit` did nothing (on a
|
|
109
|
+
// custom property that copies the parent's unset value), and hover set
|
|
110
|
+
// -bg, which ghost never reads, so items rendered as primary-blue text with
|
|
111
|
+
// a primary hover instead of riding the fill ladder.
|
|
94
112
|
--#{sys.$prefix}button-bg: transparent;
|
|
95
|
-
--#{sys.$prefix}button-fg:
|
|
96
|
-
--#{sys.$prefix}button-border
|
|
113
|
+
--#{sys.$prefix}button-fg: var(--_item-fg);
|
|
114
|
+
--#{sys.$prefix}button-border: transparent;
|
|
115
|
+
--#{sys.$prefix}button-bg-interact: var(--_item-bg-hover);
|
|
116
|
+
--#{sys.$prefix}button-fg-interact: var(--_item-fg-hover);
|
|
117
|
+
--#{sys.$prefix}button-border-interact: transparent;
|
|
97
118
|
|
|
98
|
-
&:hover,
|
|
99
119
|
&[data-active] {
|
|
100
120
|
--#{sys.$prefix}button-bg: var(--_item-bg-hover);
|
|
101
|
-
--#{sys.$prefix}button-fg:
|
|
121
|
+
--#{sys.$prefix}button-fg: var(--_item-fg-hover);
|
|
102
122
|
}
|
|
103
123
|
|
|
104
124
|
&:focus-visible {
|
|
105
|
-
--#{sys.$prefix}button-bg: var(--_item-bg-hover);
|
|
106
|
-
--#{sys.$prefix}button-fg: inherit;
|
|
107
125
|
outline: var(--#{sys.$prefix}focus-ring-width) solid var(--#{sys.$prefix}focus-ring-color);
|
|
108
126
|
outline-offset: calc(-1 * var(--#{sys.$prefix}focus-ring-width, 2px));
|
|
109
127
|
}
|
|
110
128
|
|
|
111
129
|
&:active {
|
|
112
|
-
--#{sys.$prefix}button-bg: var(--_item-bg-active);
|
|
130
|
+
--#{sys.$prefix}button-bg-interact: var(--_item-bg-active);
|
|
131
|
+
--#{sys.$prefix}button-fg-interact: var(--_item-fg-active);
|
|
113
132
|
}
|
|
114
133
|
|
|
115
134
|
&:disabled,
|
|
@@ -142,12 +161,10 @@
|
|
|
142
161
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}dropdown__header {
|
|
143
162
|
padding: var(--#{sys.$prefix}spacing-xs, 8px) var(--#{sys.$prefix}spacing-sm, 12px);
|
|
144
163
|
padding-block-end: var(--#{sys.$prefix}spacing-xxs, 4px);
|
|
145
|
-
font-size: var(--#{sys.$prefix}typography-size-xs, 11px);
|
|
146
|
-
font-weight: var(--#{sys.$prefix}typography-weight-semibold, 600);
|
|
147
|
-
color: var(--#{sys.$prefix}color-fg-muted);
|
|
148
|
-
text-transform: uppercase;
|
|
149
|
-
letter-spacing: sys.$label-letter-spacing;
|
|
150
164
|
user-select: none;
|
|
165
|
+
// The overline text style. The mixin keeps static markup styled; the
|
|
166
|
+
// component also renders .tui-text-style-overline as the override hook.
|
|
167
|
+
@include sys.text-style(sys.$prefix, overline);
|
|
151
168
|
}
|
|
152
169
|
|
|
153
170
|
// ---------------------------------------------------------------------------
|
|
@@ -89,6 +89,7 @@
|
|
|
89
89
|
border-radius: var(--#{sys.$prefix}radius-full, 999px);
|
|
90
90
|
border: var(--#{sys.$prefix}border-width) solid var(--#{sys.$prefix}color-border);
|
|
91
91
|
background: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
92
|
+
color: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg));
|
|
92
93
|
cursor: grab;
|
|
93
94
|
touch-action: none;
|
|
94
95
|
user-select: none;
|
|
@@ -161,11 +162,9 @@
|
|
|
161
162
|
// Small uppercase section/field label (matches the design's control labels).
|
|
162
163
|
.#{sys.$prefix}interface .#{sys.$prefix}gradient-picker__label {
|
|
163
164
|
display: block;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
text-transform: uppercase;
|
|
168
|
-
color: var(--#{sys.$prefix}color-fg-muted);
|
|
165
|
+
// The overline text style. The mixin keeps static markup styled; the
|
|
166
|
+
// component also renders .tui-text-style-overline as the override hook.
|
|
167
|
+
@include sys.text-style(sys.$prefix, overline);
|
|
169
168
|
}
|
|
170
169
|
|
|
171
170
|
// The stop list — swatch + position + remove per row, then the add button.
|
|
@@ -28,10 +28,12 @@
|
|
|
28
28
|
// ---------------------------------------------------------------------------
|
|
29
29
|
// Labels
|
|
30
30
|
// ---------------------------------------------------------------------------
|
|
31
|
+
// Bare <label>s read the label text style's knobs, so configuring that style
|
|
32
|
+
// (--tui-text-label-*) reaches them too. .tui-text-style-label is the class form.
|
|
31
33
|
:where(.#{sys.$prefix}interface) :is(label, .#{sys.$prefix}label) {
|
|
32
|
-
color: var(--#{sys.$prefix}color-fg);
|
|
33
|
-
font-weight:
|
|
34
|
-
font-size: var(--#{sys.$prefix}typography-size-sm);
|
|
34
|
+
color: var(--#{sys.$prefix}text-label-color, var(--#{sys.$prefix}color-fg));
|
|
35
|
+
font-weight: var(--#{sys.$prefix}text-label-weight, 700);
|
|
36
|
+
font-size: var(--#{sys.$prefix}text-label-size, var(--#{sys.$prefix}typography-size-sm));
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
// ---------------------------------------------------------------------------
|
|
@@ -60,7 +62,9 @@
|
|
|
60
62
|
// Internal tokens — read component API with fallback to primitives
|
|
61
63
|
--_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
62
64
|
--_fg: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg));
|
|
63
|
-
--_border: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
|
|
65
|
+
--_border-rest: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control));
|
|
66
|
+
--_border-hover: var(--#{sys.$prefix}input-border-hover, var(--_border-rest));
|
|
67
|
+
--_border: var(--_border-rest);
|
|
64
68
|
--_border-focus: var(--#{sys.$prefix}input-border-focus, var(--#{sys.$prefix}theme-primary-base));
|
|
65
69
|
--_border-invalid: var(--#{sys.$prefix}input-border-invalid, var(--#{sys.$prefix}theme-danger-base));
|
|
66
70
|
--_radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
|
|
@@ -85,6 +89,12 @@
|
|
|
85
89
|
opacity: 1; // Normalize Firefox which applies its own opacity reduction
|
|
86
90
|
}
|
|
87
91
|
|
|
92
|
+
// Opt-in hover (resting border by default). Before focus and invalid so
|
|
93
|
+
// both out-order it.
|
|
94
|
+
&:hover:not([disabled]) {
|
|
95
|
+
--_border: var(--_border-hover);
|
|
96
|
+
}
|
|
97
|
+
|
|
88
98
|
&:focus-visible {
|
|
89
99
|
--_border: var(--_border-focus);
|
|
90
100
|
outline: var(--#{sys.$prefix}focus-ring-width) solid var(--#{sys.$prefix}focus-ring-color);
|
|
@@ -151,7 +161,7 @@
|
|
|
151
161
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}toggle {
|
|
152
162
|
// Internal tokens
|
|
153
163
|
--_accent: var(--#{sys.$prefix}input-accent, var(--#{sys.$prefix}theme-primary-base));
|
|
154
|
-
--_track-off: var(--#{sys.$prefix}color-
|
|
164
|
+
--_track-off: var(--#{sys.$prefix}color-border-control);
|
|
155
165
|
|
|
156
166
|
input[type="checkbox"] {
|
|
157
167
|
position: absolute;
|
|
@@ -225,7 +235,7 @@
|
|
|
225
235
|
// Internal tokens
|
|
226
236
|
--_bg: var(--#{sys.$prefix}input-bg, var(--#{sys.$prefix}color-bg-surface));
|
|
227
237
|
--_fg: var(--#{sys.$prefix}input-fg, var(--#{sys.$prefix}color-fg));
|
|
228
|
-
--_border: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border));
|
|
238
|
+
--_border: var(--#{sys.$prefix}input-border, var(--#{sys.$prefix}color-border-control));
|
|
229
239
|
--_radius: var(--#{sys.$prefix}input-radius, var(--#{sys.$prefix}radius-md));
|
|
230
240
|
|
|
231
241
|
font-size: var(--#{sys.$prefix}typography-size-sm);
|