mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
stub black theme
This commit is contained in:
parent
0fc013eb8a
commit
18c2c1433b
4 changed files with 58 additions and 0 deletions
|
@ -114,6 +114,9 @@
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Update="Styles\Black.xaml.cs">
|
||||||
|
<DependentUpon>Black.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Update="Styles\Variables.xaml.cs">
|
<Compile Update="Styles\Variables.xaml.cs">
|
||||||
<DependentUpon>Variables.xaml</DependentUpon>
|
<DependentUpon>Variables.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|
39
src/App/Styles/Black.xaml
Normal file
39
src/App/Styles/Black.xaml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ResourceDictionary xmlns="http://xamarin.com/schemas/2014/forms"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||||
|
x:Class="Bit.App.Styles.Black">
|
||||||
|
<Color x:Key="TextColor">#ffffff</Color>
|
||||||
|
<Color x:Key="PrimaryColor">#52bdfb</Color>
|
||||||
|
<Color x:Key="DangerColor">#ff3e24</Color>
|
||||||
|
<Color x:Key="SuccessColor">#00a65a</Color>
|
||||||
|
<Color x:Key="InfoColor">#555555</Color>
|
||||||
|
<Color x:Key="WarningColor">#bf7e16</Color>
|
||||||
|
<Color x:Key="MutedColor">#a3a3a3</Color>
|
||||||
|
<Color x:Key="PasswordNumberColor">#52bdfb</Color>
|
||||||
|
<Color x:Key="PasswordSpecialColor">#ff7c70</Color>
|
||||||
|
<Color x:Key="ButtonColor">#e0e0e0</Color>
|
||||||
|
|
||||||
|
<Color x:Key="BorderColor">#191919</Color>
|
||||||
|
<Color x:Key="DisabledIconColor">#c7c7cd</Color>
|
||||||
|
|
||||||
|
<Color x:Key="BoxBorderColor">#191919</Color>
|
||||||
|
<Color x:Key="BoxHeaderTextColor">#52bdfb</Color>
|
||||||
|
|
||||||
|
<Color x:Key="TitleTextColor">#ffffff</Color>
|
||||||
|
<Color x:Key="TitleEntryTextColor">#ffffff</Color>
|
||||||
|
<Color x:Key="TitleEntryPlaceholderColor">#707070</Color>
|
||||||
|
|
||||||
|
<Color x:Key="ListItemBorderColor">#191919</Color>
|
||||||
|
<Color x:Key="ListHeaderTextColor">#52bdfb</Color>
|
||||||
|
|
||||||
|
<Color x:Key="SliderThumbColor">#B9B9B9</Color>
|
||||||
|
<Color x:Key="SliderThumbBorderColor">#000000</Color>
|
||||||
|
<Color x:Key="SliderTrackColor">#52bdfb</Color>
|
||||||
|
|
||||||
|
<Color x:Key="FabColor">#52bdfb</Color>
|
||||||
|
<Color x:Key="FabPressedColor">#3ea1da</Color>
|
||||||
|
|
||||||
|
<Color x:Key="TabBarBackgroundColor">#212121</Color>
|
||||||
|
<Color x:Key="TabBarItemColor">#C0C0C0</Color>
|
||||||
|
<Color x:Key="TabBarSelectedItemColor">#52bdfb</Color>
|
||||||
|
</ResourceDictionary>
|
12
src/App/Styles/Black.xaml.cs
Normal file
12
src/App/Styles/Black.xaml.cs
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
using Xamarin.Forms;
|
||||||
|
|
||||||
|
namespace Bit.App.Styles
|
||||||
|
{
|
||||||
|
public partial class Black : ResourceDictionary
|
||||||
|
{
|
||||||
|
public Black()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -21,6 +21,10 @@ namespace Bit.App.Utilities
|
||||||
{
|
{
|
||||||
Application.Current.Resources.MergedDictionaries.Add(new Dark());
|
Application.Current.Resources.MergedDictionaries.Add(new Dark());
|
||||||
}
|
}
|
||||||
|
else if(name == "black")
|
||||||
|
{
|
||||||
|
Application.Current.Resources.MergedDictionaries.Add(new Black());
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Application.Current.Resources.MergedDictionaries.Add(new Light());
|
Application.Current.Resources.MergedDictionaries.Add(new Light());
|
||||||
|
|
Loading…
Reference in a new issue