PeculiarVentures / peculiar-react-components

https://peculiarventures.github.io/peculiar-react-components/
MIT License
2 stars 3 forks source link

Dark theme support #91

Open donskov opened 3 years ago

donskov commented 3 years ago

For resolving many questions about element styling on dark mode I think we need to add support dark mode to our design system.

@alexgbv Could you prepare dark mode?

alexgbv commented 3 years ago

I think we should not duplicate all of components for dark mode. Instead, we can just set the rules how it will be converted. Does it make sense?

donskov commented 3 years ago

Yes. Let's try to add rules.

alexgbv commented 3 years ago

I think it will be better to do it when we will prototyping IF dark mode.

The color palette was made using Lyft Colorbox. Their algorithm provides dark mode too. You can take a look at that for now. https://github.com/k-vyn/coloralgorithm