Repository navigation
Graphite v0.3.0
The README said every flavour reaches 10:1 for body text and 5.5:1 for
secondary. Five of the six did not — the Catppuccin and Tokyo Night light
flavours sat at 9.26 and 5.11, and three dark ones missed the body figure. The
text lightness moves; the hues do not.
checks/contrast.py is why this surfaced, and it now gates the claim. It
paints each pair into a canvas and reads the pixels back rather than parsing
the stylesheet: oklch()'s three numbers look enough like RGB that a regex
reports 1.00 for every pair, which is how the figures went unchecked.
The rest came from reading five other LuCI themes against this one.
- A disabled
input,selectortextareais drawn as disabled.form.js
renders fields the session may not write that way, and until now only the
cursor told them apart. - A tab holding invalid fields shows how many.
ui.jscounts them and writes
the number onto the tab; nothing read it, so a form refused to save for a
reason sitting on a tab the reader was not looking at. - The README's
apkcommands carry--allow-untrusted.install.shalways
passed it; anyone following the README by hand met a signature error. - The overview's connection table opens a full gutter under the interface
boxes rather than ten pixels.
Files
Architecture-independent, so one build runs on every device. .apk for
OpenWrt 25.12 and later, .ipk for 24.10 and earlier. Only the theme is
required; the settings page has
its own release.
Put the files and install.sh in one directory on the router and run
sh install.sh.
Verified
Installed on a 25.12.5 VM and a GL-BE9300 running 23.05; on both, the
stylesheets the package writes are byte-identical to the tree. Six palettes in
both schemes clear the contrast floor, 39 pages hold two alignment lines and
one gutter between them, and two phone widths scroll without sideways travel
while the header stays put.