Open tristen opened 3 years ago
This might be a nice way of supporting dark mode in Studio: either by automatically supporting an inversion for some color:
.bg-white { background: #FFF; } @media (prefers-color-scheme: dark) { .bg-white { background: #000; } }
Or creating additional classes to target what the inversion should be:
@media (prefers-color-scheme: dark) { .bg-white--dark-mode { background: #FFF; } }
Here's how tailwind does dark mode: https://tailwindcss.com/docs/dark-mode
This might be a nice way of supporting dark mode in Studio: either by automatically supporting an inversion for some color:
Or creating additional classes to target what the inversion should be: