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

Fixing Dark mode for SymbolDisplay on WinUI and UWP sample apps #607

Merged

Conversation

prathameshnarkhede
Copy link
Contributor

@prathameshnarkhede prathameshnarkhede commented Sep 20, 2024

WinUI UWP
image image

Comment on lines -12 to +11
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
mc:Ignorable="d">

<Grid>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ApplicationPageBackgroundThemeBrush should adjust to the theme. Did this needed to be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested without this and it looked redundant to apply Background to this Grid as rootFrame have the same effect on the look. So I thought of removing it.

Copy link
Collaborator

@mstefarov mstefarov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's nice to see dark mode get some love 👍

@prathameshnarkhede prathameshnarkhede merged commit 0d12057 into main Sep 20, 2024
1 check failed
@prathameshnarkhede prathameshnarkhede deleted the pratham/symboldisplay-winui-uwp-dark-mode-support branch September 20, 2024 21:08
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