admin管理员组

文章数量:1344680

I have defined custom colors as CSS variables inside the :root of globals.css in my Next.js project. Additionally, I created a separate tailwind.css file to manage Tailwind configurations.

I want to use these custom color variables within Tailwind's @theme or any other suitable configuration so that I can apply them as Tailwind utility classes (e.g., bg-primary, text-secondary, etc.).

本文标签: color configuration in tailwind css v4Stack Overflow