UI redesign: replace Bulma with Tailwind CSS v4 (merged to local main, pending push) #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Replaced the Bulma 1.0.2 UI with a locally-compiled Tailwind CSS v4 stylesheet. CSS payload drops from 687 KB to 44.8 KB (-93%). No CDNs, no Node — the standalone tailwindcss CLI builds the stylesheet and the output is committed.
What changed
internal/web/static/bulma.min.cssdeleted; singleinternal/web/static/passage.css(44.8 KB, compiled + minified Tailwind output) is the only stylesheet shippedinternal/web/ui/input.css(@themedesign tokens +@layer components: .btn/.card/.input/.table/.badge/.sidebar-link/…) is the style source of truth — rebuild withmake css(tools/build-css.sh)#admin-nav-togglecheckbox pattern);admin.jsremovedprefers-color-schemetoken override block; system font stack; inline-SVG icon sprite (templates/icons.html)Verification
CGO_ENABLED=0 go build,go vet,go test -race ./...(all 14 packages) passVerify compiled CSS is up to datestep rebuilds the stylesheet in the test job and fails on drift (tools/build-css.shnow tracked; onlytools/tailwindcss*is gitignored)Branches
redesign/tailwind-v4(a92f3f3)redesign/bulma-refined(evolved Bulma, 695 KB),redesign/pico(Pico CSS v2.1.1, 99 KB)Follow-ups
main(merge + docs + CI commits are local-only)onclickinherited from the old template