Match Flow Kit: Countdowns, Rounds and Results
README.md
theme
The three looks every MatchFlow screen comes in (minimal, scifi and cartoon) as design tokens: colours, fonts, panels, medals and avatar colours. It also holds the small widget helpers the screen modules share (label, box, row, abs, svg, text, panel, ease). The results, HUD and lobby modules call it; to add a look, add a token set here.
viewport()returns{ w, h, narrow, short }: the safe area in UI points, withnarrowfor a phone held upright (under 640 wide) andshortfor one held sideways (under 480 tall).solid(node)snaps every size or position strictly between -1 and 1 to whole points, because the UI reads such a number as a fraction of the parent. Every kit panel's render runs it; run it on your own panels too.