@stackoverflow/stacks 2.4.0 → 2.5.1
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 +24 -65
- package/dist/css/stacks.min.css +1 -1
- package/lib/components/tag/tag.less +21 -68
- package/lib/exports/color-sets.less +4 -4
- package/package.json +10 -9
- package/lib/atomic/__snapshots__/color-new.less.test.ts.snap +0 -3015
- package/lib/atomic/__snapshots__/color.less.test.ts.snap +0 -3132
- package/lib/atomic/__snapshots__/misc.less.test.ts.snap +0 -893
- package/lib/atomic/__snapshots__/spacing.less.test.ts.snap +0 -1928
- package/lib/atomic/color.less.test.ts +0 -12
- package/lib/atomic/misc.less.test.ts +0 -12
- package/lib/atomic/spacing.less.test.ts +0 -12
- package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +0 -13
- package/lib/components/activity-indicator/activity-indicator.visual.test.ts +0 -22
- package/lib/components/anchor/anchor.a11y.test.ts +0 -35
- package/lib/components/anchor/anchor.visual.test.ts +0 -47
- package/lib/components/avatar/avatar.a11y.test.ts +0 -35
- package/lib/components/avatar/avatar.visual.test.ts +0 -50
- package/lib/components/award-bling/award-bling.a11y.test.ts +0 -15
- package/lib/components/award-bling/award-bling.visual.test.ts +0 -24
- package/lib/components/badge/badge.a11y.test.ts +0 -143
- package/lib/components/badge/badge.visual.test.ts +0 -165
- package/lib/components/banner/banner.a11y.test.ts +0 -36
- package/lib/components/banner/banner.test.ts +0 -73
- package/lib/components/banner/banner.visual.test.ts +0 -36
- package/lib/components/block-link/block-link.a11y.test.ts +0 -57
- package/lib/components/block-link/block-link.visual.test.ts +0 -57
- package/lib/components/breadcrumbs/breadcrumbs.a11y.test.ts +0 -36
- package/lib/components/breadcrumbs/breadcrumbs.visual.test.ts +0 -36
- package/lib/components/button/button.a11y.test.ts +0 -21
- package/lib/components/button/button.test.setup.ts +0 -36
- package/lib/components/button/button.visual.test.ts +0 -18
- package/lib/components/button-group/button-group.a11y.test.ts +0 -12
- package/lib/components/button-group/button-group.test.setup.ts +0 -77
- package/lib/components/button-group/button-group.visual.test.ts +0 -7
- package/lib/components/card/card.a11y.test.ts +0 -12
- package/lib/components/card/card.visual.test.ts +0 -52
- package/lib/components/check-control/check-control.a11y.test.ts +0 -33
- package/lib/components/check-control/check-control.visual.test.ts +0 -36
- package/lib/components/check-group/check-group.a11y.test.ts +0 -49
- package/lib/components/check-group/check-group.visual.test.ts +0 -56
- package/lib/components/checkbox_radio/checkbox_radio.a11y.test.ts +0 -37
- package/lib/components/checkbox_radio/checkbox_radio.visual.test.ts +0 -33
- package/lib/components/code-block/code-block.a11y.test.ts +0 -27
- package/lib/components/code-block/code-block.visual.test.ts +0 -18
- package/lib/components/description/description.a11y.test.ts +0 -28
- package/lib/components/description/description.visual.test.ts +0 -28
- package/lib/components/empty-state/empty-state.a11y.test.ts +0 -16
- package/lib/components/empty-state/empty-state.visual.test.ts +0 -16
- package/lib/components/expandable/expandable.a11y.test.ts +0 -26
- package/lib/components/expandable/expandable.test.ts +0 -51
- package/lib/components/expandable/expandable.visual.test.ts +0 -26
- package/lib/components/input-fill/input-fill.a11y.test.ts +0 -21
- package/lib/components/input-fill/input-fill.visual.test.ts +0 -21
- package/lib/components/input-icon/input-icon.a11y.test.ts +0 -81
- package/lib/components/input-icon/input-icon.visual.test.ts +0 -92
- package/lib/components/input-message/input-message.a11y.test.ts +0 -57
- package/lib/components/input-message/input-message.visual.test.ts +0 -58
- package/lib/components/input_textarea/input_textarea.a11y.test.ts +0 -109
- package/lib/components/input_textarea/input_textarea.visual.test.ts +0 -95
- package/lib/components/label/label.a11y.test.ts +0 -47
- package/lib/components/label/label.visual.test.ts +0 -65
- package/lib/components/link/link.a11y.test.ts +0 -27
- package/lib/components/link/link.visual.test.ts +0 -31
- package/lib/components/link-preview/link-preview.a11y.test.ts +0 -47
- package/lib/components/link-preview/link-preview.visual.test.ts +0 -52
- package/lib/components/menu/menu.a11y.test.ts +0 -39
- package/lib/components/menu/menu.visual.test.ts +0 -39
- package/lib/components/modal/modal.a11y.test.ts +0 -41
- package/lib/components/modal/modal.test.ts +0 -155
- package/lib/components/modal/modal.visual.test.ts +0 -41
- package/lib/components/navigation/navigation.a11y.test.ts +0 -81
- package/lib/components/navigation/navigation.visual.test.ts +0 -98
- package/lib/components/notice/notice.a11y.test.ts +0 -16
- package/lib/components/notice/notice.visual.test.ts +0 -25
- package/lib/components/page-title/page-title.a11y.test.ts +0 -28
- package/lib/components/page-title/page-title.visual.test.ts +0 -58
- package/lib/components/pagination/pagination.a11y.test.ts +0 -21
- package/lib/components/pagination/pagination.visual.test.ts +0 -25
- package/lib/components/popover/tooltip.test.ts +0 -62
- package/lib/components/post-summary/post-summary.a11y.test.ts +0 -25
- package/lib/components/post-summary/post-summary.test.setup.ts +0 -435
- package/lib/components/post-summary/post-summary.visual.test.ts +0 -17
- package/lib/components/progress-bar/progress-bar.a11y.test.ts +0 -189
- package/lib/components/progress-bar/progress-bar.visual.test.ts +0 -188
- package/lib/components/select/select.a11y.test.ts +0 -72
- package/lib/components/select/select.visual.test.ts +0 -72
- package/lib/components/spinner/spinner.a11y.test.ts +0 -14
- package/lib/components/spinner/spinner.visual.test.ts +0 -40
- package/lib/components/table/table.a11y.test.ts +0 -112
- package/lib/components/table/table.test.ts +0 -366
- package/lib/components/table/table.visual.test.ts +0 -104
- package/lib/components/tag/tag.a11y.test.ts +0 -28
- package/lib/components/tag/tag.visual.test.ts +0 -43
- package/lib/components/toast/toast.a11y.test.ts +0 -29
- package/lib/components/toast/toast.test.ts +0 -64
- package/lib/components/toast/toast.visual.test.ts +0 -30
- package/lib/components/toggle-switch/toggle-switch.a11y.test.ts +0 -66
- package/lib/components/toggle-switch/toggle-switch.visual.test.ts +0 -70
- package/lib/components/topbar/topbar.visual.test.ts +0 -217
- package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +0 -558
- package/lib/exports/__snapshots__/color.less.test.ts.snap +0 -819
- package/lib/exports/color-mixins.less.test.ts +0 -150
- package/lib/exports/color.less.test.ts +0 -12
package/dist/css/stacks.css
CHANGED
|
@@ -5514,14 +5514,11 @@ body.theme-highcontrast .s-sidebarwidget.s-sidebarwidget__green {
|
|
|
5514
5514
|
}
|
|
5515
5515
|
.s-tag {
|
|
5516
5516
|
--_ta-bc: var(--theme-tag-border-color, var(--_ta-bg));
|
|
5517
|
+
--_ta-bg: var(--theme-tag-background-color, var(--black-150));
|
|
5518
|
+
--_ta-fc: var(--theme-tag-color, var(--black-500));
|
|
5517
5519
|
--_ta-bc-hover: var(--theme-tag-hover-border-color, var(--_ta-bg-hover));
|
|
5518
|
-
--_ta-
|
|
5519
|
-
--_ta-
|
|
5520
|
-
--_ta-bg-hover: var(--theme-tag-hover-background-color, var(--theme-secondary-200));
|
|
5521
|
-
--_ta-bg-selected: var(--theme-tag-selected-background-color, var(--theme-secondary-300));
|
|
5522
|
-
--_ta-fc: var(--theme-tag-color, var(--theme-secondary-500));
|
|
5523
|
-
--_ta-fc-hover: var(--theme-tag-hover-color, var(--theme-secondary-600));
|
|
5524
|
-
--_ta-fc-selected: var(--theme-tag-selected-color, var(--theme-secondary-600));
|
|
5520
|
+
--_ta-bg-hover: var(--theme-tag-hover-background-color, var(--black-200));
|
|
5521
|
+
--_ta-fc-hover: var(--theme-tag-hover-color, var(--black-600));
|
|
5525
5522
|
--_ta-br: var(--br-sm);
|
|
5526
5523
|
--_ta-fs: var(--fs-caption);
|
|
5527
5524
|
--_ta-lh: 1.84615385;
|
|
@@ -5539,30 +5536,16 @@ body.theme-highcontrast .s-sidebarwidget.s-sidebarwidget__green {
|
|
|
5539
5536
|
padding-right: var(--_ta-pr);
|
|
5540
5537
|
align-items: center;
|
|
5541
5538
|
display: inline-flex;
|
|
5539
|
+
font-weight: 700;
|
|
5542
5540
|
justify-content: center;
|
|
5543
5541
|
min-width: 0;
|
|
5544
5542
|
text-decoration: none;
|
|
5545
5543
|
vertical-align: middle;
|
|
5546
5544
|
white-space: nowrap;
|
|
5547
5545
|
}
|
|
5548
|
-
body.theme-highcontrast .s-tag {
|
|
5549
|
-
--_ta-bc:
|
|
5550
|
-
--_ta-
|
|
5551
|
-
text-decoration: none;
|
|
5552
|
-
}
|
|
5553
|
-
.s-tag.is-selected,
|
|
5554
|
-
a.s-tag.is-selected,
|
|
5555
|
-
a.s-tag.is-selected:active,
|
|
5556
|
-
a.s-tag.is-selected:hover {
|
|
5557
|
-
background-color: var(--_ta-bg-selected);
|
|
5558
|
-
border-color: var(--_ta-bc-selected);
|
|
5559
|
-
color: var(--_ta-fc-selected);
|
|
5560
|
-
}
|
|
5561
|
-
body.theme-highcontrast .s-tag.is-selected,
|
|
5562
|
-
body.theme-highcontrast a.s-tag.is-selected,
|
|
5563
|
-
body.theme-highcontrast a.s-tag.is-selected:active,
|
|
5564
|
-
body.theme-highcontrast a.s-tag.is-selected:hover {
|
|
5565
|
-
--_ta-fc-selected: var(--white);
|
|
5546
|
+
body.theme-highcontrast .s-tag:not(body.theme-highcontrast .s-tag__moderator):not(body.theme-highcontrast .s-tag__required) {
|
|
5547
|
+
--_ta-bc: var(--theme-tag-border-color, var(--black-300));
|
|
5548
|
+
--_ta-bc-hover: var(--theme-tag-hover-border-color, var(--black-300));
|
|
5566
5549
|
}
|
|
5567
5550
|
.s-tag.s-tag__xs {
|
|
5568
5551
|
--_ta-fs: var(--fs-fine);
|
|
@@ -5617,38 +5600,18 @@ body.theme-highcontrast a.s-tag.is-selected:hover {
|
|
|
5617
5600
|
.s-tag.s-tag__moderator {
|
|
5618
5601
|
--_ta-bc: var(--orange-300);
|
|
5619
5602
|
--_ta-bg: var(--orange-100);
|
|
5620
|
-
--_ta-fc: var(--orange-
|
|
5603
|
+
--_ta-fc: var(--orange-500);
|
|
5621
5604
|
--_ta-bc-hover: var(--orange-300);
|
|
5622
5605
|
--_ta-bg-hover: var(--orange-200);
|
|
5623
5606
|
--_ta-fc-hover: var(--orange-600);
|
|
5624
|
-
--_ta-bc-selected: var(--orange-400);
|
|
5625
|
-
--_ta-bg-selected: var(--orange-300);
|
|
5626
|
-
--_ta-fc-selected: var(--orange-600);
|
|
5627
|
-
}
|
|
5628
|
-
body.theme-highcontrast .s-tag.s-tag__moderator {
|
|
5629
|
-
--_ta-bg-selected: var(--orange-500);
|
|
5630
|
-
}
|
|
5631
|
-
.s-tag.s-tag__muted:not(.s-tag__moderator):not(.s-tag__required) {
|
|
5632
|
-
--_ta-bg: var(--black-150);
|
|
5633
|
-
--_ta-fc: var(--black-400);
|
|
5634
|
-
--_ta-bg-hover: var(--black-200);
|
|
5635
|
-
--_ta-fc-hover: var(--black-500);
|
|
5636
|
-
--_ta-bg-selected: var(--black-225);
|
|
5637
|
-
--_ta-fc-selected: var(--black-600);
|
|
5638
|
-
}
|
|
5639
|
-
body.theme-highcontrast .s-tag.s-tag__muted:not(.s-tag__moderator):not(.s-tag__required) {
|
|
5640
|
-
--_ta-bc: currentColor;
|
|
5641
5607
|
}
|
|
5642
5608
|
.s-tag.s-tag__required:not(.s-tag__moderator) {
|
|
5643
|
-
--_ta-bc: var(--theme-tag-required-border-color, var(--
|
|
5644
|
-
--_ta-
|
|
5645
|
-
--_ta-
|
|
5646
|
-
--_ta-
|
|
5647
|
-
--_ta-bg-hover: var(--theme-tag-required-hover-background-color, var(--theme-
|
|
5648
|
-
--_ta-
|
|
5649
|
-
--_ta-fc: var(--theme-tag-required-color, var(--white));
|
|
5650
|
-
--_ta-fc-hover: var(--theme-tag-required-hover-color, var(--white));
|
|
5651
|
-
--_ta-fc-selected: var(--theme-tag-required-selected-color, var(--white));
|
|
5609
|
+
--_ta-bc: var(--theme-tag-required-border-color, var(--theme-tag-border-color, var(--black-400)));
|
|
5610
|
+
--_ta-bg: var(--theme-tag-required-background-color, var(--theme-tag-background-color, var(--black-150)));
|
|
5611
|
+
--_ta-fc: var(--theme-tag-required-color, var(--theme-tag-color, var(--black-500)));
|
|
5612
|
+
--_ta-bc-hover: var(--theme-tag-required-hover-border-color, var(--theme-tag-hover-border-color, var(--black-600)));
|
|
5613
|
+
--_ta-bg-hover: var(--theme-tag-required-hover-background-color, var(--theme-tag-hover-background-color, var(--black-200)));
|
|
5614
|
+
--_ta-fc-hover: var(--theme-tag-required-hover-color, var(--theme-tag-hover-color, var(--black-600)));
|
|
5652
5615
|
}
|
|
5653
5616
|
.s-tag__watched,
|
|
5654
5617
|
.s-tag.s-tag__watched {
|
|
@@ -5696,16 +5659,12 @@ body.theme-highcontrast .s-tag button.s-tag--dismiss:not(.s-btn):hover {
|
|
|
5696
5659
|
width: 100%;
|
|
5697
5660
|
height: 100%;
|
|
5698
5661
|
}
|
|
5699
|
-
a.s-tag:
|
|
5700
|
-
a.s-tag:
|
|
5662
|
+
a.s-tag:hover,
|
|
5663
|
+
a.s-tag:active {
|
|
5701
5664
|
background-color: var(--_ta-bg-hover);
|
|
5702
5665
|
border-color: var(--_ta-bc-hover);
|
|
5703
5666
|
color: var(--_ta-fc-hover);
|
|
5704
5667
|
}
|
|
5705
|
-
body.theme-highcontrast a.s-tag:not(.is-selected):hover,
|
|
5706
|
-
body.theme-highcontrast a.s-tag:not(.is-selected):active {
|
|
5707
|
-
border-color: currentColor;
|
|
5708
|
-
}
|
|
5709
5668
|
.s-tag:focus-visible {
|
|
5710
5669
|
border-color: var(--focus-neutral) !important;
|
|
5711
5670
|
box-shadow: 0 0 0 var(--su-static1) var(--focus-neutral), 0 0 0 calc(var(--su-static4) - var(--su-static1)) var(--focus-theme);
|
|
@@ -6974,10 +6933,10 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
6974
6933
|
--highlight-comment: hsl(0, 0%, 60%);
|
|
6975
6934
|
--highlight-deletion: var(--red-500);
|
|
6976
6935
|
--highlight-keyword: var(--blue-400);
|
|
6977
|
-
--highlight-literal: hsl(27,
|
|
6978
|
-
--highlight-namespace: hsl(27,
|
|
6936
|
+
--highlight-literal: hsl(27, 95%, 65%);
|
|
6937
|
+
--highlight-namespace: hsl(27, 95%, 65%);
|
|
6979
6938
|
--highlight-punctuation: hsl(0, 0%, 80%);
|
|
6980
|
-
--highlight-symbol: hsl(306,
|
|
6939
|
+
--highlight-symbol: hsl(306, 50%, 75%);
|
|
6981
6940
|
--highlight-variable: hsl(65.5, 39%, 57.5%);
|
|
6982
6941
|
--scrollbar: hsla(0, 0%, 100%, 0.2);
|
|
6983
6942
|
--theme-primary: var(--theme-dark-primary-custom, var(--orange-400));
|
|
@@ -7106,10 +7065,10 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
|
|
|
7106
7065
|
--highlight-comment: hsl(0, 0%, 60%);
|
|
7107
7066
|
--highlight-deletion: var(--red-500);
|
|
7108
7067
|
--highlight-keyword: var(--blue-400);
|
|
7109
|
-
--highlight-literal: hsl(27,
|
|
7110
|
-
--highlight-namespace: hsl(27,
|
|
7068
|
+
--highlight-literal: hsl(27, 95%, 65%);
|
|
7069
|
+
--highlight-namespace: hsl(27, 95%, 65%);
|
|
7111
7070
|
--highlight-punctuation: hsl(0, 0%, 80%);
|
|
7112
|
-
--highlight-symbol: hsl(306,
|
|
7071
|
+
--highlight-symbol: hsl(306, 50%, 75%);
|
|
7113
7072
|
--highlight-variable: hsl(65.5, 39%, 57.5%);
|
|
7114
7073
|
--scrollbar: hsla(0, 0%, 100%, 0.2);
|
|
7115
7074
|
--theme-primary: var(--theme-dark-primary-custom, var(--orange-400));
|
|
@@ -7242,7 +7201,7 @@ body.theme-highcontrast.theme-system .theme-light__forced {
|
|
|
7242
7201
|
--highlight-namespace: hsl(16, 94%, 31%);
|
|
7243
7202
|
--highlight-punctuation: var(--black-500);
|
|
7244
7203
|
--highlight-symbol: hsl(309, 45%, 31%);
|
|
7245
|
-
--highlight-variable: hsl(88, 100%,
|
|
7204
|
+
--highlight-variable: hsl(88, 100%, 18%);
|
|
7246
7205
|
--scrollbar: var(--black);
|
|
7247
7206
|
--theme-primary: var(--orange-400);
|
|
7248
7207
|
--theme-primary-100: var(--orange-100);
|