How do I add custom tailwind designs?
Unanswered
Pomeranian posted this in #help-forum
PomeranianOP
Since the tailwind config is gone in the latest version of nextjs, where do i put and add custom tailwind gradient design for my project?
5 Replies
@joulev globals.css
ref: https://tailwindcss.com/blog/tailwindcss-v4#css-first-configuration
PomeranianOP
I forgot to mention, does globals.css acts like an external css file? But for tailwind?
@Pomeranian I forgot to mention, does globals.css acts like an external css file? But for tailwind?
not sure what you mean by 'external', but tailwind in v4 moves the entire config from a config.js file to the css file
globals.css
is just the name. Doesn't matter what name you give it. By convention "globals" is the name Next.js gives to it, and it's the endtypoint to load Tailwind styles