@tangible/ui 0.2.4 → 0.2.6
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 +253 -24
- package/styles/all.expanded.unlayered.css +253 -24
- 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/components/notice.scss +12 -7
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_checkerboard.scss +24 -0
- package/styles/system/_tokens.scss +16 -6
- package/styles/system/index.scss +2 -1
- package/tui-manifest.json +96 -5
- package/utils/color/gradient.d.ts +42 -0
- package/utils/color/gradient.js +408 -0
|
@@ -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
|
|
@@ -237,6 +245,8 @@
|
|
|
237
245
|
--tui-notice-fg
|
|
238
246
|
--tui-notice-radius
|
|
239
247
|
--tui-notice-padding
|
|
248
|
+
--tui-notice-gap
|
|
249
|
+
--tui-notice-para-gap
|
|
240
250
|
--tui-notice-title-size
|
|
241
251
|
--tui-notice-foot-basis
|
|
242
252
|
*/
|
|
@@ -563,7 +573,8 @@
|
|
|
563
573
|
--tui-generative-pink-strong: oklch(0.4 0.11 350);
|
|
564
574
|
}
|
|
565
575
|
|
|
566
|
-
:where(.tui-interface)[data-theme=dark]
|
|
576
|
+
:where(.tui-interface)[data-theme=dark],
|
|
577
|
+
:where([data-theme=dark]) .tui-interface:where(:not([data-theme])) {
|
|
567
578
|
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
568
579
|
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
569
580
|
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
@@ -676,7 +687,8 @@
|
|
|
676
687
|
}
|
|
677
688
|
|
|
678
689
|
@media (prefers-color-scheme: dark) {
|
|
679
|
-
:where(.tui-interface)[data-theme=auto]
|
|
690
|
+
:where(.tui-interface)[data-theme=auto],
|
|
691
|
+
:where([data-theme=auto]) .tui-interface:where(:not([data-theme])) {
|
|
680
692
|
--tui-generative-coral-subtle: oklch(0.3 0.055 25);
|
|
681
693
|
--tui-generative-coral-subtle-interact: oklch(0.34 0.065 25);
|
|
682
694
|
--tui-generative-coral-strong: oklch(0.82 0.1 25);
|
|
@@ -1295,7 +1307,7 @@
|
|
|
1295
1307
|
}
|
|
1296
1308
|
.tui-interface .tui-button:is(:active, [aria-pressed=true]) {
|
|
1297
1309
|
--_bg: var(--_bg-interact);
|
|
1298
|
-
--_fg: var(--
|
|
1310
|
+
--_fg: var(--_fg-interact);
|
|
1299
1311
|
--_border: var(--_border-interact);
|
|
1300
1312
|
}
|
|
1301
1313
|
.tui-interface .tui-button:where(:disabled, [aria-disabled=true], .is-disabled) {
|
|
@@ -2683,6 +2695,7 @@
|
|
|
2683
2695
|
font-family: var(--tui-font-family-mono, monospace);
|
|
2684
2696
|
}
|
|
2685
2697
|
.tui-interface .tui-color-picker__var.is-empty {
|
|
2698
|
+
position: absolute;
|
|
2686
2699
|
block-size: 0;
|
|
2687
2700
|
overflow: hidden;
|
|
2688
2701
|
}
|
|
@@ -2733,8 +2746,9 @@
|
|
|
2733
2746
|
inline-size: var(--_size);
|
|
2734
2747
|
block-size: var(--_size);
|
|
2735
2748
|
border-radius: var(--tui-radius-sm);
|
|
2749
|
+
border: var(--tui-color-field-swatch-border, var(--tui-border-width) solid rgba(0, 0, 0, 0.3));
|
|
2736
2750
|
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%);
|
|
2751
|
+
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
2752
|
background-size: 100% 100%, 6px 6px, 6px 6px, 6px 6px, 6px 6px;
|
|
2739
2753
|
background-position: 0 0, 0 0, 0 3px, 3px -3px, -3px 0;
|
|
2740
2754
|
}
|
|
@@ -2776,6 +2790,220 @@
|
|
|
2776
2790
|
outline: 1px solid Highlight;
|
|
2777
2791
|
}
|
|
2778
2792
|
}
|
|
2793
|
+
.tui-interface .tui-gradient-bar {
|
|
2794
|
+
--_thumb: var(--tui-gradient-bar-thumb-size, 16px);
|
|
2795
|
+
position: relative;
|
|
2796
|
+
height: var(--tui-gradient-bar-height, 3rem);
|
|
2797
|
+
border-radius: var(--tui-gradient-bar-radius, var(--tui-radius-md));
|
|
2798
|
+
background-color: #fff;
|
|
2799
|
+
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%);
|
|
2800
|
+
background-size: 8px 8px;
|
|
2801
|
+
background-position: 0 0, 0 4px, 4px -4px, -4px 0;
|
|
2802
|
+
cursor: copy;
|
|
2803
|
+
touch-action: none;
|
|
2804
|
+
user-select: none;
|
|
2805
|
+
forced-color-adjust: none;
|
|
2806
|
+
}
|
|
2807
|
+
.tui-interface .tui-gradient-bar.is-disabled {
|
|
2808
|
+
opacity: var(--tui-opacity-disabled);
|
|
2809
|
+
pointer-events: none;
|
|
2810
|
+
}
|
|
2811
|
+
.tui-interface .tui-gradient-bar__track {
|
|
2812
|
+
position: absolute;
|
|
2813
|
+
inset: 0;
|
|
2814
|
+
border-radius: inherit;
|
|
2815
|
+
}
|
|
2816
|
+
.tui-interface .tui-gradient-bar__thumb {
|
|
2817
|
+
position: absolute;
|
|
2818
|
+
top: 50%;
|
|
2819
|
+
width: var(--_thumb);
|
|
2820
|
+
height: var(--_thumb);
|
|
2821
|
+
transform: translate(-50%, -50%);
|
|
2822
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2823
|
+
background: var(--_stop-color);
|
|
2824
|
+
border: 2px solid #fff;
|
|
2825
|
+
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
|
|
2826
|
+
cursor: grab;
|
|
2827
|
+
}
|
|
2828
|
+
.tui-interface .tui-gradient-bar__thumb::before {
|
|
2829
|
+
content: "";
|
|
2830
|
+
position: absolute;
|
|
2831
|
+
top: 50%;
|
|
2832
|
+
left: 50%;
|
|
2833
|
+
width: max(1.5rem, 100%);
|
|
2834
|
+
height: max(1.5rem, 100%);
|
|
2835
|
+
transform: translate(-50%, -50%);
|
|
2836
|
+
}
|
|
2837
|
+
.tui-interface .tui-gradient-bar__thumb.is-active {
|
|
2838
|
+
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
|
|
2839
|
+
}
|
|
2840
|
+
.tui-interface .tui-gradient-bar__thumb:focus-visible {
|
|
2841
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2842
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
2843
|
+
}
|
|
2844
|
+
.tui-interface .tui-angle-dial {
|
|
2845
|
+
position: relative;
|
|
2846
|
+
flex: none;
|
|
2847
|
+
width: var(--tui-angle-dial-size, 1.75rem);
|
|
2848
|
+
height: var(--tui-angle-dial-size, 1.75rem);
|
|
2849
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2850
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2851
|
+
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2852
|
+
cursor: grab;
|
|
2853
|
+
touch-action: none;
|
|
2854
|
+
user-select: none;
|
|
2855
|
+
}
|
|
2856
|
+
.tui-interface .tui-angle-dial.is-disabled {
|
|
2857
|
+
opacity: var(--tui-opacity-disabled);
|
|
2858
|
+
pointer-events: none;
|
|
2859
|
+
}
|
|
2860
|
+
.tui-interface .tui-angle-dial__pointer {
|
|
2861
|
+
position: absolute;
|
|
2862
|
+
inset: 0;
|
|
2863
|
+
transform: rotate(var(--_angle, 0deg));
|
|
2864
|
+
}
|
|
2865
|
+
.tui-interface .tui-angle-dial__pointer::before {
|
|
2866
|
+
content: "";
|
|
2867
|
+
position: absolute;
|
|
2868
|
+
top: 3px;
|
|
2869
|
+
left: 50%;
|
|
2870
|
+
width: 5px;
|
|
2871
|
+
height: 5px;
|
|
2872
|
+
transform: translateX(-50%);
|
|
2873
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2874
|
+
background: var(--tui-theme-primary-base);
|
|
2875
|
+
}
|
|
2876
|
+
.tui-interface .tui-gradient-picker {
|
|
2877
|
+
display: flex;
|
|
2878
|
+
flex-direction: column;
|
|
2879
|
+
gap: var(--tui-spacing-sm);
|
|
2880
|
+
width: 100%;
|
|
2881
|
+
}
|
|
2882
|
+
.tui-interface .tui-gradient-picker.is-disabled {
|
|
2883
|
+
opacity: var(--tui-opacity-disabled);
|
|
2884
|
+
}
|
|
2885
|
+
.tui-interface .tui-gradient-picker__value {
|
|
2886
|
+
display: flex;
|
|
2887
|
+
align-items: center;
|
|
2888
|
+
gap: var(--tui-spacing-xxs);
|
|
2889
|
+
}
|
|
2890
|
+
.tui-interface .tui-gradient-picker__value-input {
|
|
2891
|
+
flex: 1 1 auto;
|
|
2892
|
+
min-width: 0;
|
|
2893
|
+
min-height: var(--tui-control-height-sm, 2.25rem);
|
|
2894
|
+
padding-inline: var(--tui-spacing-xs);
|
|
2895
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2896
|
+
border-radius: var(--tui-radius-md);
|
|
2897
|
+
background: var(--tui-input-bg, var(--tui-color-bg-surface));
|
|
2898
|
+
color: inherit;
|
|
2899
|
+
font: inherit;
|
|
2900
|
+
font-size: var(--tui-typography-size-xs);
|
|
2901
|
+
text-overflow: ellipsis;
|
|
2902
|
+
}
|
|
2903
|
+
.tui-interface .tui-gradient-picker__value-input:focus-visible {
|
|
2904
|
+
border-color: var(--tui-input-border-focus, var(--tui-theme-primary-base));
|
|
2905
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2906
|
+
outline-offset: calc(-1 * var(--tui-border-width));
|
|
2907
|
+
}
|
|
2908
|
+
.tui-interface .tui-gradient-picker__label {
|
|
2909
|
+
display: block;
|
|
2910
|
+
font-size: var(--tui-typography-size-xs);
|
|
2911
|
+
font-weight: var(--tui-typography-weight-medium, 500);
|
|
2912
|
+
letter-spacing: 0.04em;
|
|
2913
|
+
text-transform: uppercase;
|
|
2914
|
+
color: var(--tui-color-fg-muted);
|
|
2915
|
+
}
|
|
2916
|
+
.tui-interface .tui-gradient-picker__stops {
|
|
2917
|
+
display: flex;
|
|
2918
|
+
flex-direction: column;
|
|
2919
|
+
gap: var(--tui-spacing-xxs);
|
|
2920
|
+
}
|
|
2921
|
+
.tui-interface .tui-gradient-picker__stop {
|
|
2922
|
+
display: flex;
|
|
2923
|
+
align-items: center;
|
|
2924
|
+
gap: var(--tui-spacing-xs);
|
|
2925
|
+
}
|
|
2926
|
+
.tui-interface .tui-gradient-picker__stop-position {
|
|
2927
|
+
flex: 1 1 auto;
|
|
2928
|
+
min-width: 0;
|
|
2929
|
+
}
|
|
2930
|
+
.tui-interface .tui-gradient-picker__swatch {
|
|
2931
|
+
flex: none;
|
|
2932
|
+
display: inline-flex;
|
|
2933
|
+
width: calc(var(--tui-control-height-sm, 2.25rem) - 2 * var(--tui-spacing-xxs));
|
|
2934
|
+
height: calc(var(--tui-control-height-sm, 2.25rem) - 2 * var(--tui-spacing-xxs));
|
|
2935
|
+
min-inline-size: 1.5rem;
|
|
2936
|
+
min-block-size: 1.5rem;
|
|
2937
|
+
padding: 0;
|
|
2938
|
+
border: var(--tui-border-width) solid var(--tui-color-border);
|
|
2939
|
+
border-radius: var(--tui-radius-full, 999px);
|
|
2940
|
+
overflow: hidden;
|
|
2941
|
+
background-color: #fff;
|
|
2942
|
+
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%);
|
|
2943
|
+
background-size: 6px 6px;
|
|
2944
|
+
background-position: 0 0, 0 3px, 3px -3px, -3px 0;
|
|
2945
|
+
cursor: pointer;
|
|
2946
|
+
forced-color-adjust: none;
|
|
2947
|
+
}
|
|
2948
|
+
.tui-interface .tui-gradient-picker__swatch:focus-visible, .tui-interface .tui-gradient-picker__swatch[data-popover-open] {
|
|
2949
|
+
outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
|
|
2950
|
+
outline-offset: var(--tui-focus-ring-offset);
|
|
2951
|
+
}
|
|
2952
|
+
.tui-interface .tui-gradient-picker__swatch:disabled {
|
|
2953
|
+
opacity: var(--tui-opacity-disabled);
|
|
2954
|
+
cursor: default;
|
|
2955
|
+
}
|
|
2956
|
+
.tui-interface .tui-gradient-picker__swatch-fill {
|
|
2957
|
+
flex: 1 1 auto;
|
|
2958
|
+
background: var(--_swatch);
|
|
2959
|
+
}
|
|
2960
|
+
.tui-interface .tui-gradient-picker__stop-popover {
|
|
2961
|
+
inline-size: 20rem;
|
|
2962
|
+
max-inline-size: calc(100vw - 2rem);
|
|
2963
|
+
}
|
|
2964
|
+
.tui-interface .tui-gradient-picker__geometry {
|
|
2965
|
+
display: grid;
|
|
2966
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
2967
|
+
gap: var(--tui-spacing-xs) var(--tui-spacing-sm);
|
|
2968
|
+
align-items: end;
|
|
2969
|
+
}
|
|
2970
|
+
.tui-interface .tui-gradient-picker__geometry .tui-input-group {
|
|
2971
|
+
min-width: 0;
|
|
2972
|
+
}
|
|
2973
|
+
.tui-interface .tui-gradient-picker__geometry .tui-input-group input {
|
|
2974
|
+
min-width: 0;
|
|
2975
|
+
}
|
|
2976
|
+
.tui-interface .tui-gradient-picker__field {
|
|
2977
|
+
display: flex;
|
|
2978
|
+
flex-direction: column;
|
|
2979
|
+
gap: var(--tui-spacing-xxs);
|
|
2980
|
+
min-width: 0;
|
|
2981
|
+
}
|
|
2982
|
+
.tui-interface .tui-gradient-picker__type-field {
|
|
2983
|
+
grid-column: 1/-1;
|
|
2984
|
+
}
|
|
2985
|
+
.tui-interface .tui-gradient-picker__geometry.is-linear .tui-gradient-picker__type-field {
|
|
2986
|
+
grid-column: auto;
|
|
2987
|
+
}
|
|
2988
|
+
.tui-interface .tui-gradient-picker__angle {
|
|
2989
|
+
display: flex;
|
|
2990
|
+
align-items: end;
|
|
2991
|
+
gap: var(--tui-spacing-xs);
|
|
2992
|
+
}
|
|
2993
|
+
.tui-interface .tui-gradient-picker__angle > .tui-gradient-picker__field {
|
|
2994
|
+
flex: 1 1 auto;
|
|
2995
|
+
}
|
|
2996
|
+
.tui-interface .tui-gradient-picker__angle > .tui-angle-dial {
|
|
2997
|
+
margin-block-end: calc((var(--tui-control-height-sm, 2.25rem) - var(--tui-angle-dial-size, 1.75rem)) / 2);
|
|
2998
|
+
}
|
|
2999
|
+
@media (forced-colors: active) {
|
|
3000
|
+
.tui-interface .tui-gradient-bar__thumb:focus-visible {
|
|
3001
|
+
outline: var(--tui-focus-ring-width) solid Highlight;
|
|
3002
|
+
}
|
|
3003
|
+
.tui-interface .tui-gradient-picker__swatch:focus-visible {
|
|
3004
|
+
outline-color: Highlight;
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
2779
3007
|
.tui-interface .tui-multicombobox {
|
|
2780
3008
|
position: relative;
|
|
2781
3009
|
display: inline-block;
|
|
@@ -4424,7 +4652,8 @@
|
|
|
4424
4652
|
--_radius: var(--tui-icon-button-radius, var(--tui-radius-md));
|
|
4425
4653
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-secondary-subtle));
|
|
4426
4654
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-color-fg));
|
|
4427
|
-
--_bg-pressed: var(--tui-theme-secondary-soft);
|
|
4655
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-secondary-soft));
|
|
4656
|
+
--_fg-pressed: var(--tui-icon-button-fg-pressed, var(--_fg-interact));
|
|
4428
4657
|
appearance: none;
|
|
4429
4658
|
border: none;
|
|
4430
4659
|
background: none;
|
|
@@ -4467,7 +4696,7 @@
|
|
|
4467
4696
|
}
|
|
4468
4697
|
.tui-interface .tui-icon-button[aria-pressed=true] {
|
|
4469
4698
|
--_bg: var(--_bg-pressed);
|
|
4470
|
-
--_fg: var(--_fg-
|
|
4699
|
+
--_fg: var(--_fg-pressed);
|
|
4471
4700
|
}
|
|
4472
4701
|
.tui-interface .tui-icon-button:where(:disabled, [aria-disabled=true], .is-disabled) {
|
|
4473
4702
|
pointer-events: none;
|
|
@@ -4491,31 +4720,31 @@
|
|
|
4491
4720
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-primary-base));
|
|
4492
4721
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-primary-strong));
|
|
4493
4722
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-primary-subtlest));
|
|
4494
|
-
--_bg-pressed: var(--tui-theme-primary-subtle);
|
|
4723
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-primary-subtle));
|
|
4495
4724
|
}
|
|
4496
4725
|
.tui-interface .tui-icon-button.is-theme-danger {
|
|
4497
4726
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-danger-base));
|
|
4498
4727
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-danger-strong));
|
|
4499
4728
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-danger-subtlest));
|
|
4500
|
-
--_bg-pressed: var(--tui-theme-danger-subtle);
|
|
4729
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-danger-subtle));
|
|
4501
4730
|
}
|
|
4502
4731
|
.tui-interface .tui-icon-button.is-theme-success {
|
|
4503
4732
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-success-base));
|
|
4504
4733
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-success-strong));
|
|
4505
4734
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-success-subtlest));
|
|
4506
|
-
--_bg-pressed: var(--tui-theme-success-subtle);
|
|
4735
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-success-subtle));
|
|
4507
4736
|
}
|
|
4508
4737
|
.tui-interface .tui-icon-button.is-theme-warning {
|
|
4509
4738
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-warning-base));
|
|
4510
4739
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-warning-strong));
|
|
4511
4740
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-warning-subtlest));
|
|
4512
|
-
--_bg-pressed: var(--tui-theme-warning-subtle);
|
|
4741
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-warning-subtle));
|
|
4513
4742
|
}
|
|
4514
4743
|
.tui-interface .tui-icon-button.is-theme-info {
|
|
4515
4744
|
--_fg: var(--tui-icon-button-fg, var(--tui-theme-info-base));
|
|
4516
4745
|
--_fg-interact: var(--tui-icon-button-fg-interact, var(--tui-theme-info-strong));
|
|
4517
4746
|
--_bg-interact: var(--tui-icon-button-bg-interact, var(--tui-theme-info-subtlest));
|
|
4518
|
-
--_bg-pressed: var(--tui-theme-info-subtle);
|
|
4747
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-info-subtle));
|
|
4519
4748
|
}
|
|
4520
4749
|
.tui-interface .tui-icon-button.is-style-outline {
|
|
4521
4750
|
--_border: var(--tui-icon-button-border, var(--tui-color-border));
|
|
@@ -4549,7 +4778,7 @@
|
|
|
4549
4778
|
.tui-interface .tui-icon-button.is-style-solid {
|
|
4550
4779
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-secondary-subtle));
|
|
4551
4780
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg));
|
|
4552
|
-
--_bg-pressed: var(--tui-theme-secondary-soft);
|
|
4781
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-secondary-soft));
|
|
4553
4782
|
}
|
|
4554
4783
|
.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
4784
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-secondary-soft));
|
|
@@ -4560,7 +4789,7 @@
|
|
|
4560
4789
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-primary {
|
|
4561
4790
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-primary-base));
|
|
4562
4791
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4563
|
-
--_bg-pressed: var(--tui-theme-primary-stronger);
|
|
4792
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-primary-stronger));
|
|
4564
4793
|
}
|
|
4565
4794
|
.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
4795
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-primary-stronger));
|
|
@@ -4571,7 +4800,7 @@
|
|
|
4571
4800
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-danger {
|
|
4572
4801
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-danger-base));
|
|
4573
4802
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4574
|
-
--_bg-pressed: var(--tui-theme-danger-stronger);
|
|
4803
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-danger-stronger));
|
|
4575
4804
|
}
|
|
4576
4805
|
.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
4806
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-danger-stronger));
|
|
@@ -4582,7 +4811,7 @@
|
|
|
4582
4811
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-success {
|
|
4583
4812
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-success-base));
|
|
4584
4813
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4585
|
-
--_bg-pressed: var(--tui-theme-success-stronger);
|
|
4814
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-success-stronger));
|
|
4586
4815
|
}
|
|
4587
4816
|
.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
4817
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-success-stronger));
|
|
@@ -4593,7 +4822,7 @@
|
|
|
4593
4822
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-warning {
|
|
4594
4823
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-warning-base));
|
|
4595
4824
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4596
|
-
--_bg-pressed: var(--tui-theme-warning-stronger);
|
|
4825
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-warning-stronger));
|
|
4597
4826
|
}
|
|
4598
4827
|
.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
4828
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-warning-stronger));
|
|
@@ -4604,7 +4833,7 @@
|
|
|
4604
4833
|
.tui-interface .tui-icon-button.is-style-solid.is-theme-info {
|
|
4605
4834
|
--_bg: var(--tui-icon-button-bg, var(--tui-theme-info-base));
|
|
4606
4835
|
--_fg: var(--tui-icon-button-fg, var(--tui-color-fg-on-accent));
|
|
4607
|
-
--_bg-pressed: var(--tui-theme-info-stronger);
|
|
4836
|
+
--_bg-pressed: var(--tui-icon-button-bg-pressed, var(--tui-theme-info-stronger));
|
|
4608
4837
|
}
|
|
4609
4838
|
.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
4839
|
--_bg: var(--tui-icon-button-bg-interact, var(--tui-theme-info-stronger));
|
|
@@ -5108,8 +5337,8 @@
|
|
|
5108
5337
|
--_border-width: var(--tui-notice-border-width, var(--tui-border-width-bold, 2px));
|
|
5109
5338
|
--_padding: var(--tui-notice-padding, var(--tui-spacing-md));
|
|
5110
5339
|
--_foot-basis: var(--tui-notice-foot-basis, 500px);
|
|
5111
|
-
--_gap: var(--tui-spacing-sm);
|
|
5112
|
-
--_para-gap: var(--tui-spacing-sm);
|
|
5340
|
+
--_gap: var(--tui-notice-gap, var(--tui-spacing-sm));
|
|
5341
|
+
--_para-gap: var(--tui-notice-para-gap, var(--tui-spacing-sm));
|
|
5113
5342
|
container-type: inline-size;
|
|
5114
5343
|
container-name: tuiNotice;
|
|
5115
5344
|
position: relative;
|
|
@@ -5185,16 +5414,16 @@
|
|
|
5185
5414
|
}
|
|
5186
5415
|
:where(.tui-interface) .tui-notice.is-size-sm {
|
|
5187
5416
|
--_padding: var(--tui-notice-padding, var(--tui-spacing-sm));
|
|
5188
|
-
--_gap: var(--tui-spacing-xs);
|
|
5189
|
-
--_para-gap: var(--tui-spacing-xs);
|
|
5417
|
+
--_gap: var(--tui-notice-gap, var(--tui-spacing-xs));
|
|
5418
|
+
--_para-gap: var(--tui-notice-para-gap, var(--tui-spacing-xs));
|
|
5190
5419
|
}
|
|
5191
5420
|
:where(.tui-interface) .tui-notice.is-size-sm .tui-notice__body {
|
|
5192
5421
|
font-size: var(--tui-typography-size-sm);
|
|
5193
5422
|
}
|
|
5194
5423
|
:where(.tui-interface) .tui-notice.is-size-lg {
|
|
5195
5424
|
--_padding: var(--tui-notice-padding, var(--tui-spacing-lg));
|
|
5196
|
-
--_gap: var(--tui-spacing-md);
|
|
5197
|
-
--_para-gap: var(--tui-spacing-md);
|
|
5425
|
+
--_gap: var(--tui-notice-gap, var(--tui-spacing-md));
|
|
5426
|
+
--_para-gap: var(--tui-notice-para-gap, var(--tui-spacing-md));
|
|
5198
5427
|
}
|
|
5199
5428
|
:where(.tui-interface) .tui-notice.is-size-lg .tui-notice__title {
|
|
5200
5429
|
font-size: var(--tui-notice-title-size, var(--tui-typography-size-lg));
|