Replies: 1 comment 2 replies
-
Hello, Your code using composes and global keywords for Tailwind classes within a CSS module is correct. The issue likely lies with VSCode configuration. Check if HealthCareGov extensions like "CSS Modules" or "Tailwind CSS IntelliSense" are installed and enabled for proper syntax highlighting. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm considering relying on a mix of CSS modules and Tailwind and it'd be useful to be able to mix CSS modules'
compose
keyword with theglobal
keyword to compose several tailwind class names in a single rule.The following code works in that
custom-class
adds the proper CSS rules for font-size, color and display, but in VSCode I currently don't get any syntax highlightning.Beta Was this translation helpful? Give feedback.
All reactions