diff options
Diffstat (limited to 'AGENTS.md')
| -rw-r--r-- | AGENTS.md | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -87,10 +87,13 @@ Keep the server dependency-free apart from that one package. covers the page with `#dimmer` and `tablet`'s `dim` action sets the backlight to `dim_brightness` over adb (auto brightness off meanwhile); the touch on the cover calls `undim`, which puts both back, as does the - module's `stop`. The cover's clock (and, with `clock_font_date`, its - date) uses `[tablet] clock_font`, a family installed on the PC that the - server finds with `fc-match` and serves at `/fonts/clock`; the font file - never enters the repo, so a personal-use font is fine. + module's `stop`. The cover's time and date fonts are keystone's Fonts + page: `family` `deckit-clock` and `deckit-date` in its `fonts.json`, each a + family installed on the PC that the server finds with `fc-match` and + serves at `/fonts/<key>`; their px sizes are its `deckit:clock` and + `deckit:date` overrides (else deck.css's 8rem and 1.6rem); theme.css + carries the rules, so a change reaches an open page. The font file never + enters the repo, so a personal-use font is fine. Before a suspend, poweroff or reboot `deckit/sleep.py` (an elogind delay inhibitor plus `dbus-monitor` on PrepareForSleep/PrepareForShutdown) marks answers with `X-Deckit-Sleep: asleep|shutting down` for 2s, and `app.js` |
