Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
380 views
in Technique[技术] by (71.8m points)

How to set Different Icon for different Color Theme in UWP

I need to set different type of Application Icon for different color theme in my UWP app

Normal: Colorful Icon

Contrast Black or Dark Mode: Icon Type "X1"

Contrast White: Icon Type "X2"

Can anyone suggest how to do that.

question from:https://stackoverflow.com/questions/65849900/how-to-set-different-icon-for-different-color-theme-in-uwp

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

How to set Different Icon for different Color Theme in UWP

I'm afraid you can't set different application icon for different theme. You could only update icon's background, for more please refer this document.

Form version 2004 h2 blog.

Theme-aware tiles in Start – The redesigned Start menu has a more streamlined design that removes the solid color backplates behind the logos in the apps list, and applies a uniform, partially transparent background to the tiles. This design creates a beautiful stage for your icons, especially the Fluent Design icons for Office and Microsoft Edge, as well as the redesigned icons for built-in apps like Calculator, Mail, and Calendar.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...