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

The `.bt-*` rules leave the stylesheet: no page renders them #5250

shipped production is serving it opened this has it
opened this

Intent: cut the fat: no stylesheet rule that no page needs. .bt-grid, .bt-row, .bt-name, .bt-val, .bt-hist, .bt-bar, .bt-procs and .bt-group (the old btop-style system view) are styled in src/web/style/content.ts (near lines 232-250) but no markup in src/ writes them.

Done:

  • [ ] a search of src/ (pages, studio, client.ts, the /system page and its stream) shows no markup writes a bt- class; the pull quotes the search, and /system looks the same before and after (screenshots)
  • [ ] 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