@stackoverflow/stacks 2.0.0-rc.13 → 2.0.0-rc.15
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/dist/css/stacks.css +36 -31
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/tag/tag.less +7 -1
- package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +50 -50
- package/lib/exports/__snapshots__/color.less.test.ts.snap +30 -30
- package/lib/exports/color-mixins.less +15 -15
- package/lib/exports/mixins.less +0 -38
- package/package.json +4 -4
package/dist/css/stacks.css
CHANGED
|
@@ -5474,6 +5474,7 @@ body.theme-highcontrast .s-sidebarwidget.s-sidebarwidget__green {
|
|
|
5474
5474
|
}
|
|
5475
5475
|
body.theme-highcontrast .s-tag {
|
|
5476
5476
|
--_ta-bc: currentColor;
|
|
5477
|
+
--_ta-bg-selected: var(--theme-secondary-400);
|
|
5477
5478
|
text-decoration: none;
|
|
5478
5479
|
}
|
|
5479
5480
|
.s-tag.is-selected,
|
|
@@ -5490,7 +5491,8 @@ body.theme-highcontrast a.s-tag.is-selected,
|
|
|
5490
5491
|
body.theme-highcontrast a.s-tag.is-selected:active,
|
|
5491
5492
|
body.theme-highcontrast a.s-tag.is-selected:hover,
|
|
5492
5493
|
body.theme-highcontrast a.s-tag.is-selected:focus {
|
|
5493
|
-
|
|
5494
|
+
--_ta-bc-selected: transparent;
|
|
5495
|
+
--_ta-fc-selected: var(--white);
|
|
5494
5496
|
}
|
|
5495
5497
|
.s-tag.s-tag__xs {
|
|
5496
5498
|
--_ta-fs: var(--fs-fine);
|
|
@@ -5553,6 +5555,9 @@ body.theme-highcontrast a.s-tag.is-selected:focus {
|
|
|
5553
5555
|
--_ta-bg-selected: var(--orange-300);
|
|
5554
5556
|
--_ta-fc-selected: var(--orange-600);
|
|
5555
5557
|
}
|
|
5558
|
+
body.theme-highcontrast .s-tag.s-tag__moderator {
|
|
5559
|
+
--_ta-bg-selected: var(--orange-500);
|
|
5560
|
+
}
|
|
5556
5561
|
.s-tag.s-tag__muted:not(.s-tag__moderator):not(.s-tag__required) {
|
|
5557
5562
|
--_ta-bc: transparent;
|
|
5558
5563
|
--_ta-bg: var(--black-150);
|
|
@@ -7581,19 +7586,19 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
|
|
|
7581
7586
|
--theme-secondary-400: var(--theme-secondary-custom-400, var(--blue-400));
|
|
7582
7587
|
--theme-secondary-500: var(--theme-secondary-custom-500, var(--blue-500));
|
|
7583
7588
|
--theme-secondary-600: var(--theme-secondary-custom-600, var(--blue-600));
|
|
7584
|
-
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7585
|
-
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7586
|
-
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7589
|
+
--theme-primary-custom-100: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .9)));
|
|
7590
|
+
--theme-primary-custom-200: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .75)));
|
|
7591
|
+
--theme-primary-custom-300: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + ((100% - var(--theme-base-primary-color-l)) * .5)));
|
|
7587
7592
|
--theme-primary-custom-400: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), var(--theme-base-primary-color-l));
|
|
7588
|
-
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7589
|
-
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s),
|
|
7593
|
+
--theme-primary-custom-500: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.3)));
|
|
7594
|
+
--theme-primary-custom-600: hsl(var(--theme-base-primary-color-h), var(--theme-base-primary-color-s), calc(var(--theme-base-primary-color-l) + (var(--theme-base-primary-color-l) * -.6)));
|
|
7590
7595
|
--theme-primary-custom: var(--theme-primary-custom-400);
|
|
7591
|
-
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7592
|
-
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7593
|
-
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7596
|
+
--theme-secondary-custom-100: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .9)));
|
|
7597
|
+
--theme-secondary-custom-200: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .75)));
|
|
7598
|
+
--theme-secondary-custom-300: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + ((100% - var(--theme-base-secondary-color-l)) * .5)));
|
|
7594
7599
|
--theme-secondary-custom-400: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l));
|
|
7595
|
-
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7596
|
-
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s),
|
|
7600
|
+
--theme-secondary-custom-500: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.3)));
|
|
7601
|
+
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), calc(var(--theme-base-secondary-color-l) + (var(--theme-base-secondary-color-l) * -.6)));
|
|
7597
7602
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
7598
7603
|
--theme-secondary-custom-focus-ring: hsla(var(--theme-base-secondary-color-h), var(--theme-base-secondary-color-s), var(--theme-base-secondary-color-l), 0.15);
|
|
7599
7604
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -7707,19 +7712,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7707
7712
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
7708
7713
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
7709
7714
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
7710
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
7711
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
7712
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
7715
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
7716
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
7717
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
7713
7718
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
7714
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7715
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7719
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
7720
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
7716
7721
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
7717
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
7718
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
7719
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
7722
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
7723
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
7724
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
7720
7725
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
7721
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7722
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7726
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
7727
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
7723
7728
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7724
7729
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
7725
7730
|
color: var(--theme-body-font-color, var(--black-600));
|
|
@@ -7831,19 +7836,19 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7831
7836
|
--theme-secondary-400: var(--theme-dark-secondary-custom-400, var(--blue-400));
|
|
7832
7837
|
--theme-secondary-500: var(--theme-dark-secondary-custom-500, var(--blue-500));
|
|
7833
7838
|
--theme-secondary-600: var(--theme-dark-secondary-custom-600, var(--blue-600));
|
|
7834
|
-
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h),
|
|
7835
|
-
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h),
|
|
7836
|
-
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h),
|
|
7839
|
+
--theme-dark-primary-custom-100: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.6)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.7)));
|
|
7840
|
+
--theme-dark-primary-custom-200: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.4)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.5)));
|
|
7841
|
+
--theme-dark-primary-custom-300: hsl(var(--theme-dark-primary-color-h), calc(var(--theme-dark-primary-color-s) + (var(--theme-dark-primary-color-s) * -.3)), calc(var(--theme-dark-primary-color-l) + (var(--theme-dark-primary-color-l) * -.2)));
|
|
7837
7842
|
--theme-dark-primary-custom-400: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), var(--theme-dark-primary-color-l));
|
|
7838
|
-
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7839
|
-
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s),
|
|
7843
|
+
--theme-dark-primary-custom-500: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .5)));
|
|
7844
|
+
--theme-dark-primary-custom-600: hsl(var(--theme-dark-primary-color-h), var(--theme-dark-primary-color-s), calc(var(--theme-dark-primary-color-l) + ((100% - var(--theme-dark-primary-color-l)) * .8)));
|
|
7840
7845
|
--theme-dark-primary-custom: var(--theme-dark-primary-custom-400);
|
|
7841
|
-
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h),
|
|
7842
|
-
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h),
|
|
7843
|
-
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h),
|
|
7846
|
+
--theme-dark-secondary-custom-100: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.6)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.7)));
|
|
7847
|
+
--theme-dark-secondary-custom-200: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.4)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.5)));
|
|
7848
|
+
--theme-dark-secondary-custom-300: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + (var(--theme-dark-secondary-color-s) * -.3)), calc(var(--theme-dark-secondary-color-l) + (var(--theme-dark-secondary-color-l) * -.2)));
|
|
7844
7849
|
--theme-dark-secondary-custom-400: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l));
|
|
7845
|
-
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7846
|
-
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s),
|
|
7850
|
+
--theme-dark-secondary-custom-500: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .5)));
|
|
7851
|
+
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), calc(var(--theme-dark-secondary-color-l) + ((100% - var(--theme-dark-secondary-color-l)) * .8)));
|
|
7847
7852
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7848
7853
|
--theme-dark-secondary-custom-focus-ring: hsla(var(--theme-dark-secondary-color-h), var(--theme-dark-secondary-color-s), var(--theme-dark-secondary-color-l), 0.25);
|
|
7849
7854
|
color: var(--theme-body-font-color, var(--black-600));
|