[PR #13083] [High Contrast] Fix red SUI background #29370

Open
opened 2026-01-31 09:34:29 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/13083

State: closed
Merged: Yes


Fixes the SUI background being red in high contrast mode. The issue was
that SolidBackgroundFillColorTertiary purposefully has a bad High
Contrast color1 .

The fix was to be explicit in the theme resources so that
SolidBackgroundFillColorTertiary is used in light and dark mode, but
the standard high contrast one is used in high contrast mode. Since the
page is the top-level XAML element in the Editor project, I had to
introduce this in the App.xaml resources so that the page can find the
theme resource.

Closes #13065
Closes #13070

**Original Pull Request:** https://github.com/microsoft/terminal/pull/13083 **State:** closed **Merged:** Yes --- Fixes the SUI background being red in high contrast mode. The issue was that `SolidBackgroundFillColorTertiary` purposefully has a bad High Contrast color[^1]. The fix was to be explicit in the theme resources so that `SolidBackgroundFillColorTertiary` is used in light and dark mode, but the standard high contrast one is used in high contrast mode. Since the page is the top-level XAML element in the Editor project, I had to introduce this in the App.xaml resources so that the page can find the theme resource. Closes #13065 Closes #13070 [^1]: https://github.com/microsoft/microsoft-ui-xaml/blob/40df43a61c013a6763f47dd7d89ed54f35999340/dev/CommonStyles/Common_themeresources_any.xaml#L650-L651
claunia added the pull-request label 2026-01-31 09:34:29 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#29370