Icon color inverted in notification center #4723
Unanswered
ssrmm
asked this question in
Questions & Help
Replies: 2 comments 4 replies
-
FYI @vaheeshta |
Beta Was this translation helpful? Give feedback.
0 replies
-
@ssrmm Thank you for sharing this issue! Before the team can help with your questions, can you please tell us what Windows Builder Number you are seeing this (ex Windows 11 21H2 (Build 22000))? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm using the
Microsoft.Toolkit.Uwp.Notifications
NuGet package to show notifications in the notification center from a classic non-uwp application. Doing so I've run into an interesting problem. The application in question uses an icon that basically contains only a single hue. When displaying a notification the color of the icon is now automatically inverted/changed/adjusted in the dark theme (see below screenshots). By tweaking the color/brightness I can also achieve cases where the icon inverted in the light theme or even both themes. Places other than the notification center (task bar, tray icon) do not show this behavior. There is also no inversion happening as soon as the icon contains multiple hues.Now I guess this behavior is there to improve contrast for purely black/white icons like the builtin Windows ones. In my case however the color inversion does not make a lot of sense because the icon needs to conform to company branding and inverting colors only really seems sensible for grayscale or maybe even monochrome icons anyway.
Searching for this issue does not yield any results really. I found that you can provide theme specific resources in packaged/UWP apps, but I couldn't find anything for classic desktop applications.
Is there any possibility to influence the icon choice in the notification center? Particularly, can I...
Notifications:
Actual icon (exported as PNG because GitHub does not allow ICO):
Beta Was this translation helpful? Give feedback.
All reactions