mirror of
https://github.com/Zakkaus/doona.git
synced 2026-12-05 08:00:59 +00:00
The stylesheets wrote the phone bound three ways and components repeated their own media queries. Breakpoints now live in one list in ui/hooks.ts; stylesheets write (min-width: N) or (max-width: N-0.02), and components take their queries from the same module. A unit test holds every media query in src to the list. Values are unchanged at every whole-pixel width.
166 B
166 B
Internal
- Media queries in stylesheets and components use one named breakpoint list in
ui/hooks.ts, written in a single form and held to the list by a unit test.