@stackoverflow/stacks 2.1.1 → 2.2.0

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.
@@ -669,10 +669,12 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
669
669
  --_ba-bg: var(--black-150);
670
670
  --_ba-fc: var(--black-500);
671
671
  --_ba-fs: var(--fs-caption);
672
+ --_ba-fw: normal;
672
673
  --_ba-g: 0.3em;
673
674
  --_ba-lh: 2;
674
675
  --_ba-px: var(--su6);
675
676
  --_ba-py: 0;
677
+ --_ba-tt: unset;
676
678
  --_ba-wmn: 0;
677
679
  align-self: var(--_ba-as);
678
680
  background-color: var(--_ba-bg);
@@ -680,13 +682,14 @@ body.theme-highcontrast .s-avatar .s-avatar--letter {
680
682
  color: var(--_ba-fc);
681
683
  font-size: var(--_ba-fs);
682
684
  gap: var(--_ba-g);
685
+ font-weight: var(--_ba-fw);
683
686
  line-height: var(--_ba-lh);
684
687
  min-width: var(--_ba-wmn);
685
688
  padding: var(--_ba-py) var(--_ba-px);
689
+ text-transform: var(--_ba-tt);
686
690
  align-items: center;
687
691
  border-radius: var(--br-sm);
688
692
  display: inline-flex;
689
- font-weight: normal;
690
693
  justify-content: center;
691
694
  text-decoration: none;
692
695
  vertical-align: middle;
@@ -703,6 +706,9 @@ body.theme-highcontrast .s-badge__moderator,
703
706
  body.theme-highcontrast .s-badge__staff {
704
707
  --_ba-bc: currentColor;
705
708
  }
709
+ body.theme-highcontrast .s-badge__new {
710
+ --_ba-fc: var(--purple-600);
711
+ }
706
712
  .s-badge.s-badge__xs,
707
713
  .s-badge.s-badge__sm {
708
714
  --_ba-as: flex-start;
@@ -844,6 +850,13 @@ body.theme-highcontrast .s-badge__staff {
844
850
  --_ba-bg: var(--black-500);
845
851
  --_ba-fc: var(--white);
846
852
  }
853
+ .s-badge.s-badge__new {
854
+ --_ba-bc: var(--_ba-bg);
855
+ --_ba-bg: var(--purple-100);
856
+ --_ba-fc: var(--purple-400);
857
+ --_ba-fw: bold;
858
+ --_ba-tt: uppercase;
859
+ }
847
860
  .s-badge--image,
848
861
  .s-badge .s-badge--image {
849
862
  align-self: center;
@@ -7633,12 +7646,12 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
7633
7646
  --yellow-400: hsl(43, 90%, 75%);
7634
7647
  --yellow-500: hsl(43, 90%, 82%);
7635
7648
  --yellow-600: hsl(43, 90%, 91%);
7636
- --purple-100: hsl(237, 43%, 37%);
7637
- --purple-200: hsl(237, 51%, 52%);
7638
- --purple-300: hsl(237, 63%, 62%);
7639
- --purple-400: hsl(237, 89%, 83%);
7640
- --purple-500: hsl(237, 89%, 89%);
7641
- --purple-600: hsl(237, 89%, 94%);
7649
+ --purple-100: hsl(237, 26%, 23%);
7650
+ --purple-200: hsl(237, 26%, 44%);
7651
+ --purple-300: hsl(237, 26%, 56%);
7652
+ --purple-400: hsl(237, 98%, 87%);
7653
+ --purple-500: hsl(237, 98%, 92%);
7654
+ --purple-600: hsl(237, 98%, 96%);
7642
7655
  --gold-100: hsl(45, 29%, 24%);
7643
7656
  --gold-200: hsl(45, 47%, 37%);
7644
7657
  --gold-300: hsl(45, 92%, 62%);
@@ -7765,12 +7778,12 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
7765
7778
  --yellow-400: hsl(43, 90%, 75%);
7766
7779
  --yellow-500: hsl(43, 90%, 82%);
7767
7780
  --yellow-600: hsl(43, 90%, 91%);
7768
- --purple-100: hsl(237, 43%, 37%);
7769
- --purple-200: hsl(237, 51%, 52%);
7770
- --purple-300: hsl(237, 63%, 62%);
7771
- --purple-400: hsl(237, 89%, 83%);
7772
- --purple-500: hsl(237, 89%, 89%);
7773
- --purple-600: hsl(237, 89%, 94%);
7781
+ --purple-100: hsl(237, 26%, 23%);
7782
+ --purple-200: hsl(237, 26%, 44%);
7783
+ --purple-300: hsl(237, 26%, 56%);
7784
+ --purple-400: hsl(237, 98%, 87%);
7785
+ --purple-500: hsl(237, 98%, 92%);
7786
+ --purple-600: hsl(237, 98%, 96%);
7774
7787
  --gold-100: hsl(45, 29%, 24%);
7775
7788
  --gold-200: hsl(45, 47%, 37%);
7776
7789
  --gold-300: hsl(45, 92%, 62%);
@@ -8011,12 +8024,12 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
8011
8024
  --yellow-400: hsl(43, 75%, 75%);
8012
8025
  --yellow-500: hsl(48, 74%, 91%);
8013
8026
  --yellow-600: hsl(44, 74%, 91%);
8014
- --purple-100: hsl(237, 24%, 23%);
8015
- --purple-200: hsl(237, 24%, 23%);
8016
- --purple-300: hsl(237, 60%, 82%);
8017
- --purple-400: hsl(237, 60%, 82%);
8018
- --purple-500: hsl(237, 62%, 96%);
8019
- --purple-600: hsl(237, 62%, 96%);
8027
+ --purple-100: hsl(237, 26%, 23%);
8028
+ --purple-200: hsl(237, 26%, 23%);
8029
+ --purple-300: hsl(237, 98%, 87%);
8030
+ --purple-400: hsl(237, 98%, 87%);
8031
+ --purple-500: hsl(237, 98%, 96%);
8032
+ --purple-600: hsl(237, 98%, 96%);
8020
8033
  --gold-100: hsl(45, 22%, 25%);
8021
8034
  --gold-200: hsl(45, 22%, 25%);
8022
8035
  --gold-300: hsl(45, 92%, 62%);
@@ -8125,12 +8138,12 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
8125
8138
  --yellow-400: hsl(43, 75%, 75%);
8126
8139
  --yellow-500: hsl(48, 74%, 91%);
8127
8140
  --yellow-600: hsl(44, 74%, 91%);
8128
- --purple-100: hsl(237, 24%, 23%);
8129
- --purple-200: hsl(237, 24%, 23%);
8130
- --purple-300: hsl(237, 60%, 82%);
8131
- --purple-400: hsl(237, 60%, 82%);
8132
- --purple-500: hsl(237, 62%, 96%);
8133
- --purple-600: hsl(237, 62%, 96%);
8141
+ --purple-100: hsl(237, 26%, 23%);
8142
+ --purple-200: hsl(237, 26%, 23%);
8143
+ --purple-300: hsl(237, 98%, 87%);
8144
+ --purple-400: hsl(237, 98%, 87%);
8145
+ --purple-500: hsl(237, 98%, 96%);
8146
+ --purple-600: hsl(237, 98%, 96%);
8134
8147
  --gold-100: hsl(45, 22%, 25%);
8135
8148
  --gold-200: hsl(45, 22%, 25%);
8136
8149
  --gold-300: hsl(45, 92%, 62%);
@@ -20284,6 +20297,32 @@ ol {
20284
20297
  background-position: top -10px center;
20285
20298
  background-image: url("data:image/svg+xml;,%3Csvg width='574' height='60' viewBox='0 0 574 60' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect opacity='0.8' x='27.1224' y='20.0458' width='5' height='13' transform='rotate(-139 27.1224 20.0458)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='118.478' y='7.00201' width='5' height='13' transform='rotate(-38.8114 118.478 7.00201)' fill='%23FBBA23'/%3E%3Crect opacity='0.8' x='504.616' y='25.4479' width='5' height='13' transform='rotate(-60.2734 504.616 25.4479)' fill='%23F23B14'/%3E%3Crect opacity='0.6' x='538.983' y='45.555' width='5' height='13' transform='rotate(16.7826 538.983 45.555)' fill='%232A2F6A'/%3E%3Crect opacity='0.3' x='470.322' y='2.63625' width='5' height='13' transform='rotate(11.295 470.322 2.63625)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='190.295' y='4.58138' width='5' height='13' transform='rotate(27.5954 190.295 4.58138)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='234.303' y='16.3233' width='5' height='13' transform='rotate(-41.8233 234.303 16.3233)' fill='%2365BB5C'/%3E%3Crect opacity='0.6' x='369.702' y='40.9875' width='5' height='13' transform='rotate(-56.419 369.702 40.9875)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='402.121' y='31.0848' width='5' height='13' transform='rotate(-17.9234 402.121 31.0848)' fill='%23F23B14'/%3E%3Crect opacity='0.6' x='200.316' y='31.9328' width='5' height='13' transform='rotate(-15.8896 200.316 31.9328)' fill='%232A2F6A'/%3E%3Crect opacity='0.6' x='69.6745' y='23.4725' width='6' height='10' transform='rotate(70.0266 69.6745 23.4725)' fill='%2365BB5C'/%3E%3Crect opacity='0.6' x='291.945' y='7.16931' width='6' height='10' transform='rotate(30.4258 291.945 7.16931)' fill='%23FBBA23'/%3E%3Crect opacity='0.3' x='33.7754' y='38.2208' width='6' height='10' transform='rotate(38.6056 33.7754 38.2208)' fill='%23FBBA23'/%3E%3Crect opacity='0.8' x='109.752' y='31.1743' width='6' height='10' transform='rotate(28.5296 109.752 31.1743)' fill='%2333AAFF'/%3E%3Crect opacity='0.3' x='278.081' y='37.8695' width='6' height='10' transform='rotate(-26.5651 278.081 37.8695)' fill='%23F23B14'/%3E%3Crect opacity='0.8' x='416.294' y='11.5573' width='6' height='10' transform='rotate(-22.8498 416.294 11.5573)' fill='%23FBBA23'/%3E%3Crect opacity='0.3' x='354.667' y='9.32341' width='6' height='10' transform='rotate(17.7506 354.667 9.32341)' fill='%232A2F6A'/%3E%3Crect opacity='0.8' x='532.404' y='16.6372' width='6' height='10' transform='rotate(-75.3432 532.404 16.6372)' fill='%23FBBA23'/%3E%3Crect opacity='0.6' x='460.463' y='39.3557' width='6' height='10' transform='rotate(45.4982 460.463 39.3557)' fill='%2365BB5C'/%3E%3C/svg%3E");
20286
20299
  }
20300
+ .focus,
20301
+ .f\:focus:focus,
20302
+ .f\:focus:focus-within {
20303
+ box-shadow: 0 0 0 var(--su-static2) var(--focus-neutral), 0 0 0 var(--su-static4) var(--focus-theme);
20304
+ outline: var(--su-static2) solid transparent !important;
20305
+ }
20306
+ .focus-inset,
20307
+ .f\:focus-inset:focus,
20308
+ .f\:focus-inset:focus-within {
20309
+ box-shadow: inset 0 0 0 var(--su-static2) var(--focus-theme), inset 0 0 0 var(--su-static4) var(--focus-neutral);
20310
+ outline: var(--su-static2) solid transparent !important;
20311
+ }
20312
+ .focus-bordered,
20313
+ .f\:focus-bordered:focus,
20314
+ .f\:focus-bordered:focus-within {
20315
+ border-color: var(--focus-neutral) !important;
20316
+ box-shadow: 0 0 0 var(--su-static1) var(--focus-neutral), 0 0 0 calc(var(--su-static4) - var(--su-static1)) var(--focus-theme);
20317
+ outline: var(--su-static2) solid transparent !important;
20318
+ }
20319
+ .focus-inset-bordered,
20320
+ .f\:focus-inset-bordered:focus,
20321
+ .f\:focus-inset-bordered:focus-within {
20322
+ border-color: var(--focus-theme) !important;
20323
+ box-shadow: inset 0 0 0 var(--su-static1) var(--focus-theme), inset 0 0 0 calc(var(--su-static4) - var(--su-static1)) var(--focus-neutral);
20324
+ outline: var(--su-static2) solid transparent !important;
20325
+ }
20287
20326
  .of-contain {
20288
20327
  object-fit: contain !important;
20289
20328
  }