-
Notifications
You must be signed in to change notification settings - Fork 653
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
Color > Hight Contrast
: Incorrect Highlighting on Theme Toggle
#1671
Comments
Got the same on pages: Iconography, Spacing, ColorPaletteResources, to name a few |
The issue in 'SpacingPage' was resolved in #1639 |
Thanks for reporting that bug @Zakariathr22 ! In case you want to try and fix this, I think an easy solution would be remove the CodePresenter that is on that page since it does not make a lot sense in the high contrast section. @Jay-o-Way The pages Spacing and Iconography were fixed by the PR @Zakariathr22 linked. ColorPaletteResources is indeed still an issue. If you find other pages that do not properly support the toggle, feel free to create issues for them! |
That's interesting, because that PR only changes one file... |
I guess the Iconography page was fixed by some other changes then. I think there were some changes to finding the element to change theme at some point but I cant remember the PR. |
Which version of the app?
WinUI 3 Gallery
Steps to Reproduce:
Screenshots
Before Toggling the theme
![Image](https://private-user-images.githubusercontent.com/101801384/391193305-d89959d1-b098-4ca5-ba36-f3bde7baad9b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDk5MDIsIm5iZiI6MTczOTI0OTYwMiwicGF0aCI6Ii8xMDE4MDEzODQvMzkxMTkzMzA1LWQ4OTk1OWQxLWIwOTgtNGNhNS1iYTM2LWYzYmRlN2JhYWQ5Yi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNDUzMjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1hNmY3MzQ0YWRjNTk3M2Y1ZWZjODQ4NWVlZWRlZTcwYmJhMmY3NDNiMTFjMjY5ZDAxYjdiYjY5NzgxNDllYzViJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.X9eX-iZ3NuGX2SNMTifPUUqaLILBl5kzi8aTLscXfSE)
After Toggling the theme
![Image](https://private-user-images.githubusercontent.com/101801384/391193341-45d2f354-8fdb-4761-b7f0-bcdb1bbec69e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDk5MDIsIm5iZiI6MTczOTI0OTYwMiwicGF0aCI6Ii8xMDE4MDEzODQvMzkxMTkzMzQxLTQ1ZDJmMzU0LThmZGItNDc2MS1iN2YwLWJjZGIxYmJlYzY5ZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjExJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMVQwNDUzMjJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT01NTZlM2Q4Y2Y2NmZiNjI2ZTM0MmQ4OTljNmYyNTViY2M0N2FiZTYwYjc2ZmE0YjE2ODM5NDFmNjRkYzFjZGU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.hXtFUWqiwgzvGEKcsV7EoDOYCm4rrOeGj7PjWvfnZnQ)
Expected Behavior:
The text should maintain consistent highlighting and text visibility regardless of the theme, with proper contrast between the background and text.
Actual Behavior:
After toggling the theme, the text become poorly highlighted, making it less readable and causing visual inconsistency.
The text was updated successfully, but these errors were encountered: