Badge.jsx: text-foreground is undefined — no foreground color in tailwind config #62
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#62
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?
Bug Description
src/components/ui/Badge.jsxline 10 defines theoutlinevariant as'text-foreground'. There is noforegroundcolor defined in the project'stailwind.config.js. The custom colors are:background,section-alt,card,border,text,muted,soft-text,navy-light,primary.navy,primary.blue,primary.cyan,accent.gold.Since
foregrounddoesn't exist,text-foregroundcompiles to nothing in the Tailwind output, meaning the outline badge variant has no text color applied — it inherits whatever color cascades from its parent.Fix
Change
'text-foreground'to'text-text'to match the project's design system.Labels