@apply to dark mode #3599
Unanswered
gregoirepuget
asked this question in
Help
Replies: 1 comment
-
Hey! I'm guessing you probably haven't enabled dark mode in your config file? module.exports = {
darkMode: 'media',
// ...
} Here's a demo that shows it working: |
Beta Was this translation helpful? Give feedback.
0 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.
-
Hello,
I think @apply doesn't work with dark mode.
Something like :
h1 { @apply dark:text-white; }
i've got issue with something like "class doesn't exist"
Beta Was this translation helpful? Give feedback.
All reactions