Hacker News new | ask | show | jobs
by istillwritecode 763 days ago
Does Firefox send a header to request this?
1 comments

No need to -- there's a CSS media query, "prefers-color-scheme", which allows a website to apply styles conditionally depending on whether or not the user is in dark mode.