placeholder colors

This commit is contained in:
Kyle Spearrin 2019-06-05 12:32:40 -04:00
parent 58f01493e0
commit c8d8d94c7f
6 changed files with 18 additions and 1 deletions

View File

@ -4,6 +4,8 @@
x:Class="Bit.App.Styles.Android">
<Style TargetType="Entry"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
</Style>
@ -14,6 +16,8 @@
</Style>
<Style TargetType="Editor"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
<Setter Property="Margin"
Value="-4, 0, -4, -4" />
</Style>

View File

@ -12,6 +12,7 @@
<Color x:Key="PasswordNumberColor">#52bdfb</Color>
<Color x:Key="PasswordSpecialColor">#ff7c70</Color>
<Color x:Key="ButtonColor">#e0e0e0</Color>
<Color x:Key="InputPlaceholderColor">#707070</Color>
<Color x:Key="BorderColor">#282828</Color>
<Color x:Key="DisabledIconColor">#c7c7cd</Color>

View File

@ -12,6 +12,7 @@
<Color x:Key="PasswordNumberColor">#52bdfb</Color>
<Color x:Key="PasswordSpecialColor">#ff7c70</Color>
<Color x:Key="ButtonColor">#e0e0e0</Color>
<Color x:Key="InputPlaceholderColor">#707070</Color>
<Color x:Key="BorderColor">#191919</Color>
<Color x:Key="DisabledIconColor">#c7c7cd</Color>

View File

@ -12,6 +12,7 @@
<Color x:Key="PasswordNumberColor">#007fde</Color>
<Color x:Key="PasswordSpecialColor">#c40800</Color>
<Color x:Key="ButtonColor">#3c8dbc</Color>
<Color x:Key="InputPlaceholderColor">#d0d0d0</Color>
<Color x:Key="BorderColor">#dddddd</Color>
<Color x:Key="DisabledIconColor">#c7c7cd</Color>

View File

@ -12,6 +12,7 @@
<Color x:Key="PasswordNumberColor">#88c0d0</Color>
<Color x:Key="PasswordSpecialColor">#d08770</Color>
<Color x:Key="ButtonColor">#d8dee9</Color>
<Color x:Key="InputPlaceholderColor">#7b88a1</Color>
<Color x:Key="BorderColor">#2e3440</Color>
<Color x:Key="DisabledIconColor">#d8dee9</Color>

View File

@ -2,5 +2,14 @@
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Bit.App.Styles.iOS">
<Style TargetType="Entry"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
</Style>
<Style TargetType="Editor"
ApplyToDerivedTypes="True">
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
</Style>
</ResourceDictionary>