Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
GoblinSlayer
· 3y ago · 0 comments
And what if users want light or dark theme too. How do you guess it?
Comments
[–]
aeno
3y ago
You don't have to guess. You can just use
https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pref...
[–]
GoblinSlayer
OP
3y ago
How it plays with the idea of not passing responsibility to the user? User can request window width too.