@stackoverflow/stacks 1.10.3 → 2.0.0-rc.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.
Files changed (90) hide show
  1. package/README.md +15 -0
  2. package/dist/css/stacks.css +7428 -4429
  3. package/dist/css/stacks.min.css +1 -1
  4. package/dist/js/stacks.js +110 -265
  5. package/dist/js/stacks.min.js +1 -1
  6. package/lib/atomic/__snapshots__/color-new.less.test.ts.snap +3015 -0
  7. package/lib/atomic/__snapshots__/color.less.test.ts.snap +2886 -0
  8. package/lib/atomic/border.less +0 -258
  9. package/lib/atomic/color.less +26 -200
  10. package/lib/atomic/color.less.test.ts +12 -0
  11. package/lib/atomic/misc.less +7 -6
  12. package/lib/atomic/typography.less +0 -7
  13. package/lib/atomic/v1/__snapshots__/border.less.test.ts.snap +552 -0
  14. package/lib/atomic/v1/__snapshots__/color.less.test.ts.snap +6756 -0
  15. package/lib/atomic/v1/__snapshots__/typography.less.test.ts.snap +22 -0
  16. package/lib/atomic/v1/border.less +210 -0
  17. package/lib/atomic/v1/border.less.test.ts +14 -0
  18. package/lib/atomic/v1/color.less +183 -0
  19. package/lib/atomic/v1/color.less.test.ts +14 -0
  20. package/lib/atomic/v1/typography.less +8 -0
  21. package/lib/atomic/v1/typography.less.test.ts +14 -0
  22. package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +1 -10
  23. package/lib/components/activity-indicator/activity-indicator.less +4 -4
  24. package/lib/components/anchor/anchor.a11y.test.ts +0 -12
  25. package/lib/components/anchor/anchor.less +4 -4
  26. package/lib/components/anchor/anchor.visual.test.ts +1 -1
  27. package/lib/components/avatar/avatar.less +2 -2
  28. package/lib/components/award-bling/award-bling.less +3 -3
  29. package/lib/components/badge/badge.a11y.test.ts +2 -51
  30. package/lib/components/badge/badge.less +40 -40
  31. package/lib/components/banner/banner.a11y.test.ts +0 -14
  32. package/lib/components/block-link/block-link.a11y.test.ts +0 -14
  33. package/lib/components/block-link/block-link.less +8 -8
  34. package/lib/components/breadcrumbs/breadcrumbs.a11y.test.ts +0 -2
  35. package/lib/components/breadcrumbs/breadcrumbs.less +1 -1
  36. package/lib/components/button/button.a11y.test.ts +0 -134
  37. package/lib/components/button/button.less +40 -40
  38. package/lib/components/button/button.visual.test.ts +1 -1
  39. package/lib/components/card/card.a11y.test.ts +0 -6
  40. package/lib/components/check-control/check-control.a11y.test.ts +0 -13
  41. package/lib/components/check-control/check-control.visual.test.ts +1 -1
  42. package/lib/components/checkbox_radio/checkbox_radio.less +5 -5
  43. package/lib/components/checkbox_radio/checkbox_radio.visual.test.ts +1 -1
  44. package/lib/components/code-block/code-block.less +3 -3
  45. package/lib/components/description/description.a11y.test.ts +0 -5
  46. package/lib/components/description/description.visual.test.ts +1 -1
  47. package/lib/components/input-fill/input-fill.less +2 -2
  48. package/lib/components/input-icon/input-icon.less +2 -2
  49. package/lib/components/input-message/input-message.less +8 -8
  50. package/lib/components/input_textarea/input_textarea.less +6 -6
  51. package/lib/components/label/label.less +11 -11
  52. package/lib/components/link/link.a11y.test.ts +0 -21
  53. package/lib/components/link/link.less +8 -8
  54. package/lib/components/link-preview/link-preview.less +9 -9
  55. package/lib/components/menu/menu.less +3 -3
  56. package/lib/components/modal/modal.less +5 -4
  57. package/lib/components/navigation/navigation.less +11 -11
  58. package/lib/components/notice/notice.less +48 -48
  59. package/lib/components/pagination/pagination.less +3 -3
  60. package/lib/components/popover/popover.less +2 -2
  61. package/lib/components/popover/tooltip.test.ts +1 -1
  62. package/lib/components/post-summary/post-summary.less +40 -40
  63. package/lib/components/progress-bar/progress-bar.less +15 -15
  64. package/lib/components/prose/prose.less +15 -15
  65. package/lib/components/select/select.less +5 -5
  66. package/lib/components/sidebar-widget/sidebar-widget.less +12 -12
  67. package/lib/components/table/table.less +7 -7
  68. package/lib/components/tag/tag.less +25 -25
  69. package/lib/components/toggle-switch/toggle-switch.a11y.test.ts +0 -7
  70. package/lib/components/toggle-switch/toggle-switch.less +4 -4
  71. package/lib/components/topbar/topbar.less +34 -34
  72. package/lib/components/uploader/uploader.less +15 -15
  73. package/lib/components/user-card/user-card.less +7 -7
  74. package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +539 -0
  75. package/lib/exports/__snapshots__/color.less.test.ts.snap +762 -0
  76. package/lib/exports/color-mixins.less +280 -0
  77. package/lib/exports/color-mixins.less.test.ts +150 -0
  78. package/lib/exports/color-sets.less +620 -0
  79. package/lib/exports/color.less +57 -0
  80. package/lib/exports/color.less.test.ts +12 -0
  81. package/lib/exports/exports.less +2 -1
  82. package/lib/exports/mixins.less +17 -5
  83. package/lib/exports/theme.less +85 -0
  84. package/lib/exports/v1/__snapshots__/constants-colors.less.test.ts.snap +902 -0
  85. package/lib/exports/v1/constants-colors.less +893 -0
  86. package/lib/exports/v1/constants-colors.less.test.ts +12 -0
  87. package/lib/stacks-static.less +5 -0
  88. package/lib/test/less-test-utils.ts +28 -0
  89. package/package.json +13 -7
  90. package/lib/exports/constants-colors.less +0 -1100
