Skip to content

v1.3.0 — HeroUI restyle

Choose a tag to compare

@keco216 keco216 released this 09 Aug 12:42
· 96 commits to main since this release

Clockwork restyled as a HeroUI theme with signal orange as the primary colour — the values of heroui.com (@heroui/styles@3.2.4), rebuilt in hand-written vanilla CSS. Still no framework, no Tailwind, no new dependency, and every security promise unchanged.

What changed

  • Borderless surfaces. Panels are cards: white on light grey in light mode, separated by the reference's surface shadow; #18181b on near-black in dark mode, separated by lightness alone. Hairlines, light edges, the device housing and the grain texture are gone.
  • Flat form fields — a filled area with no border and a 2 px focus ring in signal orange sitting directly on the field edge.
  • Three button variants, all filled: solid primary in signal orange for the one main action per panel, neutral fill for equal-rank actions, half fill for "Clear". Primary buttons carry near-black text because it measures: white on #F05A28 is 3.39:1, near-black is 5.23:1 — the same pattern HeroUI uses for its amber.
  • Tinted chips for account parameters (signal tint) and the entry count (neutral), a switch with the reference geometry for the vault's lock-on-leave setting, and the language listbox restyled as a HeroUI select popover.
  • Inter as the interface typeface, bundled locally like everything else. Chivo Mono stays on the codes — they get typed into other people's login fields and need tabular digits.
  • The countdown dial — the brand — is untouched.

Measured, as always

  • 88 contrast pairs across both themes pass their targets, including every text step on every surface of the new ladder; 2 self-tests prove the measurement itself. HeroUI's light muted failed AA on filled surfaces (4.06:1) and ships here one shade deeper (4.70:1).
  • Lighthouse: 100/100/100/100 desktop, 98/100/100/100 mobile at 4× CPU throttle (LCP 2.1 s, TBT 0 ms, CLS 0.01).
  • Bundle: 781 kB decimal (763 KiB), gzip 325 kB. That is +122 kB over v1.2.0, all of it Inter (latin 48 kB vs 30, latin-ext 85 kB vs 11, as data URIs). CLOCKWORK_LANGS still cuts the catalogue: de,en,fr builds at 474 kB.
  • Zero network APIs in the bundle, connect-src 'none' in the single file, nothing stored without the vault — verified by the same scripts as before.

Assets

  • clockwork.html — the full single file, all 37 languages, 781 kB
  • clockwork-de-en.html — German + English only, 465 kB