@stackoverflow/stacks 2.0.0-rc.6 → 2.0.0-rc.8
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 +7 -25
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/button/button.less +2 -2
- package/lib/components/tag/tag.less +2 -2
- package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +1 -0
- package/lib/exports/__snapshots__/color.less.test.ts.snap +3 -23
- package/lib/exports/color-mixins.less +1 -0
- package/lib/exports/color.less +1 -18
- package/package.json +1 -1
package/dist/css/stacks.css
CHANGED
|
@@ -1203,9 +1203,9 @@ body.theme-highcontrast .s-breadcrumbs .s-breadcrumbs--divider {
|
|
|
1203
1203
|
--_bu-filled-fc-active: var(--theme-button-primary-hover-color, var(--white));
|
|
1204
1204
|
--_bu-filled-fc-hover: var(--theme-button-primary-hover-color, var(--white));
|
|
1205
1205
|
--_bu-filled-fc-selected: var(--theme-button-primary-selected-color, var(--white));
|
|
1206
|
-
--_bu-outlined-bc: var(--theme-button-outlined-border-color, var(
|
|
1206
|
+
--_bu-outlined-bc: var(--theme-button-outlined-border-color, var(--theme-secondary-400));
|
|
1207
1207
|
--_bu-outlined-bg: var(--theme-button-outlined-background-color);
|
|
1208
|
-
--_bu-outlined-bc-selected: var(--theme-button-outlined-selected-border-color, var(
|
|
1208
|
+
--_bu-outlined-bc-selected: var(--theme-button-outlined-selected-border-color, var(--theme-secondary-400));
|
|
1209
1209
|
--_bu-outlined-bg-selected: var(--theme-button-selected-background-color, var(--theme-secondary-300));
|
|
1210
1210
|
--_bu-outlined-fc-selected: var(--theme-button-selected-color, var(--theme-secondary-600));
|
|
1211
1211
|
--_bu-badge-o: 0.5;
|
|
@@ -5431,11 +5431,11 @@ body.theme-highcontrast .s-sidebarwidget.s-sidebarwidget__green {
|
|
|
5431
5431
|
--_ta-bc: var(--theme-tag-border-color, transparent);
|
|
5432
5432
|
--_ta-bc-hover: var(--theme-tag-hover-border-color, transparent);
|
|
5433
5433
|
--_ta-bc-selected: transparent;
|
|
5434
|
-
--_ta-bg: var(--theme-tag-background-color, var(
|
|
5434
|
+
--_ta-bg: var(--theme-tag-background-color, var(--theme-secondary-100));
|
|
5435
5435
|
--_ta-bg-hover: var(--theme-tag-hover-background-color, var(--theme-secondary-200));
|
|
5436
5436
|
--_ta-bg-selected: var(--theme-secondary-300);
|
|
5437
5437
|
--_ta-br: var(--br-sm);
|
|
5438
|
-
--_ta-fc: var(--theme-tag-color, var(
|
|
5438
|
+
--_ta-fc: var(--theme-tag-color, var(--theme-secondary-500));
|
|
5439
5439
|
--_ta-fc-hover: var(--theme-tag-hover-color, var(--theme-secondary-600));
|
|
5440
5440
|
--_ta-fc-selected: var(--theme-secondary-600);
|
|
5441
5441
|
--_ta-fs: var(--fs-caption);
|
|
@@ -7382,27 +7382,6 @@ body {
|
|
|
7382
7382
|
--_o-disabled-static: 0.5;
|
|
7383
7383
|
--_black-static: hsl(0, 0%, 0%);
|
|
7384
7384
|
--_white-static: hsl(0, 0%, 100%);
|
|
7385
|
-
}
|
|
7386
|
-
body,
|
|
7387
|
-
body.themed,
|
|
7388
|
-
body .themed {
|
|
7389
|
-
color: var(--theme-body-font-color, var(--black-600));
|
|
7390
|
-
}
|
|
7391
|
-
body:not(.theme-dark),
|
|
7392
|
-
body.theme-dark .theme-light__forced,
|
|
7393
|
-
body.theme-system .theme-light__forced,
|
|
7394
|
-
body.theme-dark,
|
|
7395
|
-
body:not(.theme-dark) .theme-dark__forced,
|
|
7396
|
-
body:not(.theme-dark).themed,
|
|
7397
|
-
body.theme-dark .theme-light__forced.themed,
|
|
7398
|
-
body.theme-system .theme-light__forced.themed,
|
|
7399
|
-
body.theme-dark.themed,
|
|
7400
|
-
body:not(.theme-dark) .theme-dark__forced.themed,
|
|
7401
|
-
body:not(.theme-dark) .themed,
|
|
7402
|
-
body.theme-dark .theme-light__forced .themed,
|
|
7403
|
-
body.theme-system .theme-light__forced .themed,
|
|
7404
|
-
body.theme-dark .themed,
|
|
7405
|
-
body:not(.theme-dark) .theme-dark__forced .themed {
|
|
7406
7385
|
--bg-error: var(--red-400);
|
|
7407
7386
|
--bg-danger: var(--red-400);
|
|
7408
7387
|
--bg-success: var(--green-400);
|
|
@@ -7546,6 +7525,7 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
|
|
|
7546
7525
|
--theme-secondary-custom-600: hsl(var(--theme-base-secondary-color-h), calc(var(--theme-base-secondary-color-s) + 0 * 1%), clamp(5%, calc(var(--theme-base-secondary-color-l) + -26 * 1%), 40%));
|
|
7547
7526
|
--theme-secondary-custom: var(--theme-secondary-custom-400);
|
|
7548
7527
|
--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);
|
|
7528
|
+
color: var(--theme-body-font-color, var(--black-600));
|
|
7549
7529
|
}
|
|
7550
7530
|
body:not(.theme-highcontrast).theme-dark,
|
|
7551
7531
|
body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced,
|
|
@@ -7671,6 +7651,7 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7671
7651
|
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + 0 * 1%), clamp(85%, calc(var(--theme-dark-secondary-color-l) + 20 * 1%), 95%));
|
|
7672
7652
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7673
7653
|
--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);
|
|
7654
|
+
color: var(--theme-body-font-color, var(--black-600));
|
|
7674
7655
|
}
|
|
7675
7656
|
@media (prefers-color-scheme: dark) {
|
|
7676
7657
|
body:not(.theme-highcontrast).theme-system,
|
|
@@ -7794,6 +7775,7 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7794
7775
|
--theme-dark-secondary-custom-600: hsl(var(--theme-dark-secondary-color-h), calc(var(--theme-dark-secondary-color-s) + 0 * 1%), clamp(85%, calc(var(--theme-dark-secondary-color-l) + 20 * 1%), 95%));
|
|
7795
7776
|
--theme-dark-secondary-custom: var(--theme-dark-secondary-custom-400);
|
|
7796
7777
|
--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);
|
|
7778
|
+
color: var(--theme-body-font-color, var(--black-600));
|
|
7797
7779
|
}
|
|
7798
7780
|
}
|
|
7799
7781
|
body.theme-highcontrast:not(.theme-dark),
|