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

Adding highcontrast resources #802

Merged
merged 27 commits into from
Nov 8, 2023
Merged

Adding highcontrast resources #802

merged 27 commits into from
Nov 8, 2023

Conversation

niels9001
Copy link
Collaborator

@niels9001 niels9001 commented Oct 26, 2023

This PR introduces the following changes:

  • Updated the remaining controls (from # ) and updates styles where needed to make controls look more like WinUI.
  • Adding resources for HighContrast.xaml
  • Adding (basic) logic to detect high contrast theme changing

Currently, the colors of the "Desert" highcontrast theme are used.

Steps to test:

  • In Windows 11 Settings, go the "Contrast Themes"
  • Select "Desert" and click "Apply"
  • Run WpfUi Gallery, check controls

@niels9001
Copy link
Collaborator Author

@pomianowski FYI

@Difegue
Copy link
Contributor

Difegue commented Nov 6, 2023

I believe this might tie into #561 as well.

@pomianowski pomianowski merged commit c3b1fe5 into lepoco:development Nov 8, 2023
2 checks 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.

3 participants