Different accent colors on Windows10 and Windows11
See original GitHub issueDescribe the bug
Brushes such as AccentLight2 AccentLight3 or AccentDark2 look different on Windows10 and Windows11. This changes the color presentation of the application and negatively affects visual states if these colors are used there.
That issue also in the WindowsAppSDK repository: https://github.com/microsoft/WindowsAppSDK/issues/1617
Steps to reproduce the bug
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center" VerticalAlignment="Center">
<Border x:Name="brush0" Background="{ThemeResource SystemAccentColor}" Width="200" Height="60" Margin="20"/>
<Border x:Name="brush1" Background="{ThemeResource SystemAccentColorLight2}" Width="100" Height="100" Margin="20"/>
<Border x:Name="brush2" Background="{ThemeResource SystemAccentColorLight3}" Width="100" Height="100" Margin="20"/>
<ListBox x:Name="lb" />
<Button x:Name="myButton" Click="myButton_Click">Click Me</Button>
</StackPanel>
Expected behavior
Colors should look the same
Screenshots
NuGet package version
WinUI 3 - Windows App SDK 0.8: 0.8.0 (If you’re seeing your issue in older previews of WinUI 3, please try this release)
Windows app type
- UWP
- Win32
Device form factor
Desktop
Windows version
No response
Additional context
No response
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Change Accent Color in Windows 11 Tutorial
You can personalize the color or accent color for window title bars and borders, the Start button, or the taskbar in Windows 11....
Read more >Change colors in Windows
To manually select an accent color, select one under Recent colors or Windows colors, or select View colors (next to Custom colors) for...
Read more >How to Enable Different Accent Colors in Windows 11 Theme
With this free app you can Enable Different Accent Colors in Windows 11, specifically for start, taskbar, UI elements.
Read more >Accent Color Synchronizer for Windows 11/10
Accent Color Synchronizer is a great tool that lets you sync the accent color with the color used in desktop applications for different...
Read more >How to customize accent colors in Windows 11 - YouTube
Professor Robert McMillen shows you how to customize accent colors in Windows 11. Accent colors add to the overall experience and can match ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @chigy Thanks for paying attention to this problem. This is a problem of creating a design concept, it seems to me that it does not require specific examples. It’s impossible to think of smooth and stable color changes using the AccentLight and AccentDark varieties. Varieties in Win11 are very sharp. In Windows 11, an accent level of “3” radically changes the source color with a “Hue” shift, in Windows 10 this is not the case.
In our application, we had to abandon their use for these reasons. We only use ListAccent brushes which are stable on Windows10 and on Windows11. But, I would like to make full use of all the possibilities of the accents palette.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days.