fix: remove Tailwind — pure CSS utility classes #50
No reviewers
Labels
No labels
domain:backend
domain:devops
domain:frontend
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/pal-e-docs-app!50
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "44-remove-tailwind"
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
Changes
vite.config.ts: removed@tailwindcss/viteimport and plugin callsrc/app.css: removed@import 'tailwindcss'; added ~230 lines of utility classes covering all ~90 unique Tailwind utilities used across 23 .svelte files (layout, spacing, typography, sizing, borders, transitions, positioning, responsive breakpoints, group-hover, animate-spin)package.json: removedtailwindcssand@tailwindcss/vitefrom devDependenciespackage-lock.json: updated (14 packages removed)Test Plan
npm run buildsucceeds with zero errorssvelte-checkpasses with 0 errors (2 pre-existing warnings only)tailwindanywhere insrc/Review Checklist
Related
QA Review
Scope Verification
vite.config.ts,package.json,app.css-- completetailwindremain insrc/Utility Class Coverage
Audited all ~90 unique Tailwind utilities across 23 .svelte files against the replacement CSS:
h-fullwas missing (used inboards/[slug]/+page.svelteline 789). Added in follow-up commit12a3a04.gap-0.5,min-h-[60vh],z-[1000],sm:flex-row,hover:scale-110,group-hover:opacity-100) are present with correct CSS escaping.CSS Correctness
space-y-*uses the> * + *lobotomized owl pattern -- correctgroup/group-hover:opacity-100pattern implemented correctly-translate-x-1/2.-translate-y-1/2compound selector handles the drag ghost elementBuild Verification
npm run buildpasses with zero errorssvelte-checkpasses with 0 errors (2 pre-existing warnings)Nits (non-blocking)
borderclass usesvar(--color-border)while Tailwind's default usescurrentColor-- this is actually better since it matches the design system. No action needed..border-2also usesvar(--color-border)-- matches usage in the spinner element (border-2 border-t-transparent). Correct.VERDICT: APPROVE