-
|
What version of Tailwind CSS are you using? 3.1.5 What version of Node.js are you using? Node v16.16.0 Describe your issue I used the Tailwindcss CLI method to setup my project. So I'm trying to theme Tailwindcss following the example documentation from here, the problem is that even if I try the code snippet from the example, when I run I also tried my own Overriding: Extending Neither of those will produce the classes including "verde" to be used in my theme. Am I missing something or is this a bug? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hey, can you provide more details on how you're using the utilities or a reproduction I can look at? I created a Tailwind Play here and everything is working as expected: https://play.tailwindcss.com/mQFbw9PkFs |
Beta Was this translation helpful? Give feedback.
-
|
I wasn't using any of the classes I was adding into my theme, when tailwindcss-cli compiles the css file it won't include unused classes, this is to make the smallest bundle possible. Once I started using the classes in my html files and retried it was all ok. From the docs:
|
Beta Was this translation helpful? Give feedback.
I wasn't using any of the classes I was adding into my theme, when tailwindcss-cli compiles the css file it won't include unused classes, this is to make the smallest bundle possible.
Once I started using the classes in my html files and retried it was all ok.
From the docs: