Replace Bootstrap with Tailwind CSS + Alpine.js #14
No reviewers
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sneak/webhooker#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/tailwind-alpine"
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
Replaces Bootstrap CSS/JS framework with Tailwind CSS v4 + Alpine.js, matching the µPaaS UI pattern.
Changes
static/css/input.csswith Material Design inspired theme, compiled tostatic/css/tailwind.cssstatic/js/alpine.min.jsfor reactive UI componentsbase.html— new layout structure with footer, matches µPaaS patternhtmlheader.html— Tailwind CSS link,[x-cloak]stylenavbar.html— Alpine.js mobile menu toggle, responsive designindex.html— card-based dashboard with Tailwind classeslogin.html— centered login form with Material Design stylingprofile.html— clean profile layoutmake csstarget — compiles Tailwind CSS using standalone CLIinput.css— reusable.btn-primary,.card,.input,.alert-erroretc.Testing
make fmt✅make check(fmt-check, lint, test, build) ✅docker build .✅closes #4
Review: PASS ✅
Reviewed PR #14 (closes #4) — Bootstrap → Tailwind CSS v4 + Alpine.js migration.
Checklist
bootstrap,jsdelivr,cdn, or any CDN URLs in templates or static assets. Oldstyle.cssreplaced with a single-line comment pointing toinput.css.static/css/tailwind.cssis a properly compiled Tailwind v4.0.14 output (23KB minified).static/css/input.cssdefines a clean Material Design-inspired theme with custom color palette, elevation shadows, and@layer componentsfor reusable classes (btn-primary,btn-secondary,btn-danger,btn-text,card,card-elevated,input,label,form-group,badge-*,app-bar,alert-*).static/js/alpine.min.js(44KB, v3.14.9) loaded via<script defer src="/s/js/alpine.min.js">inbase.html. No CDN references anywhere.base.html,htmlheader.html,navbar.html,index.html,login.html,profile.html) rewritten with Tailwind utilities. Responsive design viamd:breakpoints. Alpine.jsx-data,x-show,x-cloak,@clickfor mobile menu toggle.make csstarget works — Makefile hascss:target runningtailwindcss -i static/css/input.css -o static/css/tailwind.css --minify..golangci.ymlNOT modified — confirmed via diff, no changes.docker build .passes — full build includingmake check(fmt-check, lint, test, build) succeeded.Notes
main(no rebase needed).input.cssfor design tokens and component classes, compiledtailwind.cssfor production, vendoredalpine.min.jsfor interactivity.Marking as
merge-ready.