@@ -1,9 +1,9 @@
1
1
  .construct-notice-component(@baseClass) {
2
2
  --_no-bc: var(--bc-medium);
3
- --_no-bg: var(--black-050);
3
+ --_no-bg: var(--black-150);
4
4
  --_no-fc: var(--fc-medium);
5
- --_no-btn-bg-focus: var(--black-100);
6
- --_no-btn-bg-active: var(--black-150);
5
+ --_no-btn-bg-focus: var(--black-225);
6
+ --_no-btn-bg-active: var(--black-250);
7
7
 
8
8
  // MODIFIERS
9
9
  &:not(&__important) {
@@ -22,10 +22,10 @@
22
22
 
23
23
  &__important {
24
24
  --_no-bc: var(--_no-bg);
25
- --_no-bg: var(--black-700);
25
+ --_no-bg: var(--black-500);
26
26
  --_no-fc: var(--white);
27
- --_no-btn-bg-focus: var(--black-800);
28
- --_no-btn-bg-active: var(--black-900);
27
+ --_no-btn-bg-focus: var(--black-600);
28
+ --_no-btn-bg-active: var(--black-600);
29
29
 
30
30
  .highcontrast-mode({
31
31
  --_no-bc: var(--_no-bg);
@@ -34,61 +34,61 @@
34
34
 
35
35
  // VARIANTS
36
36
  &__danger {
37
- --_no-bc: var(--red-200);
38
- --_no-bg: var(--red-050);
39
- --_no-btn-bg-active: var(--red-200);
40
- --_no-btn-bg-focus: var(--red-100);
37
+ --_no-bc: var(--red-300);
38
+ --_no-bg: var(--red-200);
39
+ --_no-btn-bg-active: var(--red-300);
40
+ --_no-btn-bg-focus: var(--red-300);
41
41
 
42
42
  &:not(.@{baseClass}__important) {
43
43
  .highcontrast-mode({
44
- --_no-bg: var(--red-200);
44
+ --_no-bg: var(--red-300);
45
45
  });
46
46
  }
47
47
 
48
48
  &.@{baseClass}__important {
49
49
  --_no-bc: var(--_no-bg);
50
- --_no-bg: var(--red-500);
51
- --_no-btn-bg-active: var(--red-700);
52
- --_no-btn-bg-focus: var(--red-600);
50
+ --_no-bg: var(--red-400);
51
+ --_no-btn-bg-active: var(--red-500);
52
+ --_no-btn-bg-focus: var(--red-500);
53
53
 
54
54
  .dark-mode({
55
55
  --_no-bg: var(--red-400);
56
- --_no-fc: var(--black-900);
56
+ --_no-fc: var(--black-600);
57
57
  });
58
58
 
59
59
  .highcontrast-dark-mode({
60
- --_no-bg: var(--red-500);
60
+ --_no-bg: var(--red-400);
61
61
  --_no-fc: var(--white);
62
62
  });
63
63
  }
64
64
  }
65
65
 
66
66
  &__info {
67
- --_no-bc: var(--theme-secondary-150);
68
- --_no-bg: var(--theme-secondary-050);
69
- --_no-btn-bg-focus: var(--theme-secondary-100);
70
- --_no-btn-bg-active: var(--theme-secondary-150);
71
- --_no-code-bg: var(--theme-secondary-150);
67
+ --_no-bc: var(--theme-secondary-300);
68
+ --_no-bg: var(--theme-secondary-200);
69
+ --_no-btn-bg-focus: var(--theme-secondary-300);
70
+ --_no-btn-bg-active: var(--theme-secondary-300);
71
+ --_no-code-bg: var(--theme-secondary-300);
72
72
 
73
73
  &:not(.@{baseClass}__important) {
74
74
  .highcontrast-mode({
75
- --_no-bg: var(--theme-secondary-100);
75
+ --_no-bg: var(--theme-secondary-300);
76
76
  });
77
77
 
78
78
  .highcontrast-dark-mode({
79
- --_no-bg: var(--theme-secondary-100);
79
+ --_no-bg: var(--theme-secondary-300);
80
80
  });
81
81
  }
82
82
 
83
83
  &.@{baseClass}__important {
84
84
  --_no-bc: var(--_no-bg);
85
85
  --_no-bg: var(--theme-secondary-400);
86
- --_no-btn-bg-active: var(--theme-secondary-600);
87
- --_no-btn-bg-focus: var(--theme-secondary-500);
86
+ --_no-btn-bg-active: var(--theme-secondary-500);
87
+ --_no-btn-bg-focus: var(--theme-secondary-400);
88
88
 
89
89
  .dark-mode({
90
- --_no-bg: var(--theme-secondary-300);
91
- --_no-fc: var(--black-900);
90
+ --_no-bg: var(--theme-secondary-400);
91
+ --_no-fc: var(--black-600);
92
92
  });
93
93
 
94
94
  .highcontrast-dark-mode({
@@ -99,63 +99,63 @@
99
99
  }
100
100
 
101
101
  &__success {
102
- --_no-bc: var(--green-200);
103
- --_no-bg: var(--green-050);
104
- --_no-btn-bg-active: var(--green-200);
105
- --_no-btn-bg-focus: var(--green-100);
102
+ --_no-bc: var(--green-300);
103
+ --_no-bg: var(--green-200);
104
+ --_no-btn-bg-active: var(--green-300);
105
+ --_no-btn-bg-focus: var(--green-300);
106
106
 
107
107
  &:not(.@{baseClass}__important) {
108
108
  .highcontrast-mode({
109
- --_no-bg: var(--green-200);
109
+ --_no-bg: var(--green-300);
110
110
  });
111
111
  }
112
112
 
113
113
  &.@{baseClass}__important {
114
114
  --_no-bc: var(--_no-bg);
115
115
  --_no-bg: var(--green-400);
116
- --_no-fc: var(--black-900);
117
- --_no-btn-bg-active: var(--green-600);
118
- --_no-btn-bg-focus: var(--green-500);
116
+ --_no-fc: var(--black-600);
117
+ --_no-btn-bg-active: var(--green-500);
118
+ --_no-btn-bg-focus: var(--green-400);
119
119
 
120
120
  .dark-mode({
121
- --_no-bg: var(--green-500);
121
+ --_no-bg: var(--green-400);
122
122
  --_no-fc: var(--white);
123
123
  });
124
124
 
125
125
  .highcontrast-mode({
126
- --_no-bg: var(--green-500);
126
+ --_no-bg: var(--green-400);
127
127
  --_no-fc: var(--white);
128
128
  });
129
129
  }
130
130
  }
131
131
 
132
132
  &__warning {
133
- --_no-bc: var(--yellow-300);
134
- --_no-bg: var(--yellow-050);
135
- --_no-btn-bg-active: var(--yellow-300);
136
- --_no-btn-bg-focus: var(--yellow-200);
137
- --_no-code-bg: var(--yellow-200);
133
+ --_no-bc: var(--yellow-400);
134
+ --_no-bg: var(--yellow-200);
135
+ --_no-btn-bg-active: var(--yellow-400);
136
+ --_no-btn-bg-focus: var(--yellow-300);
137
+ --_no-code-bg: var(--yellow-300);
138
138
 
139
139
  &:not(.@{baseClass}__important) {
140
140
  .highcontrast-mode({
141
- --_no-bg: var(--yellow-200);
141
+ --_no-bg: var(--yellow-300);
142
142
  });
143
143
  }
144
144
 
145
145
  &.@{baseClass}__important {
146
146
  --_no-bc: var(--_no-bg);
147
147
  --_no-bg: var(--yellow-400);
148
- --_no-fc: var(--black-900);
149
- --_no-btn-bg-active: var(--yellow-600);
150
- --_no-btn-bg-focus: var(--yellow-500);
148
+ --_no-fc: var(--black-600);
149
+ --_no-btn-bg-active: var(--yellow-500);
150
+ --_no-btn-bg-focus: var(--yellow-400);
151
151
 
152
152
  .dark-mode({
153
- --_no-bg: var(--yellow-600);
153
+ --_no-bg: var(--yellow-500);
154
154
  --_no-fc: var(--white);
155
155
  });
156
156
 
157
157
  .highcontrast-mode({
158
- --_no-bg: var(--yellow-700);
158
+ --_no-bg: var(--yellow-500);
159
159
  --_no-fc: var(--white);
160
160
  });
161
161
  }
@@ -3,8 +3,8 @@
3
3
  --_pa-item-bg: transparent;
4
4
  --_pa-item-bc: var(--bc-medium);
5
5
  --_pa-item-fc: var(--fc-medium);
6
- --_pa-item-bg-hover: var(--black-100);
7
- --_pa-item-bc-hover: var(--bc-darker);
6
+ --_pa-item-bg-hover: var(--black-225);
7
+ --_pa-item-bc-hover: var(--bc-dark);
8
8
  --_pa-item-fc-hover: var(--fc-dark);
9
9
 
10
10
  // CONTEXTUAL STYLES
@@ -12,7 +12,7 @@
12
12
 
13
13
  // MODIFIERS
14
14
  &.is-selected {
15
- --_pa-item-bg: var(--theme-primary-color);
15
+ --_pa-item-bg: var(--theme-primary);
16
16
  --_pa-item-bc: transparent;
17
17
  --_pa-item-fc: var(--white);
18
18
  }
@@ -20,10 +20,10 @@
20
20
 
21
21
  // CONTEXTUAL STYLES
22
22
  .dark-mode({
23
- --_po-bg: var(--black-075);
23
+ --_po-bg: var(--black-200);
24
24
  --_po-bc: var(--bc-light);
25
25
  --_po-bs: var(--bs-lg);
26
- --_po-arrow-fc: var(--black-075);
26
+ --_po-arrow-fc: var(--black-200);
27
27
  });
28
28
 
29
29
  // MODIFIERS
@@ -41,7 +41,7 @@ describe("tooltip", () => {
41
41
  <svg
42
42
  data-testid="svg"
43
43
  aria-hidden="true"
44
- class="bg-red-500"
44
+ class="bg-red-400"
45
45
  width="18"
46
46
  height="18"
47
47
  viewBox="0 0 18 18"
@@ -13,11 +13,11 @@
13
13
  --_ps-stats-fd: column;
14
14
  --_ps-stats-w: calc(var(--su96) + var(--su12));
15
15
  // Stats item modifiers
16
- --_ps-has-answers-bc: var(--green-700);
16
+ --_ps-has-answers-bc: var(--green-500);
17
17
  --_ps-has-answers-bg: unset;
18
- --_ps-has-answers-fc: var(--green-700);
19
- --_ps-has-accepted-answers-bc: var(--green-700);
20
- --_ps-has-accepted-answers-bg: var(--green-700);
18
+ --_ps-has-answers-fc: var(--green-500);
19
+ --_ps-has-accepted-answers-bc: var(--green-500);
20
+ --_ps-has-accepted-answers-bg: var(--green-500);
21
21
  --_ps-has-accepted-answers-fc: var(--white);
22
22
  --_ps-stats-item-emphasized-fc: var(--_ps-state-fc, var(--fc-dark));
23
23
 
@@ -50,15 +50,15 @@
50
50
  &&__deleted,
51
51
  &&__ignored {
52
52
  --_ps-o: 0.75;
53
- --_ps-has-answers-bc: var(--black-300);
53
+ --_ps-has-answers-bc: var(--black-350);
54
54
  --_ps-has-answers-bg: transparent;
55
55
  --_ps-has-answers-fc: var(--_ps-state-fc);
56
56
  --_ps-has-accepted-answers-bc: transparent;
57
- --_ps-has-accepted-answers-bg: var(--black-050);
57
+ --_ps-has-accepted-answers-bg: var(--black-150);
58
58
  --_ps-has-accepted-answers-fc: var(--_ps-state-fc);
59
- --_ps-meta-tags-tag-bg: var(--black-050);
59
+ --_ps-meta-tags-tag-bg: var(--black-150);
60
60
  --_ps-meta-tags-tag-fc: var(--_ps-state-fc);
61
- --_ps-state-fc: var(--black-500);
61
+ --_ps-state-fc: var(--black-400);
62
62
 
63
63
  .s-post-summary--meta-tags {
64
64
  a, // TODO: remove rule for `a` once Core replaces `.post-tag` with `.s-tag`
@@ -73,7 +73,7 @@
73
73
  });
74
74
 
75
75
  background-color: var(--_ps-meta-tags-tag-bg);
76
- color: var(--black-600);
76
+ color: var(--black-500);
77
77
  }
78
78
  }
79
79
  }
@@ -97,26 +97,26 @@
97
97
  }
98
98
 
99
99
  &&__deleted {
100
- --_ps-bg: var(--red-025);
101
- --_ps-has-accepted-answers-bg: var(--black-075);
102
- --_ps-has-accepted-answers-fc: var(--black-600);
103
- --_ps-meta-tags-tag-bg: var(--black-075);
100
+ --_ps-bg: var(--red-100);
101
+ --_ps-has-accepted-answers-bg: var(--black-200);
102
+ --_ps-has-accepted-answers-fc: var(--black-500);
103
+ --_ps-meta-tags-tag-bg: var(--black-200);
104
104
 
105
105
  .is-deleted,
106
106
  .s-badge__danger.s-badge__filled {
107
107
  .dark-mode({
108
- background-color: var(--red-800);
108
+ background-color: var(--red-600);
109
109
  color: var(--white);
110
110
  });
111
111
 
112
- background-color: var(--red-600);
112
+ background-color: var(--red-500);
113
113
  }
114
114
  }
115
115
 
116
116
  &&__watched {
117
117
  &:not(.s-post-summary__deleted):not(.s-post-summary__ignored) {
118
- --_ps-bg: var(--yellow-050);
119
- --_ps-stats-fc: var(--black-500);
118
+ --_ps-bg: var(--yellow-200);
119
+ --_ps-stats-fc: var(--black-400);
120
120
  --_ps-content-title-a-fc: var(--theme-post-title-color);
121
121
  --_ps-content-title-a-fc-hover: var(--theme-post-title-color-hover);
122
122
  --_ps-content-title-a-fc-visited: var(--theme-post-title-color-visited);
@@ -137,7 +137,7 @@
137
137
 
138
138
  .s-user-card--rep,
139
139
  .s-user-card--time {
140
- color: var(--black-600);
140
+ color: var(--black-500);
141
141
  }
142
142
  }
143
143
  }
@@ -156,10 +156,10 @@
156
156
 
157
157
  &:before {
158
158
  .highcontrast-mode({
159
- background: var(--black-600);
159
+ background: var(--black-500);
160
160
  });
161
161
 
162
- background: var(--black-150);
162
+ background: var(--black-250);
163
163
  border-radius: var(--su8);
164
164
  bottom: 0;
165
165
  content: "";
@@ -177,7 +177,7 @@
177
177
 
178
178
  &--answer-excerpt {
179
179
  .v-truncate4;
180
- color: var(--black-600);
180
+ color: var(--black-500);
181
181
  margin-bottom: var(--su8);
182
182
  }
183
183
 
@@ -374,56 +374,56 @@
374
374
  }
375
375
 
376
376
  &.has-bounty { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__bounty`
377
- background-color: var(--blue-600);
377
+ background-color: var(--blue-500);
378
378
  color: var(--white);
379
379
  }
380
380
 
381
381
  // Hotness
382
382
  &.is-warm {
383
- color: var(--_ps-state-fc, var(--yellow-900));
383
+ color: var(--_ps-state-fc, var(--yellow-600));
384
384
  }
385
385
 
386
386
  &.is-hot {
387
- color: var(--_ps-state-fc, var(--orange-800));
387
+ color: var(--_ps-state-fc, var(--orange-600));
388
388
  }
389
389
 
390
390
  &.is-supernova {
391
- color: var(--_ps-state-fc, var(--red-800));
391
+ color: var(--_ps-state-fc, var(--red-600));
392
392
  }
393
393
 
394
394
  // Status
395
395
  &.is-archived { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__muted s-badge__icon`
396
- background-color: var(--black-100);
397
- border-color: var(--black-600);
398
- color: var(--black-900);
396
+ background-color: var(--black-225);
397
+ border-color: var(--black-500);
398
+ color: var(--black-600);
399
399
  }
400
400
 
401
401
  &.is-closed { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__danger s-badge__icon`
402
- background-color: var(--red-100);
403
- border-color: var(--red-600);
404
- color: var(--red-900);
402
+ background-color: var(--red-300);
403
+ border-color: var(--red-500);
404
+ color: var(--red-600);
405
405
  }
406
406
 
407
407
  &.is-draft { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__info s-badge__icon`
408
- background-color: var(--blue-100);
409
- border-color: var(--blue-600);
410
- color: var(--blue-900);
408
+ background-color: var(--blue-300);
409
+ border-color: var(--blue-500);
410
+ color: var(--blue-600);
411
411
  }
412
412
 
413
413
  &.is-pinned { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__muted s-badge__filled s-badge__icon`
414
- background-color: var(--black-700);
414
+ background-color: var(--black-500);
415
415
  color: var(--white);
416
416
  }
417
417
 
418
418
  &.is-published {
419
- background-color: var(--black-050);
420
- color: var(--black-800);
419
+ background-color: var(--black-150);
420
+ color: var(--black-600);
421
421
  }
422
422
 
423
423
  &.is-review { // TODO DEPRECATED: Remove and replace with references with `s-badge s-badge__warning s-badge__icon`
424
- background-color: var(--yellow-100);
425
- border-color: var(--yellow-600);
426
- color: var(--yellow-900);
424
+ background-color: var(--yellow-300);
425
+ border-color: var(--yellow-500);
426
+ color: var(--yellow-600);
427
427
  }
428
428
 
429
429
  &__emphasized {
@@ -3,7 +3,7 @@
3
3
  @pr-circle-circumference: (2 * pi() * 14); // 2πr, r = 14.
4
4
  // COMPONENT-SPECIFIC CUSTOM PROPERTIES
5
5
  --_pr-bar: var(--br-sm);
6
- --_pr-bg: var(--black-200);
6
+ --_pr-bg: var(--black-300);
7
7
  --_pr-h: unset;
8
8
  --_pr-size: unset;
9
9
  --_pr-w: 100%;
@@ -20,26 +20,26 @@
20
20
 
21
21
  // MODIFIERS
22
22
  &&__brand {
23
- --_pr-bar-bg: var(--orange-500);
23
+ --_pr-bar-bg: var(--orange-400);
24
24
  }
25
25
 
26
26
  &&__bronze {
27
- --_pr-bar-bg: var(--bronze-lighter);
28
- --_pr-label-bc: var(--bronze-darker);
27
+ --_pr-bar-bg: var(--bronze-100);
28
+ --_pr-label-bc: var(--bronze-400);
29
29
  }
30
30
 
31
31
  &&__gold {
32
- --_pr-bar-bg: var(--gold-lighter);
33
- --_pr-label-bc: var(--gold-darker);
32
+ --_pr-bar-bg: var(--gold-100);
33
+ --_pr-label-bc: var(--gold-400);
34
34
  }
35
35
 
36
36
  &&__info {
37
- --_pr-bar-bg: var(--blue-500);
37
+ --_pr-bar-bg: var(--blue-400);
38
38
  }
39
39
 
40
40
  &&__silver {
41
- --_pr-bar-bg: var(--silver-lighter);
42
- --_pr-label-bc: var(--silver-darker);
41
+ --_pr-bar-bg: var(--silver-100);
42
+ --_pr-label-bc: var(--silver-400);
43
43
  }
44
44
 
45
45
  // VARIANTS
@@ -108,12 +108,12 @@
108
108
  }
109
109
 
110
110
  &&__privilege {
111
- --_pr-bar-bg: var(--green-050);
111
+ --_pr-bar-bg: var(--green-200);
112
112
  --_pr-label-ai: center;
113
113
  --_pr-label-bc: var(--green-400);
114
114
  --_pr-label-jc: center;
115
115
 
116
- .highcontrast-mode({ --_pr-bar-bg: var(--green-200); });
116
+ .highcontrast-mode({ --_pr-bar-bg: var(--green-300); });
117
117
  }
118
118
 
119
119
  // TODO move `.s-progress__stepped` to entirely separate component (or consider deprecating)
@@ -135,7 +135,7 @@
135
135
  }
136
136
  }
137
137
 
138
- background: var(--black-300);
138
+ background: var(--black-350);
139
139
  border-radius: 0;
140
140
  height: var(--su-static6);
141
141
  position: absolute;
@@ -146,7 +146,7 @@
146
146
  &--label { // Override a ton of properties
147
147
  border: 0;
148
148
  border-radius: 0;
149
- color: var(--black-500);
149
+ color: var(--black-400);
150
150
  display: block;
151
151
  font-size: var(--fs-body1);
152
152
  height: auto;
@@ -203,9 +203,9 @@
203
203
  });
204
204
 
205
205
  align-items: center;
206
- background: var(--black-300);
206
+ background: var(--black-350);
207
207
  border-radius: 100%;
208
- color: @white;
208
+ color: var(--_white-static);
209
209
  display: flex;
210
210
  height: var(--su-static24);
211
211
  justify-content: center;
@@ -8,7 +8,7 @@
8
8
  --_pr-lh: 1.5;
9
9
  --_pr-blockquote-ml: 1em;
10
10
  --_pr-blockquote-mt: 0;
11
- --_pr-blockquote-before-bg: var(--black-150);
11
+ --_pr-blockquote-before-bg: var(--black-250);
12
12
  --_pr-code-fs: var(--fs-body1);
13
13
  --_pr-h1-fs: var(--fs-headline1);
14
14
  --_pr-h2-fs: var(--fs-title);
@@ -16,10 +16,10 @@
16
16
  --_pr-h4-fs: var(--fs-body3);
17
17
  --_pr-h5-fs: var(--fs-body2);
18
18
  --_pr-h6-fs: var(--fs-body1);
19
- --_pr-hr-bg: var(--black-100); // used for both background-color and color properties
19
+ --_pr-hr-bg: var(--black-225); // used for both background-color and color properties
20
20
  --_pr-img-mb: @pr-spacing;
21
- --_pr-kbd-bc: var(--black-300);
22
- --_pr-kbd-bs: 0 var(--su-static1) var(--su-static1) hsla(210, 8%, 5%, 0.15), inset 0 1px 0 0 @white;
21
+ --_pr-kbd-bc: var(--black-350);
22
+ --_pr-kbd-bs: 0 var(--su-static1) var(--su-static1) hsla(210, 8%, 5%, 0.15), inset 0 1px 0 0 var(--_white-static);
23
23
  --_pr-spoiler-cursor: pointer;
24
24
  --_pr-spoiler-after-t: 1em;
25
25
  --_pr-soiler-after-o: unset;
@@ -32,13 +32,13 @@
32
32
  // CONDITIONAL STYLES
33
33
  .dark-mode({
34
34
  --_pr-kbd-bc: transparent;
35
- --_pr-kbd-btc: @black-500;
35
+ --_pr-kbd-btc: var(--black-400);
36
36
  --_pr-kbd-bs: 0 var(--su-static1) var(--su-static1) hsla(210, 8%, 5%, 0.8);
37
37
  });
38
38
 
39
39
  .highcontrast-mode({
40
- --_pr-blockquote-before-bg: var(--black-600);
41
- --_pr-hr-bg: var(--black-500);
40
+ --_pr-blockquote-before-bg: var(--black-500);
41
+ --_pr-hr-bg: var(--black-400);
42
42
  });
43
43
 
44
44
  #stacks-internals #screen-sm({
@@ -79,8 +79,8 @@
79
79
 
80
80
  > code {
81
81
  padding: var(--su2) var(--su4);
82
- color: var(--black-800);
83
- background-color: var(--black-075);
82
+ color: var(--black-600);
83
+ background-color: var(--black-200);
84
84
  border-radius: var(--br-sm);
85
85
  }
86
86
  }
@@ -265,7 +265,7 @@
265
265
  --_pr-blockquote-ml: 0; // We don't need the intial indentation on nested blockquotes
266
266
  }
267
267
 
268
- color: var(--black-600);
268
+ color: var(--black-500);
269
269
  margin: var(--_pr-blockquote-mt) 1em @pr-spacing var(--_pr-blockquote-ml);
270
270
  padding: 0.8em 0.8em 0.8em 1em;
271
271
  position: relative;
@@ -315,9 +315,9 @@
315
315
  border-top-color: var(--_pr-kbd-btc, var(--_pr-kbd-bc));
316
316
  box-shadow: var(--_pr-kbd-bs);
317
317
 
318
- background-color: var(--black-075);
318
+ background-color: var(--black-200);
319
319
  border-radius: var(--br-sm);
320
- color: var(--black-800);
320
+ color: var(--black-600);
321
321
  display: inline-block;
322
322
  font-family: var(--ff-sans);
323
323
  font-size: var(--fs-fine);
@@ -385,7 +385,7 @@
385
385
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' aria-hidden='true' fill='rgb(132, 141, 149)' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='M9 17A8 8 0 119 1a8 8 0 010 16zM8 4v6h2V4H8zm0 8v2h2v-2H8z'%3E%3C/path%3E%3C/svg%3E");
386
386
  background-position: center right;
387
387
  background-repeat: no-repeat;
388
- color: var(--black-500);
388
+ color: var(--black-400);
389
389
  content: attr(data-spoiler) " ";
390
390
  font-size: var(--fs-body1);
391
391
  padding-right: calc(var(--su24) - var(--su2));
@@ -409,9 +409,9 @@
409
409
 
410
410
  cursor: var(--_pr-spoiler-cursor);
411
411
 
412
- background: var(--black-050);
412
+ background: var(--black-150);
413
413
  border-radius: var(--br-md);
414
- color: var(--black-800);
414
+ color: var(--black-600);
415
415
  min-height: var(--su-static48); // TODO: Let's find a solution that doesn't have a magic number
416
416
  }
417
417
 
@@ -1,8 +1,8 @@
1
1
  .s-select {
2
2
  --_se-arrow-bc: currentColor transparent;
3
3
  --_se-arrow-size: var(--su-static4); // Constant
4
- --_se-select-bc: var(--bc-darker);
5
- --_se-select-bc-focus: var(--theme-secondary-300);
4
+ --_se-select-bc: var(--bc-dark);
5
+ --_se-select-bc-focus: var(--theme-secondary-400);
6
6
  --_se-select-bs-focus: 0 0 0 var(--su-static4) var(--focus-ring);
7
7
  --_se-select-bg: var(--white);
8
8
  --_se-select-br: var(--br-md);
@@ -26,7 +26,7 @@
26
26
  .validation-states(se-select);
27
27
 
28
28
  .is-disabled & {
29
- --_se-arrow-bc: var(--bc-darker) transparent;
29
+ --_se-arrow-bc: var(--bc-dark) transparent;
30
30
  }
31
31
 
32
32
  &&__sm {
@@ -90,8 +90,8 @@
90
90
  &[readonly],
91
91
  .is-readonly & { // [1]
92
92
  --_se-select-bc: var(--bc-light);
93
- --_se-select-bg: var(--black-050);
94
- --_se-select-fc: var(--black-200);
93
+ --_se-select-bg: var(--black-150);
94
+ --_se-select-fc: var(--black-300);
95
95
 
96
96
  .highcontrast-mode({
97
97
  --_se-select-fc: var(--fc-light);