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

fix: apply system theme dynamically #4010

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

RoccoSmit
Copy link
Contributor

@RoccoSmit RoccoSmit commented Oct 11, 2024

As per issue #4005 when toggling the operating system them between light and dark mode the web UI only takes effect after page reload

This PR allows for the them to change as the operating system theme changes without refreshing the page

e.g.
Dark
image

Light
image

This change work with Browser theme settings as well

Copy link
Member

@boojack boojack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LG

@boojack boojack changed the title Apply system theme dynamically fix: apply system theme dynamically Oct 11, 2024
@boojack boojack merged commit 35cf975 into usememos:main Oct 11, 2024
2 checks passed
@RoccoSmit RoccoSmit deleted the apply-system-theme branch October 12, 2024 09:55
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