@nu-appdev/northwestern-starlight-theme 1.6.3 → 1.7.0
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.
- package/CHANGELOG.md +12 -1
- package/package.json +4 -4
- package/src/styles/navigation.css +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.7.0] - 2026-09-29
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Starlight 0.42 support.** Starlight 0.42 no longer wraps the mobile menu button in a `<starlight-menu-button>` element, so the theme's header styles stopped matching it and the button fell back to Starlight's default white square on the purple header. The theme now also targets the button's `.sl-menu-button` class, which restores the translucent button, its hover state, and its focus ring. The old selectors stay, so Starlight 0.32 through 0.41 are unaffected, and the `@astrojs/starlight` peer range is still `>=0.32.0`.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- The `@astrojs/markdown-remark` dependency now requires `^7.3.1`, which satisfies Starlight 0.42's `^7.3.0` peer requirement.
|
|
19
|
+
|
|
10
20
|
## [1.6.3] - 2026-08-27
|
|
11
21
|
|
|
12
22
|
### Fixed
|
|
@@ -218,7 +228,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
218
228
|
- OpenAPI plugin compatibility with method badge preservation
|
|
219
229
|
- Reduced motion support for transitions
|
|
220
230
|
|
|
221
|
-
[Unreleased]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.
|
|
231
|
+
[Unreleased]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.7.0...HEAD
|
|
232
|
+
[1.7.0]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.6.3...v1.7.0
|
|
222
233
|
[1.6.3]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.6.2...v1.6.3
|
|
223
234
|
[1.6.2]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.6.1...v1.6.2
|
|
224
235
|
[1.6.1]: https://github.com/NIT-Administrative-Systems/northwestern-starlight-theme/compare/v1.6.0...v1.6.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nu-appdev/northwestern-starlight-theme",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "A Northwestern-branded theme for Astro Starlight",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Danny Foster <danny@northwestern.edu>",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"src/"
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@astrojs/markdown-remark": "^7.
|
|
71
|
+
"@astrojs/markdown-remark": "^7.3.1",
|
|
72
72
|
"@expressive-code/plugin-line-numbers": "^0.44.1",
|
|
73
73
|
"@resvg/resvg-wasm": "^2.6.2",
|
|
74
74
|
"khroma": "^2.1.0",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
}
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@astrojs/starlight": "^0.
|
|
93
|
+
"@astrojs/starlight": "^0.42.4",
|
|
94
94
|
"@types/hast": "^3.0.5",
|
|
95
|
-
"astro": "^7.
|
|
95
|
+
"astro": "^7.3.5",
|
|
96
96
|
"astro-mermaid": "^2.1.0",
|
|
97
97
|
"mermaid": "^11.17.0",
|
|
98
98
|
"typescript": "^7.0.2"
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
.header > nav a,
|
|
12
12
|
.header .social-icons a,
|
|
13
13
|
starlight-menu-button,
|
|
14
|
-
starlight-menu-button button
|
|
14
|
+
starlight-menu-button button,
|
|
15
|
+
.sl-menu-button {
|
|
15
16
|
color: var(--nu-topbar-text) !important;
|
|
16
17
|
fill: var(--nu-topbar-text) !important;
|
|
17
18
|
}
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
starlight-menu-button button,
|
|
32
|
+
.sl-menu-button,
|
|
31
33
|
.header northwestern-theme-toggle button {
|
|
32
34
|
background: rgb(255 255 255 / 15%) !important;
|
|
33
35
|
border: 1px solid rgb(255 255 255 / 25%) !important;
|
|
@@ -36,11 +38,13 @@
|
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
starlight-menu-button button:hover,
|
|
41
|
+
.sl-menu-button:hover,
|
|
39
42
|
.header northwestern-theme-toggle button:hover {
|
|
40
43
|
background: rgb(255 255 255 / 25%) !important;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
starlight-menu-button button:focus-visible,
|
|
47
|
+
.sl-menu-button:focus-visible,
|
|
44
48
|
.header northwestern-theme-toggle button:focus-visible {
|
|
45
49
|
outline: none !important;
|
|
46
50
|
box-shadow: 0 0 0 2px rgb(255 255 255 / 60%) !important;
|