@stackoverflow/stacks 2.0.0-rc.2 → 2.0.0-rc.3

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.
@@ -56,17 +56,17 @@
56
56
  }
57
57
 
58
58
  &&__gold {
59
- --_ba-bc: var(--gold-400);
59
+ --_ba-bc: var(--gold-300);
60
60
  --_ba-bg: var(--gold-100);
61
61
  }
62
62
 
63
63
  &&__silver {
64
- --_ba-bc: var(--silver-400);
64
+ --_ba-bc: var(--silver-300);
65
65
  --_ba-bg: var(--silver-100);
66
66
  }
67
67
 
68
68
  &&__bronze {
69
- --_ba-bc: var(--bronze-400);
69
+ --_ba-bc: var(--bronze-300);
70
70
  --_ba-bg: var(--bronze-100);
71
71
  }
72
72
 
@@ -97,12 +97,12 @@
97
97
  }
98
98
 
99
99
  &&__rep {
100
- --_ba-bc: var(--green-400);
100
+ --_ba-bc: var(--green-300);
101
101
  --_ba-fc: var(--green-400);
102
102
  }
103
103
 
104
104
  &&__rep-down {
105
- --_ba-bc: var(--red-400);
105
+ --_ba-bc: var(--red-300);
106
106
  --_ba-fc: var(--red-400);
107
107
  }
108
108
 
@@ -162,7 +162,7 @@
162
162
 
163
163
  &&__staff {
164
164
  // Staff badges are always "Stack Overflow Orange"
165
- --_ba-bc: var(--orange-400);
165
+ --_ba-bc: var(--orange-300);
166
166
  --_ba-bg: var(--orange-200);
167
167
  --_ba-fc: var(--orange-600);
168
168
  }
@@ -176,7 +176,7 @@
176
176
  }
177
177
 
178
178
  &&__danger {
179
- --_ba-bc: var(--red-400);
179
+ --_ba-bc: var(--red-300);
180
180
  --_ba-bg: var(--red-200);
181
181
  --_ba-fc: var(--red-600);
182
182
 
@@ -186,19 +186,19 @@
186
186
  }
187
187
  }
188
188
  &&__info {
189
- --_ba-bc: var(--blue-400);
189
+ --_ba-bc: var(--blue-300);
190
190
  --_ba-bg: var(--blue-200);
191
191
  --_ba-fc: var(--blue-600);
192
192
  }
193
193
 
194
194
  &&__warning {
195
- --_ba-bc: var(--yellow-400);
195
+ --_ba-bc: var(--yellow-300);
196
196
  --_ba-bg: var(--yellow-200);
197
197
  --_ba-fc: var(--yellow-600);
198
198
  }
199
199
 
200
200
  &&__muted {
201
- --_ba-bc: var(--black-400);
201
+ --_ba-bc: var(--black-300);
202
202
  --_ba-bg: var(--black-200);
203
203
  --_ba-fc: var(--black-500);
204
204
 
@@ -3,7 +3,7 @@
3
3
  opacity: var(--_o-disabled-static);
4
4
  }
5
5
 
6
- color: var(--fc-medium);
6
+ color: var(--fc-light);
7
7
  font-size: var(--fs-caption);
8
8
  padding: 0 var(--su2); // Helps the label visually line up with inputs
9
9
  }
@@ -1,6 +1,6 @@
1
1
  .s-input,
2
2
  .s-textarea {
3
- --_in-bc: var(--bc-dark);
3
+ --_in-bc: var(--bc-darker);
4
4
  --_in-bc-focus: var(--theme-secondary-400);
5
5
  --_in-bg: var(--white);
6
6
  --_in-br: var(--br-md);
@@ -89,7 +89,7 @@
89
89
 
90
90
  font-size: var(--_la-fs);
91
91
 
92
- color: var(--fc-dark);
92
+ color: var(--fc-medium);
93
93
  font-family: inherit;
94
94
  font-weight: 600;
95
95
  padding: 0 var(--su2); // Helps the label visually line up with inputs
@@ -1,6 +1,6 @@
1
1
  .construct-notice-component(@baseClass) {
2
2
  --_no-bc: var(--black-225);
3
- --_no-bg: var(--black-150);
3
+ --_no-bg: var(--black-100);
4
4
  --_no-fc: var(--black-500);
5
5
  --_no-btn-bg-focus: var(--black-225);
6
6
  --_no-btn-bg-active: var(--black-250);
@@ -31,7 +31,7 @@
31
31
  & &--header {
32
32
  color: var(--fc-dark);
33
33
  font-size: var(--fs-headline1);
34
- font-weight: normal;
34
+ font-weight: bold;
35
35
  line-height: var(--lh-sm);
36
36
  margin: 0;
37
37
  margin-bottom: 0; // TODO: investigate why this exists. I assume it's so margin-bottom isn't overridden, but 🤷‍♂️
@@ -1,10 +1,10 @@
1
1
  .s-pagination {
2
2
  & &--item {
3
3
  --_pa-item-bg: transparent;
4
- --_pa-item-bc: var(--bc-medium);
4
+ --_pa-item-bc: var(--bc-darker);
5
5
  --_pa-item-fc: var(--fc-medium);
6
6
  --_pa-item-bg-hover: var(--black-225);
7
- --_pa-item-bc-hover: var(--bc-dark);
7
+ --_pa-item-bc-hover: var(--bc-darker);
8
8
  --_pa-item-fc-hover: var(--fc-dark);
9
9
 
10
10
  // CONTEXTUAL STYLES
@@ -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-500);
16
+ --_ps-has-answers-bc: var(--green-400);
17
17
  --_ps-has-answers-bg: unset;
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);
18
+ --_ps-has-answers-fc: var(--green-400);
19
+ --_ps-has-accepted-answers-bc: var(--green-400);
20
+ --_ps-has-accepted-answers-bg: var(--green-400);
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
 
@@ -135,7 +135,7 @@
135
135
  }
136
136
  }
137
137
 
138
- background: var(--black-350);
138
+ background: var(--black-250);
139
139
  border-radius: 0;
140
140
  height: var(--su-static6);
141
141
  position: absolute;
@@ -203,7 +203,7 @@
203
203
  });
204
204
 
205
205
  align-items: center;
206
- background: var(--black-350);
206
+ background: var(--black-250);
207
207
  border-radius: 100%;
208
208
  color: var(--_white-static);
209
209
  display: flex;
@@ -18,7 +18,7 @@
18
18
  --_pr-h6-fs: var(--fs-body1);
19
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-350);
21
+ --_pr-kbd-bc: var(--black-300);
22
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;
@@ -69,7 +69,7 @@
69
69
  &__expanding-control {
70
70
  &:before {
71
71
  border: calc(var(--su-static4) + var(--su-static1)) solid transparent;
72
- border-left-color: var(--bc-dark);
72
+ border-left-color: var(--black-400);
73
73
  border-right-width: 0;
74
74
  content: '';
75
75
  float: left;
@@ -99,41 +99,41 @@
99
99
 
100
100
  // moderator overrides other muted and required, required overrides muted
101
101
  &&__moderator {
102
- --_ta-bc: var(--red-300);
103
- --_ta-bg: var(--red-200);
104
- --_ta-fc: var(--red-600);
105
- --_ta-bc-hover: var(--red-400);
106
- --_ta-bg-hover: var(--red-300);
107
- --_ta-fc-hover: var(--red-600);
108
- --_ta-bc-selected: var(--red-400);
109
- --_ta-bg-selected: var(--red-300);
110
- --_ta-fc-selected: var(--red-600);
102
+ --_ta-bc: transparent;
103
+ --_ta-bg: var(--orange-100);
104
+ --_ta-fc: var(--orange-500);
105
+ --_ta-bc-hover: transparent;
106
+ --_ta-bg-hover: var(--orange-200);
107
+ --_ta-fc-hover: var(--orange-600);
108
+ --_ta-bc-selected: transparent;
109
+ --_ta-bg-selected: var(--orange-300);
110
+ --_ta-fc-selected: var(--orange-600); // Currently APCA Lc 49 😔
111
111
  }
112
112
 
113
113
  &&__muted:not(&__moderator):not(&__required) {
114
114
  --_ta-bc: transparent;
115
- --_ta-bg: var(--black-200);
116
- --_ta-fc: var(--black-500);
115
+ --_ta-bg: var(--black-150);
116
+ --_ta-fc: var(--black-400);
117
117
  --_ta-bc-hover: transparent;
118
- --_ta-bg-hover: var(--black-225);
119
- --_ta-fc-hover: var(--black-600);
118
+ --_ta-bg-hover: var(--black-200);
119
+ --_ta-fc-hover: var(--black-500);
120
120
  --_ta-bc-selected: transparent;
121
- --_ta-bg-selected: var(--black-300);
121
+ --_ta-bg-selected: var(--black-225);
122
122
  --_ta-fc-selected: var(--black-600);
123
123
 
124
124
  .highcontrast-mode({ --_ta-bc: currentColor; }); // Specificity has bit us, so we need this override
125
125
  }
126
126
 
127
127
  &&__required:not(&__moderator) {
128
- --_ta-bc: var(--bc-dark);
129
- --_ta-bg: var(--black-200);
130
- --_ta-fc: var(--black-500);
131
- --_ta-bc-hover: var(--black-350);
132
- --_ta-bg-hover: var(--black-225);
133
- --_ta-fc-hover: var(--black-600);
134
- --_ta-bc-selected: var(--black-400);
135
- --_ta-bg-selected: var(--black-300);
136
- --_ta-fc-selected: var(--black-600);
128
+ --_ta-bc: transparent;
129
+ --_ta-bg: var(--theme-secondary-500);
130
+ --_ta-fc: var(--white);
131
+ --_ta-bc-hover: transparent;
132
+ --_ta-bg-hover: var(--theme-secondary-400);
133
+ --_ta-fc-hover: var(--white);
134
+ --_ta-bc-selected: transparent;
135
+ --_ta-bg-selected: var(--theme-secondary-600);
136
+ --_ta-fc-selected: var(--white);
137
137
  }
138
138
  &__watched, // TODO: remove all single `&` watched styles once core no longer requires them
139
139
  &&__watched {
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  &&__highlighted {
24
- --_uc-bg: var(--theme-secondary-200);
24
+ --_uc-bg: var(--theme-secondary-100);
25
25
  --_uc-bar: var(--br-md);
26
26
  --_uc-time-fc: var(--black-500);
27
27
  --_uc-type-fc: var(--black-500);
@@ -38,7 +38,7 @@
38
38
  400: hsl(210, 8%, 42%);
39
39
  500: hsl(210, 8%, 25%);
40
40
  600: hsl(210, 8%, 5%);
41
- default: hsl(210, 8%, 5%);
41
+ default: hsl(0, 0%, 0%);
42
42
  }
43
43
  .set-black-dark() {
44
44
  050: hsl(210, 3%, 15%);
@@ -66,7 +66,7 @@
66
66
  400: hsl(212, 8%, 35%);
67
67
  500: hsl(210, 8%, 25%);
68
68
  600: hsl(210, 8%, 5%);
69
- default: hsl(210, 8%, 5%);
69
+ default: hsl(0, 0%, 0%);
70
70
  }
71
71
 
72
72
  .set-black-hc-dark() {
@@ -42,11 +42,11 @@
42
42
  --theme-button-outlined-selected-border-color: var(--theme-secondary-400); // TODO now same as unselected border-color above (above was 350)
43
43
 
44
44
  // Tags
45
- --theme-tag-color: var(--theme-secondary-600);
46
- --theme-tag-background-color: var(--theme-secondary-200);
45
+ --theme-tag-color: var(--theme-secondary-500);
46
+ --theme-tag-background-color: var(--theme-secondary-100);
47
47
  --theme-tag-border-color: transparent;
48
- --theme-tag-hover-color: var(--theme-secondary-600); // TODO was 900, now same as base tag color
49
- --theme-tag-hover-background-color: var(--theme-secondary-300);
48
+ --theme-tag-hover-color: var(--theme-secondary-600);
49
+ --theme-tag-hover-background-color: var(--theme-secondary-200);
50
50
  --theme-tag-hover-border-color: transparent;
51
51
 
52
52
  // Topbar
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "git",
6
6
  "url": "https://github.com/StackExchange/Stacks.git"
7
7
  },
8
- "version": "2.0.0-rc.2",
8
+ "version": "2.0.0-rc.3",
9
9
  "files": [
10
10
  "dist",
11
11
  "lib"