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

feat: conditionally load either light or dark theme #517

Merged
merged 1 commit into from
Feb 18, 2023
Merged

feat: conditionally load either light or dark theme #517

merged 1 commit into from
Feb 18, 2023

Conversation

titanism
Copy link
Contributor

This resolves or helps to improve issues related to the following links:

- upptime/upptime#298
- upptime/upptime#732
- upptime/upptime#209
- upptime/upptime#219
- upptime/upptime#429
- upptime/upptime#109

~95% of global browser usage supports this feature, therefore it should be implemented as the default for upptime.

References:
- <https://caniuse.com/prefers-color-scheme>
- <https://web.dev/prefers-color-scheme/>
@AnandChowdhary
Copy link
Member

This is great, thank you!

@AnandChowdhary AnandChowdhary merged commit 61a4967 into upptime:master Feb 18, 2023
@upptime-bot
Copy link
Member

🎉 This PR is included in version 1.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@titanism titanism deleted the patch-1 branch February 18, 2023 10:18
@titanism
Copy link
Contributor Author

@AnandChowdhary any idea what's wrong here? https://github.com/upptime/status-page/actions/runs/4210491704/jobs/7308221753#step:6:57

The build seems to be broken 🔴

@titanism
Copy link
Contributor Author

Oh, I see the bug, fixing now

@titanism
Copy link
Contributor Author

Looks like you beat me to it! Thank you @AnandChowdhary 🙇

47d2cfa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants