@seed-design/css 0.2.3 → 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/all.css +119 -67
- package/all.min.css +1 -1
- package/base.css +2 -2
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/badge.css +1 -1
- package/recipes/checkbox.css +2 -2
- package/recipes/checkbox.d.ts +2 -2
- package/recipes/checkbox.mjs +3 -3
- package/recipes/checkmark.css +34 -31
- package/recipes/checkmark.d.ts +4 -0
- package/recipes/checkmark.mjs +23 -2
- package/recipes/page-banner.css +5 -5
- package/recipes/radio.css +2 -2
- package/recipes/radio.d.ts +2 -2
- package/recipes/radio.mjs +3 -3
- package/recipes/radiomark.css +19 -7
- package/recipes/radiomark.d.ts +4 -0
- package/recipes/radiomark.mjs +5 -0
- package/recipes/segmented-control.css +18 -9
- package/recipes/switch.css +15 -7
- package/recipes/switch.d.ts +4 -0
- package/recipes/switch.mjs +5 -0
- package/vars/component/badge.d.ts +1 -1
- package/vars/component/badge.mjs +1 -1
- package/vars/component/checkbox.d.ts +2 -2
- package/vars/component/checkbox.mjs +2 -2
- package/vars/component/checkmark.d.ts +57 -23
- package/vars/component/checkmark.mjs +57 -23
- package/vars/component/page-banner.d.ts +5 -5
- package/vars/component/page-banner.mjs +5 -5
- package/vars/component/radio.d.ts +2 -2
- package/vars/component/radio.mjs +2 -2
- package/vars/component/radiomark.d.ts +32 -11
- package/vars/component/radiomark.mjs +32 -11
- package/vars/component/segmented-control-item.d.ts +21 -6
- package/vars/component/segmented-control-item.mjs +21 -6
- package/vars/component/segmented-control.d.ts +3 -1
- package/vars/component/segmented-control.mjs +3 -1
- package/vars/component/switch.d.ts +28 -10
- package/vars/component/switch.mjs +28 -10
package/all.css
CHANGED
|
@@ -639,8 +639,8 @@
|
|
|
639
639
|
--seed-color-bg-positive-solid-pressed: var(--seed-color-palette-green-600);
|
|
640
640
|
--seed-color-bg-positive-weak-pressed: var(--seed-color-palette-green-200);
|
|
641
641
|
--seed-color-bg-warning-weak: var(--seed-color-palette-yellow-100);
|
|
642
|
-
--seed-color-bg-warning-solid: var(--seed-color-palette-yellow-
|
|
643
|
-
--seed-color-bg-warning-solid-pressed: var(--seed-color-palette-yellow-
|
|
642
|
+
--seed-color-bg-warning-solid: var(--seed-color-palette-yellow-800);
|
|
643
|
+
--seed-color-bg-warning-solid-pressed: var(--seed-color-palette-yellow-900);
|
|
644
644
|
--seed-color-bg-warning-weak-pressed: var(--seed-color-palette-yellow-200);
|
|
645
645
|
--seed-color-stroke-brand-weak: var(--seed-color-palette-carrot-300);
|
|
646
646
|
--seed-color-stroke-brand-solid: var(--seed-color-palette-carrot-700);
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
|
|
2306
2306
|
.seed-badge__root--tone_warning-variant_solid {
|
|
2307
2307
|
background-color: var(--seed-color-bg-warning-solid);
|
|
2308
|
-
color: var(--seed-color-
|
|
2308
|
+
color: var(--seed-color-palette-static-black-alpha-900);
|
|
2309
2309
|
}
|
|
2310
2310
|
|
|
2311
2311
|
.seed-badge__root--tone_warning-variant_outline {
|
|
@@ -2656,11 +2656,11 @@
|
|
|
2656
2656
|
color: var(--seed-color-fg-disabled);
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
|
-
.seed-checkbox__label--
|
|
2659
|
+
.seed-checkbox__label--weight_regular {
|
|
2660
2660
|
font-weight: var(--seed-font-weight-regular);
|
|
2661
2661
|
}
|
|
2662
2662
|
|
|
2663
|
-
.seed-checkbox__label--
|
|
2663
|
+
.seed-checkbox__label--weight_bold {
|
|
2664
2664
|
font-weight: var(--seed-font-weight-bold);
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
@@ -2710,63 +2710,36 @@
|
|
|
2710
2710
|
}
|
|
2711
2711
|
|
|
2712
2712
|
.seed-checkmark__root--variant_square:is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2713
|
-
background: var(--seed-color-bg-brand-solid);
|
|
2714
2713
|
border-width: 0;
|
|
2715
2714
|
}
|
|
2716
2715
|
|
|
2717
|
-
.seed-checkmark__root--variant_square:is(:active, [data-active]) {
|
|
2716
|
+
.seed-checkmark__root--variant_square:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
2718
2717
|
background: var(--seed-color-bg-layer-default-pressed);
|
|
2719
2718
|
}
|
|
2720
2719
|
|
|
2721
|
-
.seed-checkmark__root--variant_square:is(:active, [data-active]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2722
|
-
background: var(--seed-color-bg-brand-solid-pressed);
|
|
2723
|
-
}
|
|
2724
|
-
|
|
2725
2720
|
.seed-checkmark__root--variant_square:is(:disabled, [disabled], [data-disabled]) {
|
|
2726
2721
|
background: var(--seed-color-bg-disabled);
|
|
2727
2722
|
border-color: var(--seed-color-stroke-neutral-muted);
|
|
2728
2723
|
}
|
|
2729
2724
|
|
|
2730
|
-
.seed-checkmark__root--variant_square:is(:disabled, [disabled], [data-disabled]):is(:active, [data-active]) {
|
|
2731
|
-
background: var(--seed-color-bg-disabled);
|
|
2732
|
-
}
|
|
2733
|
-
|
|
2734
2725
|
.seed-checkmark__icon--variant_square:is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2735
|
-
color: var(--seed-color-palette-static-white);
|
|
2736
2726
|
display: block;
|
|
2737
2727
|
}
|
|
2738
2728
|
|
|
2739
2729
|
.seed-checkmark__icon--variant_square:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2740
2730
|
color: var(--seed-color-fg-disabled);
|
|
2741
|
-
display: block;
|
|
2742
2731
|
}
|
|
2743
2732
|
|
|
2744
|
-
.seed-checkmark__root--variant_ghost
|
|
2745
|
-
background: none;
|
|
2746
|
-
}
|
|
2747
|
-
|
|
2748
|
-
.seed-checkmark__root--variant_ghost:is(:active, [data-active]) {
|
|
2733
|
+
.seed-checkmark__root--variant_ghost:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
2749
2734
|
background: var(--seed-color-bg-layer-default-pressed);
|
|
2750
2735
|
}
|
|
2751
2736
|
|
|
2752
|
-
.seed-checkmark__root--variant_ghost:is(:active, [data-active]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2753
|
-
background: var(--seed-color-palette-carrot-200);
|
|
2754
|
-
}
|
|
2755
|
-
|
|
2756
|
-
.seed-checkmark__root--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]), .seed-checkmark__root--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:active, [data-active]) {
|
|
2757
|
-
background: none;
|
|
2758
|
-
}
|
|
2759
|
-
|
|
2760
2737
|
.seed-checkmark__icon--variant_ghost {
|
|
2761
2738
|
color: var(--seed-color-fg-placeholder);
|
|
2762
2739
|
display: block;
|
|
2763
2740
|
}
|
|
2764
2741
|
|
|
2765
|
-
.seed-checkmark__icon--variant_ghost:is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2766
|
-
color: var(--seed-color-fg-brand);
|
|
2767
|
-
}
|
|
2768
|
-
|
|
2769
|
-
.seed-checkmark__icon--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]), .seed-checkmark__icon--variant_ghost:is(:disabled, [disabled], [data-disabled]) {
|
|
2742
|
+
.seed-checkmark__icon--variant_ghost:is(:disabled, [disabled], [data-disabled]), .seed-checkmark__icon--variant_ghost:is(:disabled, [disabled], [data-disabled]):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2770
2743
|
color: var(--seed-color-fg-disabled);
|
|
2771
2744
|
}
|
|
2772
2745
|
|
|
@@ -2782,6 +2755,46 @@
|
|
|
2782
2755
|
height: var(--seed-dimension-x5);
|
|
2783
2756
|
}
|
|
2784
2757
|
|
|
2758
|
+
.seed-checkmark__root--variant_square-tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2759
|
+
background: var(--seed-color-bg-neutral-inverted);
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
.seed-checkmark__root--variant_square-tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]):is(:active, [data-active]) {
|
|
2763
|
+
background: var(--seed-color-bg-neutral-inverted-pressed);
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
.seed-checkmark__icon--variant_square-tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2767
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
.seed-checkmark__root--variant_square-tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2771
|
+
background: var(--seed-color-bg-brand-solid);
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
.seed-checkmark__root--variant_square-tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]):is(:active, [data-active]) {
|
|
2775
|
+
background: var(--seed-color-bg-brand-solid-pressed);
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
.seed-checkmark__icon--variant_square-tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2779
|
+
color: var(--seed-color-palette-static-white);
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
.seed-checkmark__root--variant_ghost-tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]):is(:active, [data-active]) {
|
|
2783
|
+
background: var(--seed-color-palette-gray-200);
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
.seed-checkmark__icon--variant_ghost-tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2787
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
.seed-checkmark__root--variant_ghost-tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]):is(:active, [data-active]) {
|
|
2791
|
+
background: var(--seed-color-palette-carrot-200);
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
.seed-checkmark__icon--variant_ghost-tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2795
|
+
color: var(--seed-color-fg-brand);
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2785
2798
|
.seed-checkmark__icon--size_medium-variant_ghost {
|
|
2786
2799
|
width: 14px;
|
|
2787
2800
|
height: 14px;
|
|
@@ -4826,8 +4839,8 @@
|
|
|
4826
4839
|
|
|
4827
4840
|
.seed-page-banner__root--tone_warning-variant_solid {
|
|
4828
4841
|
background-color: var(--seed-color-bg-warning-solid);
|
|
4829
|
-
--seed-prefix-icon-color: var(--seed-color-
|
|
4830
|
-
--seed-suffix-icon-color: var(--seed-color-
|
|
4842
|
+
--seed-prefix-icon-color: var(--seed-color-palette-static-black-alpha-900);
|
|
4843
|
+
--seed-suffix-icon-color: var(--seed-color-palette-static-black-alpha-900);
|
|
4831
4844
|
}
|
|
4832
4845
|
|
|
4833
4846
|
.seed-page-banner__root--tone_warning-variant_solid:is(button):is(:active, [data-active]) {
|
|
@@ -4835,7 +4848,7 @@
|
|
|
4835
4848
|
}
|
|
4836
4849
|
|
|
4837
4850
|
.seed-page-banner__title--tone_warning-variant_solid, .seed-page-banner__description--tone_warning-variant_solid, .seed-page-banner__button--tone_warning-variant_solid {
|
|
4838
|
-
color: var(--seed-color-
|
|
4851
|
+
color: var(--seed-color-palette-static-black-alpha-900);
|
|
4839
4852
|
}
|
|
4840
4853
|
|
|
4841
4854
|
.seed-page-banner__root--tone_critical-variant_weak {
|
|
@@ -4958,11 +4971,11 @@
|
|
|
4958
4971
|
color: var(--seed-color-fg-disabled);
|
|
4959
4972
|
}
|
|
4960
4973
|
|
|
4961
|
-
.seed-radio__label--
|
|
4974
|
+
.seed-radio__label--weight_regular {
|
|
4962
4975
|
font-weight: var(--seed-font-weight-regular);
|
|
4963
4976
|
}
|
|
4964
4977
|
|
|
4965
|
-
.seed-radio__label--
|
|
4978
|
+
.seed-radio__label--weight_bold {
|
|
4966
4979
|
font-weight: var(--seed-font-weight-bold);
|
|
4967
4980
|
}
|
|
4968
4981
|
|
|
@@ -4990,7 +5003,6 @@
|
|
|
4990
5003
|
|
|
4991
5004
|
.seed-radiomark__root {
|
|
4992
5005
|
box-sizing: border-box;
|
|
4993
|
-
background-color: var(--seed-color-bg-layer-default);
|
|
4994
5006
|
border-style: solid;
|
|
4995
5007
|
border-width: 1px;
|
|
4996
5008
|
border-color: var(--seed-color-stroke-neutral-weak);
|
|
@@ -5003,19 +5015,14 @@
|
|
|
5003
5015
|
position: relative;
|
|
5004
5016
|
}
|
|
5005
5017
|
|
|
5006
|
-
.seed-radiomark__root:is(:active, [data-active]) {
|
|
5018
|
+
.seed-radiomark__root:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
5007
5019
|
background-color: var(--seed-color-bg-layer-default-pressed);
|
|
5008
5020
|
}
|
|
5009
5021
|
|
|
5010
5022
|
.seed-radiomark__root:is(:checked, [data-checked]) {
|
|
5011
|
-
background-color: var(--seed-color-bg-brand-solid);
|
|
5012
5023
|
border-width: 0;
|
|
5013
5024
|
}
|
|
5014
5025
|
|
|
5015
|
-
.seed-radiomark__root:is(:active, [data-active]):is(:checked, [data-checked]) {
|
|
5016
|
-
background-color: var(--seed-color-bg-brand-solid-pressed);
|
|
5017
|
-
}
|
|
5018
|
-
|
|
5019
5026
|
.seed-radiomark__root:is(:disabled, [disabled], [data-disabled]) {
|
|
5020
5027
|
background-color: var(--seed-color-palette-gray-300);
|
|
5021
5028
|
}
|
|
@@ -5032,7 +5039,6 @@
|
|
|
5032
5039
|
}
|
|
5033
5040
|
|
|
5034
5041
|
.seed-radiomark__icon:is(:checked, [data-checked]) {
|
|
5035
|
-
color: var(--seed-color-palette-static-white);
|
|
5036
5042
|
display: block;
|
|
5037
5043
|
}
|
|
5038
5044
|
|
|
@@ -5040,6 +5046,30 @@
|
|
|
5040
5046
|
color: var(--seed-color-palette-gray-300);
|
|
5041
5047
|
}
|
|
5042
5048
|
|
|
5049
|
+
.seed-radiomark__root--tone_neutral:is(:checked, [data-checked]) {
|
|
5050
|
+
background-color: var(--seed-color-bg-neutral-inverted);
|
|
5051
|
+
}
|
|
5052
|
+
|
|
5053
|
+
.seed-radiomark__root--tone_neutral:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, [data-checked]):is(:active, [data-active]) {
|
|
5054
|
+
background-color: var(--seed-color-bg-neutral-inverted-pressed);
|
|
5055
|
+
}
|
|
5056
|
+
|
|
5057
|
+
.seed-radiomark__icon--tone_neutral:is(:checked, [data-checked]) {
|
|
5058
|
+
color: var(--seed-color-fg-neutral-inverted);
|
|
5059
|
+
}
|
|
5060
|
+
|
|
5061
|
+
.seed-radiomark__root--tone_brand:is(:checked, [data-checked]) {
|
|
5062
|
+
background-color: var(--seed-color-bg-brand-solid);
|
|
5063
|
+
}
|
|
5064
|
+
|
|
5065
|
+
.seed-radiomark__root--tone_brand:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, [data-checked]):is(:active, [data-active]) {
|
|
5066
|
+
background-color: var(--seed-color-bg-brand-solid-pressed);
|
|
5067
|
+
}
|
|
5068
|
+
|
|
5069
|
+
.seed-radiomark__icon--tone_brand:is(:checked, [data-checked]) {
|
|
5070
|
+
color: var(--seed-color-palette-static-white);
|
|
5071
|
+
}
|
|
5072
|
+
|
|
5043
5073
|
.seed-radiomark__root--size_large {
|
|
5044
5074
|
width: var(--seed-dimension-x6);
|
|
5045
5075
|
height: var(--seed-dimension-x6);
|
|
@@ -5171,7 +5201,6 @@
|
|
|
5171
5201
|
|
|
5172
5202
|
.seed-segmented-control__root {
|
|
5173
5203
|
box-sizing: border-box;
|
|
5174
|
-
min-width: fit-content;
|
|
5175
5204
|
max-width: 100%;
|
|
5176
5205
|
padding: var(--seed-dimension-x1);
|
|
5177
5206
|
border-radius: var(--seed-radius-full);
|
|
@@ -5191,11 +5220,11 @@
|
|
|
5191
5220
|
inset-block: var(--seed-dimension-x1);
|
|
5192
5221
|
width: calc((100% - var(--seed-dimension-x1) * 2) / var(--segment-count));
|
|
5193
5222
|
border-radius: var(--seed-radius-full);
|
|
5194
|
-
background-color: var(--seed-color-
|
|
5223
|
+
background-color: var(--seed-color-palette-gray-00);
|
|
5224
|
+
box-shadow: 0px 1px 6px 0px #0000000d, inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
5195
5225
|
transition: transform var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
5196
5226
|
position: absolute;
|
|
5197
5227
|
inset-inline-start: var(--seed-dimension-x1);
|
|
5198
|
-
box-shadow: 0 1px 6px #0000000d;
|
|
5199
5228
|
}
|
|
5200
5229
|
|
|
5201
5230
|
.seed-segmented-control__item {
|
|
@@ -5204,22 +5233,25 @@
|
|
|
5204
5233
|
user-select: none;
|
|
5205
5234
|
box-sizing: border-box;
|
|
5206
5235
|
overflow-wrap: break-word;
|
|
5236
|
+
justify-content: center;
|
|
5237
|
+
align-items: center;
|
|
5238
|
+
gap: var(--seed-dimension-x1_5);
|
|
5207
5239
|
min-width: 86px;
|
|
5208
|
-
|
|
5209
|
-
|
|
5240
|
+
height: 100%;
|
|
5241
|
+
min-height: 34px;
|
|
5242
|
+
padding-inline: var(--seed-dimension-x6);
|
|
5243
|
+
padding-block: var(--seed-dimension-x1_5);
|
|
5210
5244
|
border-radius: var(--seed-radius-full);
|
|
5211
|
-
font-weight: var(--seed-font-weight-
|
|
5245
|
+
font-weight: var(--seed-font-weight-bold);
|
|
5212
5246
|
font-size: var(--seed-font-size-t5);
|
|
5213
5247
|
line-height: var(--seed-line-height-t5);
|
|
5214
|
-
color: var(--seed-color-fg-neutral-
|
|
5215
|
-
|
|
5216
|
-
align-items: center;
|
|
5248
|
+
color: var(--seed-color-fg-neutral-subtle);
|
|
5249
|
+
transition: background-color var(--seed-duration-d4) var(--seed-timing-function-easing), color var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
5217
5250
|
display: flex;
|
|
5218
5251
|
}
|
|
5219
5252
|
|
|
5220
5253
|
.seed-segmented-control__item:is(:checked, [data-checked]) {
|
|
5221
5254
|
color: var(--seed-color-fg-neutral);
|
|
5222
|
-
font-weight: var(--seed-font-weight-bold);
|
|
5223
5255
|
}
|
|
5224
5256
|
|
|
5225
5257
|
.seed-segmented-control__item:is(:disabled, [disabled], [data-disabled]) {
|
|
@@ -5227,7 +5259,16 @@
|
|
|
5227
5259
|
color: var(--seed-color-fg-disabled);
|
|
5228
5260
|
}
|
|
5229
5261
|
|
|
5230
|
-
.seed-segmented-control__item:
|
|
5262
|
+
.seed-segmented-control__item:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked]) {
|
|
5263
|
+
background-color: var(--seed-color-bg-disabled);
|
|
5264
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-muted);
|
|
5265
|
+
}
|
|
5266
|
+
|
|
5267
|
+
.seed-segmented-control__item:not(:is(:disabled, [disabled], [data-disabled])):is(:checked, [data-checked]):is(:active, [data-active]) {
|
|
5268
|
+
background-color: var(--seed-color-palette-gray-100);
|
|
5269
|
+
}
|
|
5270
|
+
|
|
5271
|
+
.seed-segmented-control__item:not(:is(:disabled, [disabled], [data-disabled])):not(:is(:checked, [data-checked])):is(:active, [data-active]) {
|
|
5231
5272
|
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
5232
5273
|
}
|
|
5233
5274
|
|
|
@@ -5473,13 +5514,8 @@
|
|
|
5473
5514
|
opacity: .38;
|
|
5474
5515
|
}
|
|
5475
5516
|
|
|
5476
|
-
.seed-switch__control:is(:checked, [data-checked]) {
|
|
5477
|
-
background: var(--seed-color-bg-brand-solid);
|
|
5478
|
-
}
|
|
5479
|
-
|
|
5480
5517
|
.seed-switch__thumb {
|
|
5481
5518
|
border-radius: var(--seed-radius-full);
|
|
5482
|
-
background: var(--seed-color-palette-static-white);
|
|
5483
5519
|
transition: transform .15s cubic-bezier(.35, 0, .35, 1);
|
|
5484
5520
|
}
|
|
5485
5521
|
|
|
@@ -5492,6 +5528,22 @@
|
|
|
5492
5528
|
color: var(--seed-color-fg-disabled);
|
|
5493
5529
|
}
|
|
5494
5530
|
|
|
5531
|
+
.seed-switch__control--tone_neutral:is(:checked, [data-checked]) {
|
|
5532
|
+
background: var(--seed-color-bg-neutral-inverted);
|
|
5533
|
+
}
|
|
5534
|
+
|
|
5535
|
+
.seed-switch__thumb--tone_neutral {
|
|
5536
|
+
background: var(--seed-color-fg-neutral-inverted);
|
|
5537
|
+
}
|
|
5538
|
+
|
|
5539
|
+
.seed-switch__control--tone_brand:is(:checked, [data-checked]) {
|
|
5540
|
+
background: var(--seed-color-bg-brand-solid);
|
|
5541
|
+
}
|
|
5542
|
+
|
|
5543
|
+
.seed-switch__thumb--tone_brand {
|
|
5544
|
+
background: var(--seed-color-palette-static-white);
|
|
5545
|
+
}
|
|
5546
|
+
|
|
5495
5547
|
.seed-switch__root--size_16 {
|
|
5496
5548
|
gap: var(--seed-dimension-x1_5);
|
|
5497
5549
|
min-height: 24px;
|
|
@@ -5556,12 +5608,12 @@
|
|
|
5556
5608
|
min-block-size: 32px;
|
|
5557
5609
|
min-inline-size: 52px;
|
|
5558
5610
|
margin: 0;
|
|
5559
|
-
padding:
|
|
5611
|
+
padding: 3px;
|
|
5560
5612
|
}
|
|
5561
5613
|
|
|
5562
5614
|
.seed-switch__thumb--size_32 {
|
|
5563
|
-
width:
|
|
5564
|
-
height:
|
|
5615
|
+
width: 26px;
|
|
5616
|
+
height: 26px;
|
|
5565
5617
|
box-shadow: 0 3px 8px #00000026, 0 1px 3px #0000000f;
|
|
5566
5618
|
}
|
|
5567
5619
|
|