Replies: 1 comment 1 reply
-
I was looking for the same feature. That would ideally allow me to not have to write separate dark: styles for each component. Hope it's planned for the future. It would allow building more intelligent dark palettes like the ones IBM and Adobe have, the latter one based on the same tool made by @NateBaldwinDesign mentioned above. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
It would be nice to add the possibility to add a dark color palette theme, which can be switched with tailwind
dark-mode
config.Why this request?
This whould be a killer feature for who wants to use the same contrast ratios for light and dark theme and gain in accessibility:
#032D52
#FFFFFF
#0559A4
#FFFFFF
#3EA1F9
#FFFFFF
#B8DDFD
#FFFFFF
#F3F9FF
#FFFFFF
#AED8FD
#000000
#2B98F9
#000000
#055398
#000000
#02294A
#000000
#010911
#000000
Blue
#0559a3
with#FFFFFF
color base example.Blue
#0559a3
with#000000
color base example.Dark mode color would bring these benefits
These articles can be useful to explain why color would work better in this way:
Creating contrast based themes with Leonardo
Leonardo: an open source contrast-based color generator
Just as basic example, in the confing it could be something like this:
I cannot imagine myself without Tailwind in my stack, and I think this would be a very useful feature for it.
Beta Was this translation helpful? Give feedback.
All reactions