Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable browser dark mode #97

Merged
merged 4 commits into from
Dec 2, 2023
Merged

Conversation

deenter
Copy link
Contributor

@deenter deenter commented Dec 2, 2023

#93

Allows to set the option whether the light or dark browser mode should be requested.

Default: light
light

Option: dark
dark

Option can be set by using the PREFERS_COLOR_SCHEME environment variable

@sibbl
Copy link
Owner

sibbl commented Dec 2, 2023

What a great idea, thanks for the PR!

Would you mind adding the new option to the config.yaml too, please?

Then our Hass.io addon users can also directly benefit from it. The syntax should be similar to the COLOR_MODE dropdown.
Thanks in advance!

@deenter
Copy link
Contributor Author

deenter commented Dec 2, 2023

Thanks for the hint @sibbl, the config.yaml file is now also updated.

@sibbl sibbl merged commit 22e648d into sibbl:main Dec 2, 2023
@sibbl
Copy link
Owner

sibbl commented Dec 2, 2023

That was quick - thanks 👍 looks all good to me. Enjoy your (probably) dark dashboard!

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