Skip to content

Conversation

@ggvbo
Copy link
Contributor

@ggvbo ggvbo commented May 8, 2023

Sets the default value for Dark Mode depending on the browser's prefers-color-scheme media query, also listening to changes in the browser's media query.

@MiniDigger
Copy link
Member

MiniDigger commented Jul 31, 2023

mmmh, I dont like this solution, we already have code for this in useSettingsHelper, but somehow that doesn't work as expected
edit: I think the db has a default value, thats why the thing doesnt work.
maybe we should only save to db if the user actually uses the button? else just rely on the media query?
but that would mean the server would serve stuff in the wrong color, which is meh too....

@MiniDigger MiniDigger force-pushed the staging branch 18 times, most recently from 3ebf577 to 10ca982 Compare June 24, 2025 22:04
@MiniDigger MiniDigger force-pushed the staging branch 5 times, most recently from fc0b077 to 85e8923 Compare August 2, 2025 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants