@stackoverflow/stacks 2.5.0 → 2.5.2

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.
@@ -96,6 +96,14 @@
96
96
  padding: 0 var(--su2); // Helps the label visually line up with inputs
97
97
  }
98
98
 
99
+ .s-required-symbol {
100
+ color: var(--red-400);
101
+ font-size: 125%;
102
+ font-weight: normal;
103
+ line-height: 0;
104
+ text-decoration: none !important;
105
+ }
106
+
99
107
  // [1] In Core, we have *many* instances of `.s-label--status` used without the `.s-label` parent.
100
108
  // While I'd prefer to enforce the requirement of the parent class, it's too much of a lift at this moment.
101
109
  // We'll come back to it, hopefully when we have a pill component to replace the current usage of `.s-label--status`
@@ -93,8 +93,12 @@
93
93
  }
94
94
 
95
95
  &&__required:not(&__moderator) {
96
- --_ta-bc: var(--black-400);
97
- --_ta-bc-hover: var(--black-600);
96
+ --_ta-bc: var(--theme-tag-required-border-color, var(--theme-tag-border-color, var(--black-400)));
97
+ --_ta-bg: var(--theme-tag-required-background-color, var(--theme-tag-background-color, var(--black-150)));
98
+ --_ta-fc: var(--theme-tag-required-color, var(--theme-tag-color, var(--black-500)));
99
+ --_ta-bc-hover: var(--theme-tag-required-hover-border-color, var(--theme-tag-hover-border-color, var(--black-600)));
100
+ --_ta-bg-hover: var(--theme-tag-required-hover-background-color, var(--theme-tag-hover-background-color, var(--black-200)));
101
+ --_ta-fc-hover: var(--theme-tag-required-hover-color, var(--theme-tag-hover-color, var(--black-600)));
98
102
  }
99
103
 
100
104
  &__watched, // TODO: remove all single `&` watched styles once core no longer requires them
@@ -173,6 +177,7 @@
173
177
 
174
178
  align-items: center;
175
179
  display: inline-flex;
180
+ font-weight: 700;
176
181
  justify-content: center;
177
182
  min-width: 0;
178
183
  text-decoration: none;
@@ -506,10 +506,10 @@
506
506
  comment: hsl(0, 0%, 60%);
507
507
  deletion: var(--red-500);
508
508
  keyword:var(--blue-400);
509
- literal: hsl(27, 85%, 61.5%);
510
- namespace: hsl(27, 85%, 61.5%);
509
+ literal: hsl(27, 95%, 65%);
510
+ namespace: hsl(27, 95%, 65%);
511
511
  punctuation: hsl(0, 0%, 80%);
512
- symbol: hsl(306, 43%, 69%);
512
+ symbol: hsl(306, 50%, 75%);
513
513
  variable: hsl(65.5, 39%, 57.5%);
514
514
  }
515
515
  .set-highlight-hc() {
@@ -524,7 +524,7 @@
524
524
  namespace: hsl(16, 94%, 31%);
525
525
  punctuation: var(--black-500);
526
526
  symbol: hsl(309, 45%, 31%);
527
- variable: hsl(88, 100%, 19%);
527
+ variable: hsl(88, 100%, 18%);
528
528
  }
529
529
  .set-highlight-hc-dark() {
530
530
  addition: var(--green-500);
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.5.0",
8
+ "version": "2.5.2",
9
9
  "files": [
10
10
  "dist",
11
11
  "lib",
@@ -50,16 +50,16 @@
50
50
  "@rollup/plugin-replace": "^5.0.5",
51
51
  "@stackoverflow/stacks-editor": "^0.10.6",
52
52
  "@stackoverflow/stacks-icons": "^6.0.2",
53
- "@testing-library/dom": "^10.0.0",
53
+ "@testing-library/dom": "^10.1.0",
54
54
  "@testing-library/user-event": "^14.5.2",
55
55
  "@types/cssbeautify": "^0.3.5",
56
56
  "@types/less": "^3.0.6",
57
57
  "@types/mocha": "^10.0.6",
58
- "@typescript-eslint/eslint-plugin": "^7.7.1",
59
- "@typescript-eslint/parser": "^7.7.1",
58
+ "@typescript-eslint/eslint-plugin": "^7.8.0",
59
+ "@typescript-eslint/parser": "^7.8.0",
60
60
  "@web/dev-server-esbuild": "^1.0.2",
61
- "@web/dev-server-rollup": "^0.6.1",
62
- "@web/test-runner": "^0.18.1",
61
+ "@web/dev-server-rollup": "^0.6.3",
62
+ "@web/test-runner": "^0.18.2",
63
63
  "@web/test-runner-playwright": "^0.11.0",
64
64
  "@web/test-runner-visual-regression": "^0.9.0",
65
65
  "apca-check": "^0.1.0",
@@ -67,7 +67,7 @@
67
67
  "concurrently": "^8.2.2",
68
68
  "css-loader": "^7.1.1",
69
69
  "cssbeautify": "^0.3.1",
70
- "cssnano": "^6.1.2",
70
+ "cssnano": "^7.0.1",
71
71
  "docsearch.js": "^2.6.3",
72
72
  "eleventy-plugin-highlightjs": "^1.1.0",
73
73
  "eleventy-plugin-nesting-toc": "^1.3.0",
@@ -83,13 +83,13 @@
83
83
  "postcss-loader": "^8.1.1",
84
84
  "prettier": "^3.2.5",
85
85
  "rollup-plugin-postcss": "^4.0.2",
86
- "stylelint": "^16.3.1",
86
+ "stylelint": "^16.5.0",
87
87
  "stylelint-config-recommended": "^14.0.0",
88
88
  "stylelint-config-standard": "^36.0.0",
89
89
  "terser-webpack-plugin": "^5.3.10",
90
90
  "ts-loader": "^9.5.1",
91
91
  "typescript": "^5.4.5",
92
- "vitest": "^1.5.2",
92
+ "vitest": "^1.6.0",
93
93
  "webpack": "^5.91.0",
94
94
  "webpack-cli": "^5.1.4",
95
95
  "webpack-merge": "^5.10.0"