1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

switch styling on iOS

This commit is contained in:
Kyle Spearrin 2019-06-22 09:51:04 -04:00
parent 1705a21f68
commit 2d41dd6ae0
5 changed files with 13 additions and 0 deletions

View File

@ -34,6 +34,8 @@
<Color x:Key="SliderTrackMinColor">#52bdfb</Color>
<Color x:Key="SliderTrackMaxColor">#52bdfb</Color>
<Color x:Key="SwitchOnColor">#52bdfb</Color>
<Color x:Key="ButtonTextColor">#000000</Color>
<Color x:Key="ButtonBackgroundColor">#dddddd</Color>

View File

@ -34,6 +34,8 @@
<Color x:Key="SliderTrackMinColor">#52bdfb</Color>
<Color x:Key="SliderTrackMaxColor">#52bdfb</Color>
<Color x:Key="SwitchOnColor">#52bdfb</Color>
<Color x:Key="ButtonTextColor">#000000</Color>
<Color x:Key="ButtonBackgroundColor">#dddddd</Color>

View File

@ -33,6 +33,8 @@
<Color x:Key="SliderThumbBorderColor">#b5b5b5</Color>
<Color x:Key="SliderTrackMinColor">#3c8dbc</Color>
<Color x:Key="SliderTrackMaxColor">#dddddd</Color>
<Color x:Key="SwitchOnColor">#3c8dbc</Color>
<Color x:Key="ButtonTextColor">#000000</Color>
<Color x:Key="ButtonBackgroundColor">#dddddd</Color>

View File

@ -34,6 +34,8 @@
<Color x:Key="SliderTrackMinColor">#81a1c1</Color>
<Color x:Key="SliderTrackMaxColor">#81a1c1</Color>
<Color x:Key="SwitchOnColor">#81a1c1</Color>
<Color x:Key="ButtonTextColor">#000000</Color>
<Color x:Key="ButtonBackgroundColor">#dddddd</Color>

View File

@ -19,6 +19,11 @@
<Setter Property="PlaceholderColor"
Value="{StaticResource InputPlaceholderColor}" />
</Style>
<Style TargetType="Switch"
ApplyToDerivedTypes="True">
<Setter Property="OnColor"
Value="{StaticResource SwitchOnColor}" />
</Style>
<!-- Buttons -->