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 support for dark/light mode switch #59

Closed
wants to merge 2 commits into from
Closed

add support for dark/light mode switch #59

wants to merge 2 commits into from

Conversation

hanjianqiao
Copy link
Contributor

QtAwesome setDefaultOption for all default colors inside constructor. When using single instance of QtAwesome and use swithes between dark/light theme, the icon color stay unchanged. Another case is calling QApplication::setPalette.
I'm trying to find a way to let QtAwesome and other QObject knows about the change to fix the problem.

@gamecreature gamecreature changed the base branch from main to pr-59 April 23, 2024 10:01
@gamecreature
Copy link
Owner

@hanjianqiao Thanks for your work, I like it!
I will merge it to a separate branch first, to make sure it works with qt < 6.5.
This light/dark support is a good start.

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