@tangible/ui 0.2.41 → 0.2.43
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/CommandPalette/CommandPalette.d.ts +30 -0
- package/components/CommandPalette/CommandPalette.js +409 -0
- package/components/CommandPalette/CommandPaletteContext.d.ts +31 -0
- package/components/CommandPalette/CommandPaletteContext.js +8 -0
- package/components/CommandPalette/index.d.ts +3 -0
- package/components/CommandPalette/index.js +2 -0
- package/components/CommandPalette/shortcut.d.ts +15 -0
- package/components/CommandPalette/shortcut.js +83 -0
- package/components/CommandPalette/types.d.ts +152 -0
- package/components/CommandPalette/types.js +16 -0
- package/components/IconButton/IconButton.js +5 -2
- package/components/IconButton/IconButtonCore.js +16 -4
- package/components/IconButton/badge.d.ts +20 -0
- package/components/IconButton/badge.js +22 -0
- package/components/IconButton/types.d.ts +54 -2
- package/components/IconButton/types.js +2 -0
- package/components/IconTile/IconTile.d.ts +16 -0
- package/components/IconTile/IconTile.js +17 -0
- package/components/IconTile/index.d.ts +2 -0
- package/components/IconTile/index.js +1 -0
- package/components/IconTile/types.d.ts +29 -0
- package/components/IconTile/types.js +1 -0
- package/components/SegmentedControl/SegmentedControl.js +2 -2
- package/components/SegmentedControl/types.d.ts +10 -0
- package/components/Table/DataTable.js +1 -1
- package/components/Table/types.d.ts +6 -0
- package/components/Table/types.js +3 -0
- package/components/index.d.ts +4 -0
- package/components/index.js +2 -0
- package/figma-tokens.json +101 -3
- package/icons/icons.svg +1 -1
- package/icons/sprite-version.js +1 -1
- package/icons/sprite.php +1 -1
- package/package.json +13 -1
- package/skills/building-with-tui/SKILL.md +33 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +563 -67
- package/styles/all.expanded.unlayered.css +563 -67
- package/styles/all.unlayered.css +1 -1
- package/styles/components/_bundle.scss +8 -0
- package/styles/components/avatar.scss +6 -23
- package/styles/components/button.scss +15 -15
- package/styles/components/chip.scss +35 -11
- package/styles/components/command-palette.scss +314 -0
- package/styles/components/content-indicator.scss +6 -1
- package/styles/components/date-picker.scss +1 -1
- package/styles/components/icon-button.scss +82 -11
- package/styles/components/icon-tile.scss +89 -0
- package/styles/components/input/index.scss +4 -0
- package/styles/components/multi-select.scss +1 -1
- package/styles/components/progress.scss +23 -0
- package/styles/components/segmented-control.scss +11 -1
- package/styles/components/step-indicator.scss +1 -1
- package/styles/components/tabs.scss +1 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_constants.scss +5 -0
- package/styles/system/_palettes.scss +1 -0
- package/styles/system/_tokens.scss +40 -1
- package/tui-manifest.json +189 -5
- package/utils/color/theme.d.ts +66 -0
- package/utils/color/theme.js +232 -0
- package/vanilla/styles.css +1 -1
- package/vanilla/styles.unlayered.css +1 -1
package/styles/all.expanded.css
CHANGED
|
@@ -109,6 +109,21 @@
|
|
|
109
109
|
--tui-combobox-option-gap
|
|
110
110
|
*/
|
|
111
111
|
/* @tui-tokens
|
|
112
|
+
--tui-command-palette-width
|
|
113
|
+
--tui-command-palette-offset-top
|
|
114
|
+
--tui-command-palette-list-max-height
|
|
115
|
+
--tui-command-palette-option-bg-hover
|
|
116
|
+
--tui-command-palette-option-fg-hover
|
|
117
|
+
--tui-command-palette-option-indicator
|
|
118
|
+
--tui-command-palette-kbd-bg
|
|
119
|
+
--tui-command-palette-kbd-fg
|
|
120
|
+
--tui-command-palette-trigger-bg
|
|
121
|
+
--tui-command-palette-trigger-fg
|
|
122
|
+
--tui-command-palette-trigger-border
|
|
123
|
+
--tui-command-palette-trigger-border-hover
|
|
124
|
+
--tui-command-palette-trigger-radius
|
|
125
|
+
*/
|
|
126
|
+
/* @tui-tokens
|
|
112
127
|
--tui-color-area-radius
|
|
113
128
|
--tui-color-area-min-height
|
|
114
129
|
--tui-color-area-thumb-size
|
|
@@ -242,6 +257,15 @@
|
|
|
242
257
|
--tui-icon-button-fg-interact
|
|
243
258
|
--tui-icon-button-bg-pressed
|
|
244
259
|
--tui-icon-button-fg-pressed
|
|
260
|
+
--tui-icon-button-badge-bg
|
|
261
|
+
--tui-icon-button-badge-fg
|
|
262
|
+
--tui-icon-button-badge-ring
|
|
263
|
+
*/
|
|
264
|
+
/* @tui-tokens
|
|
265
|
+
--tui-icon-tile-size
|
|
266
|
+
--tui-icon-tile-radius
|
|
267
|
+
--tui-icon-tile-bg
|
|
268
|
+
--tui-icon-tile-fg
|
|
245
269
|
*/
|
|
246
270
|
/* @tui-tokens
|
|
247
271
|
--tui-modal-z
|
|
@@ -630,7 +654,7 @@
|
|
|
630
654
|
/* Neutral: text */
|
|
631
655
|
--tui-color-fg: #111928;
|
|
632
656
|
--tui-color-fg-secondary: #4B5563;
|
|
633
|
-
--tui-color-fg-muted: #
|
|
657
|
+
--tui-color-fg-muted: #606876;
|
|
634
658
|
--tui-color-fg-on-accent: #fff;
|
|
635
659
|
--tui-color-fg-inverted: #fafafa;
|
|
636
660
|
/* Neutral: borders/dividers */
|
|
@@ -656,6 +680,7 @@
|
|
|
656
680
|
--tui-theme-primary-soft: #7b93ff;
|
|
657
681
|
--tui-theme-primary-subtle: #c7d6ff;
|
|
658
682
|
--tui-theme-primary-subtlest: #e2e9ff;
|
|
683
|
+
--tui-theme-primary-on-base: var(--tui-color-fg-on-accent);
|
|
659
684
|
/* Secondary */
|
|
660
685
|
--tui-theme-secondary-strongest: #111928;
|
|
661
686
|
--tui-theme-secondary-stronger: #202836;
|
|
@@ -664,6 +689,7 @@
|
|
|
664
689
|
--tui-theme-secondary-soft: #9CA3AF;
|
|
665
690
|
--tui-theme-secondary-subtle: #E5E7EB;
|
|
666
691
|
--tui-theme-secondary-subtlest: #ECEEF1;
|
|
692
|
+
--tui-theme-secondary-on-base: var(--tui-color-fg-on-accent);
|
|
667
693
|
/* Success */
|
|
668
694
|
--tui-theme-success-strongest: #003008;
|
|
669
695
|
--tui-theme-success-stronger: #005c12;
|
|
@@ -672,6 +698,7 @@
|
|
|
672
698
|
--tui-theme-success-soft: #00ba37;
|
|
673
699
|
--tui-theme-success-subtle: #b7e7be;
|
|
674
700
|
--tui-theme-success-subtlest: #d8f3dc;
|
|
701
|
+
--tui-theme-success-on-base: var(--tui-color-fg-on-accent);
|
|
675
702
|
/* Info */
|
|
676
703
|
--tui-theme-info-strongest: #090949;
|
|
677
704
|
--tui-theme-info-stronger: #1b2398;
|
|
@@ -680,6 +707,7 @@
|
|
|
680
707
|
--tui-theme-info-soft: #7b93ff;
|
|
681
708
|
--tui-theme-info-subtle: #c7d6ff;
|
|
682
709
|
--tui-theme-info-subtlest: #e2e9ff;
|
|
710
|
+
--tui-theme-info-on-base: var(--tui-color-fg-on-accent);
|
|
683
711
|
/* Warning */
|
|
684
712
|
--tui-theme-warning-strongest: #362400;
|
|
685
713
|
--tui-theme-warning-stronger: #614200;
|
|
@@ -688,6 +716,7 @@
|
|
|
688
716
|
--tui-theme-warning-soft: #dba617;
|
|
689
717
|
--tui-theme-warning-subtle: #f5e6ab;
|
|
690
718
|
--tui-theme-warning-subtlest: #f9f1d2;
|
|
719
|
+
--tui-theme-warning-on-base: var(--tui-color-fg-on-accent);
|
|
691
720
|
/* Danger */
|
|
692
721
|
--tui-theme-danger-strongest: #451313;
|
|
693
722
|
--tui-theme-danger-stronger: #8a2424;
|
|
@@ -696,6 +725,18 @@
|
|
|
696
725
|
--tui-theme-danger-soft: #f86368;
|
|
697
726
|
--tui-theme-danger-subtle: #facfd2;
|
|
698
727
|
--tui-theme-danger-subtlest: #fce3e5;
|
|
728
|
+
--tui-theme-danger-on-base: var(--tui-color-fg-on-accent);
|
|
729
|
+
/* Private interaction rungs, read by Button, IconButton and Chip as the
|
|
730
|
+
fallback under their own tokens. Set on the interface, not the
|
|
731
|
+
component, so they follow the same cascade as the tokens: a light
|
|
732
|
+
interface nested in a dark one resets them here, and a dark ancestor
|
|
733
|
+
(<html data-theme="dark">) reaches them. Unset (initial) means each
|
|
734
|
+
component uses its light rung. The dark block sets them. */
|
|
735
|
+
--_fill-interact-primary: initial;
|
|
736
|
+
--_fill-interact-info: initial;
|
|
737
|
+
--_fg-interact-secondary: initial;
|
|
738
|
+
--_fg-selected-primary: initial;
|
|
739
|
+
--_fill-selected-hover-primary: initial;
|
|
699
740
|
/* Input chrome: the select chevron. An image, not a color — selects
|
|
700
741
|
can't be masked without masking their text, so light/dark swap the
|
|
701
742
|
URI. Fill tracks color-fg (gray 900 / gray 50). */
|
|
@@ -834,6 +875,11 @@
|
|
|
834
875
|
/* Input chrome */
|
|
835
876
|
--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");
|
|
836
877
|
/* Theme colors - adjust for dark mode contrast */
|
|
878
|
+
/* on-base: text on a theme's base fill. Dark lifts the fills, so white
|
|
879
|
+
text measures 2.5-3.7:1 on secondary, success, warning and danger base;
|
|
880
|
+
those four take the dark face colour instead (5.0-7.4:1, and 7.7:1 or
|
|
881
|
+
better on their -stronger hover fills). Primary and info keep white
|
|
882
|
+
(5.61:1). Light keeps white everywhere. */
|
|
837
883
|
--tui-theme-primary-base: #3858e9;
|
|
838
884
|
--tui-theme-primary-soft: #2942d1;
|
|
839
885
|
--tui-theme-primary-strong: #5879f9;
|
|
@@ -849,6 +895,7 @@
|
|
|
849
895
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
850
896
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
851
897
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
898
|
+
--tui-theme-secondary-on-base: #0c121f;
|
|
852
899
|
/* Success */
|
|
853
900
|
--tui-theme-success-subtlest: #003008;
|
|
854
901
|
--tui-theme-success-subtle: #00450c;
|
|
@@ -857,6 +904,7 @@
|
|
|
857
904
|
--tui-theme-success-strong: #00ba37;
|
|
858
905
|
--tui-theme-success-stronger: #1ed14b;
|
|
859
906
|
--tui-theme-success-strongest: #68de7c;
|
|
907
|
+
--tui-theme-success-on-base: #0c121f;
|
|
860
908
|
/* Info */
|
|
861
909
|
--tui-theme-info-subtlest: #090949;
|
|
862
910
|
--tui-theme-info-subtle: #101375;
|
|
@@ -873,6 +921,7 @@
|
|
|
873
921
|
--tui-theme-warning-strong: #dba617;
|
|
874
922
|
--tui-theme-warning-stronger: #f0c33c;
|
|
875
923
|
--tui-theme-warning-strongest: #f2d675;
|
|
924
|
+
--tui-theme-warning-on-base: #0c121f;
|
|
876
925
|
/* Danger */
|
|
877
926
|
--tui-theme-danger-subtlest: #451313;
|
|
878
927
|
--tui-theme-danger-subtle: #691c1c;
|
|
@@ -881,6 +930,18 @@
|
|
|
881
930
|
--tui-theme-danger-strong: #f86368;
|
|
882
931
|
--tui-theme-danger-stronger: #ff8085;
|
|
883
932
|
--tui-theme-danger-strongest: #ffabaf;
|
|
933
|
+
--tui-theme-danger-on-base: #0c121f;
|
|
934
|
+
/* Interaction rungs (declared initial in light). Primary and info keep
|
|
935
|
+
white text, so their hover/pressed fill steps DARKER, to -soft (7.52:1;
|
|
936
|
+
-stronger measured 2.82:1). Secondary Button hover text: primary-base is
|
|
937
|
+
2.64:1 on the dark subtlest fill, primary-stronger 5.26:1. A selected
|
|
938
|
+
primary Chip keeps its light -stronger fill, so it takes dark text
|
|
939
|
+
(6.65:1) and holds that fill on hover. */
|
|
940
|
+
--_fill-interact-primary: var(--tui-theme-primary-soft);
|
|
941
|
+
--_fill-interact-info: var(--tui-theme-info-soft);
|
|
942
|
+
--_fg-interact-secondary: var(--tui-theme-primary-stronger);
|
|
943
|
+
--_fg-selected-primary: #0c121f;
|
|
944
|
+
--_fill-selected-hover-primary: var(--tui-theme-primary-stronger);
|
|
884
945
|
/* Focus ring - brighter for dark backgrounds */
|
|
885
946
|
--tui-focus-ring-color: #3858e9;
|
|
886
947
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -955,6 +1016,11 @@
|
|
|
955
1016
|
/* Input chrome */
|
|
956
1017
|
--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");
|
|
957
1018
|
/* Theme colors - adjust for dark mode contrast */
|
|
1019
|
+
/* on-base: text on a theme's base fill. Dark lifts the fills, so white
|
|
1020
|
+
text measures 2.5-3.7:1 on secondary, success, warning and danger base;
|
|
1021
|
+
those four take the dark face colour instead (5.0-7.4:1, and 7.7:1 or
|
|
1022
|
+
better on their -stronger hover fills). Primary and info keep white
|
|
1023
|
+
(5.61:1). Light keeps white everywhere. */
|
|
958
1024
|
--tui-theme-primary-base: #3858e9;
|
|
959
1025
|
--tui-theme-primary-soft: #2942d1;
|
|
960
1026
|
--tui-theme-primary-strong: #5879f9;
|
|
@@ -970,6 +1036,7 @@
|
|
|
970
1036
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
971
1037
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
972
1038
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
1039
|
+
--tui-theme-secondary-on-base: #0c121f;
|
|
973
1040
|
/* Success */
|
|
974
1041
|
--tui-theme-success-subtlest: #003008;
|
|
975
1042
|
--tui-theme-success-subtle: #00450c;
|
|
@@ -978,6 +1045,7 @@
|
|
|
978
1045
|
--tui-theme-success-strong: #00ba37;
|
|
979
1046
|
--tui-theme-success-stronger: #1ed14b;
|
|
980
1047
|
--tui-theme-success-strongest: #68de7c;
|
|
1048
|
+
--tui-theme-success-on-base: #0c121f;
|
|
981
1049
|
/* Info */
|
|
982
1050
|
--tui-theme-info-subtlest: #090949;
|
|
983
1051
|
--tui-theme-info-subtle: #101375;
|
|
@@ -994,6 +1062,7 @@
|
|
|
994
1062
|
--tui-theme-warning-strong: #dba617;
|
|
995
1063
|
--tui-theme-warning-stronger: #f0c33c;
|
|
996
1064
|
--tui-theme-warning-strongest: #f2d675;
|
|
1065
|
+
--tui-theme-warning-on-base: #0c121f;
|
|
997
1066
|
/* Danger */
|
|
998
1067
|
--tui-theme-danger-subtlest: #451313;
|
|
999
1068
|
--tui-theme-danger-subtle: #691c1c;
|
|
@@ -1002,6 +1071,18 @@
|
|
|
1002
1071
|
--tui-theme-danger-strong: #f86368;
|
|
1003
1072
|
--tui-theme-danger-stronger: #ff8085;
|
|
1004
1073
|
--tui-theme-danger-strongest: #ffabaf;
|
|
1074
|
+
--tui-theme-danger-on-base: #0c121f;
|
|
1075
|
+
/* Interaction rungs (declared initial in light). Primary and info keep
|
|
1076
|
+
white text, so their hover/pressed fill steps DARKER, to -soft (7.52:1;
|
|
1077
|
+
-stronger measured 2.82:1). Secondary Button hover text: primary-base is
|
|
1078
|
+
2.64:1 on the dark subtlest fill, primary-stronger 5.26:1. A selected
|
|
1079
|
+
primary Chip keeps its light -stronger fill, so it takes dark text
|
|
1080
|
+
(6.65:1) and holds that fill on hover. */
|
|
1081
|
+
--_fill-interact-primary: var(--tui-theme-primary-soft);
|
|
1082
|
+
--_fill-interact-info: var(--tui-theme-info-soft);
|
|
1083
|
+
--_fg-interact-secondary: var(--tui-theme-primary-stronger);
|
|
1084
|
+
--_fg-selected-primary: #0c121f;
|
|
1085
|
+
--_fill-selected-hover-primary: var(--tui-theme-primary-stronger);
|
|
1005
1086
|
/* Focus ring - brighter for dark backgrounds */
|
|
1006
1087
|
--tui-focus-ring-color: #3858e9;
|
|
1007
1088
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -1539,7 +1620,7 @@
|
|
|
1539
1620
|
:where(.tui-interface) .tui-avatar .tui-avatar__indicator {
|
|
1540
1621
|
--_indicator-size: calc(var(--_size) * 0.35);
|
|
1541
1622
|
--_indicator-bg: var(--tui-avatar-indicator-bg, var(--tui-theme-danger-base));
|
|
1542
|
-
--_indicator-fg: var(--tui-avatar-indicator-fg, var(--tui-
|
|
1623
|
+
--_indicator-fg: var(--tui-avatar-indicator-fg, var(--tui-theme-danger-on-base));
|
|
1543
1624
|
position: absolute;
|
|
1544
1625
|
display: flex;
|
|
1545
1626
|
align-items: center;
|
|
@@ -1633,12 +1714,12 @@
|
|
|
1633
1714
|
}
|
|
1634
1715
|
.tui-interface .tui-button {
|
|
1635
1716
|
--_bg: var(--tui-button-bg, var(--tui-theme-primary-base));
|
|
1636
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1717
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-primary-on-base));
|
|
1637
1718
|
--_border: var(--tui-button-border, var(--tui-theme-primary-base));
|
|
1638
1719
|
--_radius: var(--tui-button-radius, var(--tui-radius-md));
|
|
1639
|
-
--_bg-interact: var(--tui-button-bg-interact, var(--tui-theme-primary-stronger));
|
|
1640
|
-
--_fg-interact: var(--tui-button-fg-interact, var(--tui-
|
|
1641
|
-
--_border-interact: var(--tui-button-border-interact, var(--tui-theme-primary-stronger));
|
|
1720
|
+
--_bg-interact: var(--tui-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1721
|
+
--_fg-interact: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
1722
|
+
--_border-interact: var(--tui-button-border-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1642
1723
|
font-size: var(--tui-button-font-size, var(--tui-typography-size-md));
|
|
1643
1724
|
font-weight: var(--tui-button-font-weight, normal);
|
|
1644
1725
|
line-height: var(--tui-button-line-height, 1.4);
|
|
@@ -1742,48 +1823,48 @@
|
|
|
1742
1823
|
}
|
|
1743
1824
|
.tui-interface .tui-button.is-theme-secondary:hover, .tui-interface .tui-button.is-theme-secondary:focus-visible, .tui-interface .tui-button.is-theme-secondary:is(:active, [aria-pressed=true]) {
|
|
1744
1825
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-secondary-subtlest));
|
|
1745
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-theme-primary-base));
|
|
1826
|
+
--_fg: var(--tui-button-fg-interact, var(--_fg-interact-secondary, var(--tui-theme-primary-base)));
|
|
1746
1827
|
--_border: var(--tui-button-border-interact, var(--tui-theme-secondary-subtlest));
|
|
1747
1828
|
}
|
|
1748
1829
|
.tui-interface .tui-button.is-theme-danger {
|
|
1749
1830
|
--_bg: var(--tui-button-bg, var(--tui-theme-danger-base));
|
|
1750
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1831
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-danger-on-base));
|
|
1751
1832
|
--_border: var(--tui-button-border, var(--tui-theme-danger-base));
|
|
1752
1833
|
}
|
|
1753
1834
|
.tui-interface .tui-button.is-theme-danger:hover, .tui-interface .tui-button.is-theme-danger:focus-visible, .tui-interface .tui-button.is-theme-danger:is(:active, [aria-pressed=true]) {
|
|
1754
|
-
--_bg: var(--tui-button-bg-interact, var(--tui-theme-danger-stronger));
|
|
1755
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1756
|
-
--_border: var(--tui-button-border-interact, var(--tui-theme-danger-stronger));
|
|
1835
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
1836
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-danger-on-base));
|
|
1837
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
1757
1838
|
}
|
|
1758
1839
|
.tui-interface .tui-button.is-theme-success {
|
|
1759
1840
|
--_bg: var(--tui-button-bg, var(--tui-theme-success-base));
|
|
1760
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1841
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-success-on-base));
|
|
1761
1842
|
--_border: var(--tui-button-border, var(--tui-theme-success-base));
|
|
1762
1843
|
}
|
|
1763
1844
|
.tui-interface .tui-button.is-theme-success:hover, .tui-interface .tui-button.is-theme-success:focus-visible, .tui-interface .tui-button.is-theme-success:is(:active, [aria-pressed=true]) {
|
|
1764
|
-
--_bg: var(--tui-button-bg-interact, var(--tui-theme-success-stronger));
|
|
1765
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1766
|
-
--_border: var(--tui-button-border-interact, var(--tui-theme-success-stronger));
|
|
1845
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
1846
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-success-on-base));
|
|
1847
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
1767
1848
|
}
|
|
1768
1849
|
.tui-interface .tui-button.is-theme-warning {
|
|
1769
1850
|
--_bg: var(--tui-button-bg, var(--tui-theme-warning-base));
|
|
1770
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1851
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-warning-on-base));
|
|
1771
1852
|
--_border: var(--tui-button-border, var(--tui-theme-warning-base));
|
|
1772
1853
|
}
|
|
1773
1854
|
.tui-interface .tui-button.is-theme-warning:hover, .tui-interface .tui-button.is-theme-warning:focus-visible, .tui-interface .tui-button.is-theme-warning:is(:active, [aria-pressed=true]) {
|
|
1774
|
-
--_bg: var(--tui-button-bg-interact, var(--tui-theme-warning-stronger));
|
|
1775
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1776
|
-
--_border: var(--tui-button-border-interact, var(--tui-theme-warning-stronger));
|
|
1855
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
1856
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-warning-on-base));
|
|
1857
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
1777
1858
|
}
|
|
1778
1859
|
.tui-interface .tui-button.is-theme-info {
|
|
1779
1860
|
--_bg: var(--tui-button-bg, var(--tui-theme-info-base));
|
|
1780
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1861
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-info-on-base));
|
|
1781
1862
|
--_border: var(--tui-button-border, var(--tui-theme-info-base));
|
|
1782
1863
|
}
|
|
1783
1864
|
.tui-interface .tui-button.is-theme-info:hover, .tui-interface .tui-button.is-theme-info:focus-visible, .tui-interface .tui-button.is-theme-info:is(:active, [aria-pressed=true]) {
|
|
1784
|
-
--_bg: var(--tui-button-bg-interact, var(--tui-theme-info-stronger));
|
|
1785
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1786
|
-
--_border: var(--tui-button-border-interact, var(--tui-theme-info-stronger));
|
|
1865
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
1866
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-info-on-base));
|
|
1867
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
1787
1868
|
}
|
|
1788
1869
|
.tui-interface .tui-button.is-style-outline {
|
|
1789
1870
|
--_bg: var(--tui-button-bg, transparent);
|
|
@@ -1792,7 +1873,7 @@
|
|
|
1792
1873
|
}
|
|
1793
1874
|
.tui-interface .tui-button.is-style-outline:hover, .tui-interface .tui-button.is-style-outline:focus-visible, .tui-interface .tui-button.is-style-outline:is(:active, [aria-pressed=true]) {
|
|
1794
1875
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-primary-base));
|
|
1795
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1876
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
1796
1877
|
--_border: var(--tui-button-border-interact, var(--tui-theme-primary-base));
|
|
1797
1878
|
}
|
|
1798
1879
|
.tui-interface .tui-button.is-style-outline.is-theme-secondary {
|
|
@@ -1812,7 +1893,7 @@
|
|
|
1812
1893
|
}
|
|
1813
1894
|
.tui-interface .tui-button.is-style-outline.is-theme-danger:hover, .tui-interface .tui-button.is-style-outline.is-theme-danger:focus-visible, .tui-interface .tui-button.is-style-outline.is-theme-danger:is(:active, [aria-pressed=true]) {
|
|
1814
1895
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-danger-base));
|
|
1815
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1896
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-danger-on-base));
|
|
1816
1897
|
--_border: var(--tui-button-border-interact, var(--tui-theme-danger-base));
|
|
1817
1898
|
}
|
|
1818
1899
|
.tui-interface .tui-button.is-style-outline.is-theme-success {
|
|
@@ -1822,7 +1903,7 @@
|
|
|
1822
1903
|
}
|
|
1823
1904
|
.tui-interface .tui-button.is-style-outline.is-theme-success:hover, .tui-interface .tui-button.is-style-outline.is-theme-success:focus-visible, .tui-interface .tui-button.is-style-outline.is-theme-success:is(:active, [aria-pressed=true]) {
|
|
1824
1905
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-success-base));
|
|
1825
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1906
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-success-on-base));
|
|
1826
1907
|
--_border: var(--tui-button-border-interact, var(--tui-theme-success-base));
|
|
1827
1908
|
}
|
|
1828
1909
|
.tui-interface .tui-button.is-style-outline.is-theme-warning {
|
|
@@ -1832,7 +1913,7 @@
|
|
|
1832
1913
|
}
|
|
1833
1914
|
.tui-interface .tui-button.is-style-outline.is-theme-warning:hover, .tui-interface .tui-button.is-style-outline.is-theme-warning:focus-visible, .tui-interface .tui-button.is-style-outline.is-theme-warning:is(:active, [aria-pressed=true]) {
|
|
1834
1915
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-warning-base));
|
|
1835
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1916
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-warning-on-base));
|
|
1836
1917
|
--_border: var(--tui-button-border-interact, var(--tui-theme-warning-base));
|
|
1837
1918
|
}
|
|
1838
1919
|
.tui-interface .tui-button.is-style-outline.is-theme-info {
|
|
@@ -1842,7 +1923,7 @@
|
|
|
1842
1923
|
}
|
|
1843
1924
|
.tui-interface .tui-button.is-style-outline.is-theme-info:hover, .tui-interface .tui-button.is-style-outline.is-theme-info:focus-visible, .tui-interface .tui-button.is-style-outline.is-theme-info:is(:active, [aria-pressed=true]) {
|
|
1844
1925
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-info-base));
|
|
1845
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1926
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-info-on-base));
|
|
1846
1927
|
--_border: var(--tui-button-border-interact, var(--tui-theme-info-base));
|
|
1847
1928
|
}
|
|
1848
1929
|
.tui-interface .tui-button.is-style-ghost {
|
|
@@ -1961,12 +2042,12 @@
|
|
|
1961
2042
|
}
|
|
1962
2043
|
.tui-interface input[type=file]::file-selector-button {
|
|
1963
2044
|
--_bg: var(--tui-button-bg, var(--tui-theme-primary-base));
|
|
1964
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
2045
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-primary-on-base));
|
|
1965
2046
|
--_border: var(--tui-button-border, var(--tui-theme-primary-base));
|
|
1966
2047
|
--_radius: var(--tui-button-radius, var(--tui-radius-md));
|
|
1967
|
-
--_bg-interact: var(--tui-button-bg-interact, var(--tui-theme-primary-stronger));
|
|
1968
|
-
--_fg-interact: var(--tui-button-fg-interact, var(--tui-
|
|
1969
|
-
--_border-interact: var(--tui-button-border-interact, var(--tui-theme-primary-stronger));
|
|
2048
|
+
--_bg-interact: var(--tui-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
2049
|
+
--_fg-interact: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
2050
|
+
--_border-interact: var(--tui-button-border-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1970
2051
|
font-size: var(--tui-button-font-size, var(--tui-typography-size-md));
|
|
1971
2052
|
font-weight: var(--tui-button-font-weight, normal);
|
|
1972
2053
|
line-height: var(--tui-button-line-height, 1.4);
|
|
@@ -2529,12 +2610,27 @@
|
|
|
2529
2610
|
}
|
|
2530
2611
|
:where(.tui-interface) .tui-chip.is-selected.is-style-outline {
|
|
2531
2612
|
--_bg: var(--_border);
|
|
2532
|
-
--_fg: var(--tui-
|
|
2613
|
+
--_fg: var(--tui-theme-secondary-on-base);
|
|
2614
|
+
}
|
|
2615
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-primary {
|
|
2616
|
+
--_fg: var(--tui-theme-primary-on-base);
|
|
2617
|
+
}
|
|
2618
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-secondary {
|
|
2619
|
+
--_fg: var(--tui-theme-secondary-on-base);
|
|
2620
|
+
}
|
|
2621
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-success {
|
|
2622
|
+
--_fg: var(--tui-theme-success-on-base);
|
|
2623
|
+
}
|
|
2624
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-warning {
|
|
2625
|
+
--_fg: var(--tui-theme-warning-on-base);
|
|
2626
|
+
}
|
|
2627
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-danger {
|
|
2628
|
+
--_fg: var(--tui-theme-danger-on-base);
|
|
2533
2629
|
}
|
|
2534
2630
|
:where(.tui-interface) .tui-chip.is-style-solid {
|
|
2535
2631
|
--_bg: var(--tui-chip-bg, var(--tui-theme-secondary-base));
|
|
2536
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2537
|
-
--_icon: var(--tui-chip-icon, var(--tui-
|
|
2632
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-secondary-on-base));
|
|
2633
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-secondary-on-base));
|
|
2538
2634
|
--_border: var(--tui-chip-border, var(--tui-theme-secondary-base));
|
|
2539
2635
|
}
|
|
2540
2636
|
@media (hover: hover) {
|
|
@@ -2549,22 +2645,30 @@
|
|
|
2549
2645
|
}
|
|
2550
2646
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary {
|
|
2551
2647
|
--_bg: var(--tui-chip-bg, var(--tui-theme-primary-base));
|
|
2552
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2648
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-primary-on-base));
|
|
2649
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-primary-on-base));
|
|
2553
2650
|
--_border: var(--tui-chip-border, var(--tui-theme-primary-base));
|
|
2554
2651
|
}
|
|
2555
2652
|
@media (hover: hover) {
|
|
2556
2653
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary.is-interactive:not(:disabled):not([aria-disabled=true]):hover, :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:is(a, button, [role=button]):not(:disabled):not([aria-disabled=true]):hover, :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:has(input[type=checkbox], input[type=radio]):not(:disabled):not([aria-disabled=true]):hover {
|
|
2557
|
-
--_bg: var(--tui-theme-primary-strong);
|
|
2558
|
-
--_border: var(--tui-theme-primary-strong);
|
|
2654
|
+
--_bg: var(--_fill-interact-primary, var(--tui-theme-primary-strong));
|
|
2655
|
+
--_border: var(--_fill-interact-primary, var(--tui-theme-primary-strong));
|
|
2656
|
+
}
|
|
2657
|
+
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary.is-interactive:not(:disabled):not([aria-disabled=true]):hover:is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary.is-interactive:not(:disabled):not([aria-disabled=true]):hover:has(input:checked), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:is(a, button, [role=button]):not(:disabled):not([aria-disabled=true]):hover:is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:is(a, button, [role=button]):not(:disabled):not([aria-disabled=true]):hover:has(input:checked), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:has(input[type=checkbox], input[type=radio]):not(:disabled):not([aria-disabled=true]):hover:is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:has(input[type=checkbox], input[type=radio]):not(:disabled):not([aria-disabled=true]):hover:has(input:checked) {
|
|
2658
|
+
--_bg: var(--_fill-selected-hover-primary, var(--tui-theme-primary-strong));
|
|
2659
|
+
--_border: var(--_fill-selected-hover-primary, var(--tui-theme-primary-strong));
|
|
2559
2660
|
}
|
|
2560
2661
|
}
|
|
2561
2662
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary.is-interactive:is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary.is-interactive:has(input:checked), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:is(a, button, [role=button]):is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:is(a, button, [role=button]):has(input:checked), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:has(input[type=checkbox], input[type=radio]):is(:active, [aria-pressed=true], .is-selected), :where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary:has(input[type=checkbox], input[type=radio]):has(input:checked) {
|
|
2562
2663
|
--_bg: var(--tui-theme-primary-stronger);
|
|
2563
2664
|
--_border: var(--tui-theme-primary-stronger);
|
|
2665
|
+
--_fg: var(--tui-chip-fg, var(--_fg-selected-primary, var(--tui-theme-primary-on-base)));
|
|
2666
|
+
--_icon: var(--tui-chip-icon, var(--_fg-selected-primary, var(--tui-theme-primary-on-base)));
|
|
2564
2667
|
}
|
|
2565
2668
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-secondary {
|
|
2566
2669
|
--_bg: var(--tui-chip-bg, var(--tui-theme-secondary-base));
|
|
2567
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2670
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-secondary-on-base));
|
|
2671
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-secondary-on-base));
|
|
2568
2672
|
--_border: var(--tui-chip-border, var(--tui-theme-secondary-base));
|
|
2569
2673
|
}
|
|
2570
2674
|
@media (hover: hover) {
|
|
@@ -2579,7 +2683,8 @@
|
|
|
2579
2683
|
}
|
|
2580
2684
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-success {
|
|
2581
2685
|
--_bg: var(--tui-chip-bg, var(--tui-theme-success-base));
|
|
2582
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2686
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-success-on-base));
|
|
2687
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-success-on-base));
|
|
2583
2688
|
--_border: var(--tui-chip-border, var(--tui-theme-success-base));
|
|
2584
2689
|
}
|
|
2585
2690
|
@media (hover: hover) {
|
|
@@ -2594,7 +2699,8 @@
|
|
|
2594
2699
|
}
|
|
2595
2700
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-warning {
|
|
2596
2701
|
--_bg: var(--tui-chip-bg, var(--tui-theme-warning-base));
|
|
2597
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2702
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-warning-on-base));
|
|
2703
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-warning-on-base));
|
|
2598
2704
|
--_border: var(--tui-chip-border, var(--tui-theme-warning-base));
|
|
2599
2705
|
}
|
|
2600
2706
|
@media (hover: hover) {
|
|
@@ -2609,7 +2715,8 @@
|
|
|
2609
2715
|
}
|
|
2610
2716
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-danger {
|
|
2611
2717
|
--_bg: var(--tui-chip-bg, var(--tui-theme-danger-base));
|
|
2612
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2718
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-danger-on-base));
|
|
2719
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-danger-on-base));
|
|
2613
2720
|
--_border: var(--tui-chip-border, var(--tui-theme-danger-base));
|
|
2614
2721
|
}
|
|
2615
2722
|
@media (hover: hover) {
|
|
@@ -2942,6 +3049,220 @@
|
|
|
2942
3049
|
outline-color: Highlight;
|
|
2943
3050
|
}
|
|
2944
3051
|
}
|
|
3052
|
+
.tui-interface .tui-modal__dialog.tui-command-palette {
|
|
3053
|
+
--_max: var(--tui-command-palette-width, var(--tui-modal-max, 40rem));
|
|
3054
|
+
--_min-body: 0rem;
|
|
3055
|
+
margin-block: var(--tui-command-palette-offset-top, min(12vh, 5rem)) auto;
|
|
3056
|
+
}
|
|
3057
|
+
:where(.tui-interface) .tui-command-palette__search {
|
|
3058
|
+
display: flex;
|
|
3059
|
+
flex: none;
|
|
3060
|
+
align-items: center;
|
|
3061
|
+
gap: var(--tui-spacing-xs);
|
|
3062
|
+
padding: var(--tui-spacing-sm) var(--tui-spacing-md);
|
|
3063
|
+
border-block-end: var(--tui-border-width) solid var(--tui-color-divider);
|
|
3064
|
+
}
|
|
3065
|
+
.tui-interface .tui-command-palette__search:has(> .tui-command-palette__input:focus) {
|
|
3066
|
+
border-block-end-color: var(--tui-focus-ring-color);
|
|
3067
|
+
box-shadow: inset 0 calc(-1 * var(--tui-border-width)) 0 var(--tui-focus-ring-color);
|
|
3068
|
+
}
|
|
3069
|
+
:where(.tui-interface) .tui-command-palette__search-icon {
|
|
3070
|
+
flex: none;
|
|
3071
|
+
color: var(--tui-color-fg-muted);
|
|
3072
|
+
}
|
|
3073
|
+
.tui-interface .tui-command-palette__input {
|
|
3074
|
+
flex: 1;
|
|
3075
|
+
min-width: 0;
|
|
3076
|
+
margin: 0;
|
|
3077
|
+
padding: var(--tui-spacing-xxs) 0;
|
|
3078
|
+
border: 0;
|
|
3079
|
+
background: transparent;
|
|
3080
|
+
color: inherit;
|
|
3081
|
+
font: inherit;
|
|
3082
|
+
font-size: var(--tui-typography-size-lg);
|
|
3083
|
+
box-shadow: none;
|
|
3084
|
+
}
|
|
3085
|
+
.tui-interface .tui-command-palette__input:focus, .tui-interface .tui-command-palette__input:focus-visible {
|
|
3086
|
+
outline: none;
|
|
3087
|
+
}
|
|
3088
|
+
.tui-interface .tui-command-palette__input::placeholder {
|
|
3089
|
+
color: var(--tui-color-fg-muted);
|
|
3090
|
+
opacity: 1;
|
|
3091
|
+
}
|
|
3092
|
+
:where(.tui-interface) .tui-command-palette__kbd {
|
|
3093
|
+
display: inline-flex;
|
|
3094
|
+
align-items: center;
|
|
3095
|
+
justify-content: center;
|
|
3096
|
+
min-inline-size: 1.5em;
|
|
3097
|
+
padding: 0.125em 0.375em;
|
|
3098
|
+
border-radius: var(--tui-radius-xs);
|
|
3099
|
+
background: var(--tui-command-palette-kbd-bg, var(--tui-color-fill-subtle));
|
|
3100
|
+
color: var(--tui-command-palette-kbd-fg, var(--tui-color-fg-secondary));
|
|
3101
|
+
font-family: inherit;
|
|
3102
|
+
font-size: var(--tui-typography-size-xs);
|
|
3103
|
+
white-space: nowrap;
|
|
3104
|
+
}
|
|
3105
|
+
:where(.tui-interface) .tui-command-palette__esc {
|
|
3106
|
+
flex: none;
|
|
3107
|
+
}
|
|
3108
|
+
.tui-interface .tui-command-palette__search .tui-command-palette__cancel {
|
|
3109
|
+
display: none;
|
|
3110
|
+
}
|
|
3111
|
+
:where(.tui-interface) .tui-command-palette__list {
|
|
3112
|
+
flex: 0 1 auto;
|
|
3113
|
+
max-block-size: var(--tui-command-palette-list-max-height, min(60vh, 28rem));
|
|
3114
|
+
overflow-y: auto;
|
|
3115
|
+
overscroll-behavior: contain;
|
|
3116
|
+
padding: var(--tui-spacing-xs);
|
|
3117
|
+
}
|
|
3118
|
+
:where(.tui-interface) .tui-command-palette__list:not(:has([role=option])) {
|
|
3119
|
+
display: none;
|
|
3120
|
+
}
|
|
3121
|
+
:where(.tui-interface) .tui-command-palette__group:not(:has(.tui-command-palette__item)) {
|
|
3122
|
+
display: none;
|
|
3123
|
+
}
|
|
3124
|
+
:where(.tui-interface) .tui-command-palette__label {
|
|
3125
|
+
padding: var(--tui-spacing-xs) var(--tui-spacing-xs) var(--tui-spacing-xxs);
|
|
3126
|
+
font-family: var(--tui-text-overline-family, inherit);
|
|
3127
|
+
font-size: var(--tui-text-overline-size, var(--tui-typography-size-xs));
|
|
3128
|
+
font-weight: var(--tui-text-overline-weight, 600);
|
|
3129
|
+
line-height: var(--tui-text-overline-line-height, 1.4);
|
|
3130
|
+
letter-spacing: var(--tui-text-overline-tracking, 0.05em);
|
|
3131
|
+
text-transform: var(--tui-text-overline-transform, uppercase);
|
|
3132
|
+
color: var(--tui-text-overline-color, var(--tui-color-fg-muted));
|
|
3133
|
+
}
|
|
3134
|
+
:where(.tui-interface) .tui-command-palette__item {
|
|
3135
|
+
--_bg-active: var(--tui-command-palette-option-bg-hover, var(--tui-listbox-option-bg-hover, var(--tui-color-fill-subtle)));
|
|
3136
|
+
--_fg-active: var(--tui-command-palette-option-fg-hover, var(--tui-listbox-option-fg-hover, inherit));
|
|
3137
|
+
--_indicator: var(--tui-command-palette-option-indicator, var(--tui-theme-primary-base));
|
|
3138
|
+
position: relative;
|
|
3139
|
+
display: flex;
|
|
3140
|
+
align-items: center;
|
|
3141
|
+
gap: var(--tui-spacing-sm);
|
|
3142
|
+
padding: var(--tui-spacing-xs);
|
|
3143
|
+
border-radius: var(--tui-listbox-option-radius, var(--tui-radius-sm));
|
|
3144
|
+
color: inherit;
|
|
3145
|
+
cursor: pointer;
|
|
3146
|
+
user-select: none;
|
|
3147
|
+
}
|
|
3148
|
+
:where(.tui-interface) .tui-command-palette__item[data-highlighted] {
|
|
3149
|
+
background-color: var(--_bg-active);
|
|
3150
|
+
color: var(--_fg-active);
|
|
3151
|
+
}
|
|
3152
|
+
:where(.tui-interface) .tui-command-palette__item[data-highlighted]::before {
|
|
3153
|
+
content: "";
|
|
3154
|
+
position: absolute;
|
|
3155
|
+
inset-inline-start: 0;
|
|
3156
|
+
inset-block: 25%;
|
|
3157
|
+
inline-size: 3px;
|
|
3158
|
+
border-start-end-radius: var(--tui-radius-xs);
|
|
3159
|
+
border-end-end-radius: var(--tui-radius-xs);
|
|
3160
|
+
background: var(--_indicator);
|
|
3161
|
+
}
|
|
3162
|
+
:where(.tui-interface) .tui-command-palette__item[data-disabled] {
|
|
3163
|
+
opacity: var(--tui-opacity-disabled);
|
|
3164
|
+
cursor: not-allowed;
|
|
3165
|
+
}
|
|
3166
|
+
:where(.tui-interface) .tui-command-palette__item-icon {
|
|
3167
|
+
flex: none;
|
|
3168
|
+
color: var(--tui-color-fg-secondary);
|
|
3169
|
+
}
|
|
3170
|
+
:where(.tui-interface) .tui-command-palette__item-text {
|
|
3171
|
+
display: grid;
|
|
3172
|
+
flex: 1;
|
|
3173
|
+
min-width: 0;
|
|
3174
|
+
}
|
|
3175
|
+
:where(.tui-interface) .tui-command-palette__item-label,
|
|
3176
|
+
:where(.tui-interface) .tui-command-palette__item-description {
|
|
3177
|
+
overflow: hidden;
|
|
3178
|
+
text-overflow: ellipsis;
|
|
3179
|
+
white-space: nowrap;
|
|
3180
|
+
}
|
|
3181
|
+
:where(.tui-interface) .tui-command-palette__item-description {
|
|
3182
|
+
color: var(--tui-color-fg-secondary);
|
|
3183
|
+
font-size: var(--tui-typography-size-sm);
|
|
3184
|
+
}
|
|
3185
|
+
:where(.tui-interface) .tui-command-palette__message {
|
|
3186
|
+
display: flex;
|
|
3187
|
+
flex-direction: column;
|
|
3188
|
+
align-items: center;
|
|
3189
|
+
gap: var(--tui-spacing-sm);
|
|
3190
|
+
padding: var(--tui-spacing-lg) var(--tui-spacing-md);
|
|
3191
|
+
color: var(--tui-color-fg-secondary);
|
|
3192
|
+
text-align: center;
|
|
3193
|
+
}
|
|
3194
|
+
:where(.tui-interface) .tui-command-palette__message p {
|
|
3195
|
+
margin: 0;
|
|
3196
|
+
}
|
|
3197
|
+
:where(.tui-interface) .tui-command-palette__hints {
|
|
3198
|
+
display: flex;
|
|
3199
|
+
flex: none;
|
|
3200
|
+
flex-wrap: wrap;
|
|
3201
|
+
gap: var(--tui-spacing-md);
|
|
3202
|
+
padding: var(--tui-spacing-xs) var(--tui-spacing-md);
|
|
3203
|
+
border-block-start: var(--tui-border-width) solid var(--tui-color-divider);
|
|
3204
|
+
color: var(--tui-color-fg-secondary);
|
|
3205
|
+
font-size: var(--tui-typography-size-xs);
|
|
3206
|
+
}
|
|
3207
|
+
:where(.tui-interface) .tui-command-palette__hint {
|
|
3208
|
+
display: inline-flex;
|
|
3209
|
+
align-items: center;
|
|
3210
|
+
gap: var(--tui-spacing-xxs);
|
|
3211
|
+
}
|
|
3212
|
+
@media (width < 48rem) {
|
|
3213
|
+
.tui-interface .tui-modal:has(> .tui-command-palette) {
|
|
3214
|
+
padding: 0;
|
|
3215
|
+
}
|
|
3216
|
+
.tui-interface .tui-modal__dialog.tui-command-palette {
|
|
3217
|
+
--_max: none;
|
|
3218
|
+
block-size: 100dvh;
|
|
3219
|
+
max-block-size: 100dvh;
|
|
3220
|
+
margin: 0;
|
|
3221
|
+
border: 0;
|
|
3222
|
+
border-radius: 0;
|
|
3223
|
+
}
|
|
3224
|
+
.tui-interface .tui-command-palette__list {
|
|
3225
|
+
flex: 1 1 auto;
|
|
3226
|
+
max-block-size: none;
|
|
3227
|
+
}
|
|
3228
|
+
.tui-interface .tui-command-palette__esc,
|
|
3229
|
+
.tui-interface .tui-command-palette__hints {
|
|
3230
|
+
display: none;
|
|
3231
|
+
}
|
|
3232
|
+
.tui-interface .tui-command-palette__search .tui-command-palette__cancel {
|
|
3233
|
+
display: inline-flex;
|
|
3234
|
+
}
|
|
3235
|
+
}
|
|
3236
|
+
.tui-interface .tui-command-palette-trigger {
|
|
3237
|
+
--_bg: var(--tui-command-palette-trigger-bg, var(--tui-input-bg, var(--tui-color-bg-surface)));
|
|
3238
|
+
--_fg: var(--tui-command-palette-trigger-fg, var(--tui-color-fg-muted));
|
|
3239
|
+
--_border-rest: var(--tui-command-palette-trigger-border, var(--tui-input-border, var(--tui-color-border-control)));
|
|
3240
|
+
--_border-hover: var(--tui-command-palette-trigger-border-hover, var(--tui-input-border-hover, var(--_border-rest)));
|
|
3241
|
+
--_radius: var(--tui-command-palette-trigger-radius, var(--tui-input-radius, var(--tui-radius-md)));
|
|
3242
|
+
gap: var(--tui-spacing-xs);
|
|
3243
|
+
padding-inline: var(--tui-spacing-xs);
|
|
3244
|
+
cursor: pointer;
|
|
3245
|
+
text-align: start;
|
|
3246
|
+
}
|
|
3247
|
+
:where(.tui-interface) .tui-command-palette-trigger__icon {
|
|
3248
|
+
flex: none;
|
|
3249
|
+
}
|
|
3250
|
+
:where(.tui-interface) .tui-command-palette-trigger__text {
|
|
3251
|
+
flex: 1;
|
|
3252
|
+
overflow: hidden;
|
|
3253
|
+
text-overflow: ellipsis;
|
|
3254
|
+
white-space: nowrap;
|
|
3255
|
+
}
|
|
3256
|
+
@media (forced-colors: active) {
|
|
3257
|
+
.tui-interface .tui-command-palette__item[data-highlighted] {
|
|
3258
|
+
forced-color-adjust: none;
|
|
3259
|
+
background: Highlight;
|
|
3260
|
+
color: HighlightText;
|
|
3261
|
+
}
|
|
3262
|
+
.tui-interface .tui-command-palette__kbd {
|
|
3263
|
+
border: 1px solid CanvasText;
|
|
3264
|
+
}
|
|
3265
|
+
}
|
|
2945
3266
|
.tui-interface .tui-color-area {
|
|
2946
3267
|
position: relative;
|
|
2947
3268
|
width: 100%;
|
|
@@ -3765,25 +4086,30 @@
|
|
|
3765
4086
|
background: var(--_border);
|
|
3766
4087
|
}
|
|
3767
4088
|
:where(.tui-interface) .tui-content-indicator.is-variant-solid .tui-content-indicator__circle .tui-icon {
|
|
3768
|
-
color: var(--tui-
|
|
4089
|
+
color: var(--_on, var(--tui-theme-secondary-on-base));
|
|
3769
4090
|
}
|
|
3770
4091
|
:where(.tui-interface) .tui-content-indicator.is-theme-default {
|
|
4092
|
+
--_on: var(--tui-theme-secondary-on-base);
|
|
3771
4093
|
--_border: var(--tui-color-fg-muted);
|
|
3772
4094
|
--_fg: var(--tui-color-fg-muted);
|
|
3773
4095
|
}
|
|
3774
4096
|
:where(.tui-interface) .tui-content-indicator.is-theme-info {
|
|
4097
|
+
--_on: var(--tui-theme-info-on-base);
|
|
3775
4098
|
--_border: var(--tui-theme-info-base);
|
|
3776
4099
|
--_fg: var(--tui-theme-info-base);
|
|
3777
4100
|
}
|
|
3778
4101
|
:where(.tui-interface) .tui-content-indicator.is-theme-success {
|
|
4102
|
+
--_on: var(--tui-theme-success-on-base);
|
|
3779
4103
|
--_border: var(--tui-theme-success-base);
|
|
3780
4104
|
--_fg: var(--tui-theme-success-base);
|
|
3781
4105
|
}
|
|
3782
4106
|
:where(.tui-interface) .tui-content-indicator.is-theme-warning {
|
|
4107
|
+
--_on: var(--tui-theme-warning-on-base);
|
|
3783
4108
|
--_border: var(--tui-theme-warning-base);
|
|
3784
4109
|
--_fg: var(--tui-theme-warning-base);
|
|
3785
4110
|
}
|
|
3786
4111
|
:where(.tui-interface) .tui-content-indicator.is-theme-danger {
|
|
4112
|
+
--_on: var(--tui-theme-danger-on-base);
|
|
3787
4113
|
--_border: var(--tui-theme-danger-base);
|
|
3788
4114
|
--_fg: var(--tui-theme-danger-base);
|
|
3789
4115
|
}
|
|
@@ -3792,7 +4118,7 @@
|
|
|
3792
4118
|
font-size: var(--tui-control-font-size-md, inherit);
|
|
3793
4119
|
--_cell-radius: var(--tui-calendar-cell-radius, var(--tui-radius-full, 999px));
|
|
3794
4120
|
--_selected-bg: var(--tui-calendar-selected-bg, var(--tui-theme-primary-base));
|
|
3795
|
-
--_selected-fg: var(--tui-calendar-selected-fg, var(--tui-
|
|
4121
|
+
--_selected-fg: var(--tui-calendar-selected-fg, var(--tui-theme-primary-on-base));
|
|
3796
4122
|
--_range-bg: var(--tui-calendar-range-bg, var(--tui-color-bg-muted));
|
|
3797
4123
|
--_today-bg: var(--tui-calendar-today-bg, var(--tui-color-bg-muted));
|
|
3798
4124
|
--_caption: var(--tui-calendar-caption-color, var(--tui-theme-primary-base));
|
|
@@ -4430,7 +4756,7 @@
|
|
|
4430
4756
|
border: var(--tui-border-width) solid var(--tui-checkbox-border, var(--tui-input-border, var(--tui-color-border-control)));
|
|
4431
4757
|
border-radius: var(--tui-radius-xs);
|
|
4432
4758
|
background-color: var(--tui-color-bg);
|
|
4433
|
-
color: var(--tui-
|
|
4759
|
+
color: var(--tui-theme-primary-on-base);
|
|
4434
4760
|
transition: background-color var(--tui-motion-duration) var(--tui-motion-timing), border-color var(--tui-motion-duration) var(--tui-motion-timing);
|
|
4435
4761
|
}
|
|
4436
4762
|
:where(.tui-interface) .tui-multiselect__checkbox.is-checked {
|
|
@@ -5206,6 +5532,7 @@
|
|
|
5206
5532
|
color: var(--_fg);
|
|
5207
5533
|
padding: 0.5em;
|
|
5208
5534
|
min-width: 1px;
|
|
5535
|
+
max-inline-size: 100%;
|
|
5209
5536
|
cursor: pointer;
|
|
5210
5537
|
}
|
|
5211
5538
|
:where(.tui-interface) .tui-icon {
|
|
@@ -5387,55 +5714,55 @@
|
|
|
5387
5714
|
}
|
|
5388
5715
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary {
|
|
5389
5716
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-primary-base));
|
|
5390
|
-
--_fg: var(--tui-icon-button-fg, var(--tui-
|
|
5391
|
-
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-primary-stronger));
|
|
5717
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-primary-on-base));
|
|
5718
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
5392
5719
|
}
|
|
5393
5720
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary:hover, .tui-interface .tui-icon-button.is-style-solid.is-theme-primary:focus-visible, .tui-interface .tui-icon-button.is-style-solid.is-theme-primary:active {
|
|
5394
|
-
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-primary-stronger));
|
|
5721
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
5395
5722
|
}
|
|
5396
5723
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary[aria-pressed=true] {
|
|
5397
5724
|
--_bg: var(--_bg-pressed);
|
|
5398
5725
|
}
|
|
5399
5726
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger {
|
|
5400
5727
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-danger-base));
|
|
5401
|
-
--_fg: var(--tui-icon-button-fg, var(--tui-
|
|
5402
|
-
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-danger-stronger));
|
|
5728
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-danger-on-base));
|
|
5729
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
5403
5730
|
}
|
|
5404
5731
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger:hover, .tui-interface .tui-icon-button.is-style-solid.is-theme-danger:focus-visible, .tui-interface .tui-icon-button.is-style-solid.is-theme-danger:active {
|
|
5405
|
-
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-danger-stronger));
|
|
5732
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
5406
5733
|
}
|
|
5407
5734
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger[aria-pressed=true] {
|
|
5408
5735
|
--_bg: var(--_bg-pressed);
|
|
5409
5736
|
}
|
|
5410
5737
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success {
|
|
5411
5738
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-success-base));
|
|
5412
|
-
--_fg: var(--tui-icon-button-fg, var(--tui-
|
|
5413
|
-
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-success-stronger));
|
|
5739
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-success-on-base));
|
|
5740
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
5414
5741
|
}
|
|
5415
5742
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success:hover, .tui-interface .tui-icon-button.is-style-solid.is-theme-success:focus-visible, .tui-interface .tui-icon-button.is-style-solid.is-theme-success:active {
|
|
5416
|
-
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-success-stronger));
|
|
5743
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
5417
5744
|
}
|
|
5418
5745
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success[aria-pressed=true] {
|
|
5419
5746
|
--_bg: var(--_bg-pressed);
|
|
5420
5747
|
}
|
|
5421
5748
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning {
|
|
5422
5749
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-warning-base));
|
|
5423
|
-
--_fg: var(--tui-icon-button-fg, var(--tui-
|
|
5424
|
-
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-warning-stronger));
|
|
5750
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-warning-on-base));
|
|
5751
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
5425
5752
|
}
|
|
5426
5753
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning:hover, .tui-interface .tui-icon-button.is-style-solid.is-theme-warning:focus-visible, .tui-interface .tui-icon-button.is-style-solid.is-theme-warning:active {
|
|
5427
|
-
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-warning-stronger));
|
|
5754
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
5428
5755
|
}
|
|
5429
5756
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning[aria-pressed=true] {
|
|
5430
5757
|
--_bg: var(--_bg-pressed);
|
|
5431
5758
|
}
|
|
5432
5759
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info {
|
|
5433
5760
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-info-base));
|
|
5434
|
-
--_fg: var(--tui-icon-button-fg, var(--tui-
|
|
5435
|
-
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-info-stronger));
|
|
5761
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-info-on-base));
|
|
5762
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
5436
5763
|
}
|
|
5437
5764
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info:hover, .tui-interface .tui-icon-button.is-style-solid.is-theme-info:focus-visible, .tui-interface .tui-icon-button.is-style-solid.is-theme-info:active {
|
|
5438
|
-
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-info-stronger));
|
|
5765
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
5439
5766
|
}
|
|
5440
5767
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info[aria-pressed=true] {
|
|
5441
5768
|
--_bg: var(--_bg-pressed);
|
|
@@ -5446,6 +5773,41 @@
|
|
|
5446
5773
|
.tui-interface .tui-icon-button[aria-busy=true] .tui-icon {
|
|
5447
5774
|
visibility: hidden;
|
|
5448
5775
|
}
|
|
5776
|
+
.tui-interface .tui-icon-button__badge {
|
|
5777
|
+
--_badge-bg: var(--tui-icon-button-badge-bg, var(--tui-theme-primary-base));
|
|
5778
|
+
--_badge-fg: var(--tui-icon-button-badge-fg, var(--tui-theme-primary-on-base));
|
|
5779
|
+
--_badge-ring: var(--tui-icon-button-badge-ring, var(--tui-color-bg));
|
|
5780
|
+
--_badge-h: 1rem;
|
|
5781
|
+
--_icon-inset: calc(var(--_size) * 0.125);
|
|
5782
|
+
position: absolute;
|
|
5783
|
+
z-index: 1;
|
|
5784
|
+
inset-block-start: calc(var(--_icon-inset) - var(--_badge-h) / 3);
|
|
5785
|
+
inset-inline-start: calc(50% + var(--_size) * 0.075);
|
|
5786
|
+
box-sizing: border-box;
|
|
5787
|
+
min-inline-size: var(--_badge-h);
|
|
5788
|
+
block-size: var(--_badge-h);
|
|
5789
|
+
padding-inline: var(--tui-spacing-xxs);
|
|
5790
|
+
display: inline-flex;
|
|
5791
|
+
align-items: center;
|
|
5792
|
+
justify-content: center;
|
|
5793
|
+
border-radius: var(--tui-radius-full);
|
|
5794
|
+
background-color: var(--_badge-bg);
|
|
5795
|
+
color: var(--_badge-fg);
|
|
5796
|
+
box-shadow: 0 0 0 2px var(--_badge-ring);
|
|
5797
|
+
font-size: calc(11 * var(--tui-typography-size-multiplier, 0.0625rem));
|
|
5798
|
+
font-weight: var(--tui-typography-weight-semibold, 600);
|
|
5799
|
+
font-variant-numeric: tabular-nums;
|
|
5800
|
+
line-height: 1;
|
|
5801
|
+
white-space: nowrap;
|
|
5802
|
+
}
|
|
5803
|
+
.tui-interface .tui-icon-button__badge.is-dot {
|
|
5804
|
+
--_badge-h: 0.5rem;
|
|
5805
|
+
padding: 0;
|
|
5806
|
+
}
|
|
5807
|
+
.tui-interface .tui-icon-button.is-size-xs .tui-icon-button__badge:not(.is-dot) {
|
|
5808
|
+
--_badge-h: 0.875rem;
|
|
5809
|
+
font-size: calc(10 * var(--tui-typography-size-multiplier, 0.0625rem));
|
|
5810
|
+
}
|
|
5449
5811
|
.tui-interface .tui-icon-button__spinner {
|
|
5450
5812
|
position: absolute;
|
|
5451
5813
|
width: 1em;
|
|
@@ -5462,26 +5824,146 @@
|
|
|
5462
5824
|
}
|
|
5463
5825
|
}
|
|
5464
5826
|
@media (forced-colors: active) {
|
|
5465
|
-
.tui-icon-button {
|
|
5827
|
+
.tui-interface .tui-icon-button {
|
|
5466
5828
|
forced-color-adjust: none;
|
|
5467
5829
|
background-color: Canvas;
|
|
5468
5830
|
color: CanvasText;
|
|
5469
5831
|
border-color: CanvasText;
|
|
5470
5832
|
}
|
|
5471
|
-
.tui-icon-button:is(:hover, :active) {
|
|
5833
|
+
.tui-interface .tui-icon-button:is(:hover, :active) {
|
|
5472
5834
|
background-color: Highlight;
|
|
5473
5835
|
color: Canvas;
|
|
5474
5836
|
}
|
|
5475
|
-
.tui-icon-
|
|
5837
|
+
.tui-interface .tui-icon-button__badge {
|
|
5838
|
+
forced-color-adjust: none;
|
|
5839
|
+
background-color: CanvasText;
|
|
5840
|
+
color: Canvas;
|
|
5841
|
+
box-shadow: none;
|
|
5842
|
+
outline: 2px solid Canvas;
|
|
5843
|
+
}
|
|
5844
|
+
.tui-interface .tui-icon-button:focus-visible {
|
|
5476
5845
|
outline: 2px solid Highlight;
|
|
5477
5846
|
outline-offset: 2px;
|
|
5478
5847
|
}
|
|
5479
|
-
.tui-icon-button:is(:disabled, [aria-disabled=true]) {
|
|
5848
|
+
.tui-interface .tui-icon-button:is(:disabled, [aria-disabled=true]) {
|
|
5480
5849
|
color: GrayText;
|
|
5481
5850
|
border-color: GrayText;
|
|
5482
5851
|
background-color: Canvas;
|
|
5483
5852
|
}
|
|
5484
5853
|
}
|
|
5854
|
+
:where(.tui-interface) .tui-icon-tile {
|
|
5855
|
+
--_size: var(
|
|
5856
|
+
--tui-icon-tile-size,
|
|
5857
|
+
2.5rem
|
|
5858
|
+
);
|
|
5859
|
+
--_radius: var(
|
|
5860
|
+
--tui-icon-tile-radius,
|
|
5861
|
+
var(--tui-radius-md)
|
|
5862
|
+
);
|
|
5863
|
+
--_bg: var(
|
|
5864
|
+
--tui-icon-tile-bg,
|
|
5865
|
+
var(--tui-theme-primary-subtlest)
|
|
5866
|
+
);
|
|
5867
|
+
--_fg: var(
|
|
5868
|
+
--tui-icon-tile-fg,
|
|
5869
|
+
var(--tui-theme-primary-strong)
|
|
5870
|
+
);
|
|
5871
|
+
display: inline-grid;
|
|
5872
|
+
flex-shrink: 0;
|
|
5873
|
+
place-items: center;
|
|
5874
|
+
inline-size: var(--_size);
|
|
5875
|
+
block-size: var(--_size);
|
|
5876
|
+
border: var(--tui-border-width) solid transparent;
|
|
5877
|
+
border-radius: var(--_radius);
|
|
5878
|
+
background-color: var(--_bg);
|
|
5879
|
+
color: var(--_fg);
|
|
5880
|
+
font-size: calc(var(--_size) * 0.5);
|
|
5881
|
+
line-height: 1;
|
|
5882
|
+
}
|
|
5883
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xs {
|
|
5884
|
+
--_size: var(--tui-icon-tile-size, 1.5rem);
|
|
5885
|
+
}
|
|
5886
|
+
:where(.tui-interface) .tui-icon-tile.is-size-sm {
|
|
5887
|
+
--_size: var(--tui-icon-tile-size, 2rem);
|
|
5888
|
+
}
|
|
5889
|
+
:where(.tui-interface) .tui-icon-tile.is-size-md {
|
|
5890
|
+
--_size: var(--tui-icon-tile-size, 2.5rem);
|
|
5891
|
+
}
|
|
5892
|
+
:where(.tui-interface) .tui-icon-tile.is-size-lg {
|
|
5893
|
+
--_size: var(--tui-icon-tile-size, 3rem);
|
|
5894
|
+
}
|
|
5895
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xl {
|
|
5896
|
+
--_size: var(--tui-icon-tile-size, 4rem);
|
|
5897
|
+
}
|
|
5898
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xxl {
|
|
5899
|
+
--_size: var(--tui-icon-tile-size, 5rem);
|
|
5900
|
+
}
|
|
5901
|
+
:where(.tui-interface) .tui-icon-tile.is-shape-circle {
|
|
5902
|
+
--_radius: var(--tui-icon-tile-radius, 50%);
|
|
5903
|
+
}
|
|
5904
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-primary {
|
|
5905
|
+
--_bg: var(
|
|
5906
|
+
--tui-icon-tile-bg,
|
|
5907
|
+
var(--tui-theme-primary-subtlest)
|
|
5908
|
+
);
|
|
5909
|
+
--_fg: var(
|
|
5910
|
+
--tui-icon-tile-fg,
|
|
5911
|
+
var(--tui-theme-primary-strong)
|
|
5912
|
+
);
|
|
5913
|
+
}
|
|
5914
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-secondary {
|
|
5915
|
+
--_bg: var(
|
|
5916
|
+
--tui-icon-tile-bg,
|
|
5917
|
+
var(--tui-theme-secondary-subtlest)
|
|
5918
|
+
);
|
|
5919
|
+
--_fg: var(
|
|
5920
|
+
--tui-icon-tile-fg,
|
|
5921
|
+
var(--tui-theme-secondary-strong)
|
|
5922
|
+
);
|
|
5923
|
+
}
|
|
5924
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-success {
|
|
5925
|
+
--_bg: var(
|
|
5926
|
+
--tui-icon-tile-bg,
|
|
5927
|
+
var(--tui-theme-success-subtlest)
|
|
5928
|
+
);
|
|
5929
|
+
--_fg: var(
|
|
5930
|
+
--tui-icon-tile-fg,
|
|
5931
|
+
var(--tui-theme-success-strong)
|
|
5932
|
+
);
|
|
5933
|
+
}
|
|
5934
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-warning {
|
|
5935
|
+
--_bg: var(
|
|
5936
|
+
--tui-icon-tile-bg,
|
|
5937
|
+
var(--tui-theme-warning-subtlest)
|
|
5938
|
+
);
|
|
5939
|
+
--_fg: var(
|
|
5940
|
+
--tui-icon-tile-fg,
|
|
5941
|
+
var(--tui-theme-warning-strong)
|
|
5942
|
+
);
|
|
5943
|
+
}
|
|
5944
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-danger {
|
|
5945
|
+
--_bg: var(
|
|
5946
|
+
--tui-icon-tile-bg,
|
|
5947
|
+
var(--tui-theme-danger-subtlest)
|
|
5948
|
+
);
|
|
5949
|
+
--_fg: var(
|
|
5950
|
+
--tui-icon-tile-fg,
|
|
5951
|
+
var(--tui-theme-danger-strong)
|
|
5952
|
+
);
|
|
5953
|
+
}
|
|
5954
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-info {
|
|
5955
|
+
--_bg: var(
|
|
5956
|
+
--tui-icon-tile-bg,
|
|
5957
|
+
var(--tui-theme-info-subtlest)
|
|
5958
|
+
);
|
|
5959
|
+
--_fg: var(
|
|
5960
|
+
--tui-icon-tile-fg,
|
|
5961
|
+
var(--tui-theme-info-strong)
|
|
5962
|
+
);
|
|
5963
|
+
}
|
|
5964
|
+
.tui-interface .tui-icon-tile > .tui-icon {
|
|
5965
|
+
font-size: 1em;
|
|
5966
|
+
}
|
|
5485
5967
|
.tui-modal {
|
|
5486
5968
|
--_z: var(--tui-modal-z, var(--tui-layer-modal, 1000));
|
|
5487
5969
|
--_backdrop: var(--tui-modal-backdrop, var(--tui-color-bg-overlay));
|
|
@@ -7022,6 +7504,18 @@
|
|
|
7022
7504
|
border-radius: 50%;
|
|
7023
7505
|
}
|
|
7024
7506
|
}
|
|
7507
|
+
.tui-interface[data-theme=dark] .tui-progress.is-segmented,
|
|
7508
|
+
.tui-interface[data-theme=dark] :where(.tui-interface) .tui-progress.is-segmented {
|
|
7509
|
+
--_z1: var(--tui-progress-z1-fill, var(--tui-theme-primary-strong));
|
|
7510
|
+
--_z5: var(--tui-progress-z5-fill, var(--tui-theme-info-strong));
|
|
7511
|
+
}
|
|
7512
|
+
@media (prefers-color-scheme: dark) {
|
|
7513
|
+
.tui-interface[data-theme=auto] .tui-progress.is-segmented,
|
|
7514
|
+
.tui-interface[data-theme=auto] :where(.tui-interface) .tui-progress.is-segmented {
|
|
7515
|
+
--_z1: var(--tui-progress-z1-fill, var(--tui-theme-primary-strong));
|
|
7516
|
+
--_z5: var(--tui-progress-z5-fill, var(--tui-theme-info-strong));
|
|
7517
|
+
}
|
|
7518
|
+
}
|
|
7025
7519
|
:where(.tui-interface) .tui-search-input__clear,
|
|
7026
7520
|
:where(.tui-interface) .tui-search-input__submit {
|
|
7027
7521
|
display: inline-flex;
|
|
@@ -7250,7 +7744,7 @@
|
|
|
7250
7744
|
--_item-bg: transparent;
|
|
7251
7745
|
--_item-fg: var(--tui-segmented-item-fg, var(--tui-color-fg-muted));
|
|
7252
7746
|
--_item-bg-active: var(--tui-segmented-item-bg-active, var(--tui-theme-primary-base));
|
|
7253
|
-
--_item-fg-active: var(--tui-segmented-item-fg-active, var(--tui-
|
|
7747
|
+
--_item-fg-active: var(--tui-segmented-item-fg-active, var(--tui-theme-primary-on-base));
|
|
7254
7748
|
--_item-bg-hover: color-mix(in srgb, var(--tui-color-fg) 8%, transparent);
|
|
7255
7749
|
display: inline-flex;
|
|
7256
7750
|
align-items: center;
|
|
@@ -7341,6 +7835,7 @@
|
|
|
7341
7835
|
.tui-interface .tui-segmented.is-variant-outline .tui-segmented__item[data-disabled][aria-checked=true] {
|
|
7342
7836
|
background: color-mix(in srgb, var(--_item-bg-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7343
7837
|
border-color: color-mix(in srgb, var(--_item-border-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7838
|
+
color: color-mix(in srgb, var(--_item-fg-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7344
7839
|
}
|
|
7345
7840
|
.tui-interface .tui-segmented.is-variant-outline .tui-segmented__item[data-disabled]:not([aria-checked=true]) {
|
|
7346
7841
|
color: color-mix(in srgb, var(--_item-fg) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
@@ -7348,6 +7843,7 @@
|
|
|
7348
7843
|
}
|
|
7349
7844
|
.tui-interface .tui-segmented.is-variant-underline .tui-segmented__item[data-disabled][aria-checked=true] {
|
|
7350
7845
|
border-bottom-color: color-mix(in srgb, var(--_indicator) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7846
|
+
color: color-mix(in srgb, var(--tui-color-fg) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7351
7847
|
}
|
|
7352
7848
|
}
|
|
7353
7849
|
.tui-interface .tui-segmented.is-size-xs {
|
|
@@ -8197,7 +8693,7 @@
|
|
|
8197
8693
|
--tui-progress-fill: var(--tui-theme-success-base);
|
|
8198
8694
|
}
|
|
8199
8695
|
:where(.tui-interface) .tui-step-indicator.is-status-complete .tui-icon {
|
|
8200
|
-
color: var(--tui-
|
|
8696
|
+
color: var(--tui-theme-success-on-base);
|
|
8201
8697
|
}
|
|
8202
8698
|
:where(.tui-interface) .tui-step-indicator.is-status-locked .tui-icon {
|
|
8203
8699
|
color: var(--tui-color-fg-muted);
|
|
@@ -8445,7 +8941,7 @@
|
|
|
8445
8941
|
--_fg: var(--tui-tabs-tab-fg, var(--tui-color-fg-muted));
|
|
8446
8942
|
--_border: var(--tui-tabs-tab-border, transparent);
|
|
8447
8943
|
--_bg-active: var(--tui-tabs-tab-bg-active, var(--tui-theme-primary-base, currentColor));
|
|
8448
|
-
--_fg-active: var(--tui-tabs-tab-fg-active, var(--tui-
|
|
8944
|
+
--_fg-active: var(--tui-tabs-tab-fg-active, var(--tui-theme-primary-on-base));
|
|
8449
8945
|
--_bg-hover: var(--tui-tabs-tab-bg-hover, var(--tui-color-bg-muted));
|
|
8450
8946
|
--_indicator: var(--tui-tabs-indicator, var(--tui-theme-primary-base, currentColor));
|
|
8451
8947
|
--_indicator-size: var(--tui-tabs-indicator-size, 2px);
|