aboutsummaryrefslogtreecommitdiff
path: root/configs/maintenance-thresholds.toml
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-16 15:56:54 -0500
committerCraig Jennings <c@cjennings.net>2026-07-16 15:56:54 -0500
commita6e5161dd98987043c4112e3f26d33a3aed11f97 (patch)
tree17e4d4e851d43f4238d67f3a6cba4023e588bc80 /configs/maintenance-thresholds.toml
parent10964001cf3b391011b7b48bd0d41f2e73ee261b (diff)
downloadarchsetup-a6e5161dd98987043c4112e3f26d33a3aed11f97.tar.gz
archsetup-a6e5161dd98987043c4112e3f26d33a3aed11f97.zip
feat(gallery): give the ABC keypad a keyboard and screen families
Twenty clicks for a passphrase was always the wrong answer. The plate takes focus on click and reads the keyboard now: lowercase normalises, Space maps to SPC and shows as ␣, Backspace to DEL, Enter to ENT. Every key routes through the same press() a click does, so the two paths can't drift. press() is where the filter belongs, not the keydown handler. I had it in the handler first, which guards the web and leaves the Emacs port wide open, since that port installs KEYS into a keymap and calls press directly with no handler in the stack. It gates on ACTIONS rather than KEYS because they're different sets: CLR is a real key on the plate that no keystroke reaches. The focus ring uses :focus, not :focus-visible. Chrome won't match :focus-visible on a mouse-driven focus of a non-text element, and clicking the plate is how it takes focus, so the ring would have shown only when tabbed to. On a 110-card page that means typing into a card with no sign it was listening. The window is a screen like the scope's or the marquee's, so it takes the screen families through the --scr-* vars with the shipped colours as fallbacks: nothing moves until a chip is clicked. Glass and ink both recolour, because a screen that changes its text and keeps its backlight isn't a screen. It offers all six families where its siblings carry five, since a passphrase window has no reason to prefer one phosphor.
Diffstat (limited to 'configs/maintenance-thresholds.toml')
0 files changed, 0 insertions, 0 deletions