Supporting sybling selector for darkmode. #13835
mayank1513
started this conversation in
Ideas
Replies: 0 comments
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.
-
Currently, class selector is supported for applying dark mode. This works very well for client side applications. However, in many cases I need to use sibling selector (~). For example, checkout this one - vercel/next.js#66794
Proposal
Extend plugin configuration to support something like
darkMode: "class:sibling"
. This should generate CSS similar to followsBeta Was this translation helpful? Give feedback.
All reactions