aboutsummaryrefslogtreecommitdiffstats
path: root/static/deck.css
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-13 16:39:50 +0100
committerDanilo M. <danix@danix.xyz>2026-11-13 16:39:50 +0100
commit6b03740a8c9fb98b788549412f0ebf3cbae1d2de (patch)
tree85f9532f1efdc63ecebb9c42a3e7a3c0b764e5d3 /static/deck.css
parent4bc6d69fc0fbfc3de5fb84874985a26deb79fdb5 (diff)
downloaddeck-it-6b03740a8c9fb98b788549412f0ebf3cbae1d2de.tar.gz
deck-it-6b03740a8c9fb98b788549412f0ebf3cbae1d2de.zip
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/<key>, 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 <noreply@anthropic.com>
Diffstat (limited to 'static/deck.css')
-rw-r--r--static/deck.css5
1 files changed, 1 insertions, 4 deletions
diff --git a/static/deck.css b/static/deck.css
index fd0b813..b6da4c6 100644
--- a/static/deck.css
+++ b/static/deck.css
@@ -611,10 +611,7 @@ select {
#dimmer[hidden] { display: none; }
.dim-time { font-size: 8rem; font-weight: 300; line-height: 1; color: var(--udt-text); font-variant-numeric: tabular-nums; }
.dim-date { font-size: 1.6rem; color: var(--udt-subtext0); }
-/* [tablet] clock_font; a missing font falls back to the page font. */
-@font-face { font-family: "deckit-clock"; src: url("/fonts/clock"); }
-#dimmer.font-time .dim-time { font-family: "deckit-clock", "Inconsolata Nerd Font Mono", ui-monospace, monospace; font-weight: normal; }
-#dimmer.font-date .dim-date { font-family: "deckit-clock", "Inconsolata Nerd Font Mono", ui-monospace, monospace; letter-spacing: .08em; }
+/* The clock's fonts come from keystone's fonts.json, as rules in theme.css. */
/* The PC asleep: over everything, and the wake lock is dropped (app.js). */
#asleep {