Is there a way to use custom colors for dialogs #58
Answered
by
SKProCH
RadovicDanilo
asked this question in
Q&A
-
Im building a desktop avalonia app and im using Fluent theme with a custom color pallet
But the dialogs all have a black background and not the gray background like the rest of my app. Is there a way to use custom colors for the dialogs. And they need to work with theme switching. |
Beta Was this translation helpful? Give feedback.
Answered by
SKProCH
Jul 27, 2024
Replies: 1 comment
-
Yep, this is easy - just set Background property for the DialogHost. By default it uses the following brushes (if any found): SystemControlBackgroundAltHighBrush;MaterialDesignPaper;MaterialPaperBrush |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
RadovicDanilo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yep, this is easy - just set Background property for the DialogHost. By default it uses the following brushes (if any found): SystemControlBackgroundAltHighBrush;MaterialDesignPaper;MaterialPaperBrush