Replies: 5 comments
-
@chigy @alejo4000 @marksfoster can we get a list of all the new accent color resources. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to provide a custom single accent colour, and for WinUI to generate the correct light and dark shades with contrast ratio protections? If not generated by WinUI, then perhaps an updated Fluent Theme Editor? |
Beta Was this translation helpful? Give feedback.
-
It used to be possible with This issue blocks any app that provides accent color customization from adopting new designs for Windows 11. |
Beta Was this translation helpful? Give feedback.
-
I second this request.
|
Beta Was this translation helpful? Give feedback.
-
I would like to bump this topic since there is still no solution :/ @tipa |
Beta Was this translation helpful? Give feedback.
-
With previous winui versions it was sufficient to override SystemAccentColor and its variants (SystemAccentColorDark1...) to set a custom accent color for all controls. However, with winui 2.6 this only works partially. It seems that it is at least necessary to override AccentFillColorDefaultBrush, even though according to the xaml file (Common_themeresources_any.xaml) it should derive from SystemAccentColorLight2...
Can you please clarify (and update the documentation) which resources have to be set to have all controls show the custom accent color?
Beta Was this translation helpful? Give feedback.
All reactions