mirror of
https://github.com/ancsemi/Haven.git
synced 2026-10-29 18:15:46 +00:00
Braid shipped one spacing. Settings → Braid spacing (and Menu → Braid spacing, which cycles without closing the menu) now offers Compact, Cozy and Spacious. Cozy is exactly what shipped, so the two new levels go in both directions: the same eight messages measure 417 / 513 / 617 px. The scale is tokens on html[data-braid-density], read by both the form and layout sheets, so message runs and channel rows tighten together along with the sidebar width. Corner radii are deliberately left out of the scale — this is a density control, not a shape one, and the cards measure an identical 14px (12px for channel rows) at all three levels. --braid-gutter is now derived as inset + avatar + row gap rather than hardcoded. A continuation indents by exactly its leader's gutter, so a level that shrinks the avatar can no longer drift a run out of line with its own first message. Measured 0px drift at all three levels. The Android App badge kept a hardcoded white label. It cannot follow --accent-text because it paints itself a fixed Android-green gradient in every theme, so white sat at 1.78:1 at the light end of that gradient. It and its dismiss button now use an ink that measures 9.65:1 there and 6.46:1 at the dark end. Co-authored-by: ancsemi <ancsemi@gmail.com>