better colours & alpha

This commit is contained in:
bluepilledgreat 2024-02-04 15:40:30 +00:00
parent 65730fab19
commit 1f46439e32

View File

@ -19,14 +19,14 @@ namespace Bloxstrap.UI.ViewModels.Bootstrapper
public ProgressFluentDialogViewModel(IBootstrapperDialog dialog, bool aero) : base(dialog) public ProgressFluentDialogViewModel(IBootstrapperDialog dialog, bool aero) : base(dialog)
{ {
const int alpha = 32; const int alpha = 128;
WindowBackdropType = aero ? BackgroundType.Aero : BackgroundType.Mica; WindowBackdropType = aero ? BackgroundType.Aero : BackgroundType.Mica;
if (aero) if (aero)
BackgroundColourBrush = App.Settings.Prop.Theme.GetFinal() == Enums.Theme.Light ? BackgroundColourBrush = App.Settings.Prop.Theme.GetFinal() == Enums.Theme.Light ?
new SolidColorBrush(Color.FromArgb(alpha, 255, 255, 255)) : new SolidColorBrush(Color.FromArgb(alpha, 225, 225, 225)) :
new SolidColorBrush(Color.FromArgb(alpha, 0, 0, 0)); new SolidColorBrush(Color.FromArgb(alpha, 30, 30, 30));
} }
} }
} }