diff options
Diffstat (limited to 'DESIGN.md')
| -rw-r--r-- | DESIGN.md | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -20,7 +20,7 @@ bottom: - **Variable band.** One element may absorb the height left over, chosen per card: the daylight arc in `weather`. Or the type itself fills the cell. -Failure states keep the chrome and draw a notice in it ("no cache data", `--` +Failure states keep the chrome and draw a notice in it ("no calendar data", `--` for a missing sensor). An empty cell is indistinguishable from a crashed widget, so a card never draws nothing. A missing sensor is `--`, never `0`: zero is a legitimate reading. @@ -38,7 +38,7 @@ Everything else exists to keep those two readable at any cell size. of a width fit and a height budget. `card.fit_unit` measures candidate rows and returns the largest base size that fits the width, and a row that would collide pulls the size down. Bigger cell, bigger type instead of empty space. - The `cache` card does this; a card that cannot afford the + The `breaktimer` card does this; a card that cannot afford the measuring pass may key off width with a clamped factor. - **Roles.** `FONT_MONO` for labels and row text, `FONT_HEAVY` for the big number, `FONT_UI` for prose (a condition description, a notice). Sizes within @@ -52,11 +52,11 @@ One language for every measured quantity, so state is read rather than decoded: | State | Role | Example | |---|---|---| -| fine | `ok` | a fresh cache, a current changelog | -| busy | `warning` | a cache past 25% | -| hot / full | `critical` | a cache past 75%, a stale changelog | +| fine | `ok` | breaktimer working | +| busy | `warning` | breaktimer paused | +| hot / full | `critical` | a quantity past its upper threshold | -- Proportions (cache usage) use **25% / 75%**. +- Proportions use **25% / 75%**. - `warning` is the palette's middle role. The board should show all three states in normal use, or the language is not earning its place. - The big value's colour follows what it is: `body` for a plain number, the |
