@stackoverflow/stacks 2.0.0-rc.4 → 2.0.0-rc.6

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 (34) hide show
  1. package/dist/components/code-block/code-block.fixtures.d.ts +2 -0
  2. package/dist/css/stacks.css +136 -182
  3. package/dist/css/stacks.min.css +1 -1
  4. package/lib/atomic/__snapshots__/color.less.test.ts.snap +246 -0
  5. package/lib/base/body.less +2 -2
  6. package/lib/components/anchor/anchor.less +3 -3
  7. package/lib/components/anchor/anchor.visual.test.ts +1 -1
  8. package/lib/components/avatar/avatar.visual.test.ts +1 -1
  9. package/lib/components/banner/banner.less +2 -2
  10. package/lib/components/button/button.a11y.test.ts +1 -1
  11. package/lib/components/button/button.less +31 -31
  12. package/lib/components/button/button.visual.test.ts +1 -1
  13. package/lib/components/code-block/code-block.a11y.test.ts +30 -0
  14. package/lib/components/code-block/code-block.fixtures.ts +88 -0
  15. package/lib/components/code-block/code-block.visual.test.ts +20 -0
  16. package/lib/components/link/link.less +6 -6
  17. package/lib/components/link-preview/link-preview.less +3 -3
  18. package/lib/components/navigation/navigation.a11y.test.ts +80 -0
  19. package/lib/components/navigation/navigation.visual.test.ts +101 -0
  20. package/lib/components/notice/notice.a11y.test.ts +1 -1
  21. package/lib/components/pagination/pagination.a11y.test.ts +1 -1
  22. package/lib/components/post-summary/post-summary.less +8 -8
  23. package/lib/components/prose/prose.less +1 -1
  24. package/lib/components/tag/tag.less +6 -6
  25. package/lib/components/toast/toast.a11y.test.ts +1 -1
  26. package/lib/components/topbar/topbar.less +44 -44
  27. package/lib/exports/__snapshots__/color-mixins.less.test.ts.snap +16 -10
  28. package/lib/exports/__snapshots__/color.less.test.ts.snap +179 -186
  29. package/lib/exports/color-mixins.less +0 -1
  30. package/lib/exports/color.less +12 -3
  31. package/lib/exports/v1/__snapshots__/constants-colors.less.test.ts.snap +3 -3
  32. package/lib/exports/v1/constants-colors.less +2 -2
  33. package/package.json +3 -3
  34. package/lib/exports/theme.less +0 -85
@@ -4,8 +4,31 @@ exports[`colors > should output all the css generated by the v2 colors/theming g
4
4
  "body {
5
5
  --_o-disabled: 0.5;
6
6
  --_o-disabled-static: 0.5;
7
- --_black-static: hsl(0, 8%, 5%);
7
+ --_black-static: hsl(0, 0%, 0%);
8
8
  --_white-static: hsl(0, 0%, 100%);
9
+ }
10
+
11
+ body,
12
+ body.themed,
13
+ body .themed {
14
+ color: var(--theme-body-font-color, var(--black-600));
15
+ }
16
+
17
+ body:not(.theme-dark),
18
+ body.theme-dark .theme-light__forced,
19
+ body.theme-system .theme-light__forced,
20
+ body.theme-dark,
21
+ body:not(.theme-dark) .theme-dark__forced,
22
+ body:not(.theme-dark).themed,
23
+ body.theme-dark .theme-light__forced.themed,
24
+ body.theme-system .theme-light__forced.themed,
25
+ body.theme-dark.themed,
26
+ body:not(.theme-dark) .theme-dark__forced.themed,
27
+ body:not(.theme-dark) .themed,
28
+ body.theme-dark .theme-light__forced .themed,
29
+ body.theme-system .theme-light__forced .themed,
30
+ body.theme-dark .themed,
31
+ body:not(.theme-dark) .theme-dark__forced .themed {
9
32
  --bg-error: var(--red-400);
10
33
  --bg-danger: var(--red-400);
11
34
  --bg-success: var(--green-400);
@@ -21,72 +44,6 @@ exports[`colors > should output all the css generated by the v2 colors/theming g
21
44
  --fc-danger: var(--red-400);
22
45
  --fc-success: var(--green-500);
23
46
  --fc-warning: var(--yellow-500);
24
- --theme-body-font-color: var(--black-600);
25
- --theme-background-color: var(--white);
26
- --theme-link-color: var(--theme-secondary-400);
27
- --theme-link-color-hover: var(--theme-secondary-400);
28
- --theme-link-color-visited: var(--theme-secondary-500);
29
- --theme-button-color: var(--theme-secondary-400);
30
- --theme-button-background-color: transparent;
31
- --theme-button-hover-color: var(--theme-secondary-400);
32
- --theme-button-hover-background-color: var(--theme-secondary-200);
33
- --theme-button-active-background-color: var(--theme-secondary-300);
34
- --theme-button-selected-color: var(--theme-secondary-600);
35
- --theme-button-selected-background-color: var(--theme-secondary-300);
36
- --theme-button-primary-color: var(--white);
37
- --theme-button-primary-background-color: var(--theme-secondary-400);
38
- --theme-button-primary-hover-color: var(--white);
39
- --theme-button-primary-hover-background-color: var(--theme-secondary-400);
40
- --theme-button-primary-active-background-color: var(--theme-secondary-500);
41
- --theme-button-primary-selected-color: var(--white);
42
- --theme-button-primary-selected-background-color: var(--theme-secondary-500);
43
- --theme-button-primary-number-color: var(--theme-secondary-600);
44
- --theme-button-filled-color: var(--theme-secondary-500);
45
- --theme-button-filled-background-color: var(--theme-secondary-200);
46
- --theme-button-filled-border-color: var(--theme-secondary-400);
47
- --theme-button-filled-hover-color: var(--theme-secondary-600);
48
- --theme-button-filled-hover-background-color: var(--theme-secondary-300);
49
- --theme-button-filled-active-background-color: var(--theme-secondary-300);
50
- --theme-button-filled-active-border-color: var(--theme-secondary-400);
51
- --theme-button-filled-selected-color: var(--theme-secondary-600);
52
- --theme-button-filled-selected-background-color: var(--theme-secondary-400);
53
- --theme-button-filled-selected-border-color: var(--theme-secondary-400);
54
- --theme-button-outlined-border-color: var(--theme-secondary-400);
55
- --theme-button-outlined-selected-border-color: var(--theme-secondary-400);
56
- --theme-tag-color: var(--theme-secondary-600);
57
- --theme-tag-background-color: var(--theme-secondary-200);
58
- --theme-tag-border-color: transparent;
59
- --theme-tag-hover-color: var(--theme-secondary-600);
60
- --theme-tag-hover-background-color: var(--theme-secondary-300);
61
- --theme-tag-hover-border-color: transparent;
62
- --theme-topbar-height: calc(var(--su-static48) + var(--su-static8));
63
- --theme-topbar-background-color: var(--white);
64
- --theme-topbar-search-color: var(--black-500);
65
- --theme-topbar-search-background: var(--white);
66
- --theme-topbar-search-placeholder: var(--black-400);
67
- --theme-topbar-search-border: var(--black-300);
68
- --theme-topbar-search-border-focus: var(--blue-400);
69
- --theme-topbar-search-shadow-focus: 0 0 0 var(--su-static4) var(--focus-ring);
70
- --theme-topbar-select-color: var(--black-500);
71
- --theme-topbar-select-background: var(--black-200);
72
- --theme-topbar-item-color: var(--black-500);
73
- --theme-topbar-item-color-hover: var(--black-600);
74
- --theme-topbar-item-background-hover: var(--black-200);
75
- --theme-topbar-item-color-current: var(--black);
76
- --theme-topbar-item-border-current: var(--theme-primary);
77
- --theme-topbar-accent-border: 3px solid var(--theme-primary);
78
- --theme-topbar-bottom-border: 1px solid var(--black-225);
79
- --theme-post-title-color: var(--theme-link-color);
80
- --theme-post-title-color-hover: var(--theme-link-color-hover);
81
- --theme-post-title-color-visited: var(--theme-link-color-visited);
82
- --theme-post-title-font-family: var(--theme-body-font-family);
83
- --theme-post-body-font-family: var(--theme-body-font-family);
84
- }
85
-
86
- body,
87
- body.themed,
88
- body .themed {
89
- color: var(--theme-body-font-color, var(--black-600));
90
47
  }
91
48
 
92
49
  body:not(.theme-highcontrast):not(.theme-dark),
@@ -105,23 +62,23 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
105
62
  --black-200: hsl(210, 8%, 90%);
106
63
  --black-225: hsl(210, 8%, 85%);
107
64
  --black-250: hsl(210, 8%, 80%);
108
- --black-300: hsl(213, 9%, 75%);
109
- --black-350: hsl(212, 8%, 68%);
110
- --black-400: hsl(210, 8%, 45%);
65
+ --black-300: hsl(210, 9%, 75%);
66
+ --black-350: hsl(210, 8%, 68%);
67
+ --black-400: hsl(210, 8%, 42%);
111
68
  --black-500: hsl(210, 8%, 25%);
112
69
  --black-600: hsl(210, 8%, 5%);
113
- --black: hsl(0, 8%, 5%);
70
+ --black: hsl(0, 0%, 0%);
114
71
  --orange-100: hsl(23, 85%, 97%);
115
72
  --orange-200: hsl(27, 85%, 87%);
116
73
  --orange-300: hsl(27, 85%, 72%);
117
- --orange-400: hsl(27, 90%, 55%);
118
- --orange-500: hsl(27, 88%, 43%);
74
+ --orange-400: hsl(27, 80%, 52%);
75
+ --orange-500: hsl(27, 80%, 43%);
119
76
  --orange-600: hsl(27, 80%, 29%);
120
77
  --blue-100: hsl(210, 80%, 96%);
121
78
  --blue-200: hsl(210, 80%, 91%);
122
79
  --blue-300: hsl(210, 78%, 76%);
123
- --blue-400: hsl(210, 70%, 48%);
124
- --blue-500: hsl(210, 75%, 36%);
80
+ --blue-400: hsl(210, 77%, 46%);
81
+ --blue-500: hsl(210, 77%, 36%);
125
82
  --blue-600: hsl(210, 80%, 23%);
126
83
  --green-100: hsl(148, 35%, 95%);
127
84
  --green-200: hsl(148, 35%, 88%);
@@ -129,7 +86,7 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
129
86
  --green-400: hsl(148, 70%, 31%);
130
87
  --green-500: hsl(148, 75%, 22%);
131
88
  --green-600: hsl(148, 75%, 15%);
132
- --red-100: hsl(0, 78%, 96%);
89
+ --red-100: hsl(0, 72%, 96%);
133
90
  --red-200: hsl(0, 70%, 93%);
134
91
  --red-300: hsl(0, 65%, 76%);
135
92
  --red-400: hsl(0, 60%, 49%);
@@ -141,6 +98,12 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
141
98
  --yellow-400: hsl(43, 85%, 50%);
142
99
  --yellow-500: hsl(43, 85%, 33%);
143
100
  --yellow-600: hsl(43, 84%, 18%);
101
+ --purple-100: hsl(237, 80%, 96%);
102
+ --purple-200: hsl(237, 77%, 92%);
103
+ --purple-300: hsl(237, 60%, 83%);
104
+ --purple-400: hsl(237, 55%, 57%);
105
+ --purple-500: hsl(237, 50%, 45%);
106
+ --purple-600: hsl(237, 50%, 32%);
144
107
  --gold-100: hsl(46, 100%, 91%);
145
108
  --gold-200: hsl(46, 100%, 74%);
146
109
  --gold-300: hsl(45, 100%, 42%);
@@ -170,7 +133,7 @@ body:not(.theme-highcontrast).theme-system .theme-light__forced .themed {
170
133
  --focus-ring-muted: hsla(210, 8%, 15%, 0.1);
171
134
  --highlight-addition: var(--green-500);
172
135
  --highlight-attribute: hsl(206, 98.5%, 29%);
173
- --highlight-bg: var(--black-100);
136
+ --highlight-bg: hsl(0, 0%, 96.5%);
174
137
  --highlight-color: var(--black-600);
175
138
  --highlight-comment: hsl(210, 8%, 43.5%);
176
139
  --highlight-deletion: var(--red-500);
@@ -218,49 +181,55 @@ body:not(.theme-highcontrast).theme-dark.themed,
218
181
  body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced.themed,
219
182
  body:not(.theme-highcontrast).theme-dark .themed,
220
183
  body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
221
- --white: hsl(220, 3%, 15%);
222
- --black-050: hsl(220, 3%, 15%);
223
- --black-100: hsl(220, 3%, 18%);
224
- --black-150: hsl(230, 4%, 21%);
225
- --black-200: hsl(233, 4%, 27%);
226
- --black-225: hsl(233, 4%, 30%);
227
- --black-250: hsl(235, 5%, 36%);
228
- --black-300: hsl(233, 4%, 47%);
229
- --black-350: hsl(219, 10%, 60%);
230
- --black-400: hsl(220, 10%, 74%);
231
- --black-500: hsl(220, 10%, 83%);
232
- --black-600: hsl(180, 11%, 98%);
184
+ --white: hsl(210, 3%, 15%);
185
+ --black-050: hsl(210, 3%, 15%);
186
+ --black-100: hsl(210, 3%, 18%);
187
+ --black-150: hsl(210, 4%, 21%);
188
+ --black-200: hsl(210, 4%, 27%);
189
+ --black-225: hsl(210, 4%, 30%);
190
+ --black-250: hsl(210, 5%, 36%);
191
+ --black-300: hsl(210, 4%, 47%);
192
+ --black-350: hsl(210, 8%, 70%);
193
+ --black-400: hsl(210, 8%, 80%);
194
+ --black-500: hsl(210, 8%, 90%);
195
+ --black-600: hsl(210, 11%, 98%);
233
196
  --black: hsl(0, 0%, 100%);
234
197
  --orange-100: hsl(27, 29%, 19%);
235
198
  --orange-200: hsl(27, 43%, 31%);
236
199
  --orange-300: hsl(27, 43%, 47%);
237
- --orange-400: hsl(27, 80%, 64%);
238
- --orange-500: hsl(27, 80%, 78%);
239
- --orange-600: hsl(27, 80%, 89%);
200
+ --orange-400: hsl(27, 80%, 80%);
201
+ --orange-500: hsl(27, 80%, 88%);
202
+ --orange-600: hsl(27, 80%, 93%);
240
203
  --blue-100: hsl(209, 29%, 19%);
241
204
  --blue-200: hsl(210, 29%, 35%);
242
205
  --blue-300: hsl(210, 29%, 50%);
243
- --blue-400: hsl(210, 81%, 72%);
244
- --blue-500: hsl(210, 80%, 82%);
245
- --blue-600: hsl(210, 80%, 90%);
206
+ --blue-400: hsl(210, 80%, 80%);
207
+ --blue-500: hsl(210, 80%, 88%);
208
+ --blue-600: hsl(210, 80%, 93%);
246
209
  --green-100: hsl(148, 29%, 19%);
247
210
  --green-200: hsl(148, 29%, 27%);
248
211
  --green-300: hsl(148, 25%, 40%);
249
- --green-400: hsl(148, 40%, 62%);
250
- --green-500: hsl(148, 40%, 75%);
251
- --green-600: hsl(148, 40%, 87%);
212
+ --green-400: hsl(148, 40%, 75%);
213
+ --green-500: hsl(148, 40%, 85%);
214
+ --green-600: hsl(148, 40%, 93%);
252
215
  --red-100: hsl(358, 29%, 19%);
253
216
  --red-200: hsl(0, 29%, 37%);
254
217
  --red-300: hsl(0, 34%, 54%);
255
- --red-400: hsl(0, 75%, 77%);
256
- --red-500: hsl(0, 69%, 85%);
257
- --red-600: hsl(0, 69%, 93%);
218
+ --red-400: hsl(0, 73%, 85%);
219
+ --red-500: hsl(0, 73%, 91%);
220
+ --red-600: hsl(0, 73%, 95%);
258
221
  --yellow-100: hsl(43, 29%, 17%);
259
222
  --yellow-200: hsl(43, 29%, 25%);
260
223
  --yellow-300: hsl(43, 29%, 40%);
261
- --yellow-400: hsl(43, 59%, 64%);
262
- --yellow-500: hsl(43, 65%, 70%);
263
- --yellow-600: hsl(43, 65%, 85%);
224
+ --yellow-400: hsl(43, 75%, 75%);
225
+ --yellow-500: hsl(43, 75%, 85%);
226
+ --yellow-600: hsl(43, 75%, 91%);
227
+ --purple-100: hsl(237, 25%, 24%);
228
+ --purple-200: hsl(237, 27%, 38%);
229
+ --purple-300: hsl(237, 32%, 56%);
230
+ --purple-400: hsl(237, 58%, 86%);
231
+ --purple-500: hsl(237, 60%, 91%);
232
+ --purple-600: hsl(237, 65%, 96%);
264
233
  --gold-100: hsl(45, 29%, 24%);
265
234
  --gold-200: hsl(45, 47%, 37%);
266
235
  --gold-300: hsl(45, 92%, 62%);
@@ -289,12 +258,12 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
289
258
  --focus-ring-error: hsla(358, 62%, 47%, 0.15);
290
259
  --focus-ring-muted: hsla(210, 8%, 15%, 0.1);
291
260
  --highlight-addition: var(--green-500);
292
- --highlight-attribute: hsl(207, 41.5%, 67%);
261
+ --highlight-attribute: var(--blue-400);
293
262
  --highlight-bg: hsl(0, 2%, 11%);
294
263
  --highlight-color: var(--black);
295
264
  --highlight-comment: hsl(0, 0%, 60%);
296
265
  --highlight-deletion: var(--red-500);
297
- --highlight-keyword: hsl(208, 41.5%, 67%);
266
+ --highlight-keyword: var(--blue-400);
298
267
  --highlight-literal: hsl(27, 85%, 61.5%);
299
268
  --highlight-namespace: hsl(27, 85%, 61.5%);
300
269
  --highlight-punctuation: hsl(0, 0%, 80%);
@@ -336,49 +305,55 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
336
305
  body:not(.theme-highcontrast).theme-system,
337
306
  body:not(.theme-highcontrast).theme-system.themed,
338
307
  body:not(.theme-highcontrast).theme-system .themed {
339
- --white: hsl(220, 3%, 15%);
340
- --black-050: hsl(220, 3%, 15%);
341
- --black-100: hsl(220, 3%, 18%);
342
- --black-150: hsl(230, 4%, 21%);
343
- --black-200: hsl(233, 4%, 27%);
344
- --black-225: hsl(233, 4%, 30%);
345
- --black-250: hsl(235, 5%, 36%);
346
- --black-300: hsl(233, 4%, 47%);
347
- --black-350: hsl(219, 10%, 60%);
348
- --black-400: hsl(220, 10%, 74%);
349
- --black-500: hsl(220, 10%, 83%);
350
- --black-600: hsl(180, 11%, 98%);
308
+ --white: hsl(210, 3%, 15%);
309
+ --black-050: hsl(210, 3%, 15%);
310
+ --black-100: hsl(210, 3%, 18%);
311
+ --black-150: hsl(210, 4%, 21%);
312
+ --black-200: hsl(210, 4%, 27%);
313
+ --black-225: hsl(210, 4%, 30%);
314
+ --black-250: hsl(210, 5%, 36%);
315
+ --black-300: hsl(210, 4%, 47%);
316
+ --black-350: hsl(210, 8%, 70%);
317
+ --black-400: hsl(210, 8%, 80%);
318
+ --black-500: hsl(210, 8%, 90%);
319
+ --black-600: hsl(210, 11%, 98%);
351
320
  --black: hsl(0, 0%, 100%);
352
321
  --orange-100: hsl(27, 29%, 19%);
353
322
  --orange-200: hsl(27, 43%, 31%);
354
323
  --orange-300: hsl(27, 43%, 47%);
355
- --orange-400: hsl(27, 80%, 64%);
356
- --orange-500: hsl(27, 80%, 78%);
357
- --orange-600: hsl(27, 80%, 89%);
324
+ --orange-400: hsl(27, 80%, 80%);
325
+ --orange-500: hsl(27, 80%, 88%);
326
+ --orange-600: hsl(27, 80%, 93%);
358
327
  --blue-100: hsl(209, 29%, 19%);
359
328
  --blue-200: hsl(210, 29%, 35%);
360
329
  --blue-300: hsl(210, 29%, 50%);
361
- --blue-400: hsl(210, 81%, 72%);
362
- --blue-500: hsl(210, 80%, 82%);
363
- --blue-600: hsl(210, 80%, 90%);
330
+ --blue-400: hsl(210, 80%, 80%);
331
+ --blue-500: hsl(210, 80%, 88%);
332
+ --blue-600: hsl(210, 80%, 93%);
364
333
  --green-100: hsl(148, 29%, 19%);
365
334
  --green-200: hsl(148, 29%, 27%);
366
335
  --green-300: hsl(148, 25%, 40%);
367
- --green-400: hsl(148, 40%, 62%);
368
- --green-500: hsl(148, 40%, 75%);
369
- --green-600: hsl(148, 40%, 87%);
336
+ --green-400: hsl(148, 40%, 75%);
337
+ --green-500: hsl(148, 40%, 85%);
338
+ --green-600: hsl(148, 40%, 93%);
370
339
  --red-100: hsl(358, 29%, 19%);
371
340
  --red-200: hsl(0, 29%, 37%);
372
341
  --red-300: hsl(0, 34%, 54%);
373
- --red-400: hsl(0, 75%, 77%);
374
- --red-500: hsl(0, 69%, 85%);
375
- --red-600: hsl(0, 69%, 93%);
342
+ --red-400: hsl(0, 73%, 85%);
343
+ --red-500: hsl(0, 73%, 91%);
344
+ --red-600: hsl(0, 73%, 95%);
376
345
  --yellow-100: hsl(43, 29%, 17%);
377
346
  --yellow-200: hsl(43, 29%, 25%);
378
347
  --yellow-300: hsl(43, 29%, 40%);
379
- --yellow-400: hsl(43, 59%, 64%);
380
- --yellow-500: hsl(43, 65%, 70%);
381
- --yellow-600: hsl(43, 65%, 85%);
348
+ --yellow-400: hsl(43, 75%, 75%);
349
+ --yellow-500: hsl(43, 75%, 85%);
350
+ --yellow-600: hsl(43, 75%, 91%);
351
+ --purple-100: hsl(237, 25%, 24%);
352
+ --purple-200: hsl(237, 27%, 38%);
353
+ --purple-300: hsl(237, 32%, 56%);
354
+ --purple-400: hsl(237, 58%, 86%);
355
+ --purple-500: hsl(237, 60%, 91%);
356
+ --purple-600: hsl(237, 65%, 96%);
382
357
  --gold-100: hsl(45, 29%, 24%);
383
358
  --gold-200: hsl(45, 47%, 37%);
384
359
  --gold-300: hsl(45, 92%, 62%);
@@ -407,12 +382,12 @@ body:not(.theme-highcontrast):not(.theme-dark) .theme-dark__forced .themed {
407
382
  --focus-ring-error: hsla(358, 62%, 47%, 0.15);
408
383
  --focus-ring-muted: hsla(210, 8%, 15%, 0.1);
409
384
  --highlight-addition: var(--green-500);
410
- --highlight-attribute: hsl(207, 41.5%, 67%);
385
+ --highlight-attribute: var(--blue-400);
411
386
  --highlight-bg: hsl(0, 2%, 11%);
412
387
  --highlight-color: var(--black);
413
388
  --highlight-comment: hsl(0, 0%, 60%);
414
389
  --highlight-deletion: var(--red-500);
415
- --highlight-keyword: hsl(208, 41.5%, 67%);
390
+ --highlight-keyword: var(--blue-400);
416
391
  --highlight-literal: hsl(27, 85%, 61.5%);
417
392
  --highlight-namespace: hsl(27, 85%, 61.5%);
418
393
  --highlight-punctuation: hsl(0, 0%, 80%);
@@ -461,34 +436,34 @@ body.theme-highcontrast.theme-system .theme-light__forced {
461
436
  --black-200: hsl(210, 8%, 90%);
462
437
  --black-225: hsl(210, 8%, 85%);
463
438
  --black-250: hsl(210, 8%, 80%);
464
- --black-300: hsl(213, 9%, 75%);
439
+ --black-300: hsl(210, 9%, 75%);
465
440
  --black-350: hsl(210, 8%, 45%);
466
- --black-400: hsl(210, 8%, 45%);
441
+ --black-400: hsl(212, 8%, 35%);
467
442
  --black-500: hsl(210, 8%, 25%);
468
443
  --black-600: hsl(210, 8%, 5%);
469
- --black: hsl(0, 8%, 5%);
444
+ --black: hsl(0, 0%, 0%);
470
445
  --orange-100: hsl(22, 85%, 97%);
471
446
  --orange-200: hsl(22, 85%, 97%);
472
447
  --orange-300: hsl(27, 90%, 55%);
473
448
  --orange-400: hsl(27, 90%, 55%);
474
- --orange-500: hsl(27, 80%, 29%);
475
- --orange-600: hsl(27, 80%, 29%);
449
+ --orange-500: hsl(27, 80%, 28%);
450
+ --orange-600: hsl(27, 80%, 28%);
476
451
  --blue-100: hsl(210, 80%, 96%);
477
452
  --blue-200: hsl(210, 80%, 96%);
478
453
  --blue-300: hsl(210, 70%, 48%);
479
- --blue-400: hsl(210, 70%, 48%);
454
+ --blue-400: hsl(210, 77%, 34%);
480
455
  --blue-500: hsl(210, 80%, 23%);
481
456
  --blue-600: hsl(210, 80%, 23%);
482
457
  --green-100: hsl(147, 36%, 95%);
483
458
  --green-200: hsl(147, 36%, 95%);
484
459
  --green-300: hsl(148, 70%, 31%);
485
- --green-400: hsl(148, 70%, 31%);
460
+ --green-400: hsl(148, 75%, 22%);
486
461
  --green-500: hsl(147, 74%, 15%);
487
462
  --green-600: hsl(147, 74%, 15%);
488
463
  --red-100: hsl(0, 79%, 96%);
489
464
  --red-200: hsl(0, 79%, 96%);
490
465
  --red-300: hsl(0, 60%, 49%);
491
- --red-400: hsl(0, 60%, 49%);
466
+ --red-400: hsl(0, 65%, 37%);
492
467
  --red-500: hsl(0, 66%, 24%);
493
468
  --red-600: hsl(0, 66%, 24%);
494
469
  --yellow-100: hsl(41, 80%, 96%);
@@ -497,12 +472,18 @@ body.theme-highcontrast.theme-system .theme-light__forced {
497
472
  --yellow-400: hsl(43, 85%, 50%);
498
473
  --yellow-500: hsl(48, 85%, 18%);
499
474
  --yellow-600: hsl(48, 85%, 18%);
475
+ --purple-100: hsl(237, 80%, 96%);
476
+ --purple-200: hsl(237, 80%, 96%);
477
+ --purple-300: hsl(237, 55%, 57%);
478
+ --purple-400: hsl(237, 55%, 57%);
479
+ --purple-500: hsl(237, 50%, 32%);
480
+ --purple-600: hsl(237, 50%, 32%);
500
481
  --gold-100: hsl(46, 100%, 91%);
501
482
  --gold-200: hsl(46, 100%, 91%);
502
483
  --gold-300: hsl(45, 100%, 42%);
503
484
  --gold-400: hsl(46, 92%, 26%);
504
485
  --silver-100: hsl(0, 0%, 95%);
505
- --silver-200: hsl(0, 0%, 84%);
486
+ --silver-200: hsl(0, 0%, 95%);
506
487
  --silver-300: hsl(210, 5%, 68%);
507
488
  --silver-400: hsl(216, 2%, 40%);
508
489
  --bronze-100: hsl(28, 40%, 92%);
@@ -557,48 +538,54 @@ body.theme-highcontrast.theme-system .theme-light__forced {
557
538
  body.theme-highcontrast.theme-dark,
558
539
  body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
559
540
  --white: hsl(0, 0%, 0%);
560
- --black-050: hsl(220, 3%, 15%);
561
- --black-100: hsl(220, 3%, 18%);
562
- --black-150: hsl(230, 4%, 21%);
563
- --black-200: hsl(233, 4%, 27%);
564
- --black-225: hsl(233, 4%, 30%);
565
- --black-250: hsl(235, 5%, 36%);
566
- --black-300: hsl(233, 4%, 47%);
567
- --black-350: hsl(220, 10%, 74%);
568
- --black-400: hsl(220, 10%, 74%);
569
- --black-500: hsl(220, 10%, 83%);
570
- --black-600: hsl(180, 11%, 98%);
541
+ --black-050: hsl(210, 3%, 15%);
542
+ --black-100: hsl(210, 3%, 18%);
543
+ --black-150: hsl(210, 4%, 21%);
544
+ --black-200: hsl(210, 4%, 27%);
545
+ --black-225: hsl(210, 4%, 30%);
546
+ --black-250: hsl(210, 5%, 36%);
547
+ --black-300: hsl(210, 4%, 47%);
548
+ --black-350: hsl(210, 10%, 74%);
549
+ --black-400: hsl(210, 8%, 80%);
550
+ --black-500: hsl(210, 8%, 90%);
551
+ --black-600: hsl(210, 11%, 98%);
571
552
  --black: hsl(0, 0%, 100%);
572
553
  --orange-100: hsl(27, 29%, 19%);
573
554
  --orange-200: hsl(27, 29%, 19%);
574
555
  --orange-300: hsl(27, 80%, 64%);
575
- --orange-400: hsl(27, 80%, 64%);
556
+ --orange-400: hsl(27, 80%, 80%);
576
557
  --orange-500: hsl(27, 79%, 89%);
577
- --orange-600: hsl(27, 79%, 89%);
558
+ --orange-600: hsl(27, 80%, 93%);
578
559
  --blue-100: hsl(209, 29%, 19%);
579
560
  --blue-200: hsl(209, 29%, 19%);
580
561
  --blue-300: hsl(210, 80%, 72%);
581
- --blue-400: hsl(210, 80%, 72%);
562
+ --blue-400: hsl(210, 80%, 80%);
582
563
  --blue-500: hsl(209, 79%, 87%);
583
- --blue-600: hsl(209, 79%, 87%);
564
+ --blue-600: hsl(210, 80%, 93%);
584
565
  --green-100: hsl(147, 29%, 19%);
585
566
  --green-200: hsl(147, 29%, 19%);
586
567
  --green-300: hsl(148, 40%, 62%);
587
- --green-400: hsl(148, 40%, 62%);
568
+ --green-400: hsl(148, 40%, 75%);
588
569
  --green-500: hsl(148, 39%, 87%);
589
- --green-600: hsl(148, 39%, 87%);
570
+ --green-600: hsl(148, 40%, 93%);
590
571
  --red-100: hsl(358, 29%, 19%);
591
572
  --red-200: hsl(358, 29%, 19%);
592
573
  --red-300: hsl(0, 75%, 77%);
593
- --red-400: hsl(0, 75%, 77%);
574
+ --red-400: hsl(0, 73%, 85%);
594
575
  --red-500: hsl(0, 70%, 92%);
595
- --red-600: hsl(0, 70%, 92%);
576
+ --red-600: hsl(0, 73%, 95%);
596
577
  --yellow-100: hsl(43, 29%, 17%);
597
578
  --yellow-200: hsl(43, 29%, 17%);
598
579
  --yellow-300: hsl(43, 59%, 64%);
599
- --yellow-400: hsl(43, 59%, 64%);
580
+ --yellow-400: hsl(43, 75%, 75%);
600
581
  --yellow-500: hsl(48, 74%, 91%);
601
- --yellow-600: hsl(48, 74%, 91%);
582
+ --yellow-600: hsl(43, 75%, 91%);
583
+ --purple-100: hsl(237, 25%, 24%);
584
+ --purple-200: hsl(237, 25%, 24%);
585
+ --purple-300: hsl(237, 58%, 86%);
586
+ --purple-400: hsl(237, 58%, 86%);
587
+ --purple-500: hsl(237, 65%, 96%);
588
+ --purple-600: hsl(237, 65%, 96%);
602
589
  --gold-100: hsl(45, 22%, 25%);
603
590
  --gold-200: hsl(45, 22%, 25%);
604
591
  --gold-300: hsl(45, 92%, 62%);
@@ -659,48 +646,54 @@ body.theme-highcontrast:not(.theme-dark) .theme-dark__forced {
659
646
  @media (prefers-color-scheme: dark) {
660
647
  body.theme-highcontrast.theme-system {
661
648
  --white: hsl(0, 0%, 0%);
662
- --black-050: hsl(220, 3%, 15%);
663
- --black-100: hsl(220, 3%, 18%);
664
- --black-150: hsl(230, 4%, 21%);
665
- --black-200: hsl(233, 4%, 27%);
666
- --black-225: hsl(233, 4%, 30%);
667
- --black-250: hsl(235, 5%, 36%);
668
- --black-300: hsl(233, 4%, 47%);
669
- --black-350: hsl(220, 10%, 74%);
670
- --black-400: hsl(220, 10%, 74%);
671
- --black-500: hsl(220, 10%, 83%);
672
- --black-600: hsl(180, 11%, 98%);
649
+ --black-050: hsl(210, 3%, 15%);
650
+ --black-100: hsl(210, 3%, 18%);
651
+ --black-150: hsl(210, 4%, 21%);
652
+ --black-200: hsl(210, 4%, 27%);
653
+ --black-225: hsl(210, 4%, 30%);
654
+ --black-250: hsl(210, 5%, 36%);
655
+ --black-300: hsl(210, 4%, 47%);
656
+ --black-350: hsl(210, 10%, 74%);
657
+ --black-400: hsl(210, 8%, 80%);
658
+ --black-500: hsl(210, 8%, 90%);
659
+ --black-600: hsl(210, 11%, 98%);
673
660
  --black: hsl(0, 0%, 100%);
674
661
  --orange-100: hsl(27, 29%, 19%);
675
662
  --orange-200: hsl(27, 29%, 19%);
676
663
  --orange-300: hsl(27, 80%, 64%);
677
- --orange-400: hsl(27, 80%, 64%);
664
+ --orange-400: hsl(27, 80%, 80%);
678
665
  --orange-500: hsl(27, 79%, 89%);
679
- --orange-600: hsl(27, 79%, 89%);
666
+ --orange-600: hsl(27, 80%, 93%);
680
667
  --blue-100: hsl(209, 29%, 19%);
681
668
  --blue-200: hsl(209, 29%, 19%);
682
669
  --blue-300: hsl(210, 80%, 72%);
683
- --blue-400: hsl(210, 80%, 72%);
670
+ --blue-400: hsl(210, 80%, 80%);
684
671
  --blue-500: hsl(209, 79%, 87%);
685
- --blue-600: hsl(209, 79%, 87%);
672
+ --blue-600: hsl(210, 80%, 93%);
686
673
  --green-100: hsl(147, 29%, 19%);
687
674
  --green-200: hsl(147, 29%, 19%);
688
675
  --green-300: hsl(148, 40%, 62%);
689
- --green-400: hsl(148, 40%, 62%);
676
+ --green-400: hsl(148, 40%, 75%);
690
677
  --green-500: hsl(148, 39%, 87%);
691
- --green-600: hsl(148, 39%, 87%);
678
+ --green-600: hsl(148, 40%, 93%);
692
679
  --red-100: hsl(358, 29%, 19%);
693
680
  --red-200: hsl(358, 29%, 19%);
694
681
  --red-300: hsl(0, 75%, 77%);
695
- --red-400: hsl(0, 75%, 77%);
682
+ --red-400: hsl(0, 73%, 85%);
696
683
  --red-500: hsl(0, 70%, 92%);
697
- --red-600: hsl(0, 70%, 92%);
684
+ --red-600: hsl(0, 73%, 95%);
698
685
  --yellow-100: hsl(43, 29%, 17%);
699
686
  --yellow-200: hsl(43, 29%, 17%);
700
687
  --yellow-300: hsl(43, 59%, 64%);
701
- --yellow-400: hsl(43, 59%, 64%);
688
+ --yellow-400: hsl(43, 75%, 75%);
702
689
  --yellow-500: hsl(48, 74%, 91%);
703
- --yellow-600: hsl(48, 74%, 91%);
690
+ --yellow-600: hsl(43, 75%, 91%);
691
+ --purple-100: hsl(237, 25%, 24%);
692
+ --purple-200: hsl(237, 25%, 24%);
693
+ --purple-300: hsl(237, 58%, 86%);
694
+ --purple-400: hsl(237, 58%, 86%);
695
+ --purple-500: hsl(237, 65%, 96%);
696
+ --purple-600: hsl(237, 65%, 96%);
704
697
  --gold-100: hsl(45, 22%, 25%);
705
698
  --gold-200: hsl(45, 22%, 25%);
706
699
  --gold-300: hsl(45, 92%, 62%);
@@ -1,6 +1,5 @@
1
1
  @import (reference) "./mixins.less";
2
2
  @import (reference) "./color-sets.less";
3
- @import (reference) "./theme.less";
4
3
 
5
4
  // Type definitions
6
5
  //
@@ -5,15 +5,24 @@ body {
5
5
  --_o-disabled-static: 0.5;
6
6
  --_black-static: .set-black()[default];
7
7
  --_white-static: .set-white()[default];
8
- // Create aliased utility variables
9
- .create-colors(.sets-aliased-utility-variables());
10
- .theme-variables();
11
8
 
12
9
  &,
13
10
  &.themed,
14
11
  & .themed {
15
12
  color: var(--theme-body-font-color, var(--black-600));
16
13
  }
14
+
15
+ &:not(.theme-dark),
16
+ &.theme-dark .theme-light__forced,
17
+ &.theme-system .theme-light__forced,
18
+ &.theme-dark,
19
+ &:not(.theme-dark) .theme-dark__forced {
20
+ &,
21
+ &.themed,
22
+ & .themed {
23
+ .create-colors(.sets-aliased-utility-variables());
24
+ }
25
+ }
17
26
  }
18
27
 
19
28
  // Light, dark mode
@@ -134,7 +134,7 @@ body.theme-system .theme-light__forced,
134
134
  body:not(.theme-dark) .themed,
135
135
  body.theme-dark .theme-light__forced .themed,
136
136
  body.theme-system .theme-light__forced .themed {
137
- color: var(--theme-body-font-color);
137
+ color: var(--theme-body-font-color, var(--black-600));
138
138
  --theme-primary-color-legacy-h: var(--theme-light-primary-color-legacy-h, var(--theme-base-primary-color-legacy-h));
139
139
  --theme-primary-color-legacy-s: var(--theme-light-primary-color-legacy-s, var(--theme-base-primary-color-legacy-s));
140
140
  --theme-primary-color-legacy-l: var(--theme-light-primary-color-legacy-l, var(--theme-base-primary-color-legacy-l));
@@ -289,7 +289,7 @@ body.theme-dark,
289
289
  body:not(.theme-dark) .theme-dark__forced,
290
290
  body.theme-dark .themed,
291
291
  body:not(.theme-dark) .theme-dark__forced .themed {
292
- color: var(--theme-body-font-color);
292
+ color: var(--theme-body-font-color, var(--black-600));
293
293
  --theme-primary-color-legacy-h: var(--theme-dark-primary-color-legacy-h, var(--theme-base-primary-color-legacy-h));
294
294
  --theme-primary-color-legacy-s: var(--theme-dark-primary-color-legacy-s, var(--theme-base-primary-color-legacy-s));
295
295
  --theme-primary-color-legacy-l: var(--theme-dark-primary-color-legacy-l, var(--theme-base-primary-color-legacy-l));
@@ -442,7 +442,7 @@ body:not(.theme-dark) .theme-dark__forced .themed {
442
442
 
443
443
  body.theme-system,
444
444
  body.theme-system .themed {
445
- color: var(--theme-body-font-color);
445
+ color: var(--theme-body-font-color, var(--black-600));
446
446
  --theme-primary-color-legacy-h: var(--theme-dark-primary-color-legacy-h, var(--theme-base-primary-color-legacy-h));
447
447
  --theme-primary-color-legacy-s: var(--theme-dark-primary-color-legacy-s, var(--theme-base-primary-color-legacy-s));
448
448
  --theme-primary-color-legacy-l: var(--theme-dark-primary-color-legacy-l, var(--theme-base-primary-color-legacy-l));
@@ -528,7 +528,7 @@
528
528
 
529
529
  &,
530
530
  & .themed {
531
- color: var(--theme-body-font-color);
531
+ color: var(--theme-body-font-color, var(--black-600));
532
532
  .generate-themed-variables(theme-dark);
533
533
  // add in the themed "native mixins", making sure to scope to the child .themed elements so they don't use the parent's values
534
534
  .dark-themed-colors();
@@ -856,7 +856,7 @@ body.theme-system .theme-light__forced {
856
856
 
857
857
  &,
858
858
  & .themed {
859
- color: var(--theme-body-font-color);
859
+ color: var(--theme-body-font-color, var(--black-600));
860
860
  .generate-themed-variables(theme-light);
861
861
  // add in the themed "native mixins", making sure to scope to the child .themed elements so they don't use the parent's values
862
862
  .light-themed-colors();