Bug: Multiple undefined Tailwind CSS classes across UI components and pages #51
Labels
No Label
P0 Critical
P1 High
P2 Medium
P3 Low
accessibility
backend
bug
content
data-integrity
enhancement
frontend
infra
integration
owner
owner-input
performance
performance
phase-7
phase-8
security
seo
ui
ux
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: null/Queue-North-Website#51
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Problem
Multiple components and pages reference Tailwind classes that are not defined in
tailwind.config.js. These classes generate no CSS and have no visual effect.Undefined Classes Found
Design token classes (shadcn/ui conventions without CSS variable setup)
text-muted-foreground— used in Card.jsx, CardDescription.jsx, Dialog.jsx, Sheet.jsx, Input.jsx, Select.jsx, Textarea.jsx, Contact.jsx, Support.jsxtext-card-foreground— used in Card.jsxtext-accent-foreground— used in Button.jsx (outline variant)text-secondary-foreground— used in Button.jsx (ghost variant)bg-secondary— used in Button.jsx (ghost variant)border-input— used in Input.jsx, Textarea.jsxring-ring— used in Button.jsx, Input.jsx, Textarea.jsx, Dialog.jsx, Sheet.jsxring-offset-background— used in Input.jsx, Textarea.jsx, Dialog.jsx, Sheet.jsx, Contact.jsx, Support.jsxbg-accent— used in Button.jsx (outline variant)Color shorthand classes
text-cyan— should betext-primary-cyan(used in MobileNav.jsx, Footer.jsx)bg-cyan— should bebg-primary-cyan(used in Footer.jsx)hover:bg-cyan/90— should behover:bg-primary-cyan/90(Footer.jsx)hover:text-cyan— should behover:text-primary-cyan(Footer.jsx, MobileNav.jsx)Fix
Either:
tailwind.config.js(e.g., addmuted-foreground,card-foreground,accent,accent-foreground,secondary,secondary-foreground,input,ringcolors)text-muted-foreground→text-muted,text-cyan→text-primary-cyan)Option 2 is preferred since the project uses direct hex values, not CSS variable-based theming.
Files Affected
src/components/ui/Button.jsxsrc/components/ui/Card.jsxsrc/components/ui/CardDescription.jsxsrc/components/ui/Dialog.jsxsrc/components/ui/Sheet.jsxsrc/components/ui/Input.jsxsrc/components/ui/Select.jsxsrc/components/ui/Textarea.jsxsrc/components/layout/MobileNav.jsxsrc/components/layout/Footer.jsxsrc/pages/Contact.jsxsrc/pages/Support.jsx