Replies: 3 comments
-
Hey there! Without a reproduction it's hard to say what's the issue here, do you mind attaching one? One idea that I have is that it could be that you did not configure your theme properly, how does your input CSS file looks like? |
Beta Was this translation helpful? Give feedback.
-
input.css |
Beta Was this translation helpful? Give feedback.
-
Been looking a bit into how people with Flask projects set up Tailwind CSS and I do think there might be a command somewhere in your project like this: npx tailwindcss -i ./static/css/style.css -o ./static/css/output-style.css --watch Make sure the input links to the right input.css file for the theme to be picked up! If that doesn't work, please do include a reproduction of a small, minimal, flask project with your setup that reproduces the issue. |
Beta Was this translation helpful? Give feedback.
-
What version of Tailwind CSS are you using?
v4.0.17
What build tool (or framework if it abstracts the build tool) are you using?
postcss-cli 11.0.0
What version of Node.js are you using?
For example: v20.0.0
What browser are you using?
Chrome
What operating system are you using?
macOS
Describe your issue
Running on a Flask app with Tailwnd CLI.
Tailwind is not adding classes for some styles even when they are being used.
In the block above it is adding a class for text-center but it is not for text-white
This is happening across the app for colors, text sizes, padding but things like flex and flex col is working
Beta Was this translation helpful? Give feedback.
All reactions