2 ms·
I tried the approach on my website - blog.nindalf.com. Seems to work alright. /* Assume light mode by default */ @import 'light.css' screen; /* Su
by nindalf 6y ago
I tried the approach on my website - blog.nindalf.com. Seems to work alright.
/* Assume light mode by default */
@import 'light.css' screen;
/* Supersede with dark mode when applicable */
@import 'dark.css' screen and (prefers-color-scheme: dark);