Forced colors manual enabling #15410
bchubb-web
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
-
There is an option in the tailwind config to force dark mode when .dark is added to an element (eg on the body), which forces the dark:* styles on, no matter the browser's current setting, i think this functionality would be really useful for other directives, such as forced colors
I have worked on many sites that require a high contrast mode, but they require an interaction with a component on the site to enable, being able to do with natively inside of tailwind would be great as it provides great contrast out of the box!
Beta Was this translation helpful? Give feedback.
All reactions