Subspace Builder v2.0.0: New Themes, Share Cards and a Logo
Part of a series
- Subspace Builder Series (10 of 10)
Subspace Builder has a new look in v2.0.0: eleven theme options with a picker for readers, eight share-card styles, and a logo of its own. For anyone running their own copy, there is also a sample-content switch and a setup skill that walks a coding agent through starting a site and keeping it current.
This covers the 66 commits since v1.41.0, the previous release tag.
New themes
I wrote about how these themes came to be in The Blog Themes I Would Never Have Built, so I won't retell that here. This is what you get when you start a site from the Builder.
Ten skins ship in the picker, and Liquid Glass dark has a second palette, so readers get eleven options:











Seven of them come in both light and dark, and follow the reader's system setting unless they pick a mode. Liquid Glass light, the two Liquid Glass dark palettes and Halo are made for one scheme only.














Every theme is a set of tokens (colours, fonts, radius) plus an optional stylesheet over the same pages. All theme detail CSS ships in one fingerprinted bundle, so switching does not wait for another stylesheet. Adding a token-only skin starts with an entry in _data/themes.yaml; a skin with custom layout details also gets a scoped stylesheet. The theme system doc has the details.
The theme picker
The theme name in the header opens the picker. Tapping a card switches to it straight away. The sun, moon and half-circle buttons beside it pick light, dark or auto. "Use site default" clears a reader's own choice and hands the page back to the site's setting.
On a phone it becomes a single column you scroll through:
In browsers with View Transitions support, switching crossfades the page, with a short blur at the midpoint. Readers who ask for reduced motion skip it.
What new visitors see
A site picks how a first-time visitor's theme is chosen. Fun, the Builder default, rolls one theme for weekdays and one for weekends the first time someone visits, and keeps both in their browser. The day decides which one they see. Here is the same new visitor on a Tuesday and then on a Saturday:
The weekday pool is Soft Glass, Liquid Glass, Starship and Halo; the weekend pool is Zine, Retro sci-fi and Brutalist. You can set your own pools:
# _data/site.yaml
theme:
defaultStrategy: fun
defaultMode: auto
weekdayThemes: [glass, liquid-glass-dark, starship, holo]
weekendThemes: [zine, retro-futurist, brutalist]
Simple gives every new visitor one theme:
theme:
defaultStrategy: simple
defaultId: paper
defaultMode: auto
Either way, a theme the reader picks themselves wins. The crossfade has two settings too: fadeDuration (0.7s) and fadeBlur (8px, or 0px for none).
Eight share-card styles
A theme can follow the reader. A share card can't: it is rendered once at build time and shown to people who have never visited. So a site picks one card style, and posts, notes, timeline entries and configured static pages get 1200 by 630 PNG cards in it. The cache tracks card data, templates, fonts and renderer versions.
There are eight styles. Here is the same post in each:

retro (default)
retro-dark
swiss
swiss-dark
glass-dark
glass-light-b
glass-light-c
classic (the old card)Within a style, the card changes with what it is for: a Chinese post gets Chinese labels and dates, a series entry shows its place in the series, a timeline entry shows its status, and a page shows its description.




Pick one with ogImage.style in _data/site.yaml, or override it for a single page with ogStyle in its front matter. In a development build, a draft page shows every style side by side, which is where these images came from.
A new logo
The logo was my idea. The template is called Subspace Builder, I'm a sci-fi fan, and I think black holes look cool. So I collected a few reference images and handed them to Claude and Codex, and they each came back with drafts. Several rounds of iteration later, I picked the version you see here.
Subspace Builder never had a logo. Now it has a black hole with a tilted accretion disk: amber on a light background, and a lighter gold on a dark one. The favicon set includes a 16-pixel version of the mark.




It heads the new README, and the Builder's own pages now use it as their favicon.
Sample content you can switch off
The Builder ships with sample posts, notes and timeline entries so a fresh copy has something to show. Deleting them made later upstream updates harder: an update to a deleted sample could leave a modify/delete conflict to resolve.
With the sample-content change (278d614), they live in posts/samples/, notes/samples/ and timeline/samples/, and one line hides them all:
# _data/site.yaml
sampleContent: false
They stay in the repo, avoiding conflicts caused by deleting upstream samples, and their URLs do not change while they are on. npm run starter:reset remains a fresh-fork cleanup wizard: it can replace personal metadata and optionally delete samples. For an existing site, the switch keeps the files available for future updates.
A setup skill for coding agents
The Builder now includes a subspace-setup skill, readable by both Claude Code and Codex. Ask your agent to use it, and it walks through:
- Cloning the Builder and keeping it as
upstream. - Setting the site's title, URL and author.
- Choosing a theme strategy and card style, after showing you both in the running site, and turning off the samples.
- Deploying to Cloudflare Pages, then checking that images aren't LFS pointers and that share cards come back as PNGs.
- Updating to a newer Builder later.
Each step ends with a check it has to pass before moving on, and every setting it touches points back to the configuration reference instead of guessing names.
Fixes, tests and releases
The timeline feed, its heading and its surrounding content now stay centered across the themes. This includes the plainer skins as well as the sci-fi ones; Warm Paper also gets an explicit centering rule. The work is in 0e21bd2 and df13f2b.
The tests now build their own fixture site from test-owned content and configuration, instead of relying on a downstream site's posts or bundled samples. That keeps pagination, counts and snapshots stable even when you edit or remove every sample. The content and configuration isolation is in 10f3653, with snapshot setup finalized in ab5d310. Vitest also stops loading the site's secret environment files in a759273.
For the released v2.0.0 tag (dac45bf), validation passed with 654 tests in 69 files, 42 Chromium browser tests, and a production build. The tests render their own fixture site, so they don't depend on your content. The CI test run also passed.
Light/dark image pairs now load their shared stylesheet on every page (44cef20), so the image follows the resolved theme scheme.
Releases are now cut by hand. 18c2e74 removes release-please and documents the manual release process. Agent instruction files are also excluded from the generated site in 9296d0c.
Upgrading an existing site
If your site sits on top of the Builder's history, an update replays your commits onto the Builder. Use the v2.0.0 tag to target this release; upstream is the Builder remote:
git fetch origin
git fetch upstream --tags
old_main=$(git rev-parse origin/main)
backup_tag=backup/main-$(date +%Y%m%d-%H%M%S)
git tag "$backup_tag" && git push origin "$backup_tag"
git rebase v2.0.0
npm test && npm run build
git lfs push origin main
git push --force-with-lease="refs/heads/main:$old_main" origin main
In a conflict, keep your own files (README, _data/, content) and take the Builder's code. A few things change on the way to v2.0.0:
- Themes. The old themes are hidden and readers' saved choices move to their closest new one, for example Sun and Mint to Warm Paper, Default to Swiss, and Midnight to Liquid Glass dark. The Builder defaults to Fun mode; set
defaultStrategy: simpleand adefaultIdto keep one theme for everyone. - Share cards. The default card is now Retro. Set
ogImage.style: classicto keep the old one. - Samples. If you deleted the samples before, restore the upstream sample files when resolving those conflicts and set
sampleContent: false. - Node. Use Node 20 or newer, locally and on your host.
The Builder README links to the setup and configuration guides.





