Theme extend not working - Tailwind with Next.js #3018
-
Hey, y'all. I have a lil Tailwind project set up with Next. I've just extended the theme with fontSize but it doesn't seem to make an effect. Whenever I add the Colors extensions work though. Weird huh?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey! 👋 Be sure to use the If you've done that, and it's not working, we'll need a repo to look at as it's impossible to troubleshoot without more details. What you're describing should work - here's a Tailwind Play example that adds a |
Beta Was this translation helpful? Give feedback.
Hey! 👋
Be sure to use the
text-tiny
class and nottiny
in your HTML.If you've done that, and it's not working, we'll need a repo to look at as it's impossible to troubleshoot without more details.
What you're describing should work - here's a Tailwind Play example that adds a
tiny
font size in the config, literally copied from your example above:https://play.tailwindcss.com/nBt1qPCMTv