Keyboard shortcuts

Press โ† or โ†’ to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cap compare at 3 themes (litmus-4ai1)

StatusDone ยท archived
TypeTask
Prioritynormal
ParentUI/UX improvement: shortlist, side-by-side, and contrast issues (litmus-ysy5)

Enforce a maximum of 3 themes in side-by-side compare.

  • Change MAX_COMPARE from 4 to 3 in state.rs
  • Truncate slug list to 3 in URL parsing
  • Update sidebar compare button to respect the cap
  • N/A โ€” shortlist holds up to 5 but compare URL is capped; decoupling is in litmus-nqee
  • Ensure CSS grid adapts well to 2 and 3 columns with contrast markers

Summary of Changes

Changed MAX_COMPARE from 4 to 3. Sidebar compare URL builder stops at 3 slugs. Compare page URL parser uses .take(MAX_COMPARE). Compact mode triggers at 3 columns.