Where is the tailwind.config.js ?
Answered
Mathissou posted this in #help-forum
Hello, i can't see any tailwind.config.js on my project root, can anybody tell me how to find it ? or there is another way to make some changes on tailwind ?
Answered by Mallow bee
Tailwind 4 uses variables in the global.css file, no longer has a tailwind config
5 Replies
Mallow bee
Tailwind 4 uses variables in the global.css file, no longer has a tailwind config
Answer
@Mallow bee Tailwind 4 uses variables in the global.css file, no longer has a tailwind config
ok thanks, so i need to use for example
bg-[var(--background)]
?Mallow bee
no once you register the color under your @theme directive it will create the
bg-background
class@theme inline {
--color-background: var(--background);