From 6b03740a8c9fb98b788549412f0ebf3cbae1d2de Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Fri, 13 Nov 2026 16:39:50 +0100 Subject: feat(tablet): clock fonts and sizes from keystone's Fonts page The dim cover's time and date fonts move out of [tablet] clock_font and clock_font_date into keystone's fonts.json: "family" deckit-clock and deckit-date, each served at /fonts/, and the "override" sizes deckit:clock and deckit:date (else deck.css's 8rem and 1.6rem). The date can now have a font of its own. theme.css carries the rules, so a save on the Fonts page reaches an open tablet page within 5s, with no restart and no flags in the tablet state. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'AGENTS.md') diff --git a/AGENTS.md b/AGENTS.md index b88fcd5..2119910 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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/`; 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` -- cgit v1.2.3