@seed-design/css 0.0.24 → 0.0.27

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 CHANGED
@@ -268,7 +268,7 @@
268
268
  --seed-color-palette-carrot-400: #ffb999;
269
269
  --seed-color-palette-carrot-500: #ff9364;
270
270
  --seed-color-palette-carrot-600: #f60;
271
- --seed-color-palette-carrot-700: #e04f00;
271
+ --seed-color-palette-carrot-700: #e14d00;
272
272
  --seed-color-palette-carrot-800: #b93901;
273
273
  --seed-color-palette-carrot-900: #862b00;
274
274
  --seed-color-palette-carrot-1000: #471601;
@@ -431,7 +431,7 @@
431
431
  --seed-color-palette-carrot-1000: #f4eeea;
432
432
  --seed-color-palette-gray-00: #000;
433
433
  --seed-color-palette-gray-100: #16171b;
434
- --seed-color-palette-gray-200: #22252b;
434
+ --seed-color-palette-gray-200: #1d2025;
435
435
  --seed-color-palette-gray-300: #2b2e35;
436
436
  --seed-color-palette-gray-400: #393d46;
437
437
  --seed-color-palette-gray-500: #5b606a;
@@ -577,6 +577,25 @@
577
577
  position: relative;
578
578
  }
579
579
 
580
+ .seed-avatar__root:after {
581
+ content: "";
582
+ pointer-events: none;
583
+ border-radius: var(--seed-radius-full);
584
+ box-shadow: inset 0 0 0 var(--avatar-stroke-width) var(--seed-color-stroke-on-image);
585
+ -webkit-mask-image: url("data:image/svg+xml;utf8,<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"16\" cy=\"16\" r=\"16\" fill=\"white\"/></svg>"), var(--svg-mask-uri);
586
+ -webkit-mask-size: 100% 100%, var(--badge-mask-size) var(--badge-mask-size);
587
+ -webkit-mask-position: 0 0, var(--badge-mask-offset) var(--badge-mask-offset);
588
+ -webkit-mask-composite: source-out;
589
+ -webkit-mask-repeat: no-repeat;
590
+ mask-image: url("data:image/svg+xml;utf8,<svg width=\"32\" height=\"32\" viewBox=\"0 0 32 32\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"16\" cy=\"16\" r=\"16\" fill=\"white\"/></svg>"), var(--svg-mask-uri);
591
+ mask-size: 100% 100%, var(--badge-mask-size) var(--badge-mask-size);
592
+ mask-position: 0 0, var(--badge-mask-offset) var(--badge-mask-offset);
593
+ position: absolute;
594
+ inset: 0;
595
+ mask-repeat: no-repeat;
596
+ mask-composite: subtract;
597
+ }
598
+
580
599
  .seed-avatar__image {
581
600
  object-fit: cover;
582
601
  width: 100%;
@@ -639,6 +658,7 @@
639
658
 
640
659
  .seed-avatar__root--size_20 {
641
660
  --avatar-size: 20px;
661
+ --avatar-stroke-width: 1px;
642
662
  --badge-mask-size: 0px;
643
663
  --badge-mask-offset: 0px;
644
664
  }
@@ -649,6 +669,7 @@
649
669
 
650
670
  .seed-avatar__root--size_24 {
651
671
  --avatar-size: 24px;
672
+ --avatar-stroke-width: 1px;
652
673
  --badge-mask-size: 12px;
653
674
  --badge-mask-offset: 14px;
654
675
  }
@@ -660,6 +681,7 @@
660
681
 
661
682
  .seed-avatar__root--size_36 {
662
683
  --avatar-size: 36px;
684
+ --avatar-stroke-width: 1px;
663
685
  --badge-mask-size: 18px;
664
686
  --badge-mask-offset: 20px;
665
687
  }
@@ -671,6 +693,7 @@
671
693
 
672
694
  .seed-avatar__root--size_42 {
673
695
  --avatar-size: 42px;
696
+ --avatar-stroke-width: 1px;
674
697
  --badge-mask-size: 20px;
675
698
  --badge-mask-offset: 24px;
676
699
  }
@@ -682,6 +705,7 @@
682
705
 
683
706
  .seed-avatar__root--size_48 {
684
707
  --avatar-size: 48px;
708
+ --avatar-stroke-width: 1px;
685
709
  --badge-mask-size: 22px;
686
710
  --badge-mask-offset: 28px;
687
711
  }
@@ -693,6 +717,7 @@
693
717
 
694
718
  .seed-avatar__root--size_64 {
695
719
  --avatar-size: 64px;
720
+ --avatar-stroke-width: 1px;
696
721
  --badge-mask-size: 26px;
697
722
  --badge-mask-offset: 40px;
698
723
  }
@@ -704,6 +729,7 @@
704
729
 
705
730
  .seed-avatar__root--size_80 {
706
731
  --avatar-size: 80px;
732
+ --avatar-stroke-width: 1px;
707
733
  --badge-mask-size: 32px;
708
734
  --badge-mask-offset: 52px;
709
735
  }
@@ -715,6 +741,7 @@
715
741
 
716
742
  .seed-avatar__root--size_96 {
717
743
  --avatar-size: 96px;
744
+ --avatar-stroke-width: 1px;
718
745
  --badge-mask-size: 38px;
719
746
  --badge-mask-offset: 62px;
720
747
  }
@@ -761,8 +788,8 @@
761
788
  }
762
789
 
763
790
  .seed-avatar-stack__item--size_20 {
764
- clip-path: inset(-2px);
765
- box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
791
+ clip-path: inset(-1px);
792
+ box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default);
766
793
  }
767
794
 
768
795
  .seed-avatar-stack__item--size_24:not(:first-child) {
@@ -770,8 +797,8 @@
770
797
  }
771
798
 
772
799
  .seed-avatar-stack__item--size_24 {
773
- clip-path: inset(-2px);
774
- box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
800
+ clip-path: inset(-1px);
801
+ box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default);
775
802
  }
776
803
 
777
804
  .seed-avatar-stack__item--size_36:not(:first-child) {
@@ -779,28 +806,55 @@
779
806
  }
780
807
 
781
808
  .seed-avatar-stack__item--size_36 {
782
- clip-path: inset(-3px);
783
- box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
809
+ clip-path: inset(-2px);
810
+ box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
784
811
  }
785
812
 
786
- .seed-avatar-stack__item--size_48:not(:first-child) {
813
+ .seed-avatar-stack__item--size_42:not(:first-child) {
787
814
  margin-left: -10px;
788
815
  }
789
816
 
817
+ .seed-avatar-stack__item--size_42 {
818
+ clip-path: inset(-2px);
819
+ box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
820
+ }
821
+
822
+ .seed-avatar-stack__item--size_48:not(:first-child) {
823
+ margin-left: -12px;
824
+ }
825
+
790
826
  .seed-avatar-stack__item--size_48 {
791
- clip-path: inset(-4px);
792
- box-shadow: 0 0 0 4px var(--seed-color-bg-layer-default);
827
+ clip-path: inset(-2px);
828
+ box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
793
829
  }
794
830
 
795
831
  .seed-avatar-stack__item--size_64:not(:first-child) {
796
- margin-left: -10px;
832
+ margin-left: -16px;
797
833
  }
798
834
 
799
835
  .seed-avatar-stack__item--size_64 {
836
+ clip-path: inset(-3px);
837
+ box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
838
+ }
839
+
840
+ .seed-avatar-stack__item--size_80:not(:first-child) {
841
+ margin-left: -20px;
842
+ }
843
+
844
+ .seed-avatar-stack__item--size_80 {
800
845
  clip-path: inset(-4px);
801
846
  box-shadow: 0 0 0 4px var(--seed-color-bg-layer-default);
802
847
  }
803
848
 
849
+ .seed-avatar-stack__item--size_96:not(:first-child) {
850
+ margin-left: -24px;
851
+ }
852
+
853
+ .seed-avatar-stack__item--size_96 {
854
+ clip-path: inset(-5px);
855
+ box-shadow: 0 0 0 5px var(--seed-color-bg-layer-default);
856
+ }
857
+
804
858
  .seed-action-button {
805
859
  box-sizing: border-box;
806
860
  cursor: pointer;
@@ -3225,6 +3279,7 @@
3225
3279
  font-size: var(--seed-font-size-t4);
3226
3280
  line-height: var(--seed-line-height-t4);
3227
3281
  font-weight: var(--seed-font-weight-bold);
3282
+ flex-shrink: 0;
3228
3283
  margin-inline-end: 1ch;
3229
3284
  }
3230
3285