aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-16 18:44:24 +0100
committerDanilo M. <danix@danix.xyz>2026-11-16 18:44:24 +0100
commitc074a085cca9d97d9b4eb18f21004fb41f7857f6 (patch)
treeffb3a91c7efd8788f58b669991127e08b0e1c034 /AGENTS.md
parent573ad65a8eee9173256c860f46204e584169c749 (diff)
downloaddeck-it-c074a085cca9d97d9b4eb18f21004fb41f7857f6.tar.gz
deck-it-c074a085cca9d97d9b4eb18f21004fb41f7857f6.zip
fix(ui): serve the Propo Nerd Font so icons centre
The plain Inconsolata Nerd Font gives each icon a 500 unit advance while its ink is up to twice that wide, so every Nerd Font button sat right of centre. The Propo variant's advance is the ink, so centring works for all of them; the VM power button's padding workaround goes. The URL becomes /fonts/nerd-propo.ttf because the font is cached for a day. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index ed90af8..af38260 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -118,8 +118,10 @@ Keep the server dependency-free apart from that one package.
`qs -p <[assistant] shell> ipc call assistant catalog`. Files are picked
on the PC with qarma, never named by the tablet. Voice is a WAV upload
(`Module.uploads`, a raw body with its own size limit) written to the run
- dir and asked with `audio`. The tab's icons are the Nerd Font the server
- serves at `/fonts/nerd.ttf`; Markdown goes through `static/md.js`
+ dir and asked with `audio`. The tab's icons are the Nerd Font (Propo, so
+ a glyph's advance is its ink and centring works) the server serves at
+ `/fonts/nerd-propo.ttf`, cached a day: rename the URL when the font
+ changes; Markdown goes through `static/md.js`
(vendored `marked`, HTML escaped, images never fetched).
- The page holds a Screen Wake Lock while visible, so the tablet never sleeps
over the dashboard. After `[tablet] dim_after` seconds untouched, `app.js`