Skip to content

Commit 5a9678b

Browse files
committed
Replaces white to black overlay background on white theme, and black to white on dark theme
1 parent d688347 commit 5a9678b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DialogHost.Avalonia/DialogHostStyles.axaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public DialogHostStyles(IResourceHost owner) : base(owner) {
4444
/// Lists of resource keys which will be used as defaults for DialogHost.OverlayBackground property
4545
/// </summary>
4646
public static IReadOnlyList<string> OverlayBackgroundColorKeys { get; } =
47-
["SystemControlPageBackgroundChromeLowBrush"];
47+
["SystemChromeDisabledLowColor", "MaterialBodyLightColor"];
4848

4949
bool IResourceNode.HasResources => true;
5050

0 commit comments

Comments
 (0)