1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-24 04:04:34 +00:00

Move to named sizes

This commit is contained in:
Kyle Spearrin
2016-06-27 20:56:59 -04:00
parent 275246f27b
commit 54da129887
12 changed files with 45 additions and 31 deletions

View File

@@ -41,7 +41,7 @@ namespace Bit.App.Pages
HorizontalOptions = LayoutOptions.Center,
HorizontalTextAlignment = TextAlignment.Center,
LineBreakMode = LineBreakMode.WordWrap,
FontSize = 20
FontSize = Device.GetNamedSize(NamedSize.Large, typeof(Label)),
};
var createAccountButton = new Button
@@ -51,7 +51,7 @@ namespace Bit.App.Pages
VerticalOptions = LayoutOptions.End,
HorizontalOptions = LayoutOptions.Fill,
Style = (Style)Application.Current.Resources["btn-primary"],
FontSize = 17
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)),
};
var loginButton = new Button
@@ -61,7 +61,7 @@ namespace Bit.App.Pages
VerticalOptions = LayoutOptions.End,
Style = (Style)Application.Current.Resources["btn-primaryAccent"],
HorizontalOptions = LayoutOptions.Fill,
FontSize = 17
FontSize = Device.GetNamedSize(NamedSize.Medium, typeof(Label)),
};
var buttonStackLayout = new StackLayout