From fb8aa525fb1a4397becc0577fa215f6476fa4d41 Mon Sep 17 00:00:00 2001 From: David Reinecke <6206278+dreinecke@users.noreply.github.com> Date: Sat, 14 Nov 2026 21:56:56 +0000 Subject: [PATCH] Record the top-row size that Calendar and To Do follow (C-083) Magpie Calendar and Magpie To Do now scale their spacing by Mail's interface text size so the three apps line up. Note the setting they read, so it is not renamed or moved without telling them. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01FLvc6ysxJTzP72yY4diHA3 --- docs/DESIGN.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/DESIGN.md b/docs/DESIGN.md index 99416401d..3bd75f44a 100644 --- a/docs/DESIGN.md +++ b/docs/DESIGN.md @@ -94,6 +94,15 @@ Equal edges and gaps are layout invariants. Verify their resolved bounds at repr A scrollbar belongs to the viewport that scrolls and sits on that region's outer edge. Text and row padding live inside the viewport; they must not inset the scrollbar into the content column. When content needs clearance from the scrollbar, reserve it deliberately inside the content rather than moving the scroll owner. +### Shared top row with Magpie Calendar and Magpie To Do + +Magpie Mail's top row is the reference for its sibling desktop apps. They place their menu button, top row, header +hairline and side margins where Mail does, and scale their spacing units by Mail's interface text size so the three +stay aligned when that size changes. They read it from `display.interfaceSize` in Mail's `window.json` +(`~/.config/omamail/window.json`). Treat that key as an interface: renaming or moving it, or changing what it means, +needs a note to those apps first. The file is replaced atomically by `scripts/config-store.sh`, so a reader watches +its folder, reacts only when that value changes, and keeps its last good value when the file is missing or unreadable. + ## Sidebar The sidebar is a compound component with four roles: