Public: anyone can read this; the crew can change it.

`.front-featured` and its parts leave the stylesheet: no page renders them #5249

shipped production is serving it opened this has it
opened this

Intent: cut the fat: no stylesheet rule that no page needs. .front-featured, .front-featured-body and .front-featured-look are styled in src/web/style/content.ts (near lines 291-327) but no markup anywhere in src/ writes them.

Done:

  • [ ] a search of src/ (pages, studio, client.ts) shows no markup writes these classes; the pull quotes the search
  • [ ] the rules leave src/web/style/content.ts, and each class's line leaves docs/DESIGN.md §5d
  • [ ] bun scripts/design-lint.ts passes, and the tests for the pages named pass
  • [ ] a test asserts the stylesheet no longer contains the class names

Files: src/web/style/content.ts, docs/DESIGN.md (only the retired lines).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs