ui icon indicating copy to clipboard operation
ui copied to clipboard

fix(shadcn): extract tailwind v4 prefix from css file

Open lott-ai opened this issue 11 months ago • 1 comments

In Tailwind v4, you can set your Tailwind prefix via a function in the CSS import: https://tailwindcss.com/docs/styling-with-utility-classes#using-the-prefix-option

Tailwind prefix option is strictly set to only lowercase characters ([a-z]): https://github.com/tailwindlabs/tailwindcss/blob/ad001199f6e3ce64472de1b3d5f5a424c9d065c8/packages/%40tailwindcss-upgrade/src/template/codemods/prefix.ts#L117

Related to https://github.com/shadcn-ui/ui/issues/6585

lott-ai avatar Feb 09 '25 07:02 lott-ai

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Feb 09 '25 07:02 vercel[bot]