UI redesign: replace Bulma with Tailwind CSS v4 #2
Loading…
Reference in a new issue
No description provided.
Delete branch "redesign/tailwind-v4"
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?
Closes #1
Summary
Replaces the Bulma 1.0.2 UI with a locally-compiled Tailwind CSS v4 stylesheet.
CSS payload: 687 KB → 44.8 KB (−93%) · No CDNs · No Node — standalone tailwindcss CLI, compiled output committed.
Changes
internal/web/static/bulma.min.css; ship oneinternal/web/static/passage.css(compiled + minified Tailwind output)internal/web/ui/input.cssis the style source of truth:@themedesign tokens (deep-forest-green brand scale, semantic surface/ink/line colours, radii, shadows) +@layer components(.btn,.card,.input,.table,.badge,.sidebar-link, …)make css(tools/build-css.sh; binary attools/tailwindcss, gitignored)#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 ✓Notes for reviewers
make cssbuild reproduces the committed stylesheet byte-for-byte (CI enforces this in the test job)redesign/bulma-refined(695 KB),redesign/pico(99 KB)