Repository navigation
feat(site): adopt the noctcore theme with the observatory preset - #8
Merged
Merged
Conversation
This was referenced Sep 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The docs site moves onto the noctcore theme's token system with the Observatory preset: an editorial star-atlas look for guides you read top to bottom beside framed screenshots. The ESLint plugins site gets the sibling Nocturne preset in its own PR. Both share one token contract, so either site can switch presets by changing one file.
site/src/styles/noctcore/):base.cssmaps the--nc-*tokens onto Starlight's variables once,components.cssholds the shared pieces, andpresets/observatory.csssets the tokens for dark and light and@imports its own fonts.site.cssholds this site's own rules (the splash banner, the output cards, the reference tables, the gallery frames). The oldtheme.cssis gone.@fontsource-variable/newsreader5.3.0, published 2026-07-19) replaces Space Grotesk; JetBrains Mono stays for code. The preset imports them, so only the active preset's fonts ship.ec.config.mjs).noctcore / showcase-kitwordmark, with the version pill moved next to the header icons. The pill's accessible name contains its visible text. Reference tables stack into labelled rows at phone width, the changelog meta line and commit links are theme markup, and gallery figures take the preset's frame radius.site/scripts/theme.test.ts): every custom propertybase.cssandcomponents.cssread must be set by the preset in dark and light, so a preset cannot ship half-defined.No content, generator logic, library or workflow changes.
Test plan
bun install --frozen-lockfile --cwd siteclean; the lockfile change is only the font swapbun run --cwd site test(163 pass),bun run --cwd site typecheckbun run docs:build: 0 stub pages, 745 internal links and 611 fragments checked, changelog and feed checks pass@font-facerules with hashed woff2 files, and no bare@importis leftFollow-ups (not in this PR)
expressive-code.mjswould lift them.