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

Use template images in the Preference pane #395

Merged
merged 4 commits into from
Dec 4, 2023

Conversation

zonble
Copy link
Contributor

@zonble zonble commented Dec 4, 2023

We use the icons for various keyboard layouts in the Preference pane. They used to be colorful, but they became entirely black someday and now they look bad in dark mode. This PR set the images to template images so they can be white when dark mode is on.

Also use a switch case in the input controller class to replace lot of the if/else cases.

@zonble zonble requested a review from lukhnos December 4, 2023 03:58
@lukhnos lukhnos merged commit 627292e into openvanilla:master Dec 4, 2023
1 check passed
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