mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
better colours & alpha
This commit is contained in:
parent
65730fab19
commit
1f46439e32
@ -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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user