Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docs/DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading