@tangible/ui 0.2.41 → 0.2.42
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/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 +15 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +514 -63
- package/styles/all.expanded.unlayered.css +514 -63
- 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 +6 -7
- 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 +166 -2
- 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
|
|
@@ -244,6 +259,12 @@
|
|
|
244
259
|
--tui-icon-button-fg-pressed
|
|
245
260
|
*/
|
|
246
261
|
/* @tui-tokens
|
|
262
|
+
--tui-icon-tile-size
|
|
263
|
+
--tui-icon-tile-radius
|
|
264
|
+
--tui-icon-tile-bg
|
|
265
|
+
--tui-icon-tile-fg
|
|
266
|
+
*/
|
|
267
|
+
/* @tui-tokens
|
|
247
268
|
--tui-modal-z
|
|
248
269
|
--tui-modal-max
|
|
249
270
|
--tui-modal-spacing
|
|
@@ -630,7 +651,7 @@
|
|
|
630
651
|
/* Neutral: text */
|
|
631
652
|
--tui-color-fg: #111928;
|
|
632
653
|
--tui-color-fg-secondary: #4B5563;
|
|
633
|
-
--tui-color-fg-muted: #
|
|
654
|
+
--tui-color-fg-muted: #606876;
|
|
634
655
|
--tui-color-fg-on-accent: #fff;
|
|
635
656
|
--tui-color-fg-inverted: #fafafa;
|
|
636
657
|
/* Neutral: borders/dividers */
|
|
@@ -656,6 +677,7 @@
|
|
|
656
677
|
--tui-theme-primary-soft: #7b93ff;
|
|
657
678
|
--tui-theme-primary-subtle: #c7d6ff;
|
|
658
679
|
--tui-theme-primary-subtlest: #e2e9ff;
|
|
680
|
+
--tui-theme-primary-on-base: var(--tui-color-fg-on-accent);
|
|
659
681
|
/* Secondary */
|
|
660
682
|
--tui-theme-secondary-strongest: #111928;
|
|
661
683
|
--tui-theme-secondary-stronger: #202836;
|
|
@@ -664,6 +686,7 @@
|
|
|
664
686
|
--tui-theme-secondary-soft: #9CA3AF;
|
|
665
687
|
--tui-theme-secondary-subtle: #E5E7EB;
|
|
666
688
|
--tui-theme-secondary-subtlest: #ECEEF1;
|
|
689
|
+
--tui-theme-secondary-on-base: var(--tui-color-fg-on-accent);
|
|
667
690
|
/* Success */
|
|
668
691
|
--tui-theme-success-strongest: #003008;
|
|
669
692
|
--tui-theme-success-stronger: #005c12;
|
|
@@ -672,6 +695,7 @@
|
|
|
672
695
|
--tui-theme-success-soft: #00ba37;
|
|
673
696
|
--tui-theme-success-subtle: #b7e7be;
|
|
674
697
|
--tui-theme-success-subtlest: #d8f3dc;
|
|
698
|
+
--tui-theme-success-on-base: var(--tui-color-fg-on-accent);
|
|
675
699
|
/* Info */
|
|
676
700
|
--tui-theme-info-strongest: #090949;
|
|
677
701
|
--tui-theme-info-stronger: #1b2398;
|
|
@@ -680,6 +704,7 @@
|
|
|
680
704
|
--tui-theme-info-soft: #7b93ff;
|
|
681
705
|
--tui-theme-info-subtle: #c7d6ff;
|
|
682
706
|
--tui-theme-info-subtlest: #e2e9ff;
|
|
707
|
+
--tui-theme-info-on-base: var(--tui-color-fg-on-accent);
|
|
683
708
|
/* Warning */
|
|
684
709
|
--tui-theme-warning-strongest: #362400;
|
|
685
710
|
--tui-theme-warning-stronger: #614200;
|
|
@@ -688,6 +713,7 @@
|
|
|
688
713
|
--tui-theme-warning-soft: #dba617;
|
|
689
714
|
--tui-theme-warning-subtle: #f5e6ab;
|
|
690
715
|
--tui-theme-warning-subtlest: #f9f1d2;
|
|
716
|
+
--tui-theme-warning-on-base: var(--tui-color-fg-on-accent);
|
|
691
717
|
/* Danger */
|
|
692
718
|
--tui-theme-danger-strongest: #451313;
|
|
693
719
|
--tui-theme-danger-stronger: #8a2424;
|
|
@@ -696,6 +722,18 @@
|
|
|
696
722
|
--tui-theme-danger-soft: #f86368;
|
|
697
723
|
--tui-theme-danger-subtle: #facfd2;
|
|
698
724
|
--tui-theme-danger-subtlest: #fce3e5;
|
|
725
|
+
--tui-theme-danger-on-base: var(--tui-color-fg-on-accent);
|
|
726
|
+
/* Private interaction rungs, read by Button, IconButton and Chip as the
|
|
727
|
+
fallback under their own tokens. Set on the interface, not the
|
|
728
|
+
component, so they follow the same cascade as the tokens: a light
|
|
729
|
+
interface nested in a dark one resets them here, and a dark ancestor
|
|
730
|
+
(<html data-theme="dark">) reaches them. Unset (initial) means each
|
|
731
|
+
component uses its light rung. The dark block sets them. */
|
|
732
|
+
--_fill-interact-primary: initial;
|
|
733
|
+
--_fill-interact-info: initial;
|
|
734
|
+
--_fg-interact-secondary: initial;
|
|
735
|
+
--_fg-selected-primary: initial;
|
|
736
|
+
--_fill-selected-hover-primary: initial;
|
|
699
737
|
/* Input chrome: the select chevron. An image, not a color — selects
|
|
700
738
|
can't be masked without masking their text, so light/dark swap the
|
|
701
739
|
URI. Fill tracks color-fg (gray 900 / gray 50). */
|
|
@@ -834,6 +872,11 @@
|
|
|
834
872
|
/* Input chrome */
|
|
835
873
|
--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
874
|
/* Theme colors - adjust for dark mode contrast */
|
|
875
|
+
/* on-base: text on a theme's base fill. Dark lifts the fills, so white
|
|
876
|
+
text measures 2.5-3.7:1 on secondary, success, warning and danger base;
|
|
877
|
+
those four take the dark face colour instead (5.0-7.4:1, and 7.7:1 or
|
|
878
|
+
better on their -stronger hover fills). Primary and info keep white
|
|
879
|
+
(5.61:1). Light keeps white everywhere. */
|
|
837
880
|
--tui-theme-primary-base: #3858e9;
|
|
838
881
|
--tui-theme-primary-soft: #2942d1;
|
|
839
882
|
--tui-theme-primary-strong: #5879f9;
|
|
@@ -849,6 +892,7 @@
|
|
|
849
892
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
850
893
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
851
894
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
895
|
+
--tui-theme-secondary-on-base: #0c121f;
|
|
852
896
|
/* Success */
|
|
853
897
|
--tui-theme-success-subtlest: #003008;
|
|
854
898
|
--tui-theme-success-subtle: #00450c;
|
|
@@ -857,6 +901,7 @@
|
|
|
857
901
|
--tui-theme-success-strong: #00ba37;
|
|
858
902
|
--tui-theme-success-stronger: #1ed14b;
|
|
859
903
|
--tui-theme-success-strongest: #68de7c;
|
|
904
|
+
--tui-theme-success-on-base: #0c121f;
|
|
860
905
|
/* Info */
|
|
861
906
|
--tui-theme-info-subtlest: #090949;
|
|
862
907
|
--tui-theme-info-subtle: #101375;
|
|
@@ -873,6 +918,7 @@
|
|
|
873
918
|
--tui-theme-warning-strong: #dba617;
|
|
874
919
|
--tui-theme-warning-stronger: #f0c33c;
|
|
875
920
|
--tui-theme-warning-strongest: #f2d675;
|
|
921
|
+
--tui-theme-warning-on-base: #0c121f;
|
|
876
922
|
/* Danger */
|
|
877
923
|
--tui-theme-danger-subtlest: #451313;
|
|
878
924
|
--tui-theme-danger-subtle: #691c1c;
|
|
@@ -881,6 +927,18 @@
|
|
|
881
927
|
--tui-theme-danger-strong: #f86368;
|
|
882
928
|
--tui-theme-danger-stronger: #ff8085;
|
|
883
929
|
--tui-theme-danger-strongest: #ffabaf;
|
|
930
|
+
--tui-theme-danger-on-base: #0c121f;
|
|
931
|
+
/* Interaction rungs (declared initial in light). Primary and info keep
|
|
932
|
+
white text, so their hover/pressed fill steps DARKER, to -soft (7.52:1;
|
|
933
|
+
-stronger measured 2.82:1). Secondary Button hover text: primary-base is
|
|
934
|
+
2.64:1 on the dark subtlest fill, primary-stronger 5.26:1. A selected
|
|
935
|
+
primary Chip keeps its light -stronger fill, so it takes dark text
|
|
936
|
+
(6.65:1) and holds that fill on hover. */
|
|
937
|
+
--_fill-interact-primary: var(--tui-theme-primary-soft);
|
|
938
|
+
--_fill-interact-info: var(--tui-theme-info-soft);
|
|
939
|
+
--_fg-interact-secondary: var(--tui-theme-primary-stronger);
|
|
940
|
+
--_fg-selected-primary: #0c121f;
|
|
941
|
+
--_fill-selected-hover-primary: var(--tui-theme-primary-stronger);
|
|
884
942
|
/* Focus ring - brighter for dark backgrounds */
|
|
885
943
|
--tui-focus-ring-color: #3858e9;
|
|
886
944
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -955,6 +1013,11 @@
|
|
|
955
1013
|
/* Input chrome */
|
|
956
1014
|
--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
1015
|
/* Theme colors - adjust for dark mode contrast */
|
|
1016
|
+
/* on-base: text on a theme's base fill. Dark lifts the fills, so white
|
|
1017
|
+
text measures 2.5-3.7:1 on secondary, success, warning and danger base;
|
|
1018
|
+
those four take the dark face colour instead (5.0-7.4:1, and 7.7:1 or
|
|
1019
|
+
better on their -stronger hover fills). Primary and info keep white
|
|
1020
|
+
(5.61:1). Light keeps white everywhere. */
|
|
958
1021
|
--tui-theme-primary-base: #3858e9;
|
|
959
1022
|
--tui-theme-primary-soft: #2942d1;
|
|
960
1023
|
--tui-theme-primary-strong: #5879f9;
|
|
@@ -970,6 +1033,7 @@
|
|
|
970
1033
|
--tui-theme-secondary-strong: #D1D5DB;
|
|
971
1034
|
--tui-theme-secondary-stronger: #E5E7EB;
|
|
972
1035
|
--tui-theme-secondary-strongest: #F3F4F6;
|
|
1036
|
+
--tui-theme-secondary-on-base: #0c121f;
|
|
973
1037
|
/* Success */
|
|
974
1038
|
--tui-theme-success-subtlest: #003008;
|
|
975
1039
|
--tui-theme-success-subtle: #00450c;
|
|
@@ -978,6 +1042,7 @@
|
|
|
978
1042
|
--tui-theme-success-strong: #00ba37;
|
|
979
1043
|
--tui-theme-success-stronger: #1ed14b;
|
|
980
1044
|
--tui-theme-success-strongest: #68de7c;
|
|
1045
|
+
--tui-theme-success-on-base: #0c121f;
|
|
981
1046
|
/* Info */
|
|
982
1047
|
--tui-theme-info-subtlest: #090949;
|
|
983
1048
|
--tui-theme-info-subtle: #101375;
|
|
@@ -994,6 +1059,7 @@
|
|
|
994
1059
|
--tui-theme-warning-strong: #dba617;
|
|
995
1060
|
--tui-theme-warning-stronger: #f0c33c;
|
|
996
1061
|
--tui-theme-warning-strongest: #f2d675;
|
|
1062
|
+
--tui-theme-warning-on-base: #0c121f;
|
|
997
1063
|
/* Danger */
|
|
998
1064
|
--tui-theme-danger-subtlest: #451313;
|
|
999
1065
|
--tui-theme-danger-subtle: #691c1c;
|
|
@@ -1002,6 +1068,18 @@
|
|
|
1002
1068
|
--tui-theme-danger-strong: #f86368;
|
|
1003
1069
|
--tui-theme-danger-stronger: #ff8085;
|
|
1004
1070
|
--tui-theme-danger-strongest: #ffabaf;
|
|
1071
|
+
--tui-theme-danger-on-base: #0c121f;
|
|
1072
|
+
/* Interaction rungs (declared initial in light). Primary and info keep
|
|
1073
|
+
white text, so their hover/pressed fill steps DARKER, to -soft (7.52:1;
|
|
1074
|
+
-stronger measured 2.82:1). Secondary Button hover text: primary-base is
|
|
1075
|
+
2.64:1 on the dark subtlest fill, primary-stronger 5.26:1. A selected
|
|
1076
|
+
primary Chip keeps its light -stronger fill, so it takes dark text
|
|
1077
|
+
(6.65:1) and holds that fill on hover. */
|
|
1078
|
+
--_fill-interact-primary: var(--tui-theme-primary-soft);
|
|
1079
|
+
--_fill-interact-info: var(--tui-theme-info-soft);
|
|
1080
|
+
--_fg-interact-secondary: var(--tui-theme-primary-stronger);
|
|
1081
|
+
--_fg-selected-primary: #0c121f;
|
|
1082
|
+
--_fill-selected-hover-primary: var(--tui-theme-primary-stronger);
|
|
1005
1083
|
/* Focus ring - brighter for dark backgrounds */
|
|
1006
1084
|
--tui-focus-ring-color: #3858e9;
|
|
1007
1085
|
/* Shadows - more pronounced in dark mode */
|
|
@@ -1539,7 +1617,7 @@
|
|
|
1539
1617
|
:where(.tui-interface) .tui-avatar .tui-avatar__indicator {
|
|
1540
1618
|
--_indicator-size: calc(var(--_size) * 0.35);
|
|
1541
1619
|
--_indicator-bg: var(--tui-avatar-indicator-bg, var(--tui-theme-danger-base));
|
|
1542
|
-
--_indicator-fg: var(--tui-avatar-indicator-fg, var(--tui-
|
|
1620
|
+
--_indicator-fg: var(--tui-avatar-indicator-fg, var(--tui-theme-danger-on-base));
|
|
1543
1621
|
position: absolute;
|
|
1544
1622
|
display: flex;
|
|
1545
1623
|
align-items: center;
|
|
@@ -1633,12 +1711,12 @@
|
|
|
1633
1711
|
}
|
|
1634
1712
|
.tui-interface .tui-button {
|
|
1635
1713
|
--_bg: var(--tui-button-bg, var(--tui-theme-primary-base));
|
|
1636
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1714
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-primary-on-base));
|
|
1637
1715
|
--_border: var(--tui-button-border, var(--tui-theme-primary-base));
|
|
1638
1716
|
--_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));
|
|
1717
|
+
--_bg-interact: var(--tui-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1718
|
+
--_fg-interact: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
1719
|
+
--_border-interact: var(--tui-button-border-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1642
1720
|
font-size: var(--tui-button-font-size, var(--tui-typography-size-md));
|
|
1643
1721
|
font-weight: var(--tui-button-font-weight, normal);
|
|
1644
1722
|
line-height: var(--tui-button-line-height, 1.4);
|
|
@@ -1742,48 +1820,48 @@
|
|
|
1742
1820
|
}
|
|
1743
1821
|
.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
1822
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-secondary-subtlest));
|
|
1745
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-theme-primary-base));
|
|
1823
|
+
--_fg: var(--tui-button-fg-interact, var(--_fg-interact-secondary, var(--tui-theme-primary-base)));
|
|
1746
1824
|
--_border: var(--tui-button-border-interact, var(--tui-theme-secondary-subtlest));
|
|
1747
1825
|
}
|
|
1748
1826
|
.tui-interface .tui-button.is-theme-danger {
|
|
1749
1827
|
--_bg: var(--tui-button-bg, var(--tui-theme-danger-base));
|
|
1750
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1828
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-danger-on-base));
|
|
1751
1829
|
--_border: var(--tui-button-border, var(--tui-theme-danger-base));
|
|
1752
1830
|
}
|
|
1753
1831
|
.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));
|
|
1832
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
1833
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-danger-on-base));
|
|
1834
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
1757
1835
|
}
|
|
1758
1836
|
.tui-interface .tui-button.is-theme-success {
|
|
1759
1837
|
--_bg: var(--tui-button-bg, var(--tui-theme-success-base));
|
|
1760
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1838
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-success-on-base));
|
|
1761
1839
|
--_border: var(--tui-button-border, var(--tui-theme-success-base));
|
|
1762
1840
|
}
|
|
1763
1841
|
.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));
|
|
1842
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
1843
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-success-on-base));
|
|
1844
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
1767
1845
|
}
|
|
1768
1846
|
.tui-interface .tui-button.is-theme-warning {
|
|
1769
1847
|
--_bg: var(--tui-button-bg, var(--tui-theme-warning-base));
|
|
1770
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1848
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-warning-on-base));
|
|
1771
1849
|
--_border: var(--tui-button-border, var(--tui-theme-warning-base));
|
|
1772
1850
|
}
|
|
1773
1851
|
.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));
|
|
1852
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
1853
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-warning-on-base));
|
|
1854
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
1777
1855
|
}
|
|
1778
1856
|
.tui-interface .tui-button.is-theme-info {
|
|
1779
1857
|
--_bg: var(--tui-button-bg, var(--tui-theme-info-base));
|
|
1780
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
1858
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-info-on-base));
|
|
1781
1859
|
--_border: var(--tui-button-border, var(--tui-theme-info-base));
|
|
1782
1860
|
}
|
|
1783
1861
|
.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));
|
|
1862
|
+
--_bg: var(--tui-button-bg-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
1863
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-info-on-base));
|
|
1864
|
+
--_border: var(--tui-button-border-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
1787
1865
|
}
|
|
1788
1866
|
.tui-interface .tui-button.is-style-outline {
|
|
1789
1867
|
--_bg: var(--tui-button-bg, transparent);
|
|
@@ -1792,7 +1870,7 @@
|
|
|
1792
1870
|
}
|
|
1793
1871
|
.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
1872
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-primary-base));
|
|
1795
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1873
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
1796
1874
|
--_border: var(--tui-button-border-interact, var(--tui-theme-primary-base));
|
|
1797
1875
|
}
|
|
1798
1876
|
.tui-interface .tui-button.is-style-outline.is-theme-secondary {
|
|
@@ -1812,7 +1890,7 @@
|
|
|
1812
1890
|
}
|
|
1813
1891
|
.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
1892
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-danger-base));
|
|
1815
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1893
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-danger-on-base));
|
|
1816
1894
|
--_border: var(--tui-button-border-interact, var(--tui-theme-danger-base));
|
|
1817
1895
|
}
|
|
1818
1896
|
.tui-interface .tui-button.is-style-outline.is-theme-success {
|
|
@@ -1822,7 +1900,7 @@
|
|
|
1822
1900
|
}
|
|
1823
1901
|
.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
1902
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-success-base));
|
|
1825
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1903
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-success-on-base));
|
|
1826
1904
|
--_border: var(--tui-button-border-interact, var(--tui-theme-success-base));
|
|
1827
1905
|
}
|
|
1828
1906
|
.tui-interface .tui-button.is-style-outline.is-theme-warning {
|
|
@@ -1832,7 +1910,7 @@
|
|
|
1832
1910
|
}
|
|
1833
1911
|
.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
1912
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-warning-base));
|
|
1835
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1913
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-warning-on-base));
|
|
1836
1914
|
--_border: var(--tui-button-border-interact, var(--tui-theme-warning-base));
|
|
1837
1915
|
}
|
|
1838
1916
|
.tui-interface .tui-button.is-style-outline.is-theme-info {
|
|
@@ -1842,7 +1920,7 @@
|
|
|
1842
1920
|
}
|
|
1843
1921
|
.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
1922
|
--_bg: var(--tui-button-bg-interact, var(--tui-theme-info-base));
|
|
1845
|
-
--_fg: var(--tui-button-fg-interact, var(--tui-
|
|
1923
|
+
--_fg: var(--tui-button-fg-interact, var(--tui-theme-info-on-base));
|
|
1846
1924
|
--_border: var(--tui-button-border-interact, var(--tui-theme-info-base));
|
|
1847
1925
|
}
|
|
1848
1926
|
.tui-interface .tui-button.is-style-ghost {
|
|
@@ -1961,12 +2039,12 @@
|
|
|
1961
2039
|
}
|
|
1962
2040
|
.tui-interface input[type=file]::file-selector-button {
|
|
1963
2041
|
--_bg: var(--tui-button-bg, var(--tui-theme-primary-base));
|
|
1964
|
-
--_fg: var(--tui-button-fg, var(--tui-
|
|
2042
|
+
--_fg: var(--tui-button-fg, var(--tui-theme-primary-on-base));
|
|
1965
2043
|
--_border: var(--tui-button-border, var(--tui-theme-primary-base));
|
|
1966
2044
|
--_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));
|
|
2045
|
+
--_bg-interact: var(--tui-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
2046
|
+
--_fg-interact: var(--tui-button-fg-interact, var(--tui-theme-primary-on-base));
|
|
2047
|
+
--_border-interact: var(--tui-button-border-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
1970
2048
|
font-size: var(--tui-button-font-size, var(--tui-typography-size-md));
|
|
1971
2049
|
font-weight: var(--tui-button-font-weight, normal);
|
|
1972
2050
|
line-height: var(--tui-button-line-height, 1.4);
|
|
@@ -2529,12 +2607,27 @@
|
|
|
2529
2607
|
}
|
|
2530
2608
|
:where(.tui-interface) .tui-chip.is-selected.is-style-outline {
|
|
2531
2609
|
--_bg: var(--_border);
|
|
2532
|
-
--_fg: var(--tui-
|
|
2610
|
+
--_fg: var(--tui-theme-secondary-on-base);
|
|
2611
|
+
}
|
|
2612
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-primary {
|
|
2613
|
+
--_fg: var(--tui-theme-primary-on-base);
|
|
2614
|
+
}
|
|
2615
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-secondary {
|
|
2616
|
+
--_fg: var(--tui-theme-secondary-on-base);
|
|
2617
|
+
}
|
|
2618
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-success {
|
|
2619
|
+
--_fg: var(--tui-theme-success-on-base);
|
|
2620
|
+
}
|
|
2621
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-warning {
|
|
2622
|
+
--_fg: var(--tui-theme-warning-on-base);
|
|
2623
|
+
}
|
|
2624
|
+
:where(.tui-interface) .tui-chip.is-selected.is-style-outline.is-theme-danger {
|
|
2625
|
+
--_fg: var(--tui-theme-danger-on-base);
|
|
2533
2626
|
}
|
|
2534
2627
|
:where(.tui-interface) .tui-chip.is-style-solid {
|
|
2535
2628
|
--_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-
|
|
2629
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-secondary-on-base));
|
|
2630
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-secondary-on-base));
|
|
2538
2631
|
--_border: var(--tui-chip-border, var(--tui-theme-secondary-base));
|
|
2539
2632
|
}
|
|
2540
2633
|
@media (hover: hover) {
|
|
@@ -2549,22 +2642,30 @@
|
|
|
2549
2642
|
}
|
|
2550
2643
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-primary {
|
|
2551
2644
|
--_bg: var(--tui-chip-bg, var(--tui-theme-primary-base));
|
|
2552
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2645
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-primary-on-base));
|
|
2646
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-primary-on-base));
|
|
2553
2647
|
--_border: var(--tui-chip-border, var(--tui-theme-primary-base));
|
|
2554
2648
|
}
|
|
2555
2649
|
@media (hover: hover) {
|
|
2556
2650
|
: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);
|
|
2651
|
+
--_bg: var(--_fill-interact-primary, var(--tui-theme-primary-strong));
|
|
2652
|
+
--_border: var(--_fill-interact-primary, var(--tui-theme-primary-strong));
|
|
2653
|
+
}
|
|
2654
|
+
: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) {
|
|
2655
|
+
--_bg: var(--_fill-selected-hover-primary, var(--tui-theme-primary-strong));
|
|
2656
|
+
--_border: var(--_fill-selected-hover-primary, var(--tui-theme-primary-strong));
|
|
2559
2657
|
}
|
|
2560
2658
|
}
|
|
2561
2659
|
: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
2660
|
--_bg: var(--tui-theme-primary-stronger);
|
|
2563
2661
|
--_border: var(--tui-theme-primary-stronger);
|
|
2662
|
+
--_fg: var(--tui-chip-fg, var(--_fg-selected-primary, var(--tui-theme-primary-on-base)));
|
|
2663
|
+
--_icon: var(--tui-chip-icon, var(--_fg-selected-primary, var(--tui-theme-primary-on-base)));
|
|
2564
2664
|
}
|
|
2565
2665
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-secondary {
|
|
2566
2666
|
--_bg: var(--tui-chip-bg, var(--tui-theme-secondary-base));
|
|
2567
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2667
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-secondary-on-base));
|
|
2668
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-secondary-on-base));
|
|
2568
2669
|
--_border: var(--tui-chip-border, var(--tui-theme-secondary-base));
|
|
2569
2670
|
}
|
|
2570
2671
|
@media (hover: hover) {
|
|
@@ -2579,7 +2680,8 @@
|
|
|
2579
2680
|
}
|
|
2580
2681
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-success {
|
|
2581
2682
|
--_bg: var(--tui-chip-bg, var(--tui-theme-success-base));
|
|
2582
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2683
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-success-on-base));
|
|
2684
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-success-on-base));
|
|
2583
2685
|
--_border: var(--tui-chip-border, var(--tui-theme-success-base));
|
|
2584
2686
|
}
|
|
2585
2687
|
@media (hover: hover) {
|
|
@@ -2594,7 +2696,8 @@
|
|
|
2594
2696
|
}
|
|
2595
2697
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-warning {
|
|
2596
2698
|
--_bg: var(--tui-chip-bg, var(--tui-theme-warning-base));
|
|
2597
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2699
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-warning-on-base));
|
|
2700
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-warning-on-base));
|
|
2598
2701
|
--_border: var(--tui-chip-border, var(--tui-theme-warning-base));
|
|
2599
2702
|
}
|
|
2600
2703
|
@media (hover: hover) {
|
|
@@ -2609,7 +2712,8 @@
|
|
|
2609
2712
|
}
|
|
2610
2713
|
:where(.tui-interface) .tui-chip.is-style-solid.is-theme-danger {
|
|
2611
2714
|
--_bg: var(--tui-chip-bg, var(--tui-theme-danger-base));
|
|
2612
|
-
--_fg: var(--tui-chip-fg, var(--tui-
|
|
2715
|
+
--_fg: var(--tui-chip-fg, var(--tui-theme-danger-on-base));
|
|
2716
|
+
--_icon: var(--tui-chip-icon, var(--tui-theme-danger-on-base));
|
|
2613
2717
|
--_border: var(--tui-chip-border, var(--tui-theme-danger-base));
|
|
2614
2718
|
}
|
|
2615
2719
|
@media (hover: hover) {
|
|
@@ -2942,6 +3046,220 @@
|
|
|
2942
3046
|
outline-color: Highlight;
|
|
2943
3047
|
}
|
|
2944
3048
|
}
|
|
3049
|
+
.tui-interface .tui-modal__dialog.tui-command-palette {
|
|
3050
|
+
--_max: var(--tui-command-palette-width, var(--tui-modal-max, 40rem));
|
|
3051
|
+
--_min-body: 0rem;
|
|
3052
|
+
margin-block: var(--tui-command-palette-offset-top, min(12vh, 5rem)) auto;
|
|
3053
|
+
}
|
|
3054
|
+
:where(.tui-interface) .tui-command-palette__search {
|
|
3055
|
+
display: flex;
|
|
3056
|
+
flex: none;
|
|
3057
|
+
align-items: center;
|
|
3058
|
+
gap: var(--tui-spacing-xs);
|
|
3059
|
+
padding: var(--tui-spacing-sm) var(--tui-spacing-md);
|
|
3060
|
+
border-block-end: var(--tui-border-width) solid var(--tui-color-divider);
|
|
3061
|
+
}
|
|
3062
|
+
.tui-interface .tui-command-palette__search:has(> .tui-command-palette__input:focus) {
|
|
3063
|
+
border-block-end-color: var(--tui-focus-ring-color);
|
|
3064
|
+
box-shadow: inset 0 calc(-1 * var(--tui-border-width)) 0 var(--tui-focus-ring-color);
|
|
3065
|
+
}
|
|
3066
|
+
:where(.tui-interface) .tui-command-palette__search-icon {
|
|
3067
|
+
flex: none;
|
|
3068
|
+
color: var(--tui-color-fg-muted);
|
|
3069
|
+
}
|
|
3070
|
+
.tui-interface .tui-command-palette__input {
|
|
3071
|
+
flex: 1;
|
|
3072
|
+
min-width: 0;
|
|
3073
|
+
margin: 0;
|
|
3074
|
+
padding: var(--tui-spacing-xxs) 0;
|
|
3075
|
+
border: 0;
|
|
3076
|
+
background: transparent;
|
|
3077
|
+
color: inherit;
|
|
3078
|
+
font: inherit;
|
|
3079
|
+
font-size: var(--tui-typography-size-lg);
|
|
3080
|
+
box-shadow: none;
|
|
3081
|
+
}
|
|
3082
|
+
.tui-interface .tui-command-palette__input:focus, .tui-interface .tui-command-palette__input:focus-visible {
|
|
3083
|
+
outline: none;
|
|
3084
|
+
}
|
|
3085
|
+
.tui-interface .tui-command-palette__input::placeholder {
|
|
3086
|
+
color: var(--tui-color-fg-muted);
|
|
3087
|
+
opacity: 1;
|
|
3088
|
+
}
|
|
3089
|
+
:where(.tui-interface) .tui-command-palette__kbd {
|
|
3090
|
+
display: inline-flex;
|
|
3091
|
+
align-items: center;
|
|
3092
|
+
justify-content: center;
|
|
3093
|
+
min-inline-size: 1.5em;
|
|
3094
|
+
padding: 0.125em 0.375em;
|
|
3095
|
+
border-radius: var(--tui-radius-xs);
|
|
3096
|
+
background: var(--tui-command-palette-kbd-bg, var(--tui-color-fill-subtle));
|
|
3097
|
+
color: var(--tui-command-palette-kbd-fg, var(--tui-color-fg-secondary));
|
|
3098
|
+
font-family: inherit;
|
|
3099
|
+
font-size: var(--tui-typography-size-xs);
|
|
3100
|
+
white-space: nowrap;
|
|
3101
|
+
}
|
|
3102
|
+
:where(.tui-interface) .tui-command-palette__esc {
|
|
3103
|
+
flex: none;
|
|
3104
|
+
}
|
|
3105
|
+
.tui-interface .tui-command-palette__search .tui-command-palette__cancel {
|
|
3106
|
+
display: none;
|
|
3107
|
+
}
|
|
3108
|
+
:where(.tui-interface) .tui-command-palette__list {
|
|
3109
|
+
flex: 0 1 auto;
|
|
3110
|
+
max-block-size: var(--tui-command-palette-list-max-height, min(60vh, 28rem));
|
|
3111
|
+
overflow-y: auto;
|
|
3112
|
+
overscroll-behavior: contain;
|
|
3113
|
+
padding: var(--tui-spacing-xs);
|
|
3114
|
+
}
|
|
3115
|
+
:where(.tui-interface) .tui-command-palette__list:not(:has([role=option])) {
|
|
3116
|
+
display: none;
|
|
3117
|
+
}
|
|
3118
|
+
:where(.tui-interface) .tui-command-palette__group:not(:has(.tui-command-palette__item)) {
|
|
3119
|
+
display: none;
|
|
3120
|
+
}
|
|
3121
|
+
:where(.tui-interface) .tui-command-palette__label {
|
|
3122
|
+
padding: var(--tui-spacing-xs) var(--tui-spacing-xs) var(--tui-spacing-xxs);
|
|
3123
|
+
font-family: var(--tui-text-overline-family, inherit);
|
|
3124
|
+
font-size: var(--tui-text-overline-size, var(--tui-typography-size-xs));
|
|
3125
|
+
font-weight: var(--tui-text-overline-weight, 600);
|
|
3126
|
+
line-height: var(--tui-text-overline-line-height, 1.4);
|
|
3127
|
+
letter-spacing: var(--tui-text-overline-tracking, 0.05em);
|
|
3128
|
+
text-transform: var(--tui-text-overline-transform, uppercase);
|
|
3129
|
+
color: var(--tui-text-overline-color, var(--tui-color-fg-muted));
|
|
3130
|
+
}
|
|
3131
|
+
:where(.tui-interface) .tui-command-palette__item {
|
|
3132
|
+
--_bg-active: var(--tui-command-palette-option-bg-hover, var(--tui-listbox-option-bg-hover, var(--tui-color-fill-subtle)));
|
|
3133
|
+
--_fg-active: var(--tui-command-palette-option-fg-hover, var(--tui-listbox-option-fg-hover, inherit));
|
|
3134
|
+
--_indicator: var(--tui-command-palette-option-indicator, var(--tui-theme-primary-base));
|
|
3135
|
+
position: relative;
|
|
3136
|
+
display: flex;
|
|
3137
|
+
align-items: center;
|
|
3138
|
+
gap: var(--tui-spacing-sm);
|
|
3139
|
+
padding: var(--tui-spacing-xs);
|
|
3140
|
+
border-radius: var(--tui-listbox-option-radius, var(--tui-radius-sm));
|
|
3141
|
+
color: inherit;
|
|
3142
|
+
cursor: pointer;
|
|
3143
|
+
user-select: none;
|
|
3144
|
+
}
|
|
3145
|
+
:where(.tui-interface) .tui-command-palette__item[data-highlighted] {
|
|
3146
|
+
background-color: var(--_bg-active);
|
|
3147
|
+
color: var(--_fg-active);
|
|
3148
|
+
}
|
|
3149
|
+
:where(.tui-interface) .tui-command-palette__item[data-highlighted]::before {
|
|
3150
|
+
content: "";
|
|
3151
|
+
position: absolute;
|
|
3152
|
+
inset-inline-start: 0;
|
|
3153
|
+
inset-block: 25%;
|
|
3154
|
+
inline-size: 3px;
|
|
3155
|
+
border-start-end-radius: var(--tui-radius-xs);
|
|
3156
|
+
border-end-end-radius: var(--tui-radius-xs);
|
|
3157
|
+
background: var(--_indicator);
|
|
3158
|
+
}
|
|
3159
|
+
:where(.tui-interface) .tui-command-palette__item[data-disabled] {
|
|
3160
|
+
opacity: var(--tui-opacity-disabled);
|
|
3161
|
+
cursor: not-allowed;
|
|
3162
|
+
}
|
|
3163
|
+
:where(.tui-interface) .tui-command-palette__item-icon {
|
|
3164
|
+
flex: none;
|
|
3165
|
+
color: var(--tui-color-fg-secondary);
|
|
3166
|
+
}
|
|
3167
|
+
:where(.tui-interface) .tui-command-palette__item-text {
|
|
3168
|
+
display: grid;
|
|
3169
|
+
flex: 1;
|
|
3170
|
+
min-width: 0;
|
|
3171
|
+
}
|
|
3172
|
+
:where(.tui-interface) .tui-command-palette__item-label,
|
|
3173
|
+
:where(.tui-interface) .tui-command-palette__item-description {
|
|
3174
|
+
overflow: hidden;
|
|
3175
|
+
text-overflow: ellipsis;
|
|
3176
|
+
white-space: nowrap;
|
|
3177
|
+
}
|
|
3178
|
+
:where(.tui-interface) .tui-command-palette__item-description {
|
|
3179
|
+
color: var(--tui-color-fg-secondary);
|
|
3180
|
+
font-size: var(--tui-typography-size-sm);
|
|
3181
|
+
}
|
|
3182
|
+
:where(.tui-interface) .tui-command-palette__message {
|
|
3183
|
+
display: flex;
|
|
3184
|
+
flex-direction: column;
|
|
3185
|
+
align-items: center;
|
|
3186
|
+
gap: var(--tui-spacing-sm);
|
|
3187
|
+
padding: var(--tui-spacing-lg) var(--tui-spacing-md);
|
|
3188
|
+
color: var(--tui-color-fg-secondary);
|
|
3189
|
+
text-align: center;
|
|
3190
|
+
}
|
|
3191
|
+
:where(.tui-interface) .tui-command-palette__message p {
|
|
3192
|
+
margin: 0;
|
|
3193
|
+
}
|
|
3194
|
+
:where(.tui-interface) .tui-command-palette__hints {
|
|
3195
|
+
display: flex;
|
|
3196
|
+
flex: none;
|
|
3197
|
+
flex-wrap: wrap;
|
|
3198
|
+
gap: var(--tui-spacing-md);
|
|
3199
|
+
padding: var(--tui-spacing-xs) var(--tui-spacing-md);
|
|
3200
|
+
border-block-start: var(--tui-border-width) solid var(--tui-color-divider);
|
|
3201
|
+
color: var(--tui-color-fg-secondary);
|
|
3202
|
+
font-size: var(--tui-typography-size-xs);
|
|
3203
|
+
}
|
|
3204
|
+
:where(.tui-interface) .tui-command-palette__hint {
|
|
3205
|
+
display: inline-flex;
|
|
3206
|
+
align-items: center;
|
|
3207
|
+
gap: var(--tui-spacing-xxs);
|
|
3208
|
+
}
|
|
3209
|
+
@media (width < 48rem) {
|
|
3210
|
+
.tui-interface .tui-modal:has(> .tui-command-palette) {
|
|
3211
|
+
padding: 0;
|
|
3212
|
+
}
|
|
3213
|
+
.tui-interface .tui-modal__dialog.tui-command-palette {
|
|
3214
|
+
--_max: none;
|
|
3215
|
+
block-size: 100dvh;
|
|
3216
|
+
max-block-size: 100dvh;
|
|
3217
|
+
margin: 0;
|
|
3218
|
+
border: 0;
|
|
3219
|
+
border-radius: 0;
|
|
3220
|
+
}
|
|
3221
|
+
.tui-interface .tui-command-palette__list {
|
|
3222
|
+
flex: 1 1 auto;
|
|
3223
|
+
max-block-size: none;
|
|
3224
|
+
}
|
|
3225
|
+
.tui-interface .tui-command-palette__esc,
|
|
3226
|
+
.tui-interface .tui-command-palette__hints {
|
|
3227
|
+
display: none;
|
|
3228
|
+
}
|
|
3229
|
+
.tui-interface .tui-command-palette__search .tui-command-palette__cancel {
|
|
3230
|
+
display: inline-flex;
|
|
3231
|
+
}
|
|
3232
|
+
}
|
|
3233
|
+
.tui-interface .tui-command-palette-trigger {
|
|
3234
|
+
--_bg: var(--tui-command-palette-trigger-bg, var(--tui-input-bg, var(--tui-color-bg-surface)));
|
|
3235
|
+
--_fg: var(--tui-command-palette-trigger-fg, var(--tui-color-fg-muted));
|
|
3236
|
+
--_border-rest: var(--tui-command-palette-trigger-border, var(--tui-input-border, var(--tui-color-border-control)));
|
|
3237
|
+
--_border-hover: var(--tui-command-palette-trigger-border-hover, var(--tui-input-border-hover, var(--_border-rest)));
|
|
3238
|
+
--_radius: var(--tui-command-palette-trigger-radius, var(--tui-input-radius, var(--tui-radius-md)));
|
|
3239
|
+
gap: var(--tui-spacing-xs);
|
|
3240
|
+
padding-inline: var(--tui-spacing-xs);
|
|
3241
|
+
cursor: pointer;
|
|
3242
|
+
text-align: start;
|
|
3243
|
+
}
|
|
3244
|
+
:where(.tui-interface) .tui-command-palette-trigger__icon {
|
|
3245
|
+
flex: none;
|
|
3246
|
+
}
|
|
3247
|
+
:where(.tui-interface) .tui-command-palette-trigger__text {
|
|
3248
|
+
flex: 1;
|
|
3249
|
+
overflow: hidden;
|
|
3250
|
+
text-overflow: ellipsis;
|
|
3251
|
+
white-space: nowrap;
|
|
3252
|
+
}
|
|
3253
|
+
@media (forced-colors: active) {
|
|
3254
|
+
.tui-interface .tui-command-palette__item[data-highlighted] {
|
|
3255
|
+
forced-color-adjust: none;
|
|
3256
|
+
background: Highlight;
|
|
3257
|
+
color: HighlightText;
|
|
3258
|
+
}
|
|
3259
|
+
.tui-interface .tui-command-palette__kbd {
|
|
3260
|
+
border: 1px solid CanvasText;
|
|
3261
|
+
}
|
|
3262
|
+
}
|
|
2945
3263
|
.tui-interface .tui-color-area {
|
|
2946
3264
|
position: relative;
|
|
2947
3265
|
width: 100%;
|
|
@@ -3765,25 +4083,30 @@
|
|
|
3765
4083
|
background: var(--_border);
|
|
3766
4084
|
}
|
|
3767
4085
|
:where(.tui-interface) .tui-content-indicator.is-variant-solid .tui-content-indicator__circle .tui-icon {
|
|
3768
|
-
color: var(--tui-
|
|
4086
|
+
color: var(--_on, var(--tui-theme-secondary-on-base));
|
|
3769
4087
|
}
|
|
3770
4088
|
:where(.tui-interface) .tui-content-indicator.is-theme-default {
|
|
4089
|
+
--_on: var(--tui-theme-secondary-on-base);
|
|
3771
4090
|
--_border: var(--tui-color-fg-muted);
|
|
3772
4091
|
--_fg: var(--tui-color-fg-muted);
|
|
3773
4092
|
}
|
|
3774
4093
|
:where(.tui-interface) .tui-content-indicator.is-theme-info {
|
|
4094
|
+
--_on: var(--tui-theme-info-on-base);
|
|
3775
4095
|
--_border: var(--tui-theme-info-base);
|
|
3776
4096
|
--_fg: var(--tui-theme-info-base);
|
|
3777
4097
|
}
|
|
3778
4098
|
:where(.tui-interface) .tui-content-indicator.is-theme-success {
|
|
4099
|
+
--_on: var(--tui-theme-success-on-base);
|
|
3779
4100
|
--_border: var(--tui-theme-success-base);
|
|
3780
4101
|
--_fg: var(--tui-theme-success-base);
|
|
3781
4102
|
}
|
|
3782
4103
|
:where(.tui-interface) .tui-content-indicator.is-theme-warning {
|
|
4104
|
+
--_on: var(--tui-theme-warning-on-base);
|
|
3783
4105
|
--_border: var(--tui-theme-warning-base);
|
|
3784
4106
|
--_fg: var(--tui-theme-warning-base);
|
|
3785
4107
|
}
|
|
3786
4108
|
:where(.tui-interface) .tui-content-indicator.is-theme-danger {
|
|
4109
|
+
--_on: var(--tui-theme-danger-on-base);
|
|
3787
4110
|
--_border: var(--tui-theme-danger-base);
|
|
3788
4111
|
--_fg: var(--tui-theme-danger-base);
|
|
3789
4112
|
}
|
|
@@ -3792,7 +4115,7 @@
|
|
|
3792
4115
|
font-size: var(--tui-control-font-size-md, inherit);
|
|
3793
4116
|
--_cell-radius: var(--tui-calendar-cell-radius, var(--tui-radius-full, 999px));
|
|
3794
4117
|
--_selected-bg: var(--tui-calendar-selected-bg, var(--tui-theme-primary-base));
|
|
3795
|
-
--_selected-fg: var(--tui-calendar-selected-fg, var(--tui-
|
|
4118
|
+
--_selected-fg: var(--tui-calendar-selected-fg, var(--tui-theme-primary-on-base));
|
|
3796
4119
|
--_range-bg: var(--tui-calendar-range-bg, var(--tui-color-bg-muted));
|
|
3797
4120
|
--_today-bg: var(--tui-calendar-today-bg, var(--tui-color-bg-muted));
|
|
3798
4121
|
--_caption: var(--tui-calendar-caption-color, var(--tui-theme-primary-base));
|
|
@@ -4430,7 +4753,7 @@
|
|
|
4430
4753
|
border: var(--tui-border-width) solid var(--tui-checkbox-border, var(--tui-input-border, var(--tui-color-border-control)));
|
|
4431
4754
|
border-radius: var(--tui-radius-xs);
|
|
4432
4755
|
background-color: var(--tui-color-bg);
|
|
4433
|
-
color: var(--tui-
|
|
4756
|
+
color: var(--tui-theme-primary-on-base);
|
|
4434
4757
|
transition: background-color var(--tui-motion-duration) var(--tui-motion-timing), border-color var(--tui-motion-duration) var(--tui-motion-timing);
|
|
4435
4758
|
}
|
|
4436
4759
|
:where(.tui-interface) .tui-multiselect__checkbox.is-checked {
|
|
@@ -5206,6 +5529,7 @@
|
|
|
5206
5529
|
color: var(--_fg);
|
|
5207
5530
|
padding: 0.5em;
|
|
5208
5531
|
min-width: 1px;
|
|
5532
|
+
max-inline-size: 100%;
|
|
5209
5533
|
cursor: pointer;
|
|
5210
5534
|
}
|
|
5211
5535
|
:where(.tui-interface) .tui-icon {
|
|
@@ -5387,55 +5711,55 @@
|
|
|
5387
5711
|
}
|
|
5388
5712
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary {
|
|
5389
5713
|
--_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));
|
|
5714
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-primary-on-base));
|
|
5715
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
5392
5716
|
}
|
|
5393
5717
|
.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));
|
|
5718
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-primary, var(--tui-theme-primary-stronger)));
|
|
5395
5719
|
}
|
|
5396
5720
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary[aria-pressed=true] {
|
|
5397
5721
|
--_bg: var(--_bg-pressed);
|
|
5398
5722
|
}
|
|
5399
5723
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger {
|
|
5400
5724
|
--_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));
|
|
5725
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-danger-on-base));
|
|
5726
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
5403
5727
|
}
|
|
5404
5728
|
.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));
|
|
5729
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-danger, var(--tui-theme-danger-stronger)));
|
|
5406
5730
|
}
|
|
5407
5731
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger[aria-pressed=true] {
|
|
5408
5732
|
--_bg: var(--_bg-pressed);
|
|
5409
5733
|
}
|
|
5410
5734
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success {
|
|
5411
5735
|
--_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));
|
|
5736
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-success-on-base));
|
|
5737
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
5414
5738
|
}
|
|
5415
5739
|
.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));
|
|
5740
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-success, var(--tui-theme-success-stronger)));
|
|
5417
5741
|
}
|
|
5418
5742
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success[aria-pressed=true] {
|
|
5419
5743
|
--_bg: var(--_bg-pressed);
|
|
5420
5744
|
}
|
|
5421
5745
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning {
|
|
5422
5746
|
--_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));
|
|
5747
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-warning-on-base));
|
|
5748
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
5425
5749
|
}
|
|
5426
5750
|
.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));
|
|
5751
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-warning, var(--tui-theme-warning-stronger)));
|
|
5428
5752
|
}
|
|
5429
5753
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning[aria-pressed=true] {
|
|
5430
5754
|
--_bg: var(--_bg-pressed);
|
|
5431
5755
|
}
|
|
5432
5756
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info {
|
|
5433
5757
|
--_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));
|
|
5758
|
+
--_fg: var(--tui-icon-button-fg, var(--tui-theme-info-on-base));
|
|
5759
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
5436
5760
|
}
|
|
5437
5761
|
.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));
|
|
5762
|
+
--_bg: var(--tui-icon-button-bg-interact, var(--_fill-interact-info, var(--tui-theme-info-stronger)));
|
|
5439
5763
|
}
|
|
5440
5764
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info[aria-pressed=true] {
|
|
5441
5765
|
--_bg: var(--_bg-pressed);
|
|
@@ -5482,6 +5806,119 @@
|
|
|
5482
5806
|
background-color: Canvas;
|
|
5483
5807
|
}
|
|
5484
5808
|
}
|
|
5809
|
+
:where(.tui-interface) .tui-icon-tile {
|
|
5810
|
+
--_size: var(
|
|
5811
|
+
--tui-icon-tile-size,
|
|
5812
|
+
2.5rem
|
|
5813
|
+
);
|
|
5814
|
+
--_radius: var(
|
|
5815
|
+
--tui-icon-tile-radius,
|
|
5816
|
+
var(--tui-radius-md)
|
|
5817
|
+
);
|
|
5818
|
+
--_bg: var(
|
|
5819
|
+
--tui-icon-tile-bg,
|
|
5820
|
+
var(--tui-theme-primary-subtlest)
|
|
5821
|
+
);
|
|
5822
|
+
--_fg: var(
|
|
5823
|
+
--tui-icon-tile-fg,
|
|
5824
|
+
var(--tui-theme-primary-strong)
|
|
5825
|
+
);
|
|
5826
|
+
display: inline-grid;
|
|
5827
|
+
flex-shrink: 0;
|
|
5828
|
+
place-items: center;
|
|
5829
|
+
inline-size: var(--_size);
|
|
5830
|
+
block-size: var(--_size);
|
|
5831
|
+
border: var(--tui-border-width) solid transparent;
|
|
5832
|
+
border-radius: var(--_radius);
|
|
5833
|
+
background-color: var(--_bg);
|
|
5834
|
+
color: var(--_fg);
|
|
5835
|
+
font-size: calc(var(--_size) * 0.5);
|
|
5836
|
+
line-height: 1;
|
|
5837
|
+
}
|
|
5838
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xs {
|
|
5839
|
+
--_size: var(--tui-icon-tile-size, 1.5rem);
|
|
5840
|
+
}
|
|
5841
|
+
:where(.tui-interface) .tui-icon-tile.is-size-sm {
|
|
5842
|
+
--_size: var(--tui-icon-tile-size, 2rem);
|
|
5843
|
+
}
|
|
5844
|
+
:where(.tui-interface) .tui-icon-tile.is-size-md {
|
|
5845
|
+
--_size: var(--tui-icon-tile-size, 2.5rem);
|
|
5846
|
+
}
|
|
5847
|
+
:where(.tui-interface) .tui-icon-tile.is-size-lg {
|
|
5848
|
+
--_size: var(--tui-icon-tile-size, 3rem);
|
|
5849
|
+
}
|
|
5850
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xl {
|
|
5851
|
+
--_size: var(--tui-icon-tile-size, 4rem);
|
|
5852
|
+
}
|
|
5853
|
+
:where(.tui-interface) .tui-icon-tile.is-size-xxl {
|
|
5854
|
+
--_size: var(--tui-icon-tile-size, 5rem);
|
|
5855
|
+
}
|
|
5856
|
+
:where(.tui-interface) .tui-icon-tile.is-shape-circle {
|
|
5857
|
+
--_radius: var(--tui-icon-tile-radius, 50%);
|
|
5858
|
+
}
|
|
5859
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-primary {
|
|
5860
|
+
--_bg: var(
|
|
5861
|
+
--tui-icon-tile-bg,
|
|
5862
|
+
var(--tui-theme-primary-subtlest)
|
|
5863
|
+
);
|
|
5864
|
+
--_fg: var(
|
|
5865
|
+
--tui-icon-tile-fg,
|
|
5866
|
+
var(--tui-theme-primary-strong)
|
|
5867
|
+
);
|
|
5868
|
+
}
|
|
5869
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-secondary {
|
|
5870
|
+
--_bg: var(
|
|
5871
|
+
--tui-icon-tile-bg,
|
|
5872
|
+
var(--tui-theme-secondary-subtlest)
|
|
5873
|
+
);
|
|
5874
|
+
--_fg: var(
|
|
5875
|
+
--tui-icon-tile-fg,
|
|
5876
|
+
var(--tui-theme-secondary-strong)
|
|
5877
|
+
);
|
|
5878
|
+
}
|
|
5879
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-success {
|
|
5880
|
+
--_bg: var(
|
|
5881
|
+
--tui-icon-tile-bg,
|
|
5882
|
+
var(--tui-theme-success-subtlest)
|
|
5883
|
+
);
|
|
5884
|
+
--_fg: var(
|
|
5885
|
+
--tui-icon-tile-fg,
|
|
5886
|
+
var(--tui-theme-success-strong)
|
|
5887
|
+
);
|
|
5888
|
+
}
|
|
5889
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-warning {
|
|
5890
|
+
--_bg: var(
|
|
5891
|
+
--tui-icon-tile-bg,
|
|
5892
|
+
var(--tui-theme-warning-subtlest)
|
|
5893
|
+
);
|
|
5894
|
+
--_fg: var(
|
|
5895
|
+
--tui-icon-tile-fg,
|
|
5896
|
+
var(--tui-theme-warning-strong)
|
|
5897
|
+
);
|
|
5898
|
+
}
|
|
5899
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-danger {
|
|
5900
|
+
--_bg: var(
|
|
5901
|
+
--tui-icon-tile-bg,
|
|
5902
|
+
var(--tui-theme-danger-subtlest)
|
|
5903
|
+
);
|
|
5904
|
+
--_fg: var(
|
|
5905
|
+
--tui-icon-tile-fg,
|
|
5906
|
+
var(--tui-theme-danger-strong)
|
|
5907
|
+
);
|
|
5908
|
+
}
|
|
5909
|
+
:where(.tui-interface) .tui-icon-tile.is-theme-info {
|
|
5910
|
+
--_bg: var(
|
|
5911
|
+
--tui-icon-tile-bg,
|
|
5912
|
+
var(--tui-theme-info-subtlest)
|
|
5913
|
+
);
|
|
5914
|
+
--_fg: var(
|
|
5915
|
+
--tui-icon-tile-fg,
|
|
5916
|
+
var(--tui-theme-info-strong)
|
|
5917
|
+
);
|
|
5918
|
+
}
|
|
5919
|
+
.tui-interface .tui-icon-tile > .tui-icon {
|
|
5920
|
+
font-size: 1em;
|
|
5921
|
+
}
|
|
5485
5922
|
.tui-modal {
|
|
5486
5923
|
--_z: var(--tui-modal-z, var(--tui-layer-modal, 1000));
|
|
5487
5924
|
--_backdrop: var(--tui-modal-backdrop, var(--tui-color-bg-overlay));
|
|
@@ -7022,6 +7459,18 @@
|
|
|
7022
7459
|
border-radius: 50%;
|
|
7023
7460
|
}
|
|
7024
7461
|
}
|
|
7462
|
+
.tui-interface[data-theme=dark] .tui-progress.is-segmented,
|
|
7463
|
+
.tui-interface[data-theme=dark] :where(.tui-interface) .tui-progress.is-segmented {
|
|
7464
|
+
--_z1: var(--tui-progress-z1-fill, var(--tui-theme-primary-strong));
|
|
7465
|
+
--_z5: var(--tui-progress-z5-fill, var(--tui-theme-info-strong));
|
|
7466
|
+
}
|
|
7467
|
+
@media (prefers-color-scheme: dark) {
|
|
7468
|
+
.tui-interface[data-theme=auto] .tui-progress.is-segmented,
|
|
7469
|
+
.tui-interface[data-theme=auto] :where(.tui-interface) .tui-progress.is-segmented {
|
|
7470
|
+
--_z1: var(--tui-progress-z1-fill, var(--tui-theme-primary-strong));
|
|
7471
|
+
--_z5: var(--tui-progress-z5-fill, var(--tui-theme-info-strong));
|
|
7472
|
+
}
|
|
7473
|
+
}
|
|
7025
7474
|
:where(.tui-interface) .tui-search-input__clear,
|
|
7026
7475
|
:where(.tui-interface) .tui-search-input__submit {
|
|
7027
7476
|
display: inline-flex;
|
|
@@ -7250,7 +7699,7 @@
|
|
|
7250
7699
|
--_item-bg: transparent;
|
|
7251
7700
|
--_item-fg: var(--tui-segmented-item-fg, var(--tui-color-fg-muted));
|
|
7252
7701
|
--_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-
|
|
7702
|
+
--_item-fg-active: var(--tui-segmented-item-fg-active, var(--tui-theme-primary-on-base));
|
|
7254
7703
|
--_item-bg-hover: color-mix(in srgb, var(--tui-color-fg) 8%, transparent);
|
|
7255
7704
|
display: inline-flex;
|
|
7256
7705
|
align-items: center;
|
|
@@ -7341,6 +7790,7 @@
|
|
|
7341
7790
|
.tui-interface .tui-segmented.is-variant-outline .tui-segmented__item[data-disabled][aria-checked=true] {
|
|
7342
7791
|
background: color-mix(in srgb, var(--_item-bg-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7343
7792
|
border-color: color-mix(in srgb, var(--_item-border-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7793
|
+
color: color-mix(in srgb, var(--_item-fg-active) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7344
7794
|
}
|
|
7345
7795
|
.tui-interface .tui-segmented.is-variant-outline .tui-segmented__item[data-disabled]:not([aria-checked=true]) {
|
|
7346
7796
|
color: color-mix(in srgb, var(--_item-fg) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
@@ -7348,6 +7798,7 @@
|
|
|
7348
7798
|
}
|
|
7349
7799
|
.tui-interface .tui-segmented.is-variant-underline .tui-segmented__item[data-disabled][aria-checked=true] {
|
|
7350
7800
|
border-bottom-color: color-mix(in srgb, var(--_indicator) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7801
|
+
color: color-mix(in srgb, var(--tui-color-fg) calc(var(--tui-opacity-disabled) * 100%), transparent);
|
|
7351
7802
|
}
|
|
7352
7803
|
}
|
|
7353
7804
|
.tui-interface .tui-segmented.is-size-xs {
|
|
@@ -8197,7 +8648,7 @@
|
|
|
8197
8648
|
--tui-progress-fill: var(--tui-theme-success-base);
|
|
8198
8649
|
}
|
|
8199
8650
|
:where(.tui-interface) .tui-step-indicator.is-status-complete .tui-icon {
|
|
8200
|
-
color: var(--tui-
|
|
8651
|
+
color: var(--tui-theme-success-on-base);
|
|
8201
8652
|
}
|
|
8202
8653
|
:where(.tui-interface) .tui-step-indicator.is-status-locked .tui-icon {
|
|
8203
8654
|
color: var(--tui-color-fg-muted);
|
|
@@ -8445,7 +8896,7 @@
|
|
|
8445
8896
|
--_fg: var(--tui-tabs-tab-fg, var(--tui-color-fg-muted));
|
|
8446
8897
|
--_border: var(--tui-tabs-tab-border, transparent);
|
|
8447
8898
|
--_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-
|
|
8899
|
+
--_fg-active: var(--tui-tabs-tab-fg-active, var(--tui-theme-primary-on-base));
|
|
8449
8900
|
--_bg-hover: var(--tui-tabs-tab-bg-hover, var(--tui-color-bg-muted));
|
|
8450
8901
|
--_indicator: var(--tui-tabs-indicator, var(--tui-theme-primary-base, currentColor));
|
|
8451
8902
|
--_indicator-size: var(--tui-tabs-indicator-size, 2px);
|