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 --- static/app.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'static/app.js') diff --git a/static/app.js b/static/app.js index 1296805..0466372 100644 --- a/static/app.js +++ b/static/app.js @@ -295,9 +295,6 @@ document.addEventListener("pointerdown", touched, true); // A fresh page is not dimmed, so a dim left by an earlier server goes too. fetch("/api/tablet").then((r) => r.json()).then((t) => { dimAfter = t.dim_after ?? 0; - // [tablet] clock_font, served at /fonts/clock (deck.css). - dimmer.classList.toggle("font-time", !!t.clock_font); - dimmer.classList.toggle("font-date", !!t.clock_font && !!t.clock_font_date); tablet("undim"); touched(); }).catch(() => {}); -- cgit v1.2.3