@seed-design/css 0.2.3 → 0.2.4
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 +97 -56
- 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/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/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
|
-
}
|
|
2743
|
-
|
|
2744
|
-
.seed-checkmark__root--variant_ghost, .seed-checkmark__root--variant_ghost:is(:checked, :indeterminate, [data-checked], [data-indeterminate]) {
|
|
2745
|
-
background: none;
|
|
2746
2731
|
}
|
|
2747
2732
|
|
|
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);
|
|
@@ -5473,13 +5503,8 @@
|
|
|
5473
5503
|
opacity: .38;
|
|
5474
5504
|
}
|
|
5475
5505
|
|
|
5476
|
-
.seed-switch__control:is(:checked, [data-checked]) {
|
|
5477
|
-
background: var(--seed-color-bg-brand-solid);
|
|
5478
|
-
}
|
|
5479
|
-
|
|
5480
5506
|
.seed-switch__thumb {
|
|
5481
5507
|
border-radius: var(--seed-radius-full);
|
|
5482
|
-
background: var(--seed-color-palette-static-white);
|
|
5483
5508
|
transition: transform .15s cubic-bezier(.35, 0, .35, 1);
|
|
5484
5509
|
}
|
|
5485
5510
|
|
|
@@ -5492,6 +5517,22 @@
|
|
|
5492
5517
|
color: var(--seed-color-fg-disabled);
|
|
5493
5518
|
}
|
|
5494
5519
|
|
|
5520
|
+
.seed-switch__control--tone_neutral:is(:checked, [data-checked]) {
|
|
5521
|
+
background: var(--seed-color-bg-neutral-inverted);
|
|
5522
|
+
}
|
|
5523
|
+
|
|
5524
|
+
.seed-switch__thumb--tone_neutral {
|
|
5525
|
+
background: var(--seed-color-fg-neutral-inverted);
|
|
5526
|
+
}
|
|
5527
|
+
|
|
5528
|
+
.seed-switch__control--tone_brand:is(:checked, [data-checked]) {
|
|
5529
|
+
background: var(--seed-color-bg-brand-solid);
|
|
5530
|
+
}
|
|
5531
|
+
|
|
5532
|
+
.seed-switch__thumb--tone_brand {
|
|
5533
|
+
background: var(--seed-color-palette-static-white);
|
|
5534
|
+
}
|
|
5535
|
+
|
|
5495
5536
|
.seed-switch__root--size_16 {
|
|
5496
5537
|
gap: var(--seed-dimension-x1_5);
|
|
5497
5538
|
min-height: 24px;
|
|
@@ -5556,12 +5597,12 @@
|
|
|
5556
5597
|
min-block-size: 32px;
|
|
5557
5598
|
min-inline-size: 52px;
|
|
5558
5599
|
margin: 0;
|
|
5559
|
-
padding:
|
|
5600
|
+
padding: 3px;
|
|
5560
5601
|
}
|
|
5561
5602
|
|
|
5562
5603
|
.seed-switch__thumb--size_32 {
|
|
5563
|
-
width:
|
|
5564
|
-
height:
|
|
5604
|
+
width: 26px;
|
|
5605
|
+
height: 26px;
|
|
5565
5606
|
box-shadow: 0 3px 8px #00000026, 0 1px 3px #0000000f;
|
|
5566
5607
|
}
|
|
5567
5608
|
|