最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

color configuration in tailwind css v4? - Stack Overflow

programmeradmin1浏览0评论
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.).

发布评论

评论列表(0)

  1. 暂无评论