Improve the UWP toast notification colours (#239)

* UWP: Services: Improve the toast notifcation colours

This commit improves the toast notification colours and makes the
notification slightly transparent.

Signed-off-by: Alistair Francis <alistair@alistair23.me>

* UWP: Services: Remove the unused Alignment options

These Alignment options don't have an effect on UWP, so just remove
them.

Signed-off-by: Alistair Francis <alistair@alistair23.me>
This commit is contained in:
Alistair Francis 2018-01-04 05:32:18 -08:00 committed by Kyle Spearrin
parent b680b190d4
commit c3570dd07a

View file

@ -140,11 +140,9 @@ namespace Bit.UWP.Services
Message = text, Message = text,
TextWrapping = TextWrapping.Wrap, TextWrapping = TextWrapping.Wrap,
MillisecondsUntilHidden = Convert.ToInt32(longDuration ? 5 : 2) * 1000, MillisecondsUntilHidden = Convert.ToInt32(longDuration ? 5 : 2) * 1000,
Background = new SolidColorBrush(Color.FromArgb(255, 73, 73, 73)), Background = new SolidColorBrush(Color.FromArgb(240, 210, 214, 222)),
Foreground = new SolidColorBrush(Colors.White), Foreground = new SolidColorBrush(Color.FromArgb(240, 60, 141, 188)),
Margin = new Thickness(0, 0, 0, 100), Margin = new Thickness(0, 0, 0, 100),
HorizontalAlignment = HorizontalAlignment.Center,
VerticalAlignment = VerticalAlignment.Bottom,
HorizontalContentAlignment = HorizontalAlignment.Center, HorizontalContentAlignment = HorizontalAlignment.Center,
VerticalContentAlignment = VerticalAlignment.Center, VerticalContentAlignment = VerticalAlignment.Center,
Stretch = Stretch.Uniform, Stretch = Stretch.Uniform,