Skip to content

Conversation

@naaa760
Copy link
Contributor

@naaa760 naaa760 commented Jan 28, 2026

Problem:

  • Font weight didn't change in the active state; other styles (colors, borders) worked.

Solution:

  • Added data-[state=active]:!font-semibold to TabsTrigger to apply semibold weight when active.

Why:

  • Uses a Tailwind utility so Tailwind generates the variant CSS. Custom classes aren't utilities, so variants don't work.

fix: #9466

@vercel
Copy link
Contributor

vercel bot commented Jan 28, 2026

@naaa760 is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug]: Only font is not applicable when TabsTrigger is active

1 participant