@tangible/ui 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/components/Accordion/Accordion.js +1 -1
- package/components/Avatar/Avatar.d.ts +3 -1
- package/components/Avatar/Avatar.js +6 -25
- package/components/Avatar/index.d.ts +2 -2
- package/components/Avatar/index.js +1 -1
- package/components/Avatar/types.d.ts +8 -8
- package/components/Avatar/types.js +0 -12
- package/components/Combobox/Combobox.js +2 -2
- package/components/Icon/Icon.d.ts +10 -1
- package/components/Icon/Icon.js +5 -1
- package/components/Modal/Modal.js +1 -1
- package/components/MultiSelect/MultiSelect.js +1 -1
- package/components/Notice/Notice.d.ts +2 -2
- package/components/OverlapStack/OverlapStack.js +4 -2
- package/components/Pager/Pager.js +9 -3
- package/components/Pager/types.d.ts +9 -0
- package/components/Pager/types.js +2 -0
- package/components/Progress/Progress.js +3 -3
- package/components/Rating/Rating.js +4 -2
- package/components/Rating/types.d.ts +5 -1
- package/components/Rating/types.js +1 -0
- package/components/Select/Select.d.ts +1 -1
- package/components/Select/Select.js +6 -4
- package/components/Select/types.d.ts +5 -0
- package/components/StepIndicator/StepIndicator.js +6 -2
- package/components/StepIndicator/types.d.ts +3 -0
- package/components/StepIndicator/types.js +1 -0
- package/components/Table/BulkActionsBar.js +4 -1
- package/components/Table/DataTable.js +8 -5
- package/components/Tabs/Tabs.js +1 -1
- package/components/index.d.ts +3 -2
- package/components/index.js +2 -1
- package/icons/icons.svg +6 -2
- package/icons/lms/index.js +1 -1
- package/icons/manifest.json +32 -0
- package/icons/registry.d.ts +8 -0
- package/icons/registry.js +4 -0
- package/icons/system/index.d.ts +8 -0
- package/icons/system/index.js +45 -1
- package/package.json +1 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +266 -106
- package/styles/all.expanded.unlayered.css +266 -106
- package/styles/all.unlayered.css +1 -1
- package/styles/components/accordion.scss +5 -2
- package/styles/components/avatar.scss +15 -63
- package/styles/components/button.scss +9 -2
- package/styles/components/chip.scss +9 -1
- package/styles/components/combobox.scss +4 -2
- package/styles/components/dropdown.scss +2 -2
- package/styles/components/icon.scss +14 -3
- package/styles/components/input/index.scss +6 -1
- package/styles/components/move-handle.scss +1 -1
- package/styles/components/multi-select.scss +6 -3
- package/styles/components/notice.scss +30 -6
- package/styles/components/overlap-stack.scss +4 -3
- package/styles/components/pager.scss +6 -3
- package/styles/components/progress.scss +17 -5
- package/styles/components/rating.scss +2 -2
- package/styles/components/segmented-control.scss +2 -2
- package/styles/components/select.scss +13 -4
- package/styles/components/step-indicator.scss +8 -8
- package/styles/components/step-list.scss +1 -1
- package/styles/components/table.scss +2 -1
- package/styles/components/tabs.scss +2 -2
- package/styles/components/text-input.scss +5 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/index.scss +5 -2
- package/styles/system/_constants.scss +2 -2
- package/styles/system/_motion.scss +20 -18
- package/styles/system/_tokens.scss +89 -10
- package/tui-manifest.json +19 -6
- package/utils/generative.d.ts +16 -0
- package/utils/generative.js +45 -0
package/styles/all.expanded.css
CHANGED
|
@@ -1,24 +1,4 @@
|
|
|
1
1
|
@charset "UTF-8";
|
|
2
|
-
@keyframes tui-fadeFromOpaque {
|
|
3
|
-
from {
|
|
4
|
-
opacity: 1;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
@keyframes tui-fadeToOpaque {
|
|
8
|
-
to {
|
|
9
|
-
opacity: 1;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
@keyframes tui-fadeFromTransparent {
|
|
13
|
-
from {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
@keyframes tui-fadeToTransparent {
|
|
18
|
-
to {
|
|
19
|
-
opacity: 0;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
2
|
/* @tui-tokens
|
|
23
3
|
--tui-accordion-bg
|
|
24
4
|
--tui-accordion-bg-open
|
|
@@ -59,6 +39,7 @@
|
|
|
59
39
|
--tui-button-fg-interact
|
|
60
40
|
--tui-button-border-interact
|
|
61
41
|
--tui-button-fg-active
|
|
42
|
+
--tui-button-icon-scale
|
|
62
43
|
--tui-control-height-sm
|
|
63
44
|
--tui-control-height-md
|
|
64
45
|
--tui-control-height-lg
|
|
@@ -89,6 +70,7 @@
|
|
|
89
70
|
--tui-chip-fg
|
|
90
71
|
--tui-chip-border
|
|
91
72
|
--tui-chip-icon
|
|
73
|
+
--tui-chip-icon-scale
|
|
92
74
|
--tui-chip-radius
|
|
93
75
|
--tui-chip-selected-ring
|
|
94
76
|
--tui-chip-icon-slot-bg
|
|
@@ -98,6 +80,7 @@
|
|
|
98
80
|
--tui-chip-group-gap
|
|
99
81
|
*/
|
|
100
82
|
/* @tui-tokens
|
|
83
|
+
--tui-combobox-min-width
|
|
101
84
|
--tui-combobox-input-bg
|
|
102
85
|
--tui-combobox-input-fg
|
|
103
86
|
--tui-combobox-input-border
|
|
@@ -134,6 +117,7 @@
|
|
|
134
117
|
--tui-field-error-fg
|
|
135
118
|
*/
|
|
136
119
|
/* @tui-tokens
|
|
120
|
+
--tui-multiselect-min-width
|
|
137
121
|
--tui-multiselect-trigger-bg
|
|
138
122
|
--tui-multiselect-trigger-fg
|
|
139
123
|
--tui-multiselect-trigger-border
|
|
@@ -150,6 +134,7 @@
|
|
|
150
134
|
--tui-multiselect-chip-fg
|
|
151
135
|
*/
|
|
152
136
|
/* @tui-tokens
|
|
137
|
+
--tui-select-min-width
|
|
153
138
|
--tui-select-trigger-bg
|
|
154
139
|
--tui-select-trigger-fg
|
|
155
140
|
--tui-select-trigger-border
|
|
@@ -210,6 +195,7 @@
|
|
|
210
195
|
--tui-notice-fg
|
|
211
196
|
--tui-notice-radius
|
|
212
197
|
--tui-notice-padding
|
|
198
|
+
--tui-notice-title-size
|
|
213
199
|
--tui-notice-foot-basis
|
|
214
200
|
*/
|
|
215
201
|
/* @tui-tokens
|
|
@@ -255,6 +241,7 @@
|
|
|
255
241
|
--tui-progress-fill
|
|
256
242
|
--tui-progress-label
|
|
257
243
|
--tui-progress-radius
|
|
244
|
+
--tui-progress-block-size
|
|
258
245
|
--tui-progress-z1-fill
|
|
259
246
|
--tui-progress-z2-fill
|
|
260
247
|
--tui-progress-z3-fill
|
|
@@ -311,6 +298,7 @@
|
|
|
311
298
|
--tui-table-bg-head
|
|
312
299
|
--tui-table-fg
|
|
313
300
|
--tui-table-padding
|
|
301
|
+
--tui-table-selected-bg
|
|
314
302
|
*/
|
|
315
303
|
/* @tui-tokens
|
|
316
304
|
--tui-tabs-gap
|
|
@@ -359,9 +347,6 @@
|
|
|
359
347
|
--tui-focus-ring-width: 2px;
|
|
360
348
|
--tui-focus-ring-offset: 2px;
|
|
361
349
|
--tui-focus-ring-color: #2563eb;
|
|
362
|
-
/* Font Weight */
|
|
363
|
-
--tui-font-weight-medium: 500;
|
|
364
|
-
--tui-font-weight-semibold: 600;
|
|
365
350
|
/* Border */
|
|
366
351
|
--tui-border-width: 1px;
|
|
367
352
|
/* Z-Index Layers */
|
|
@@ -437,11 +422,108 @@
|
|
|
437
422
|
--tui-theme-danger-soft: #f86368;
|
|
438
423
|
--tui-theme-danger-subtle: #facfd2;
|
|
439
424
|
--tui-theme-danger-subtlest: #fce3e5;
|
|
425
|
+
/* Input chrome: the select chevron. An image, not a color — selects
|
|
426
|
+
can't be masked without masking their text, so light/dark swap the
|
|
427
|
+
URI. Fill tracks color-fg (gray 900 / gray 50). */
|
|
428
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23111928' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
440
429
|
/* A11y (legacy alias - prefer --focus-ring-color) */
|
|
441
430
|
--tui-color-focus-ring: var(--tui-focus-ring-color);
|
|
442
431
|
}
|
|
443
432
|
|
|
433
|
+
:where(.tui-interface) {
|
|
434
|
+
--tui-generative-coral: oklch(0.52 0.13 25);
|
|
435
|
+
--tui-generative-coral-interact: oklch(0.47 0.13 25);
|
|
436
|
+
--tui-generative-coral-fg: #fff;
|
|
437
|
+
--tui-generative-coral-subtle: oklch(0.94 0.045 25);
|
|
438
|
+
--tui-generative-coral-subtle-interact: oklch(0.9 0.06 25);
|
|
439
|
+
--tui-generative-coral-strong: oklch(0.4 0.11 25);
|
|
440
|
+
--tui-generative-orange: oklch(0.78 0.14 60);
|
|
441
|
+
--tui-generative-orange-interact: oklch(0.73 0.14 60);
|
|
442
|
+
--tui-generative-orange-fg: #111928;
|
|
443
|
+
--tui-generative-orange-subtle: oklch(0.94 0.045 60);
|
|
444
|
+
--tui-generative-orange-subtle-interact: oklch(0.9 0.06 60);
|
|
445
|
+
--tui-generative-orange-strong: oklch(0.4 0.11 60);
|
|
446
|
+
--tui-generative-amber: oklch(0.78 0.14 88);
|
|
447
|
+
--tui-generative-amber-interact: oklch(0.73 0.14 88);
|
|
448
|
+
--tui-generative-amber-fg: #111928;
|
|
449
|
+
--tui-generative-amber-subtle: oklch(0.94 0.045 88);
|
|
450
|
+
--tui-generative-amber-subtle-interact: oklch(0.9 0.06 88);
|
|
451
|
+
--tui-generative-amber-strong: oklch(0.4 0.11 88);
|
|
452
|
+
--tui-generative-lime: oklch(0.78 0.14 125);
|
|
453
|
+
--tui-generative-lime-interact: oklch(0.73 0.14 125);
|
|
454
|
+
--tui-generative-lime-fg: #111928;
|
|
455
|
+
--tui-generative-lime-subtle: oklch(0.94 0.045 125);
|
|
456
|
+
--tui-generative-lime-subtle-interact: oklch(0.9 0.06 125);
|
|
457
|
+
--tui-generative-lime-strong: oklch(0.4 0.11 125);
|
|
458
|
+
--tui-generative-emerald: oklch(0.52 0.13 162);
|
|
459
|
+
--tui-generative-emerald-interact: oklch(0.47 0.13 162);
|
|
460
|
+
--tui-generative-emerald-fg: #fff;
|
|
461
|
+
--tui-generative-emerald-subtle: oklch(0.94 0.045 162);
|
|
462
|
+
--tui-generative-emerald-subtle-interact: oklch(0.9 0.06 162);
|
|
463
|
+
--tui-generative-emerald-strong: oklch(0.4 0.11 162);
|
|
464
|
+
--tui-generative-teal: oklch(0.52 0.13 192);
|
|
465
|
+
--tui-generative-teal-interact: oklch(0.47 0.13 192);
|
|
466
|
+
--tui-generative-teal-fg: #fff;
|
|
467
|
+
--tui-generative-teal-subtle: oklch(0.94 0.045 192);
|
|
468
|
+
--tui-generative-teal-subtle-interact: oklch(0.9 0.06 192);
|
|
469
|
+
--tui-generative-teal-strong: oklch(0.4 0.11 192);
|
|
470
|
+
--tui-generative-cyan: oklch(0.78 0.14 218);
|
|
471
|
+
--tui-generative-cyan-interact: oklch(0.73 0.14 218);
|
|
472
|
+
--tui-generative-cyan-fg: #111928;
|
|
473
|
+
--tui-generative-cyan-subtle: oklch(0.94 0.045 218);
|
|
474
|
+
--tui-generative-cyan-subtle-interact: oklch(0.9 0.06 218);
|
|
475
|
+
--tui-generative-cyan-strong: oklch(0.4 0.11 218);
|
|
476
|
+
--tui-generative-blue: oklch(0.52 0.13 262);
|
|
477
|
+
--tui-generative-blue-interact: oklch(0.47 0.13 262);
|
|
478
|
+
--tui-generative-blue-fg: #fff;
|
|
479
|
+
--tui-generative-blue-subtle: oklch(0.94 0.045 262);
|
|
480
|
+
--tui-generative-blue-subtle-interact: oklch(0.9 0.06 262);
|
|
481
|
+
--tui-generative-blue-strong: oklch(0.4 0.11 262);
|
|
482
|
+
--tui-generative-violet: oklch(0.52 0.13 300);
|
|
483
|
+
--tui-generative-violet-interact: oklch(0.47 0.13 300);
|
|
484
|
+
--tui-generative-violet-fg: #fff;
|
|
485
|
+
--tui-generative-violet-subtle: oklch(0.94 0.045 300);
|
|
486
|
+
--tui-generative-violet-subtle-interact: oklch(0.9 0.06 300);
|
|
487
|
+
--tui-generative-violet-strong: oklch(0.4 0.11 300);
|
|
488
|
+
--tui-generative-pink: oklch(0.52 0.13 350);
|
|
489
|
+
--tui-generative-pink-interact: oklch(0.47 0.13 350);
|
|
490
|
+
--tui-generative-pink-fg: #fff;
|
|
491
|
+
--tui-generative-pink-subtle: oklch(0.94 0.045 350);
|
|
492
|
+
--tui-generative-pink-subtle-interact: oklch(0.9 0.06 350);
|
|
493
|
+
--tui-generative-pink-strong: oklch(0.4 0.11 350);
|
|
494
|
+
}
|
|
495
|
+
|
|
444
496
|
:where(.tui-interface)[data-theme=dark] {
|
|
497
|
+
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
498
|
+
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
499
|
+
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
500
|
+
--tui-generative-orange-subtle: oklch(0.3 0.055 60);
|
|
501
|
+
--tui-generative-orange-subtle-interact: oklch(0.34 0.065 60);
|
|
502
|
+
--tui-generative-orange-strong: oklch(0.82 0.1 60);
|
|
503
|
+
--tui-generative-amber-subtle: oklch(0.3 0.055 88);
|
|
504
|
+
--tui-generative-amber-subtle-interact: oklch(0.34 0.065 88);
|
|
505
|
+
--tui-generative-amber-strong: oklch(0.82 0.1 88);
|
|
506
|
+
--tui-generative-lime-subtle: oklch(0.3 0.055 125);
|
|
507
|
+
--tui-generative-lime-subtle-interact: oklch(0.34 0.065 125);
|
|
508
|
+
--tui-generative-lime-strong: oklch(0.82 0.1 125);
|
|
509
|
+
--tui-generative-emerald-subtle: oklch(0.3 0.055 162);
|
|
510
|
+
--tui-generative-emerald-subtle-interact: oklch(0.34 0.065 162);
|
|
511
|
+
--tui-generative-emerald-strong: oklch(0.82 0.1 162);
|
|
512
|
+
--tui-generative-teal-subtle: oklch(0.3 0.055 192);
|
|
513
|
+
--tui-generative-teal-subtle-interact: oklch(0.34 0.065 192);
|
|
514
|
+
--tui-generative-teal-strong: oklch(0.82 0.1 192);
|
|
515
|
+
--tui-generative-cyan-subtle: oklch(0.3 0.055 218);
|
|
516
|
+
--tui-generative-cyan-subtle-interact: oklch(0.34 0.065 218);
|
|
517
|
+
--tui-generative-cyan-strong: oklch(0.82 0.1 218);
|
|
518
|
+
--tui-generative-blue-subtle: oklch(0.3 0.055 262);
|
|
519
|
+
--tui-generative-blue-subtle-interact: oklch(0.34 0.065 262);
|
|
520
|
+
--tui-generative-blue-strong: oklch(0.82 0.1 262);
|
|
521
|
+
--tui-generative-violet-subtle: oklch(0.3 0.055 300);
|
|
522
|
+
--tui-generative-violet-subtle-interact: oklch(0.34 0.065 300);
|
|
523
|
+
--tui-generative-violet-strong: oklch(0.82 0.1 300);
|
|
524
|
+
--tui-generative-pink-subtle: oklch(0.3 0.055 350);
|
|
525
|
+
--tui-generative-pink-subtle-interact: oklch(0.34 0.065 350);
|
|
526
|
+
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
445
527
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
446
528
|
color-scheme: dark;
|
|
447
529
|
/* Backgrounds */
|
|
@@ -460,6 +542,8 @@
|
|
|
460
542
|
/* Borders */
|
|
461
543
|
--tui-color-border: #374151;
|
|
462
544
|
--tui-color-divider: #202836;
|
|
545
|
+
/* Input chrome */
|
|
546
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
463
547
|
/* Theme colors - adjust for dark mode contrast */
|
|
464
548
|
--tui-theme-primary-base: #3858e9;
|
|
465
549
|
--tui-theme-primary-soft: #2942d1;
|
|
@@ -497,6 +581,36 @@
|
|
|
497
581
|
|
|
498
582
|
@media (prefers-color-scheme: dark) {
|
|
499
583
|
:where(.tui-interface)[data-theme=auto] {
|
|
584
|
+
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
585
|
+
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
586
|
+
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
587
|
+
--tui-generative-orange-subtle: oklch(0.3 0.055 60);
|
|
588
|
+
--tui-generative-orange-subtle-interact: oklch(0.34 0.065 60);
|
|
589
|
+
--tui-generative-orange-strong: oklch(0.82 0.1 60);
|
|
590
|
+
--tui-generative-amber-subtle: oklch(0.3 0.055 88);
|
|
591
|
+
--tui-generative-amber-subtle-interact: oklch(0.34 0.065 88);
|
|
592
|
+
--tui-generative-amber-strong: oklch(0.82 0.1 88);
|
|
593
|
+
--tui-generative-lime-subtle: oklch(0.3 0.055 125);
|
|
594
|
+
--tui-generative-lime-subtle-interact: oklch(0.34 0.065 125);
|
|
595
|
+
--tui-generative-lime-strong: oklch(0.82 0.1 125);
|
|
596
|
+
--tui-generative-emerald-subtle: oklch(0.3 0.055 162);
|
|
597
|
+
--tui-generative-emerald-subtle-interact: oklch(0.34 0.065 162);
|
|
598
|
+
--tui-generative-emerald-strong: oklch(0.82 0.1 162);
|
|
599
|
+
--tui-generative-teal-subtle: oklch(0.3 0.055 192);
|
|
600
|
+
--tui-generative-teal-subtle-interact: oklch(0.34 0.065 192);
|
|
601
|
+
--tui-generative-teal-strong: oklch(0.82 0.1 192);
|
|
602
|
+
--tui-generative-cyan-subtle: oklch(0.3 0.055 218);
|
|
603
|
+
--tui-generative-cyan-subtle-interact: oklch(0.34 0.065 218);
|
|
604
|
+
--tui-generative-cyan-strong: oklch(0.82 0.1 218);
|
|
605
|
+
--tui-generative-blue-subtle: oklch(0.3 0.055 262);
|
|
606
|
+
--tui-generative-blue-subtle-interact: oklch(0.34 0.065 262);
|
|
607
|
+
--tui-generative-blue-strong: oklch(0.82 0.1 262);
|
|
608
|
+
--tui-generative-violet-subtle: oklch(0.3 0.055 300);
|
|
609
|
+
--tui-generative-violet-subtle-interact: oklch(0.34 0.065 300);
|
|
610
|
+
--tui-generative-violet-strong: oklch(0.82 0.1 300);
|
|
611
|
+
--tui-generative-pink-subtle: oklch(0.3 0.055 350);
|
|
612
|
+
--tui-generative-pink-subtle-interact: oklch(0.34 0.065 350);
|
|
613
|
+
--tui-generative-pink-strong: oklch(0.82 0.1 350);
|
|
500
614
|
/* UA chrome: native controls, scrollbars render in dark mode */
|
|
501
615
|
color-scheme: dark;
|
|
502
616
|
/* Backgrounds */
|
|
@@ -515,6 +629,8 @@
|
|
|
515
629
|
/* Borders */
|
|
516
630
|
--tui-color-border: #374151;
|
|
517
631
|
--tui-color-divider: #202836;
|
|
632
|
+
/* Input chrome */
|
|
633
|
+
--tui-input-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 11 10'%3E%3Cpath fill='%23F9FAFB' d='M5.511 7.5a.939.939 0 0 1-.636-.244l-3.6-3.326a.833.833 0 0 1-.202-.27.778.778 0 0 1-.006-.643.83.83 0 0 1 .197-.273.909.909 0 0 1 .295-.182.965.965 0 0 1 .696.006c.11.043.21.106.292.186l2.964 2.738 2.964-2.738a.94.94 0 0 1 .633-.234c.236.002.462.09.628.244a.801.801 0 0 1 .264.58.8.8 0 0 1-.253.586l-3.6 3.326a.939.939 0 0 1-.636.244Z'/%3E%3C/svg%3E");
|
|
518
634
|
/* Theme colors - adjust for dark mode contrast */
|
|
519
635
|
--tui-theme-primary-base: #3858e9;
|
|
520
636
|
--tui-theme-primary-soft: #2942d1;
|
|
@@ -579,26 +695,28 @@
|
|
|
579
695
|
--tui-spacing-lg: var(--tui-palette-spacing-6);
|
|
580
696
|
--tui-spacing-xl: var(--tui-palette-spacing-8);
|
|
581
697
|
--tui-spacing-xxl: var(--tui-palette-spacing-16);
|
|
582
|
-
--tui-
|
|
583
|
-
--tui-typography-size-xs: calc(12 * var(--tui-
|
|
584
|
-
--tui-typography-size-sm: calc(14 * var(--tui-
|
|
585
|
-
--tui-typography-size-md: calc(16 * var(--tui-
|
|
586
|
-
--tui-typography-size-lg: calc(20 * var(--tui-
|
|
587
|
-
--tui-typography-size-xl: calc(24 * var(--tui-
|
|
588
|
-
--tui-typography-size-xxl: calc(32 * var(--tui-
|
|
698
|
+
--tui-typography-size-multiplier: calc(1rem / 16);
|
|
699
|
+
--tui-typography-size-xs: calc(12 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
700
|
+
--tui-typography-size-sm: calc(14 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
701
|
+
--tui-typography-size-md: calc(16 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
702
|
+
--tui-typography-size-lg: calc(20 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
703
|
+
--tui-typography-size-xl: calc(24 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
704
|
+
--tui-typography-size-xxl: calc(32 * var(--tui-typography-size-multiplier, calc(1rem / 16)));
|
|
589
705
|
--tui-palette-color-white: #fff;
|
|
590
706
|
--tui-palette-color-black: #000;
|
|
591
707
|
--tui-radius-xs: 2px;
|
|
592
708
|
--tui-radius-sm: 4px;
|
|
593
709
|
--tui-radius-md: 8px;
|
|
594
710
|
--tui-radius-lg: 12px;
|
|
711
|
+
--tui-radius-xl: 16px;
|
|
595
712
|
--tui-radius-full: 9999px;
|
|
596
|
-
--tui-
|
|
597
|
-
--tui-line: 1.5;
|
|
713
|
+
--tui-typography-size: 16px;
|
|
598
714
|
--tui-typography-weight-normal: 400;
|
|
715
|
+
--tui-typography-weight-medium: 500;
|
|
716
|
+
--tui-typography-weight-semibold: 600;
|
|
599
717
|
--tui-typography-weight-bold: 700;
|
|
600
|
-
--tui-typography-size: var(--tui-font-size-base);
|
|
601
718
|
--tui-typography-line-height: 1.4;
|
|
719
|
+
--tui-typography-line-height-tight: 1.25;
|
|
602
720
|
--tui-typography-font-family: inherit;
|
|
603
721
|
--tui-typography-color-base: currentColor;
|
|
604
722
|
--tui-typography-color-contrast-high: var(--tui-color-fg);
|
|
@@ -692,7 +810,7 @@
|
|
|
692
810
|
background: var(--_trigger-bg);
|
|
693
811
|
color: inherit;
|
|
694
812
|
font: inherit;
|
|
695
|
-
font-weight: var(--tui-
|
|
813
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
696
814
|
text-align: start;
|
|
697
815
|
cursor: pointer;
|
|
698
816
|
transition-property: background-color;
|
|
@@ -720,6 +838,7 @@
|
|
|
720
838
|
:where(.tui-interface) .tui-accordion__indicator {
|
|
721
839
|
flex-shrink: 0;
|
|
722
840
|
color: var(--_indicator);
|
|
841
|
+
font-size: var(--tui-typography-size-lg);
|
|
723
842
|
transition-property: transform;
|
|
724
843
|
transition-duration: var(--tui-motion-duration);
|
|
725
844
|
transition-timing-function: var(--tui-motion-timing);
|
|
@@ -798,18 +917,6 @@
|
|
|
798
917
|
outline-color: Highlight;
|
|
799
918
|
}
|
|
800
919
|
}
|
|
801
|
-
:where(.tui-interface) {
|
|
802
|
-
--tui-avatar-palette-coral: #c62828;
|
|
803
|
-
--tui-avatar-palette-amber: #f59e0b;
|
|
804
|
-
--tui-avatar-palette-lime: #65a30d;
|
|
805
|
-
--tui-avatar-palette-teal: #0f766e;
|
|
806
|
-
--tui-avatar-palette-cyan: #0891b2;
|
|
807
|
-
--tui-avatar-palette-blue: #1d4ed8;
|
|
808
|
-
--tui-avatar-palette-violet: #6d28d9;
|
|
809
|
-
--tui-avatar-palette-pink: #be185d;
|
|
810
|
-
--tui-avatar-palette-slate: #475569;
|
|
811
|
-
--tui-avatar-palette-emerald: #047857;
|
|
812
|
-
}
|
|
813
920
|
:where(.tui-interface) .tui-avatar {
|
|
814
921
|
--_size: var(--tui-avatar-size, 2.5rem);
|
|
815
922
|
--_radius: var(--tui-avatar-radius, 50%);
|
|
@@ -826,7 +933,7 @@
|
|
|
826
933
|
border: var(--_border);
|
|
827
934
|
background-color: var(--_bg);
|
|
828
935
|
color: var(--_fg);
|
|
829
|
-
font-weight: var(--tui-
|
|
936
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
830
937
|
font-size: calc(var(--_size) * 0.4);
|
|
831
938
|
line-height: 1;
|
|
832
939
|
flex-shrink: 0;
|
|
@@ -857,37 +964,48 @@
|
|
|
857
964
|
--_radius: var(--tui-avatar-radius, var(--tui-radius-md));
|
|
858
965
|
}
|
|
859
966
|
:where(.tui-interface) .tui-avatar.is-color-coral {
|
|
860
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
967
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-coral));
|
|
968
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-coral-fg));
|
|
969
|
+
}
|
|
970
|
+
:where(.tui-interface) .tui-avatar.is-color-orange {
|
|
971
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-orange));
|
|
972
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-orange-fg));
|
|
861
973
|
}
|
|
862
974
|
:where(.tui-interface) .tui-avatar.is-color-amber {
|
|
863
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
864
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
975
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-amber));
|
|
976
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-amber-fg));
|
|
865
977
|
}
|
|
866
978
|
:where(.tui-interface) .tui-avatar.is-color-lime {
|
|
867
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
868
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
979
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-lime));
|
|
980
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-lime-fg));
|
|
981
|
+
}
|
|
982
|
+
:where(.tui-interface) .tui-avatar.is-color-emerald {
|
|
983
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-emerald));
|
|
984
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-emerald-fg));
|
|
869
985
|
}
|
|
870
986
|
:where(.tui-interface) .tui-avatar.is-color-teal {
|
|
871
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
987
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-teal));
|
|
988
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-teal-fg));
|
|
872
989
|
}
|
|
873
990
|
:where(.tui-interface) .tui-avatar.is-color-cyan {
|
|
874
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
875
|
-
--_fg: var(--tui-avatar-fg, var(--tui-
|
|
991
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-cyan));
|
|
992
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-cyan-fg));
|
|
876
993
|
}
|
|
877
994
|
:where(.tui-interface) .tui-avatar.is-color-blue {
|
|
878
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
995
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-blue));
|
|
996
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-blue-fg));
|
|
879
997
|
}
|
|
880
998
|
:where(.tui-interface) .tui-avatar.is-color-violet {
|
|
881
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
999
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-violet));
|
|
1000
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-violet-fg));
|
|
882
1001
|
}
|
|
883
1002
|
:where(.tui-interface) .tui-avatar.is-color-pink {
|
|
884
|
-
--_bg: var(--tui-avatar-bg, var(--tui-
|
|
1003
|
+
--_bg: var(--tui-avatar-bg, var(--tui-generative-pink));
|
|
1004
|
+
--_fg: var(--tui-avatar-fg, var(--tui-generative-pink-fg));
|
|
885
1005
|
}
|
|
886
1006
|
:where(.tui-interface) .tui-avatar.is-color-slate {
|
|
887
|
-
--_bg: var(--tui-avatar-bg,
|
|
888
|
-
|
|
889
|
-
:where(.tui-interface) .tui-avatar.is-color-emerald {
|
|
890
|
-
--_bg: var(--tui-avatar-bg, var(--tui-avatar-palette-emerald));
|
|
1007
|
+
--_bg: var(--tui-avatar-bg, #475569);
|
|
1008
|
+
--_fg: var(--tui-avatar-fg, #fff);
|
|
891
1009
|
}
|
|
892
1010
|
:where(.tui-interface) .tui-avatar .tui-avatar__content {
|
|
893
1011
|
position: absolute;
|
|
@@ -1037,8 +1155,9 @@
|
|
|
1037
1155
|
border-style: solid;
|
|
1038
1156
|
border-width: var(--tui-border-width);
|
|
1039
1157
|
}
|
|
1040
|
-
.tui-interface .tui-button .tui-icon
|
|
1041
|
-
|
|
1158
|
+
.tui-interface .tui-button .tui-icon,
|
|
1159
|
+
.tui-interface .tui-button .tui-icon[class*=is-size-] {
|
|
1160
|
+
font-size: calc(1.25em * var(--tui-button-icon-scale, 1));
|
|
1042
1161
|
}
|
|
1043
1162
|
.tui-interface .tui-button:hover {
|
|
1044
1163
|
--_bg: var(--_bg-interact);
|
|
@@ -1539,8 +1658,10 @@
|
|
|
1539
1658
|
transition-timing-function: var(--tui-motion-timing);
|
|
1540
1659
|
transition-property: border-color, color, background-color, filter;
|
|
1541
1660
|
}
|
|
1542
|
-
:where(.tui-interface) .tui-chip .tui-icon
|
|
1661
|
+
:where(.tui-interface) .tui-chip .tui-icon,
|
|
1662
|
+
:where(.tui-interface) .tui-chip .tui-icon[class*=is-size-] {
|
|
1543
1663
|
color: var(--_icon);
|
|
1664
|
+
font-size: calc(1em * var(--tui-chip-icon-scale, 1.25));
|
|
1544
1665
|
}
|
|
1545
1666
|
:where(.tui-interface) .tui-chip:where([aria-disabled=true], [disabled]) {
|
|
1546
1667
|
opacity: var(--tui-opacity-disabled);
|
|
@@ -1938,8 +2059,9 @@
|
|
|
1938
2059
|
--_border: var(--tui-combobox-content-border, var(--tui-select-content-border, var(--tui-color-border)));
|
|
1939
2060
|
--_shadow: var(--tui-combobox-content-shadow, var(--tui-select-content-shadow, var(--tui-shadow-dropdown)));
|
|
1940
2061
|
--_radius: var(--tui-combobox-content-radius, var(--tui-select-content-radius, var(--tui-radius-md)));
|
|
2062
|
+
--_min-width: var(--tui-combobox-min-width, var(--tui-select-min-width, $_min-width));
|
|
1941
2063
|
z-index: var(--tui-layer-top);
|
|
1942
|
-
min-width:
|
|
2064
|
+
min-width: var(--_min-width);
|
|
1943
2065
|
padding: var(--tui-spacing-xxs);
|
|
1944
2066
|
overflow-y: auto;
|
|
1945
2067
|
overscroll-behavior: contain;
|
|
@@ -2014,7 +2136,7 @@
|
|
|
2014
2136
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2015
2137
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2016
2138
|
font-size: var(--tui-typography-size-xs);
|
|
2017
|
-
font-weight: var(--tui-
|
|
2139
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2018
2140
|
color: var(--tui-color-fg-muted);
|
|
2019
2141
|
text-transform: uppercase;
|
|
2020
2142
|
letter-spacing: 0.05em;
|
|
@@ -2160,7 +2282,7 @@
|
|
|
2160
2282
|
.tui-interface .tui-dropdown__item:focus-visible {
|
|
2161
2283
|
--tui-button-bg: var(--_item-bg-hover);
|
|
2162
2284
|
--tui-button-fg: inherit;
|
|
2163
|
-
outline: var(--tui-focus-ring-width
|
|
2285
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2164
2286
|
outline-offset: calc(-1 * var(--tui-focus-ring-width, 2px));
|
|
2165
2287
|
}
|
|
2166
2288
|
.tui-interface .tui-dropdown__item:active {
|
|
@@ -2183,7 +2305,7 @@
|
|
|
2183
2305
|
padding: var(--tui-spacing-xs, 8px) var(--tui-spacing-sm, 12px);
|
|
2184
2306
|
padding-block-end: var(--tui-spacing-xxs, 4px);
|
|
2185
2307
|
font-size: var(--tui-typography-size-xs, 11px);
|
|
2186
|
-
font-weight: var(--tui-
|
|
2308
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2187
2309
|
color: var(--tui-color-fg-muted);
|
|
2188
2310
|
letter-spacing: 0.02em;
|
|
2189
2311
|
user-select: none;
|
|
@@ -2263,6 +2385,7 @@
|
|
|
2263
2385
|
--_border: var(--tui-multiselect-trigger-border, var(--tui-color-border));
|
|
2264
2386
|
--_border-focus: var(--tui-multiselect-trigger-border-focus, var(--tui-theme-primary-base));
|
|
2265
2387
|
--_radius: var(--tui-multiselect-trigger-radius, var(--tui-radius-md));
|
|
2388
|
+
--_min-width: var(--tui-multiselect-min-width, $_min-width);
|
|
2266
2389
|
appearance: none;
|
|
2267
2390
|
border: none;
|
|
2268
2391
|
font: inherit;
|
|
@@ -2287,7 +2410,7 @@
|
|
|
2287
2410
|
align-items: center;
|
|
2288
2411
|
justify-content: space-between;
|
|
2289
2412
|
gap: var(--tui-spacing-xs);
|
|
2290
|
-
min-width:
|
|
2413
|
+
min-width: var(--_min-width);
|
|
2291
2414
|
width: 100%;
|
|
2292
2415
|
padding-inline: var(--tui-spacing-sm);
|
|
2293
2416
|
background-color: var(--_bg);
|
|
@@ -2390,8 +2513,9 @@
|
|
|
2390
2513
|
--_border: var(--tui-multiselect-content-border, var(--tui-color-border));
|
|
2391
2514
|
--_shadow: var(--tui-multiselect-content-shadow, var(--tui-shadow-dropdown));
|
|
2392
2515
|
--_radius: var(--tui-multiselect-content-radius, var(--tui-radius-md));
|
|
2516
|
+
--_min-width: var(--tui-multiselect-min-width, $_min-width);
|
|
2393
2517
|
z-index: var(--tui-layer-top);
|
|
2394
|
-
min-width:
|
|
2518
|
+
min-width: var(--_min-width);
|
|
2395
2519
|
padding: var(--tui-spacing-xxs);
|
|
2396
2520
|
overflow-y: auto;
|
|
2397
2521
|
overscroll-behavior: contain;
|
|
@@ -2488,7 +2612,7 @@
|
|
|
2488
2612
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2489
2613
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2490
2614
|
font-size: var(--tui-typography-size-xs);
|
|
2491
|
-
font-weight: var(--tui-
|
|
2615
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2492
2616
|
color: var(--tui-color-fg-muted);
|
|
2493
2617
|
text-transform: uppercase;
|
|
2494
2618
|
letter-spacing: 0.05em;
|
|
@@ -2550,6 +2674,7 @@
|
|
|
2550
2674
|
--_border: var(--tui-select-trigger-border, var(--tui-color-border));
|
|
2551
2675
|
--_border-focus: var(--tui-select-trigger-border-focus, var(--tui-theme-primary-base));
|
|
2552
2676
|
--_radius: var(--tui-select-trigger-radius, var(--tui-radius-md));
|
|
2677
|
+
--_min-width: var(--tui-select-min-width, $_min-width);
|
|
2553
2678
|
appearance: none;
|
|
2554
2679
|
border: none;
|
|
2555
2680
|
font: inherit;
|
|
@@ -2574,7 +2699,7 @@
|
|
|
2574
2699
|
align-items: center;
|
|
2575
2700
|
justify-content: space-between;
|
|
2576
2701
|
gap: var(--tui-spacing-xs);
|
|
2577
|
-
min-width:
|
|
2702
|
+
min-width: var(--_min-width);
|
|
2578
2703
|
width: 100%;
|
|
2579
2704
|
padding-inline: var(--tui-spacing-sm);
|
|
2580
2705
|
background-color: var(--_bg);
|
|
@@ -2655,8 +2780,9 @@
|
|
|
2655
2780
|
--_border: var(--tui-select-content-border, var(--tui-color-border));
|
|
2656
2781
|
--_shadow: var(--tui-select-content-shadow, var(--tui-shadow-dropdown));
|
|
2657
2782
|
--_radius: var(--tui-select-content-radius, var(--tui-radius-md));
|
|
2783
|
+
--_min-width: var(--tui-select-min-width, $_min-width);
|
|
2658
2784
|
z-index: var(--tui-layer-top);
|
|
2659
|
-
min-width:
|
|
2785
|
+
min-width: var(--_min-width);
|
|
2660
2786
|
padding: var(--tui-spacing-xxs);
|
|
2661
2787
|
overflow-y: auto;
|
|
2662
2788
|
overscroll-behavior: contain;
|
|
@@ -2705,7 +2831,7 @@
|
|
|
2705
2831
|
}
|
|
2706
2832
|
:where(.tui-interface) .tui-select__option[aria-selected=true] {
|
|
2707
2833
|
background-color: var(--_bg-selected);
|
|
2708
|
-
font-weight: var(--tui-
|
|
2834
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
2709
2835
|
}
|
|
2710
2836
|
:where(.tui-interface) .tui-select__option[aria-selected=true]:hover:not([data-disabled]), :where(.tui-interface) .tui-select__option[aria-selected=true][data-highlighted]:not([data-disabled]) {
|
|
2711
2837
|
background-color: var(--tui-theme-primary-subtle);
|
|
@@ -2734,7 +2860,7 @@
|
|
|
2734
2860
|
padding: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2735
2861
|
padding-bottom: var(--tui-spacing-xxs);
|
|
2736
2862
|
font-size: var(--tui-typography-size-xs);
|
|
2737
|
-
font-weight: var(--tui-
|
|
2863
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
2738
2864
|
color: var(--tui-color-fg-muted);
|
|
2739
2865
|
text-transform: uppercase;
|
|
2740
2866
|
letter-spacing: 0.05em;
|
|
@@ -3011,7 +3137,7 @@
|
|
|
3011
3137
|
}
|
|
3012
3138
|
:where(.tui-interface) :is(select, select.tui-input) {
|
|
3013
3139
|
padding-inline-end: 2.5em !important;
|
|
3014
|
-
background-image:
|
|
3140
|
+
background-image: var(--tui-input-chevron);
|
|
3015
3141
|
background-repeat: no-repeat;
|
|
3016
3142
|
background-position: calc(100% - 0.75em) 50%;
|
|
3017
3143
|
background-size: 1em;
|
|
@@ -3101,22 +3227,22 @@
|
|
|
3101
3227
|
line-height: 1;
|
|
3102
3228
|
}
|
|
3103
3229
|
:where(.tui-interface) .tui-icon.is-size-xs {
|
|
3104
|
-
font-size: var(--tui-icon-size-xs,
|
|
3230
|
+
font-size: var(--tui-icon-size-xs, calc(12 * 0.0625rem));
|
|
3105
3231
|
}
|
|
3106
3232
|
:where(.tui-interface) .tui-icon.is-size-sm {
|
|
3107
|
-
font-size: var(--tui-icon-size-sm,
|
|
3233
|
+
font-size: var(--tui-icon-size-sm, calc(16 * 0.0625rem));
|
|
3108
3234
|
}
|
|
3109
3235
|
:where(.tui-interface) .tui-icon.is-size-md {
|
|
3110
|
-
font-size: var(--tui-icon-size-md,
|
|
3236
|
+
font-size: var(--tui-icon-size-md, calc(24 * 0.0625rem));
|
|
3111
3237
|
}
|
|
3112
3238
|
:where(.tui-interface) .tui-icon.is-size-lg {
|
|
3113
|
-
font-size: var(--tui-icon-size-lg,
|
|
3239
|
+
font-size: var(--tui-icon-size-lg, calc(32 * 0.0625rem));
|
|
3114
3240
|
}
|
|
3115
3241
|
:where(.tui-interface) .tui-icon.is-size-xl {
|
|
3116
|
-
font-size: var(--tui-icon-size-xl,
|
|
3242
|
+
font-size: var(--tui-icon-size-xl, calc(40 * 0.0625rem));
|
|
3117
3243
|
}
|
|
3118
3244
|
:where(.tui-interface) .tui-icon.is-size-xxl {
|
|
3119
|
-
font-size: var(--tui-icon-size-xxl,
|
|
3245
|
+
font-size: var(--tui-icon-size-xxl, calc(48 * 0.0625rem));
|
|
3120
3246
|
}
|
|
3121
3247
|
:where(.tui-interface) .tui-icon svg {
|
|
3122
3248
|
width: 1em;
|
|
@@ -3611,7 +3737,7 @@
|
|
|
3611
3737
|
width: var(--_size);
|
|
3612
3738
|
border-radius: var(--tui-radius-md);
|
|
3613
3739
|
font-size: var(--tui-typography-size-sm, 0.875rem);
|
|
3614
|
-
font-weight: var(--tui-
|
|
3740
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
3615
3741
|
color: var(--_fg);
|
|
3616
3742
|
user-select: none;
|
|
3617
3743
|
}
|
|
@@ -3776,7 +3902,8 @@
|
|
|
3776
3902
|
:where(.tui-interface) .tui-notice__title {
|
|
3777
3903
|
flex: 1 1 auto;
|
|
3778
3904
|
margin: 0;
|
|
3779
|
-
font-
|
|
3905
|
+
font-size: var(--tui-notice-title-size, var(--tui-typography-size-md));
|
|
3906
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
3780
3907
|
}
|
|
3781
3908
|
:where(.tui-interface) .tui-notice__head {
|
|
3782
3909
|
padding-block: var(--_padding);
|
|
@@ -3826,9 +3953,6 @@
|
|
|
3826
3953
|
--_gap: var(--tui-spacing-xs);
|
|
3827
3954
|
--_para-gap: var(--tui-spacing-xs);
|
|
3828
3955
|
}
|
|
3829
|
-
:where(.tui-interface) .tui-notice.is-size-sm .tui-notice__title {
|
|
3830
|
-
font-size: var(--tui-typography-size-md);
|
|
3831
|
-
}
|
|
3832
3956
|
:where(.tui-interface) .tui-notice.is-size-sm .tui-notice__body {
|
|
3833
3957
|
font-size: var(--tui-typography-size-sm);
|
|
3834
3958
|
}
|
|
@@ -3838,7 +3962,7 @@
|
|
|
3838
3962
|
--_para-gap: var(--tui-spacing-md);
|
|
3839
3963
|
}
|
|
3840
3964
|
:where(.tui-interface) .tui-notice.is-size-lg .tui-notice__title {
|
|
3841
|
-
font-size: var(--tui-typography-size-lg);
|
|
3965
|
+
font-size: var(--tui-notice-title-size, var(--tui-typography-size-lg));
|
|
3842
3966
|
}
|
|
3843
3967
|
:where(.tui-interface) .tui-notice.is-layout-inline {
|
|
3844
3968
|
display: flex;
|
|
@@ -3871,6 +3995,9 @@
|
|
|
3871
3995
|
:where(:where(.tui-interface) .tui-notice.is-layout-inline) .tui-notice__inner .tui-notice__foot {
|
|
3872
3996
|
width: unset;
|
|
3873
3997
|
flex: 0 1 var(--_foot-basis);
|
|
3998
|
+
display: flex;
|
|
3999
|
+
align-items: center;
|
|
4000
|
+
gap: var(--_gap);
|
|
3874
4001
|
padding-block: var(--_padding);
|
|
3875
4002
|
padding-inline-end: var(--_padding);
|
|
3876
4003
|
margin-inline-start: auto;
|
|
@@ -3916,27 +4043,38 @@
|
|
|
3916
4043
|
:where(.tui-interface) .tui-notice.is-theme-info {
|
|
3917
4044
|
--_bg: var(--tui-notice-bg, var(--tui-theme-primary-subtlest));
|
|
3918
4045
|
--_bg-hover: var(--tui-theme-primary-subtle);
|
|
4046
|
+
--_border: var(--tui-notice-border, var(--tui-theme-primary-subtle));
|
|
3919
4047
|
--_stripe: var(--tui-notice-stripe, var(--tui-theme-primary-base));
|
|
3920
4048
|
--_icon-color: var(--tui-theme-primary-base);
|
|
3921
4049
|
}
|
|
3922
4050
|
:where(.tui-interface) .tui-notice.is-theme-success {
|
|
3923
4051
|
--_bg: var(--tui-notice-bg, var(--tui-theme-success-subtlest));
|
|
3924
4052
|
--_bg-hover: var(--tui-theme-success-subtle);
|
|
4053
|
+
--_border: var(--tui-notice-border, var(--tui-theme-success-subtle));
|
|
3925
4054
|
--_stripe: var(--tui-notice-stripe, var(--tui-theme-success-base));
|
|
3926
4055
|
--_icon-color: var(--tui-theme-success-base);
|
|
3927
4056
|
}
|
|
3928
4057
|
:where(.tui-interface) .tui-notice.is-theme-warning {
|
|
3929
4058
|
--_bg: var(--tui-notice-bg, var(--tui-theme-warning-subtlest));
|
|
3930
4059
|
--_bg-hover: var(--tui-theme-warning-subtle);
|
|
4060
|
+
--_border: var(--tui-notice-border, var(--tui-theme-warning-subtle));
|
|
3931
4061
|
--_stripe: var(--tui-notice-stripe, var(--tui-theme-warning-base));
|
|
3932
4062
|
--_icon-color: var(--tui-theme-warning-base);
|
|
3933
4063
|
}
|
|
3934
4064
|
:where(.tui-interface) .tui-notice.is-theme-danger {
|
|
3935
4065
|
--_bg: var(--tui-notice-bg, var(--tui-theme-danger-subtlest));
|
|
3936
4066
|
--_bg-hover: var(--tui-theme-danger-subtle);
|
|
4067
|
+
--_border: var(--tui-notice-border, var(--tui-theme-danger-subtle));
|
|
3937
4068
|
--_stripe: var(--tui-notice-stripe, var(--tui-theme-danger-base));
|
|
3938
4069
|
--_icon-color: var(--tui-theme-danger-base);
|
|
3939
4070
|
}
|
|
4071
|
+
:where(.tui-interface) .tui-notice.is-theme-neutral {
|
|
4072
|
+
--_bg: var(--tui-notice-bg, var(--tui-color-bg-surface));
|
|
4073
|
+
--_bg-hover: var(--tui-color-bg-muted);
|
|
4074
|
+
--_border: var(--tui-notice-border, var(--tui-color-border));
|
|
4075
|
+
--_stripe: var(--tui-notice-stripe, var(--tui-color-fg-muted));
|
|
4076
|
+
--_icon-color: var(--tui-color-fg-muted);
|
|
4077
|
+
}
|
|
3940
4078
|
:where(.tui-interface) .tui-notice.is-style-elevated {
|
|
3941
4079
|
box-shadow: var(--tui-shadow-md);
|
|
3942
4080
|
}
|
|
@@ -4045,7 +4183,7 @@
|
|
|
4045
4183
|
background-color: var(--_bg);
|
|
4046
4184
|
color: var(--_fg);
|
|
4047
4185
|
font-size: 0.75rem;
|
|
4048
|
-
font-weight: var(--tui-
|
|
4186
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
4049
4187
|
}
|
|
4050
4188
|
@media (forced-colors: active) {
|
|
4051
4189
|
:where(.tui-interface) .tui-overlap-stack__overflow {
|
|
@@ -4067,8 +4205,8 @@
|
|
|
4067
4205
|
}
|
|
4068
4206
|
.tui-pager__nav .tui-pager__item,
|
|
4069
4207
|
.tui-pager__nav .tui-pager__ellipsis {
|
|
4070
|
-
--
|
|
4071
|
-
border-color: var(--
|
|
4208
|
+
--tui-button-border: var(--tui-pager-item-border, var(--tui-color-border));
|
|
4209
|
+
border-color: var(--tui-button-border);
|
|
4072
4210
|
font-size: var(--tui-typography-size-sm);
|
|
4073
4211
|
padding-inline: 0.85em;
|
|
4074
4212
|
padding-block: 0.4em;
|
|
@@ -4330,7 +4468,7 @@
|
|
|
4330
4468
|
align-items: center;
|
|
4331
4469
|
justify-content: center;
|
|
4332
4470
|
font-size: inherit;
|
|
4333
|
-
color: var(--_inactive)
|
|
4471
|
+
color: var(--_inactive);
|
|
4334
4472
|
}
|
|
4335
4473
|
:where(.tui-interface) .tui-rating .tui-rating__star .tui-icon {
|
|
4336
4474
|
flex: 0 0 auto;
|
|
@@ -4342,7 +4480,7 @@
|
|
|
4342
4480
|
}
|
|
4343
4481
|
}
|
|
4344
4482
|
:where(.tui-interface) .tui-rating .tui-rating__star.is-active {
|
|
4345
|
-
color: var(--_active)
|
|
4483
|
+
color: var(--_active);
|
|
4346
4484
|
}
|
|
4347
4485
|
@media (forced-colors: active) {
|
|
4348
4486
|
:where(.tui-interface) .tui-rating .tui-rating__star {
|
|
@@ -4358,6 +4496,7 @@
|
|
|
4358
4496
|
--_fill: var(--tui-progress-fill, var(--tui-theme-primary-base));
|
|
4359
4497
|
--_label: var(--tui-progress-label, var(--tui-color-fg));
|
|
4360
4498
|
--_radius: var(--tui-progress-radius, var(--tui-radius-md));
|
|
4499
|
+
--_block-size: var(--tui-progress-block-size, 1em);
|
|
4361
4500
|
--tui-progress-value: 0;
|
|
4362
4501
|
--tui-progress-max: 100;
|
|
4363
4502
|
--_pct: calc((var(--tui-progress-value) / var(--tui-progress-max)) * 100);
|
|
@@ -4378,7 +4517,7 @@
|
|
|
4378
4517
|
:where(.tui-interface) .tui-progress.is-mode-line .tui-progress__track {
|
|
4379
4518
|
position: relative;
|
|
4380
4519
|
inline-size: 100%;
|
|
4381
|
-
block-size:
|
|
4520
|
+
block-size: var(--_block-size);
|
|
4382
4521
|
background: var(--_track) !important;
|
|
4383
4522
|
border-radius: var(--_radius);
|
|
4384
4523
|
overflow: clip;
|
|
@@ -4643,8 +4782,8 @@
|
|
|
4643
4782
|
color: var(--_item-fg);
|
|
4644
4783
|
font: inherit;
|
|
4645
4784
|
font-size: var(--tui-typography-size-sm);
|
|
4646
|
-
font-weight: var(--tui-
|
|
4647
|
-
line-height: var(--tui-line-height-tight, 1.25);
|
|
4785
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
4786
|
+
line-height: var(--tui-typography-line-height-tight, 1.25);
|
|
4648
4787
|
white-space: nowrap;
|
|
4649
4788
|
cursor: pointer;
|
|
4650
4789
|
transition-property: background-color, color;
|
|
@@ -5027,15 +5166,15 @@
|
|
|
5027
5166
|
:where(.tui-interface) .tui-step-indicator.is-size-lg .tui-progress {
|
|
5028
5167
|
font-size: 20px;
|
|
5029
5168
|
}
|
|
5030
|
-
:where(.tui-interface) .tui-step-indicator.is-status-locked.has-icon
|
|
5031
|
-
|
|
5169
|
+
:where(.tui-interface) .tui-step-indicator.is-status-locked.has-icon, :where(.tui-interface) .tui-step-indicator.is-status-not-started.has-icon {
|
|
5170
|
+
--tui-progress-fill: var(--tui-progress-track, var(--tui-color-border));
|
|
5032
5171
|
}
|
|
5033
5172
|
:where(.tui-interface) .tui-step-indicator .tui-progress.is-mode-circle .tui-progress__label.is-inside {
|
|
5034
5173
|
font-size: 1.2em;
|
|
5035
5174
|
}
|
|
5036
5175
|
:where(.tui-interface) .tui-step-indicator__value {
|
|
5037
5176
|
font-size: 0.5em;
|
|
5038
|
-
font-weight: var(--tui-
|
|
5177
|
+
font-weight: var(--tui-typography-weight-bold, 700);
|
|
5039
5178
|
}
|
|
5040
5179
|
:where(.tui-interface) .tui-step-indicator.is-status-not-started.has-icon .tui-icon {
|
|
5041
5180
|
color: var(--tui-color-fg-muted);
|
|
@@ -5043,8 +5182,8 @@
|
|
|
5043
5182
|
:where(.tui-interface) .tui-step-indicator.is-status-in-progress.has-icon .tui-icon {
|
|
5044
5183
|
color: var(--tui-theme-primary-base);
|
|
5045
5184
|
}
|
|
5046
|
-
:where(.tui-interface) .tui-step-indicator.is-status-complete
|
|
5047
|
-
|
|
5185
|
+
:where(.tui-interface) .tui-step-indicator.is-status-complete {
|
|
5186
|
+
--tui-progress-fill: var(--tui-theme-success-base);
|
|
5048
5187
|
}
|
|
5049
5188
|
:where(.tui-interface) .tui-step-indicator.is-status-complete .tui-icon {
|
|
5050
5189
|
color: var(--tui-color-fg-on-accent);
|
|
@@ -5112,7 +5251,7 @@
|
|
|
5112
5251
|
:where(.tui-interface) .tui-steplist__content {
|
|
5113
5252
|
flex: 1;
|
|
5114
5253
|
min-width: 0;
|
|
5115
|
-
line-height: var(--tui-line-height
|
|
5254
|
+
line-height: var(--tui-typography-line-height, 1.4);
|
|
5116
5255
|
}
|
|
5117
5256
|
:where(.tui-interface) .tui-table {
|
|
5118
5257
|
--_border: var(--tui-table-border, var(--tui-color-border));
|
|
@@ -5160,7 +5299,7 @@
|
|
|
5160
5299
|
}
|
|
5161
5300
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected td,
|
|
5162
5301
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected .tui-table__cell--body {
|
|
5163
|
-
background-color: var(--tui-
|
|
5302
|
+
background-color: var(--tui-table-selected-bg, var(--tui-theme-primary-subtlest));
|
|
5164
5303
|
}
|
|
5165
5304
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected td:first-child,
|
|
5166
5305
|
:where(.tui-interface) .tui-table .tui-table__row.is-selected .tui-table__cell--body:first-child {
|
|
@@ -5271,8 +5410,8 @@
|
|
|
5271
5410
|
color: var(--_fg);
|
|
5272
5411
|
font: inherit;
|
|
5273
5412
|
font-size: var(--tui-typography-size-sm);
|
|
5274
|
-
font-weight: var(--tui-
|
|
5275
|
-
line-height: var(--tui-line-height-tight, 1.25);
|
|
5413
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
5414
|
+
line-height: var(--tui-typography-line-height-tight, 1.25);
|
|
5276
5415
|
text-decoration: none;
|
|
5277
5416
|
white-space: nowrap;
|
|
5278
5417
|
cursor: pointer;
|
|
@@ -5440,6 +5579,7 @@
|
|
|
5440
5579
|
min-height: 0;
|
|
5441
5580
|
min-width: 0;
|
|
5442
5581
|
flex: 1 1 auto;
|
|
5582
|
+
font-size: inherit;
|
|
5443
5583
|
}
|
|
5444
5584
|
:where(.tui-interface) .tui-input-group .tui-input:focus-visible,
|
|
5445
5585
|
:where(.tui-interface) .tui-input-group input:focus-visible {
|
|
@@ -6490,3 +6630,23 @@
|
|
|
6490
6630
|
transform: rotate(1turn);
|
|
6491
6631
|
}
|
|
6492
6632
|
}
|
|
6633
|
+
@keyframes tui-fadeFromOpaque {
|
|
6634
|
+
from {
|
|
6635
|
+
opacity: 1;
|
|
6636
|
+
}
|
|
6637
|
+
}
|
|
6638
|
+
@keyframes tui-fadeToOpaque {
|
|
6639
|
+
to {
|
|
6640
|
+
opacity: 1;
|
|
6641
|
+
}
|
|
6642
|
+
}
|
|
6643
|
+
@keyframes tui-fadeFromTransparent {
|
|
6644
|
+
from {
|
|
6645
|
+
opacity: 0;
|
|
6646
|
+
}
|
|
6647
|
+
}
|
|
6648
|
+
@keyframes tui-fadeToTransparent {
|
|
6649
|
+
to {
|
|
6650
|
+
opacity: 0;
|
|
6651
|
+
}
|
|
6652
|
+
}
|