@tangible/ui 0.2.4 → 0.2.5
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/ColorPicker/ColorField.d.ts +31 -2
- package/components/ColorPicker/ColorField.js +100 -8
- package/components/Combobox/Combobox.d.ts +1 -1
- package/components/Combobox/Combobox.js +2 -2
- package/components/Combobox/types.d.ts +5 -0
- package/components/Field/Field.d.ts +13 -1
- package/components/Field/Field.js +5 -3
- package/components/GradientPicker/AngleDial.d.ts +14 -0
- package/components/GradientPicker/AngleDial.js +24 -0
- package/components/GradientPicker/GradientBar.d.ts +38 -0
- package/components/GradientPicker/GradientBar.js +130 -0
- package/components/GradientPicker/GradientPicker.d.ts +32 -0
- package/components/GradientPicker/GradientPicker.js +191 -0
- package/components/GradientPicker/index.d.ts +8 -0
- package/components/GradientPicker/index.js +8 -0
- package/components/GradientPicker/labels.d.ts +42 -0
- package/components/GradientPicker/labels.js +31 -0
- package/components/MultiCombobox/MultiCombobox.d.ts +1 -1
- package/components/MultiCombobox/MultiCombobox.js +2 -2
- package/components/MultiCombobox/types.d.ts +5 -0
- package/components/index.d.ts +2 -0
- package/components/index.js +1 -0
- package/package.json +5 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +241 -16
- package/styles/all.expanded.unlayered.css +241 -16
- package/styles/all.unlayered.css +1 -1
- package/styles/components/_bundle.scss +9 -1
- package/styles/components/button.scss +4 -3
- package/styles/components/color-picker.scss +11 -1
- package/styles/components/gradient-picker.scss +296 -0
- package/styles/components/icon-button.scss +15 -8
- package/styles/system/_checkerboard.scss +24 -0
- package/styles/system/index.scss +2 -1
- package/tui-manifest.json +94 -5
- package/utils/color/gradient.d.ts +42 -0
- package/utils/color/gradient.js +408 -0
package/styles/all.expanded.css
CHANGED
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
--tui-button-bg-interact
|
|
39
39
|
--tui-button-fg-interact
|
|
40
40
|
--tui-button-border-interact
|
|
41
|
-
--tui-button-fg-active
|
|
42
41
|
--tui-button-icon-scale
|
|
43
42
|
--tui-control-height-xs
|
|
44
43
|
--tui-control-height-sm
|
|
@@ -106,6 +105,13 @@
|
|
|
106
105
|
--tui-color-slider-radius
|
|
107
106
|
--tui-color-slider-height
|
|
108
107
|
--tui-color-slider-thumb-size
|
|
108
|
+
--tui-color-field-swatch-border
|
|
109
|
+
*/
|
|
110
|
+
/* @tui-tokens
|
|
111
|
+
--tui-gradient-bar-height
|
|
112
|
+
--tui-gradient-bar-radius
|
|
113
|
+
--tui-gradient-bar-thumb-size
|
|
114
|
+
--tui-angle-dial-size
|
|
109
115
|
*/
|
|
110
116
|
/* @tui-tokens
|
|
111
117
|
--tui-multicombobox-min-width Minimum width of the dropdown content
|
|
@@ -204,6 +210,8 @@
|
|
|
204
210
|
--tui-icon-button-radius
|
|
205
211
|
--tui-icon-button-bg-interact
|
|
206
212
|
--tui-icon-button-fg-interact
|
|
213
|
+
--tui-icon-button-bg-pressed
|
|
214
|
+
--tui-icon-button-fg-pressed
|
|
207
215
|
*/
|
|
208
216
|
/* @tui-tokens
|
|
209
217
|
--tui-modal-z
|
|
@@ -1295,7 +1303,7 @@
|
|
|
1295
1303
|
}
|
|
1296
1304
|
.tui-interface .tui-button:is(:active, [aria-pressed=true]) {
|
|
1297
1305
|
--_bg: var(--_bg-interact);
|
|
1298
|
-
--_fg: var(--
|
|
1306
|
+
--_fg: var(--_fg-interact);
|
|
1299
1307
|
--_border: var(--_border-interact);
|
|
1300
1308
|
}
|
|
1301
1309
|
.tui-interface .tui-button:where(:disabled, [aria-disabled=true], .is-disabled) {
|
|
@@ -2683,6 +2691,7 @@
|
|
|
2683
2691
|
font-family: var(--tui-font-family-mono, monospace);
|
|
2684
2692
|
}
|
|
2685
2693
|
.tui-interface .tui-color-picker__var.is-empty {
|
|
2694
|
+
position: absolute;
|
|
2686
2695
|
block-size: 0;
|
|
2687
2696
|
overflow: hidden;
|
|
2688
2697
|
}
|
|
@@ -2733,8 +2742,9 @@
|
|
|
2733
2742
|
inline-size: var(--_size);
|
|
2734
2743
|
block-size: var(--_size);
|
|
2735
2744
|
border-radius: var(--tui-radius-sm);
|
|
2745
|
+
border: var(--tui-color-field-swatch-border, var(--tui-border-width) solid rgba(0, 0, 0, 0.3));
|
|
2736
2746
|
background-color: var(--tui-color-bg);
|
|
2737
|
-
background-image: linear-gradient(var(--_swatch), var(--_swatch)), linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
|
|
2747
|
+
background-image: var(--_swatch-image, linear-gradient(var(--_swatch), var(--_swatch))), linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
|
|
2738
2748
|
background-size: 100% 100%, 6px 6px, 6px 6px, 6px 6px, 6px 6px;
|
|
2739
2749
|
background-position: 0 0, 0 0, 0 3px, 3px -3px, -3px 0;
|
|
2740
2750
|
}
|
|
@@ -2776,6 +2786,220 @@
|
|
|
2776
2786
|
outline: 1px solid Highlight;
|
|
2777
2787
|
}
|
|
2778
2788
|
}
|
|
2789
|
+
.tui-interface .tui-gradient-bar {
|
|
2790
|
+
--_thumb: var(--tui-gradient-bar-thumb-size, 16px);
|
|
2791
|
+
position: relative;
|
|
2792
|
+
height: var(--tui-gradient-bar-height, 3rem);
|
|
2793
|
+
border-radius: var(--tui-gradient-bar-radius, var(--tui-radius-md));
|
|
2794
|
+
background-color: #fff;
|
|
2795
|
+
background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
|
|
2796
|
+
background-size: 8px 8px;
|
|
2797
|
+
background-position: 0 0, 0 4px, 4px -4px, -4px 0;
|
|
2798
|
+
cursor: copy;
|
|
2799
|
+
touch-action: none;
|
|
2800
|
+
user-select: none;
|
|
2801
|
+
forced-color-adjust: none;
|
|
2802
|
+
}
|
|
2803
|
+
.tui-interface .tui-gradient-bar.is-disabled {
|
|
2804
|
+
opacity: var(--tui-opacity-disabled);
|
|
2805
|
+
pointer-events: none;
|
|
2806
|
+
}
|
|
2807
|
+
.tui-interface .tui-gradient-bar__track {
|
|
2808
|
+
position: absolute;
|
|
2809
|
+
inset: 0;
|
|
2810
|
+
border-radius: inherit;
|
|
2811
|
+
}
|
|
2812
|
+
.tui-interface .tui-gradient-bar__thumb {
|
|
2813
|
+
position: absolute;
|
|
2814
|
+
top: 50%;
|
|
2815
|
+
width: var(--_thumb);
|
|
2816
|
+
height: var(--_thumb);
|
|
2817
|
+
transform: translate(-50%, -50%);
|
|
2818
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2819
|
+
background: var(--_stop-color);
|
|
2820
|
+
border: 2px solid #fff;
|
|
2821
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
|
2822
|
+
cursor: grab;
|
|
2823
|
+
}
|
|
2824
|
+
.tui-interface .tui-gradient-bar__thumb::before {
|
|
2825
|
+
content: "";
|
|
2826
|
+
position: absolute;
|
|
2827
|
+
top: 50%;
|
|
2828
|
+
left: 50%;
|
|
2829
|
+
width: max(1.5rem, 100%);
|
|
2830
|
+
height: max(1.5rem, 100%);
|
|
2831
|
+
transform: translate(-50%, -50%);
|
|
2832
|
+
}
|
|
2833
|
+
.tui-interface .tui-gradient-bar__thumb.is-active {
|
|
2834
|
+
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
|
|
2835
|
+
}
|
|
2836
|
+
.tui-interface .tui-gradient-bar__thumb:focus-visible {
|
|
2837
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2838
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
2839
|
+
}
|
|
2840
|
+
.tui-interface .tui-angle-dial {
|
|
2841
|
+
position: relative;
|
|
2842
|
+
flex: none;
|
|
2843
|
+
width: var(--tui-angle-dial-size, 1.75rem);
|
|
2844
|
+
height: var(--tui-angle-dial-size, 1.75rem);
|
|
2845
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2846
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2847
|
+
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2848
|
+
cursor: grab;
|
|
2849
|
+
touch-action: none;
|
|
2850
|
+
user-select: none;
|
|
2851
|
+
}
|
|
2852
|
+
.tui-interface .tui-angle-dial.is-disabled {
|
|
2853
|
+
opacity: var(--tui-opacity-disabled);
|
|
2854
|
+
pointer-events: none;
|
|
2855
|
+
}
|
|
2856
|
+
.tui-interface .tui-angle-dial__pointer {
|
|
2857
|
+
position: absolute;
|
|
2858
|
+
inset: 0;
|
|
2859
|
+
transform: rotate(var(--_angle, 0deg));
|
|
2860
|
+
}
|
|
2861
|
+
.tui-interface .tui-angle-dial__pointer::before {
|
|
2862
|
+
content: "";
|
|
2863
|
+
position: absolute;
|
|
2864
|
+
top: 3px;
|
|
2865
|
+
left: 50%;
|
|
2866
|
+
width: 5px;
|
|
2867
|
+
height: 5px;
|
|
2868
|
+
transform: translateX(-50%);
|
|
2869
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2870
|
+
background: var(--tui-theme-primary-base);
|
|
2871
|
+
}
|
|
2872
|
+
.tui-interface .tui-gradient-picker {
|
|
2873
|
+
display: flex;
|
|
2874
|
+
flex-direction: column;
|
|
2875
|
+
gap: var(--tui-spacing-sm);
|
|
2876
|
+
width: 100%;
|
|
2877
|
+
}
|
|
2878
|
+
.tui-interface .tui-gradient-picker.is-disabled {
|
|
2879
|
+
opacity: var(--tui-opacity-disabled);
|
|
2880
|
+
}
|
|
2881
|
+
.tui-interface .tui-gradient-picker__value {
|
|
2882
|
+
display: flex;
|
|
2883
|
+
align-items: center;
|
|
2884
|
+
gap: var(--tui-spacing-xxs);
|
|
2885
|
+
}
|
|
2886
|
+
.tui-interface .tui-gradient-picker__value-input {
|
|
2887
|
+
flex: 1 1 auto;
|
|
2888
|
+
min-width: 0;
|
|
2889
|
+
min-height: var(--tui-control-height-sm, 2.25rem);
|
|
2890
|
+
padding-inline: var(--tui-spacing-xs);
|
|
2891
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2892
|
+
border-radius: var(--tui-radius-md);
|
|
2893
|
+
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2894
|
+
color: inherit;
|
|
2895
|
+
font: inherit;
|
|
2896
|
+
font-size: var(--tui-typography-size-xs);
|
|
2897
|
+
text-overflow: ellipsis;
|
|
2898
|
+
}
|
|
2899
|
+
.tui-interface .tui-gradient-picker__value-input:focus-visible {
|
|
2900
|
+
border-color: var(--tui-input-border-focus, var(--tui-theme-primary-base));
|
|
2901
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2902
|
+
outline-offset: calc(-1 * var(--tui-border-width));
|
|
2903
|
+
}
|
|
2904
|
+
.tui-interface .tui-gradient-picker__label {
|
|
2905
|
+
display: block;
|
|
2906
|
+
font-size: var(--tui-typography-size-xs);
|
|
2907
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
2908
|
+
letter-spacing: 0.04em;
|
|
2909
|
+
text-transform: uppercase;
|
|
2910
|
+
color: var(--tui-color-fg-muted);
|
|
2911
|
+
}
|
|
2912
|
+
.tui-interface .tui-gradient-picker__stops {
|
|
2913
|
+
display: flex;
|
|
2914
|
+
flex-direction: column;
|
|
2915
|
+
gap: var(--tui-spacing-xxs);
|
|
2916
|
+
}
|
|
2917
|
+
.tui-interface .tui-gradient-picker__stop {
|
|
2918
|
+
display: flex;
|
|
2919
|
+
align-items: center;
|
|
2920
|
+
gap: var(--tui-spacing-xs);
|
|
2921
|
+
}
|
|
2922
|
+
.tui-interface .tui-gradient-picker__stop-position {
|
|
2923
|
+
flex: 1 1 auto;
|
|
2924
|
+
min-width: 0;
|
|
2925
|
+
}
|
|
2926
|
+
.tui-interface .tui-gradient-picker__swatch {
|
|
2927
|
+
flex: none;
|
|
2928
|
+
display: inline-flex;
|
|
2929
|
+
width: calc(var(--tui-control-height-sm, 2.25rem) - 2 * var(--tui-spacing-xxs));
|
|
2930
|
+
height: calc(var(--tui-control-height-sm, 2.25rem) - 2 * var(--tui-spacing-xxs));
|
|
2931
|
+
min-inline-size: 1.5rem;
|
|
2932
|
+
min-block-size: 1.5rem;
|
|
2933
|
+
padding: 0;
|
|
2934
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2935
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2936
|
+
overflow: hidden;
|
|
2937
|
+
background-color: #fff;
|
|
2938
|
+
background-image: linear-gradient(45deg, #ccc 25%, transparent 25%), linear-gradient(-45deg, #ccc 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ccc 75%), linear-gradient(-45deg, transparent 75%, #ccc 75%);
|
|
2939
|
+
background-size: 6px 6px;
|
|
2940
|
+
background-position: 0 0, 0 3px, 3px -3px, -3px 0;
|
|
2941
|
+
cursor: pointer;
|
|
2942
|
+
forced-color-adjust: none;
|
|
2943
|
+
}
|
|
2944
|
+
.tui-interface .tui-gradient-picker__swatch:focus-visible, .tui-interface .tui-gradient-picker__swatch[data-popover-open] {
|
|
2945
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2946
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
2947
|
+
}
|
|
2948
|
+
.tui-interface .tui-gradient-picker__swatch:disabled {
|
|
2949
|
+
opacity: var(--tui-opacity-disabled);
|
|
2950
|
+
cursor: default;
|
|
2951
|
+
}
|
|
2952
|
+
.tui-interface .tui-gradient-picker__swatch-fill {
|
|
2953
|
+
flex: 1 1 auto;
|
|
2954
|
+
background: var(--_swatch);
|
|
2955
|
+
}
|
|
2956
|
+
.tui-interface .tui-gradient-picker__stop-popover {
|
|
2957
|
+
inline-size: 20rem;
|
|
2958
|
+
max-inline-size: calc(100vw - 2rem);
|
|
2959
|
+
}
|
|
2960
|
+
.tui-interface .tui-gradient-picker__geometry {
|
|
2961
|
+
display: grid;
|
|
2962
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
2963
|
+
gap: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2964
|
+
align-items: end;
|
|
2965
|
+
}
|
|
2966
|
+
.tui-interface .tui-gradient-picker__geometry .tui-input-group {
|
|
2967
|
+
min-width: 0;
|
|
2968
|
+
}
|
|
2969
|
+
.tui-interface .tui-gradient-picker__geometry .tui-input-group input {
|
|
2970
|
+
min-width: 0;
|
|
2971
|
+
}
|
|
2972
|
+
.tui-interface .tui-gradient-picker__field {
|
|
2973
|
+
display: flex;
|
|
2974
|
+
flex-direction: column;
|
|
2975
|
+
gap: var(--tui-spacing-xxs);
|
|
2976
|
+
min-width: 0;
|
|
2977
|
+
}
|
|
2978
|
+
.tui-interface .tui-gradient-picker__type-field {
|
|
2979
|
+
grid-column: 1/-1;
|
|
2980
|
+
}
|
|
2981
|
+
.tui-interface .tui-gradient-picker__geometry.is-linear .tui-gradient-picker__type-field {
|
|
2982
|
+
grid-column: auto;
|
|
2983
|
+
}
|
|
2984
|
+
.tui-interface .tui-gradient-picker__angle {
|
|
2985
|
+
display: flex;
|
|
2986
|
+
align-items: end;
|
|
2987
|
+
gap: var(--tui-spacing-xs);
|
|
2988
|
+
}
|
|
2989
|
+
.tui-interface .tui-gradient-picker__angle > .tui-gradient-picker__field {
|
|
2990
|
+
flex: 1 1 auto;
|
|
2991
|
+
}
|
|
2992
|
+
.tui-interface .tui-gradient-picker__angle > .tui-angle-dial {
|
|
2993
|
+
margin-block-end: calc((var(--tui-control-height-sm, 2.25rem) - var(--tui-angle-dial-size, 1.75rem)) / 2);
|
|
2994
|
+
}
|
|
2995
|
+
@media (forced-colors: active) {
|
|
2996
|
+
.tui-interface .tui-gradient-bar__thumb:focus-visible {
|
|
2997
|
+
outline: var(--tui-focus-ring-width) solid Highlight;
|
|
2998
|
+
}
|
|
2999
|
+
.tui-interface .tui-gradient-picker__swatch:focus-visible {
|
|
3000
|
+
outline-color: Highlight;
|
|
3001
|
+
}
|
|
3002
|
+
}
|
|
2779
3003
|
.tui-interface .tui-multicombobox {
|
|
2780
3004
|
position: relative;
|
|
2781
3005
|
display: inline-block;
|
|
@@ -4424,7 +4648,8 @@
|
|
|
4424
4648
|
--_radius: var(--tui-icon-button-radius, var(--tui-radius-md));
|
|
4425
4649
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-secondary-subtle));
|
|
4426
4650
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-color-fg));
|
|
4427
|
-
--_bg-pressed: var(--tui-theme-secondary-soft);
|
|
4651
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-secondary-soft));
|
|
4652
|
+
--_fg-pressed: var(--tui-icon-button-fg-pressed, var(--_fg-interact));
|
|
4428
4653
|
appearance: none;
|
|
4429
4654
|
border: none;
|
|
4430
4655
|
background: none;
|
|
@@ -4467,7 +4692,7 @@
|
|
|
4467
4692
|
}
|
|
4468
4693
|
.tui-interface .tui-icon-button[aria-pressed=true] {
|
|
4469
4694
|
--_bg: var(--_bg-pressed);
|
|
4470
|
-
--_fg: var(--_fg-
|
|
4695
|
+
--_fg: var(--_fg-pressed);
|
|
4471
4696
|
}
|
|
4472
4697
|
.tui-interface .tui-icon-button:where(:disabled, [aria-disabled=true], .is-disabled) {
|
|
4473
4698
|
pointer-events: none;
|
|
@@ -4491,31 +4716,31 @@
|
|
|
4491
4716
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-primary-base));
|
|
4492
4717
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-primary-strong));
|
|
4493
4718
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-primary-subtlest));
|
|
4494
|
-
--_bg-pressed: var(--tui-theme-primary-subtle);
|
|
4719
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-primary-subtle));
|
|
4495
4720
|
}
|
|
4496
4721
|
.tui-interface .tui-icon-button.is-theme-danger {
|
|
4497
4722
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-danger-base));
|
|
4498
4723
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-danger-strong));
|
|
4499
4724
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-danger-subtlest));
|
|
4500
|
-
--_bg-pressed: var(--tui-theme-danger-subtle);
|
|
4725
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-danger-subtle));
|
|
4501
4726
|
}
|
|
4502
4727
|
.tui-interface .tui-icon-button.is-theme-success {
|
|
4503
4728
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-success-base));
|
|
4504
4729
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-success-strong));
|
|
4505
4730
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-success-subtlest));
|
|
4506
|
-
--_bg-pressed: var(--tui-theme-success-subtle);
|
|
4731
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-success-subtle));
|
|
4507
4732
|
}
|
|
4508
4733
|
.tui-interface .tui-icon-button.is-theme-warning {
|
|
4509
4734
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-warning-base));
|
|
4510
4735
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-warning-strong));
|
|
4511
4736
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-warning-subtlest));
|
|
4512
|
-
--_bg-pressed: var(--tui-theme-warning-subtle);
|
|
4737
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-warning-subtle));
|
|
4513
4738
|
}
|
|
4514
4739
|
.tui-interface .tui-icon-button.is-theme-info {
|
|
4515
4740
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-info-base));
|
|
4516
4741
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-info-strong));
|
|
4517
4742
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-info-subtlest));
|
|
4518
|
-
--_bg-pressed: var(--tui-theme-info-subtle);
|
|
4743
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-info-subtle));
|
|
4519
4744
|
}
|
|
4520
4745
|
.tui-interface .tui-icon-button.is-style-outline {
|
|
4521
4746
|
--_border: var(--tui-icon-button-border, var(--tui-color-border));
|
|
@@ -4549,7 +4774,7 @@
|
|
|
4549
4774
|
.tui-interface .tui-icon-button.is-style-solid {
|
|
4550
4775
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-secondary-subtle));
|
|
4551
4776
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg));
|
|
4552
|
-
--_bg-pressed: var(--tui-theme-secondary-soft);
|
|
4777
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-secondary-soft));
|
|
4553
4778
|
}
|
|
4554
4779
|
.tui-interface .tui-icon-button.is-style-solid:hover, .tui-interface .tui-icon-button.is-style-solid:focus-visible, .tui-interface .tui-icon-button.is-style-solid:active {
|
|
4555
4780
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-secondary-soft));
|
|
@@ -4560,7 +4785,7 @@
|
|
|
4560
4785
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary {
|
|
4561
4786
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-primary-base));
|
|
4562
4787
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4563
|
-
--_bg-pressed: var(--tui-theme-primary-stronger);
|
|
4788
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-primary-stronger));
|
|
4564
4789
|
}
|
|
4565
4790
|
.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 {
|
|
4566
4791
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-primary-stronger));
|
|
@@ -4571,7 +4796,7 @@
|
|
|
4571
4796
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger {
|
|
4572
4797
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-danger-base));
|
|
4573
4798
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4574
|
-
--_bg-pressed: var(--tui-theme-danger-stronger);
|
|
4799
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-danger-stronger));
|
|
4575
4800
|
}
|
|
4576
4801
|
.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 {
|
|
4577
4802
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-danger-stronger));
|
|
@@ -4582,7 +4807,7 @@
|
|
|
4582
4807
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success {
|
|
4583
4808
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-success-base));
|
|
4584
4809
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4585
|
-
--_bg-pressed: var(--tui-theme-success-stronger);
|
|
4810
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-success-stronger));
|
|
4586
4811
|
}
|
|
4587
4812
|
.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 {
|
|
4588
4813
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-success-stronger));
|
|
@@ -4593,7 +4818,7 @@
|
|
|
4593
4818
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning {
|
|
4594
4819
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-warning-base));
|
|
4595
4820
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4596
|
-
--_bg-pressed: var(--tui-theme-warning-stronger);
|
|
4821
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-warning-stronger));
|
|
4597
4822
|
}
|
|
4598
4823
|
.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 {
|
|
4599
4824
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-warning-stronger));
|
|
@@ -4604,7 +4829,7 @@
|
|
|
4604
4829
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info {
|
|
4605
4830
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-info-base));
|
|
4606
4831
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4607
|
-
--_bg-pressed: var(--tui-theme-info-stronger);
|
|
4832
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-info-stronger));
|
|
4608
4833
|
}
|
|
4609
4834
|
.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 {
|
|
4610
4835
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-info-stronger));
|