Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Add .light class support to override custom properties #31

Open
garand opened this issue Apr 28, 2024 · 0 comments
Open

Add .light class support to override custom properties #31

garand opened this issue Apr 28, 2024 · 0 comments

Comments

@garand
Copy link

garand commented Apr 28, 2024

I may explore making a PR for this, but it would be very useful I think to generate a .light class that can be used to set all of the properties to light mode again, in the same way that the .dark class works.

My use case is in dark mode, there are certain sections that I want to still force to be light mode. I can do the reverse of what I want by setting class="dark" on the parent of the section if the page is in light mode, but I can't do class="light" if the page is in dark mode.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant