Replies: 1 comment 1 reply
-
Try in export default {
darkMode: ['variant', '@media not print { .dark & }'], This should now compile @media not print {
.dark .dark\:text-white { |
Beta Was this translation helpful? Give feedback.
1 reply
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 using dark mode with shadcn and Tailwind, but the problem I face is that when printing the page, it displays the page in print. I don't want that. My attempt to address this problem:
(tailwind.config.js)
This produces the following error for me:
[vite-plugin-pwa:build] [postcss] initializer is not a function
How do I fix this?
Beta Was this translation helpful? Give feedback.
All reactions