Skip to content

cleanup: remove dead code + fix stale font references#43

Merged
ronaldtse merged 1 commit into
mainfrom
cleanup/dead-code-and-polish
Jun 22, 2026
Merged

cleanup: remove dead code + fix stale font references#43
ronaldtse merged 1 commit into
mainfrom
cleanup/dead-code-and-polish

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

Post-merge cleanup after PR #42 (specimen redesign). Three items:

  1. Dead CSS removed: pageClass rule in style.css (set which the body already has globally) and in index.md frontmatter.
  2. Stale font reference fixed: the first specimen's still pointed at (the original display font, replaced by Newsreader → Spectral). Now correctly references . Also updated the footer colophon 'Set in Fraunces' → 'Set in Spectral'.
  3. Verified: zero references remain anywhere, zero references remain, build passes, 8/8 tests pass, subsite guard passes.

Three items:

1. Dead CSS removed: .specimen-home pageClass rule in style.css (set background-color which body already has globally) and the pageClass: specimen-home in index.md frontmatter.

2. Stale font reference fixed: the first specimen's cssFamily still pointed at 'Fraunces' (the original display font, replaced by Newsreader then Spectral). Now correctly references 'Spectral'. Also updated the footer colophon 'Set in Fraunces' → 'Set in Spectral'.

3. Verified: zero Fraunces references remain, zero specimen-home references remain, build passes, 8/8 tests pass, subsite guard passes.
@ronaldtse ronaldtse merged commit fecc3d1 into main Jun 22, 2026
5 checks passed
@ronaldtse ronaldtse deleted the cleanup/dead-code-and-polish branch June 22, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant