3 ms·
And what if users want light or dark theme too. How do you guess it?
by GoblinSlayer 3y ago
And what if users want light or dark theme too. How do you guess it?
- aeno 3y agoYou don't have to guess. You can just use https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
- GoblinSlayer 3y agoHow it plays with the idea of not passing responsibility to the user? User can request window width too.