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 theme picker to Playground app #8263

Closed

Conversation

lyahdav
Copy link
Collaborator

@lyahdav lyahdav commented Jul 16, 2021

This is the first step in working around some XAML bugs when the OS is set to light mode but a XAML parent element is set to dark. This will allow us to expose those bugs and then prove we've fixed them.

Here's how the Playground window looks when dark theme is selected:
pg-dark

And here's how it looks in light theme:
pg-light-default

CC @acoates-ms since this touches some theme logic from #6135.

Microsoft Reviewers: Open in CodeFlow

@lyahdav lyahdav requested a review from a team as a code owner July 16, 2021 00:37
@lyahdav
Copy link
Collaborator Author

lyahdav commented Jul 16, 2021

Actually I realized one issue with this. I was hoping to be able to use the theme that's set here in AlertModule.cpp to fix microsoft/microsoft-ui-xaml#2331, but as-is, I can't easily get the theme that's set here. I'll create a new PR that fixes this.

@lyahdav lyahdav closed this Jul 16, 2021
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.

None yet

1 participant