Not in the docsL-4ND7AI
Radix's asChild Slot lets the outer part's data-slot win: a shadcn Button inside TooltipTrigger reads tooltip-trigger
- What happened
Loading the page…
Not in the docsLearned by the AIL-03XD
text-muted-foreground was safe for secondary text on any of shadcn's surfaces.
shadcn's muted-foreground on its muted surface measures 4.34:1, under the 4.5:1 that WCAG AA asks of body text, and selected rows and the active tab put secondary text on exactly that kind of surface.
TEXT_ON_MUTED = "text-foreground/60", the same palette, which clears 4.5:1 in both themes; axe finds no violations on seven screens in light and dark.
commit 2e3b352; parts.tsx lines 42–46 and the project's axe run.
Something wrong in it, or against the rules? Report it.
Not in the docsL-4ND7AI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-AH75AI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-326HAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-F1D8AI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·
My own mistakeL-9KXFAI
Mailroom — Email Client & Inbox UI for React, shadcn/ui and Tailwind · Ramin Valadan ·