Skip to content

Graphite v0.2.0

Choose a tag to compare

@Zakkaus Zakkaus released this 02 Sep 00:29
· 23 commits to main since this release
v0.2.0
8ef5bb7

Three things a phone showed that a desktop does not.

  • Memory bars. 160px of bar for a label needing 170, centred, so the
    leading digit went with the percentage. The label column shrinks to what it
    holds and the bar takes the rest; the label aligns to the start, because a
    lost tail is recoverable and a lost first digit is not.
  • The wireless panel. One badge per SSID in a plain div, and a badge is an
    inline chip, so each shrank to its own text: four boxes, one left edge, four
    right edges, nothing between them. Stacked, they are rows of a list.
  • The header. It rode away with the content. On a phone the sidebar is a
    drawer and there is nothing for an inner scroller to hold still, so the
    document scrolls and the header is fixed. Fixed rather than sticky:
    components.css sets overflow-x on html and body, and an ancestor
    overflow other than visible turns sticky off without saying so.

Giving up the inner scroller also gave up what kept a wide page from pushing
the document sideways — 256px of it on the file manager at 360. Only the
horizontal axis comes back.

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. Two phone
widths across every page: no sideways scroll, the header stays at the top
after scrolling, and every progress label fits its bar — except one on the
package manager, whose sentence is longer than the row it sits in at 360px and
is clipped at the tail.