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

`.number` leaves the stylesheet: an issue's number in a heading draws from base utilities #5253

shipped production is serving it opened this has it
opened this

Intent: cut the fat: no stylesheet rule that no page needs. .number marks an issue's number in a heading in src/web/pages/browse.ts (near line 715) and src/web/studio/tell.ts (near line 366).

Done:

  • [ ] every use draws from base.ts utilities (for example .muted and .num) and looks the same at 360px and 1280px (before and after screenshots in the pull)
  • [ ] the rules leave src/web/style (where .number is defined), 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 (where .number is defined), docs/DESIGN.md (only the retired lines).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs