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

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.
@@ -188,7 +188,7 @@
188
188
 
189
189
  // Red
190
190
  .set-red() {
191
- 100: hsl(0, 78%, 96%);
191
+ 100: hsl(0, 72%, 96%);
192
192
  200: hsl(0, 70%, 93%);
193
193
  300: hsl(0, 65%, 76%);
194
194
  400: hsl(0, 60%, 49%);
@@ -458,7 +458,7 @@
458
458
  .set-highlight() {
459
459
  addition: var(--green-500);
460
460
  attribute: hsl(206, 98.5%, 29%);
461
- bg: var(--black-100);
461
+ bg: hsl(0, 0%, 96.5%);
462
462
  color: var(--black-600);
463
463
  comment: hsl(210, 8%, 43.5%);
464
464
  deletion: var(--red-500);
@@ -5,9 +5,6 @@ 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,
@@ -16,6 +13,23 @@ body {
16
13
  }
17
14
  }
18
15
 
16
+ // Create aliased utility variables, theme variables
17
+ body:not(.theme-highcontrast),
18
+ body.theme-highcontrast {
19
+ &:not(.theme-dark),
20
+ &.theme-dark .theme-light__forced,
21
+ &.theme-system .theme-light__forced,
22
+ &.theme-dark,
23
+ &:not(.theme-dark) .theme-dark__forced {
24
+ &,
25
+ &.themed,
26
+ & .themed {
27
+ .theme-variables();
28
+ .create-colors(.sets-aliased-utility-variables());
29
+ }
30
+ }
31
+ }
32
+
19
33
  // Light, dark mode
20
34
  body:not(.theme-highcontrast) {
21
35
  // Light mode
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.3",
8
+ "version": "2.0.0-rc.5",
9
9
  "files": [
10
10
  "dist",
11
11
  "lib"
@@ -54,7 +54,7 @@
54
54
  "@testing-library/user-event": "^14.4.3",
55
55
  "@types/cssbeautify": "^0.3.2",
56
56
  "@types/less": "^3.0.3",
57
- "@typescript-eslint/eslint-plugin": "^6.5.0",
57
+ "@typescript-eslint/eslint-plugin": "^6.7.0",
58
58
  "@typescript-eslint/parser": "^6.6.0",
59
59
  "@web/dev-server-esbuild": "^0.4.1",
60
60
  "@web/dev-server-rollup": "^0.5.2",
@@ -69,7 +69,7 @@
69
69
  "docsearch.js": "^2.6.3",
70
70
  "eleventy-plugin-highlightjs": "^1.1.0",
71
71
  "eleventy-plugin-nesting-toc": "^1.3.0",
72
- "eslint": "^8.48.0",
72
+ "eslint": "^8.49.0",
73
73
  "eslint-config-prettier": "^9.0.0",
74
74
  "eslint-plugin-no-unsanitized": "^4.0.2",
75
75
  "jquery": "^3.7.1",