Migrate component-specific global.css classes to Tailwind utilities #126
Labels
No labels
auth
autorelease: pending
autorelease: tagged
bug
dependencies
devops
docker
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
javascript
maintenance
question
refactor
ui
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gitchegumi/GitchAlerts#126
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
Refactor styling so component-specific CSS currently living in
global.cssis moved into the components that use it via Tailwind CSS utility classes.This is a maintainability issue, not a redesign. The UI should look and behave the same after the migration.
Problem
Too much component-specific styling in
global.cssmakes the UI harder to maintain. When classes or patterns become deprecated, it requires hunting through a large global stylesheet to figure out which component owns the styling and whether it is still used.Tailwind should keep component-level styling close to the component markup. That makes future cleanup, deprecation fixes, and UI iteration much easier.
Desired behavior
global.cssshould only contain styles that are genuinely global.global.css.global.csswhere practical.Scope
Audit
global.cssand classify styles into two groups:Keep global
Move to components
Acceptance criteria
global.cssis audited for component-specific classes.global.css.Implementation notes
Prefer straightforward Tailwind utilities directly in component markup unless a repeated pattern clearly justifies a small local abstraction.
Do not move theme tokens, palette definitions, or other app-wide design primitives out of
global.cssjust for the sake of removing lines. The goal is to stop usingglobal.cssas a dumping ground for component-specific styling while keeping actual global styling global.