Color updates for new branding (#879)

This commit is contained in:
Kyle Spearrin 2020-05-05 19:13:18 -04:00 committed by GitHub
parent 01c56dabdf
commit 4104f6f772
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 16 deletions

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<!-- Light theme --> <!-- Light theme -->
<color name="colorPrimary">#3c8dbc</color> <color name="colorPrimary">#175DDC</color>
<color name="colorPrimaryDark">#222d32</color> <color name="colorPrimaryDark">#1A3B66</color>
<color name="primary">#3c8dbc</color> <color name="primary">#175DDC</color>
<color name="notificationBar">#3883af</color> <color name="notificationBar">#1452BC</color>
<color name="border">#dddddd</color> <color name="border">#dddddd</color>
<!-- Dark theme --> <!-- Dark theme -->

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="ic_launcher_background">#3C8DBC</color> <color name="ic_launcher_background">#175DDC</color>
</resources> </resources>

View file

@ -3,7 +3,7 @@
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Styles.Light"> x:Class="Bit.App.Styles.Light">
<Color x:Key="TextColor">#000000</Color> <Color x:Key="TextColor">#000000</Color>
<Color x:Key="PrimaryColor">#3c8dbc</Color> <Color x:Key="PrimaryColor">#175DDC</Color>
<Color x:Key="DangerColor">#dd4b39</Color> <Color x:Key="DangerColor">#dd4b39</Color>
<Color x:Key="SuccessColor">#00a65a</Color> <Color x:Key="SuccessColor">#00a65a</Color>
<Color x:Key="InfoColor">#555555</Color> <Color x:Key="InfoColor">#555555</Color>
@ -11,7 +11,7 @@
<Color x:Key="MutedColor">#777777</Color> <Color x:Key="MutedColor">#777777</Color>
<Color x:Key="PasswordNumberColor">#007fde</Color> <Color x:Key="PasswordNumberColor">#007fde</Color>
<Color x:Key="PasswordSpecialColor">#c40800</Color> <Color x:Key="PasswordSpecialColor">#c40800</Color>
<Color x:Key="ButtonColor">#3c8dbc</Color> <Color x:Key="ButtonColor">#175DDC</Color>
<Color x:Key="InputPlaceholderColor">#d0d0d0</Color> <Color x:Key="InputPlaceholderColor">#d0d0d0</Color>
<Color x:Key="BackgroundColor">#ffffff</Color> <Color x:Key="BackgroundColor">#ffffff</Color>
@ -20,7 +20,7 @@
<Color x:Key="DisabledIconColor">#c7c7cd</Color> <Color x:Key="DisabledIconColor">#c7c7cd</Color>
<Color x:Key="BoxBorderColor">#dddddd</Color> <Color x:Key="BoxBorderColor">#dddddd</Color>
<Color x:Key="BoxHeaderTextColor">#3c8dbc</Color> <Color x:Key="BoxHeaderTextColor">#175DDC</Color>
<Color x:Key="TitleTextColor">#ffffff</Color> <Color x:Key="TitleTextColor">#ffffff</Color>
<Color x:Key="TitleEntryTextColor">#ffffff</Color> <Color x:Key="TitleEntryTextColor">#ffffff</Color>
@ -29,26 +29,26 @@
<Color x:Key="ListItemBorderColor">#f0f0f0</Color> <Color x:Key="ListItemBorderColor">#f0f0f0</Color>
<Color x:Key="ListSectionBorderColor">#dddddd</Color> <Color x:Key="ListSectionBorderColor">#dddddd</Color>
<Color x:Key="ListSectionBorderBottomColor">#dddddd</Color> <Color x:Key="ListSectionBorderBottomColor">#dddddd</Color>
<Color x:Key="ListHeaderTextColor">#3c8dbc</Color> <Color x:Key="ListHeaderTextColor">#175DDC</Color>
<Color x:Key="ListHeaderBackgroundColor">#efeff4</Color> <Color x:Key="ListHeaderBackgroundColor">#efeff4</Color>
<Color x:Key="SliderThumbColor">Default</Color> <Color x:Key="SliderThumbColor">Default</Color>
<Color x:Key="SliderThumbBorderColor">#b5b5b5</Color> <Color x:Key="SliderThumbBorderColor">#b5b5b5</Color>
<Color x:Key="SliderTrackMinColor">#3c8dbc</Color> <Color x:Key="SliderTrackMinColor">#175DDC</Color>
<Color x:Key="SliderTrackMaxColor">#dddddd</Color> <Color x:Key="SliderTrackMaxColor">#dddddd</Color>
<Color x:Key="SwitchOnColor">#3c8dbc</Color> <Color x:Key="SwitchOnColor">#175DDC</Color>
<Color x:Key="ButtonTextColor">#000000</Color> <Color x:Key="ButtonTextColor">#000000</Color>
<Color x:Key="ButtonBackgroundColor">#dddddd</Color> <Color x:Key="ButtonBackgroundColor">#dddddd</Color>
<Color x:Key="FabColor">#3c8dbc</Color> <Color x:Key="FabColor">#175DDC</Color>
<Color x:Key="FabPressedColor">#3883af</Color> <Color x:Key="FabPressedColor">#3883af</Color>
<Color x:Key="TabBarBackgroundColor">#ffffff</Color> <Color x:Key="TabBarBackgroundColor">#ffffff</Color>
<Color x:Key="TabBarItemColor">#757575</Color> <Color x:Key="TabBarItemColor">#757575</Color>
<Color x:Key="TabBarSelectedItemColor">#3c8dbc</Color> <Color x:Key="TabBarSelectedItemColor">#175DDC</Color>
<Color x:Key="NavigationBarBackgroundColor">#3c8dbc</Color> <Color x:Key="NavigationBarBackgroundColor">#175DDC</Color>
<Color x:Key="NavigationBarTextColor">#ffffff</Color> <Color x:Key="NavigationBarTextColor">#ffffff</Color>
</ResourceDictionary> </ResourceDictionary>

View file

@ -11,12 +11,12 @@ namespace Bit.iOS.Core.Utilities
public static UIColor BackgroundColor = Xamarin.Forms.Color.FromHex("#ffffff").ToUIColor(); public static UIColor BackgroundColor = Xamarin.Forms.Color.FromHex("#ffffff").ToUIColor();
public static UIColor MutedColor = Xamarin.Forms.Color.FromHex("#777777").ToUIColor(); public static UIColor MutedColor = Xamarin.Forms.Color.FromHex("#777777").ToUIColor();
public static UIColor SuccessColor = Xamarin.Forms.Color.FromHex("#00a65a").ToUIColor(); public static UIColor SuccessColor = Xamarin.Forms.Color.FromHex("#00a65a").ToUIColor();
public static UIColor PrimaryColor = Xamarin.Forms.Color.FromHex("#3c8dbc").ToUIColor(); public static UIColor PrimaryColor = Xamarin.Forms.Color.FromHex("#175DDC").ToUIColor();
public static UIColor TextColor = Xamarin.Forms.Color.FromHex("#000000").ToUIColor(); public static UIColor TextColor = Xamarin.Forms.Color.FromHex("#000000").ToUIColor();
public static UIColor PlaceholderColor = Xamarin.Forms.Color.FromHex("#d0d0d0").ToUIColor(); public static UIColor PlaceholderColor = Xamarin.Forms.Color.FromHex("#d0d0d0").ToUIColor();
public static UIColor SeparatorColor = Xamarin.Forms.Color.FromHex("#dddddd").ToUIColor(); public static UIColor SeparatorColor = Xamarin.Forms.Color.FromHex("#dddddd").ToUIColor();
public static UIColor ListHeaderBackgroundColor = Xamarin.Forms.Color.FromHex("#efeff4").ToUIColor(); public static UIColor ListHeaderBackgroundColor = Xamarin.Forms.Color.FromHex("#efeff4").ToUIColor();
public static UIColor NavBarBackgroundColor = Xamarin.Forms.Color.FromHex("#3c8dbc").ToUIColor(); public static UIColor NavBarBackgroundColor = Xamarin.Forms.Color.FromHex("#175DDC").ToUIColor();
public static UIColor NavBarTextColor = Xamarin.Forms.Color.FromHex("#ffffff").ToUIColor(); public static UIColor NavBarTextColor = Xamarin.Forms.Color.FromHex("#ffffff").ToUIColor();
public static void SetAppearance(string theme, bool usingOsDarkTheme) public static void SetAppearance(string theme, bool usingOsDarkTheme)