3 ms·
> is there a methodology to assign "dark" colors based on the existing "light" ones? Or should I do the design twice, one for the light and one for the dark mod
by feelingextra 7y ago
> is there a methodology to assign "dark" colors based on the existing "light" ones? Or should I do the design twice, one for the light and one for the dark mode version?
You can try inverting the colors used for the light theme to obtain a decent starting point for the dark theme design.
If you use SASS you can use `invert` for that, or `invert` from the CSS-in-JS library "polished"
For anyone curious how the inverse of a color is calculated, read this answer on StackExchange: https://graphicdesign.stackexchange.com/a/95100 https://graphicdesign.stackexchange.com/a/95100