nord theme

This commit is contained in:
Kyle Spearrin 2019-06-05 11:36:58 -04:00
parent 9d86fac103
commit 8eec0c22d7
14 changed files with 283 additions and 108 deletions

View file

@ -289,6 +289,10 @@ namespace Bit.Droid
{
SetTheme(Resource.Style.BlackTheme);
}
else if(theme == "nord")
{
SetTheme(Resource.Style.NordTheme);
}
else
{
SetTheme(Resource.Style.LightTheme);

View file

@ -6722,44 +6722,44 @@ namespace Bit.Droid
public partial class Color
{
// aapt resource value: 0x7f0b007d
public const int abc_background_cache_hint_selector_material_dark = 2131427453;
// aapt resource value: 0x7f0b0088
public const int abc_background_cache_hint_selector_material_dark = 2131427464;
// aapt resource value: 0x7f0b007e
public const int abc_background_cache_hint_selector_material_light = 2131427454;
// aapt resource value: 0x7f0b0089
public const int abc_background_cache_hint_selector_material_light = 2131427465;
// aapt resource value: 0x7f0b007f
public const int abc_btn_colored_borderless_text_material = 2131427455;
// aapt resource value: 0x7f0b008a
public const int abc_btn_colored_borderless_text_material = 2131427466;
// aapt resource value: 0x7f0b0080
public const int abc_btn_colored_text_material = 2131427456;
// aapt resource value: 0x7f0b008b
public const int abc_btn_colored_text_material = 2131427467;
// aapt resource value: 0x7f0b0081
public const int abc_color_highlight_material = 2131427457;
// aapt resource value: 0x7f0b008c
public const int abc_color_highlight_material = 2131427468;
// aapt resource value: 0x7f0b0082
public const int abc_hint_foreground_material_dark = 2131427458;
// aapt resource value: 0x7f0b008d
public const int abc_hint_foreground_material_dark = 2131427469;
// aapt resource value: 0x7f0b0083
public const int abc_hint_foreground_material_light = 2131427459;
// aapt resource value: 0x7f0b008e
public const int abc_hint_foreground_material_light = 2131427470;
// aapt resource value: 0x7f0b000c
public const int abc_input_method_navigation_guard = 2131427340;
// aapt resource value: 0x7f0b0084
public const int abc_primary_text_disable_only_material_dark = 2131427460;
// aapt resource value: 0x7f0b008f
public const int abc_primary_text_disable_only_material_dark = 2131427471;
// aapt resource value: 0x7f0b0085
public const int abc_primary_text_disable_only_material_light = 2131427461;
// aapt resource value: 0x7f0b0090
public const int abc_primary_text_disable_only_material_light = 2131427472;
// aapt resource value: 0x7f0b0086
public const int abc_primary_text_material_dark = 2131427462;
// aapt resource value: 0x7f0b0091
public const int abc_primary_text_material_dark = 2131427473;
// aapt resource value: 0x7f0b0087
public const int abc_primary_text_material_light = 2131427463;
// aapt resource value: 0x7f0b0092
public const int abc_primary_text_material_light = 2131427474;
// aapt resource value: 0x7f0b0088
public const int abc_search_url_text = 2131427464;
// aapt resource value: 0x7f0b0093
public const int abc_search_url_text = 2131427475;
// aapt resource value: 0x7f0b000d
public const int abc_search_url_text_normal = 2131427341;
@ -6770,29 +6770,29 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b000f
public const int abc_search_url_text_selected = 2131427343;
// aapt resource value: 0x7f0b0089
public const int abc_secondary_text_material_dark = 2131427465;
// aapt resource value: 0x7f0b0094
public const int abc_secondary_text_material_dark = 2131427476;
// aapt resource value: 0x7f0b008a
public const int abc_secondary_text_material_light = 2131427466;
// aapt resource value: 0x7f0b0095
public const int abc_secondary_text_material_light = 2131427477;
// aapt resource value: 0x7f0b008b
public const int abc_tint_btn_checkable = 2131427467;
// aapt resource value: 0x7f0b0096
public const int abc_tint_btn_checkable = 2131427478;
// aapt resource value: 0x7f0b008c
public const int abc_tint_default = 2131427468;
// aapt resource value: 0x7f0b0097
public const int abc_tint_default = 2131427479;
// aapt resource value: 0x7f0b008d
public const int abc_tint_edittext = 2131427469;
// aapt resource value: 0x7f0b0098
public const int abc_tint_edittext = 2131427480;
// aapt resource value: 0x7f0b008e
public const int abc_tint_seek_thumb = 2131427470;
// aapt resource value: 0x7f0b0099
public const int abc_tint_seek_thumb = 2131427481;
// aapt resource value: 0x7f0b008f
public const int abc_tint_spinner = 2131427471;
// aapt resource value: 0x7f0b009a
public const int abc_tint_spinner = 2131427482;
// aapt resource value: 0x7f0b0090
public const int abc_tint_switch_track = 2131427472;
// aapt resource value: 0x7f0b009b
public const int abc_tint_switch_track = 2131427483;
// aapt resource value: 0x7f0b0010
public const int accent_material_dark = 2131427344;
@ -6812,8 +6812,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0015
public const int background_material_light = 2131427349;
// aapt resource value: 0x7f0b0078
public const int black = 2131427448;
// aapt resource value: 0x7f0b0083
public const int black = 2131427459;
// aapt resource value: 0x7f0b0075
public const int black_border = 2131427445;
@ -6875,8 +6875,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b006e
public const int colorPrimaryDark = 2131427438;
// aapt resource value: 0x7f0b0091
public const int common_google_signin_btn_text_dark = 2131427473;
// aapt resource value: 0x7f0b009c
public const int common_google_signin_btn_text_dark = 2131427484;
// aapt resource value: 0x7f0b0000
public const int common_google_signin_btn_text_dark_default = 2131427328;
@ -6890,8 +6890,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0003
public const int common_google_signin_btn_text_dark_pressed = 2131427331;
// aapt resource value: 0x7f0b0092
public const int common_google_signin_btn_text_light = 2131427474;
// aapt resource value: 0x7f0b009d
public const int common_google_signin_btn_text_light = 2131427485;
// aapt resource value: 0x7f0b0004
public const int common_google_signin_btn_text_light_default = 2131427332;
@ -6905,8 +6905,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0007
public const int common_google_signin_btn_text_light_pressed = 2131427335;
// aapt resource value: 0x7f0b0093
public const int common_google_signin_btn_tint = 2131427475;
// aapt resource value: 0x7f0b009e
public const int common_google_signin_btn_tint = 2131427486;
// aapt resource value: 0x7f0b0074
public const int dark_border = 2131427444;
@ -6917,8 +6917,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0072
public const int dark_primary = 2131427442;
// aapt resource value: 0x7f0b0079
public const int darkgray = 2131427449;
// aapt resource value: 0x7f0b0084
public const int darkgray = 2131427460;
// aapt resource value: 0x7f0b0049
public const int design_bottom_navigation_shadow_color = 2131427401;
@ -6929,8 +6929,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b004b
public const int design_default_color_primary_dark = 2131427403;
// aapt resource value: 0x7f0b0094
public const int design_error = 2131427476;
// aapt resource value: 0x7f0b009f
public const int design_error = 2131427487;
// aapt resource value: 0x7f0b004c
public const int design_fab_shadow_end_color = 2131427404;
@ -6956,8 +6956,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0053
public const int design_snackbar_background_color = 2131427411;
// aapt resource value: 0x7f0b0095
public const int design_tint_password_toggle = 2131427477;
// aapt resource value: 0x7f0b00a0
public const int design_tint_password_toggle = 2131427488;
// aapt resource value: 0x7f0b001e
public const int dim_foreground_disabled_material_dark = 2131427358;
@ -6986,8 +6986,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0025
public const int foreground_material_light = 2131427365;
// aapt resource value: 0x7f0b007a
public const int gray = 2131427450;
// aapt resource value: 0x7f0b0085
public const int gray = 2131427461;
// aapt resource value: 0x7f0b0026
public const int highlighted_text_material_dark = 2131427366;
@ -7025,14 +7025,14 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b006c
public const int hockeyapp_text_white = 2131427436;
// aapt resource value: 0x7f0b007c
public const int ic_launcher_background = 2131427452;
// aapt resource value: 0x7f0b0087
public const int ic_launcher_background = 2131427463;
// aapt resource value: 0x7f0b0076
public const int launcher_background = 2131427446;
// aapt resource value: 0x7f0b0081
public const int launcher_background = 2131427457;
// aapt resource value: 0x7f0b007b
public const int lightgray = 2131427451;
// aapt resource value: 0x7f0b0086
public const int lightgray = 2131427462;
// aapt resource value: 0x7f0b0028
public const int material_blue_grey_800 = 2131427368;
@ -7070,71 +7070,71 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0033
public const int material_grey_900 = 2131427379;
// aapt resource value: 0x7f0b0096
public const int mtrl_bottom_nav_colored_item_tint = 2131427478;
// aapt resource value: 0x7f0b00a1
public const int mtrl_bottom_nav_colored_item_tint = 2131427489;
// aapt resource value: 0x7f0b0097
public const int mtrl_bottom_nav_item_tint = 2131427479;
// aapt resource value: 0x7f0b00a2
public const int mtrl_bottom_nav_item_tint = 2131427490;
// aapt resource value: 0x7f0b0054
public const int mtrl_btn_bg_color_disabled = 2131427412;
// aapt resource value: 0x7f0b0098
public const int mtrl_btn_bg_color_selector = 2131427480;
// aapt resource value: 0x7f0b00a3
public const int mtrl_btn_bg_color_selector = 2131427491;
// aapt resource value: 0x7f0b0099
public const int mtrl_btn_ripple_color = 2131427481;
// aapt resource value: 0x7f0b00a4
public const int mtrl_btn_ripple_color = 2131427492;
// aapt resource value: 0x7f0b009a
public const int mtrl_btn_stroke_color_selector = 2131427482;
// aapt resource value: 0x7f0b00a5
public const int mtrl_btn_stroke_color_selector = 2131427493;
// aapt resource value: 0x7f0b009b
public const int mtrl_btn_text_btn_ripple_color = 2131427483;
// aapt resource value: 0x7f0b00a6
public const int mtrl_btn_text_btn_ripple_color = 2131427494;
// aapt resource value: 0x7f0b0055
public const int mtrl_btn_text_color_disabled = 2131427413;
// aapt resource value: 0x7f0b009c
public const int mtrl_btn_text_color_selector = 2131427484;
// aapt resource value: 0x7f0b00a7
public const int mtrl_btn_text_color_selector = 2131427495;
// aapt resource value: 0x7f0b0056
public const int mtrl_btn_transparent_bg_color = 2131427414;
// aapt resource value: 0x7f0b009d
public const int mtrl_chip_background_color = 2131427485;
// aapt resource value: 0x7f0b00a8
public const int mtrl_chip_background_color = 2131427496;
// aapt resource value: 0x7f0b009e
public const int mtrl_chip_close_icon_tint = 2131427486;
// aapt resource value: 0x7f0b00a9
public const int mtrl_chip_close_icon_tint = 2131427497;
// aapt resource value: 0x7f0b009f
public const int mtrl_chip_ripple_color = 2131427487;
// aapt resource value: 0x7f0b00aa
public const int mtrl_chip_ripple_color = 2131427498;
// aapt resource value: 0x7f0b00a0
public const int mtrl_chip_text_color = 2131427488;
// aapt resource value: 0x7f0b00ab
public const int mtrl_chip_text_color = 2131427499;
// aapt resource value: 0x7f0b00a1
public const int mtrl_fab_ripple_color = 2131427489;
// aapt resource value: 0x7f0b00ac
public const int mtrl_fab_ripple_color = 2131427500;
// aapt resource value: 0x7f0b0057
public const int mtrl_scrim_color = 2131427415;
// aapt resource value: 0x7f0b00a2
public const int mtrl_tabs_colored_ripple_color = 2131427490;
// aapt resource value: 0x7f0b00ad
public const int mtrl_tabs_colored_ripple_color = 2131427501;
// aapt resource value: 0x7f0b00a3
public const int mtrl_tabs_icon_color_selector = 2131427491;
// aapt resource value: 0x7f0b00ae
public const int mtrl_tabs_icon_color_selector = 2131427502;
// aapt resource value: 0x7f0b00a4
public const int mtrl_tabs_icon_color_selector_colored = 2131427492;
// aapt resource value: 0x7f0b00af
public const int mtrl_tabs_icon_color_selector_colored = 2131427503;
// aapt resource value: 0x7f0b00a5
public const int mtrl_tabs_legacy_text_color_selector = 2131427493;
// aapt resource value: 0x7f0b00b0
public const int mtrl_tabs_legacy_text_color_selector = 2131427504;
// aapt resource value: 0x7f0b00a6
public const int mtrl_tabs_ripple_color = 2131427494;
// aapt resource value: 0x7f0b00b1
public const int mtrl_tabs_ripple_color = 2131427505;
// aapt resource value: 0x7f0b00a7
public const int mtrl_text_btn_text_color_selector = 2131427495;
// aapt resource value: 0x7f0b00b2
public const int mtrl_text_btn_text_color_selector = 2131427506;
// aapt resource value: 0x7f0b0058
public const int mtrl_textinput_default_box_stroke_color = 2131427416;
@ -7148,6 +7148,39 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b005b
public const int mtrl_textinput_hovered_box_stroke_color = 2131427419;
// aapt resource value: 0x7f0b0079
public const int nord_actionBar = 2131427449;
// aapt resource value: 0x7f0b007a
public const int nord_actionBarText = 2131427450;
// aapt resource value: 0x7f0b0076
public const int nord_background = 2131427446;
// aapt resource value: 0x7f0b007d
public const int nord_border = 2131427453;
// aapt resource value: 0x7f0b0080
public const int nord_buttonBackground = 2131427456;
// aapt resource value: 0x7f0b007c
public const int nord_dialogBackground = 2131427452;
// aapt resource value: 0x7f0b007b
public const int nord_notificationBar = 2131427451;
// aapt resource value: 0x7f0b007e
public const int nord_popupBackground = 2131427454;
// aapt resource value: 0x7f0b007f
public const int nord_popupText = 2131427455;
// aapt resource value: 0x7f0b0078
public const int nord_primary = 2131427448;
// aapt resource value: 0x7f0b0077
public const int nord_text = 2131427447;
// aapt resource value: 0x7f0b0070
public const int notificationBar = 2131427440;
@ -7211,11 +7244,11 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0043
public const int switch_thumb_disabled_material_light = 2131427395;
// aapt resource value: 0x7f0b00a8
public const int switch_thumb_material_dark = 2131427496;
// aapt resource value: 0x7f0b00b3
public const int switch_thumb_material_dark = 2131427507;
// aapt resource value: 0x7f0b00a9
public const int switch_thumb_material_light = 2131427497;
// aapt resource value: 0x7f0b00b4
public const int switch_thumb_material_light = 2131427508;
// aapt resource value: 0x7f0b0044
public const int switch_thumb_normal_material_dark = 2131427396;
@ -7229,8 +7262,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0b0047
public const int tooltip_background_light = 2131427399;
// aapt resource value: 0x7f0b0077
public const int white = 2131427447;
// aapt resource value: 0x7f0b0082
public const int white = 2131427458;
static Color()
{
@ -11051,8 +11084,8 @@ namespace Bit.Droid
// aapt resource value: 0x7f0e016d
public const int Animation_Design_BottomSheetDialog = 2131624301;
// aapt resource value: 0x7f0e020b
public const int AppCompatDialogStyle = 2131624459;
// aapt resource value: 0x7f0e020f
public const int AppCompatDialogStyle = 2131624463;
// aapt resource value: 0x7f0e009d
public const int Base_AlertDialog_AppCompat = 2131624093;
@ -11663,6 +11696,18 @@ namespace Bit.Droid
// aapt resource value: 0x7f0e0203
public const int LightTheme_Splash = 2131624451;
// aapt resource value: 0x7f0e020b
public const int NordTheme = 2131624459;
// aapt resource value: 0x7f0e020d
public const int NordTheme_Base = 2131624461;
// aapt resource value: 0x7f0e020e
public const int NordTheme_Popup = 2131624462;
// aapt resource value: 0x7f0e020c
public const int NordTheme_Splash = 2131624460;
// aapt resource value: 0x7f0e007e
public const int Platform_AppCompat = 2131624062;

View file

@ -1,17 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Light theme -->
<color name="colorPrimary">#3c8dbc</color>
<color name="colorPrimaryDark">#222d32</color>
<color name="primary">#3c8dbc</color>
<color name="notificationBar">#3883af</color>
<color name="border">#dddddd</color>
<!-- Dark theme -->
<color name="dark_primary">#52bdfb</color>
<color name="dark_notificationBar">#191919</color>
<color name="dark_border">#191919</color>
<!-- Black theme -->
<color name="black_border">#282828</color>
<!-- Nord theme -->
<color name="nord_background">#3b4252</color>
<color name="nord_text">#e5e9f0</color>
<color name="nord_primary">#81a1c1</color>
<color name="nord_actionBar">#2e3440</color>
<color name="nord_actionBarText">#e5e9f0</color>
<color name="nord_notificationBar">#20242D</color>
<color name="nord_dialogBackground">#3b4252</color>
<color name="nord_border">#2e3440</color>
<color name="nord_popupBackground">#4c566a</color>
<color name="nord_popupText">#e5e9f0</color>
<color name="nord_buttonBackground">#4c566a</color>
<!-- Other -->
<color name="launcher_background">#FFFFFF</color>
<color name="white">#FFFFFF</color>
<color name="black">#000000</color>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8" ?>
<resources>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Light theme -->
<style name="LightTheme" parent="LightTheme.Base">
</style>
@ -59,6 +59,33 @@
<item name="colorControlNormal">@color/black_border</item>
</style>
<!-- Nord theme -->
<style name="NordTheme" parent="NordTheme.Base">
</style>
<style name="NordTheme.Splash" parent="DarkTheme.Splash">
</style>
<style name="NordTheme.Base" parent="DarkTheme.Base">
<item name="android:windowBackground">@color/nord_background</item>
<item name="android:actionMenuTextColor">@color/nord_actionBarText</item>
<item name="android:textColor">@color/nord_text</item>
<item name="colorAccent">@color/nord_primary</item>
<item name="colorPrimary">@color/nord_actionBar</item>
<item name="colorPrimaryDark">@color/nord_notificationBar</item>
<item name="colorControlNormal">@color/nord_border</item>
<item name="colorBackgroundFloating">@color/nord_dialogBackground</item>
<item name="android:colorBackgroundFloating" tools:targetApi="23">@color/nord_dialogBackground</item>
<item name="popupTheme">@style/NordTheme.Popup</item>
<item name="colorButtonNormal">@color/nord_buttonBackground</item>
<item name="android:colorButtonNormal">@color/nord_buttonBackground</item>
</style>
<style name="NordTheme.Popup" parent="ThemeOverlay.AppCompat">
<item name="android:colorBackground">@color/nord_popupBackground</item>
<item name="android:textColor">@color/nord_popupText</item>
</style>
<!-- Other theme components -->
<style name="AppCompatDialogStyle" parent="Theme.AppCompat.Light.Dialog">
<item name="colorAccent">#FF4081</item>

View file

@ -48,6 +48,10 @@ namespace Bit.Droid
{
SetTheme(Resource.Style.BlackTheme_Splash);
}
else if(theme == "nord")
{
SetTheme(Resource.Style.NordTheme_Splash);
}
else
{
SetTheme(Resource.Style.LightTheme_Splash);

View file

@ -118,6 +118,9 @@
<Compile Update="Styles\Black.xaml.cs">
<DependentUpon>Black.xaml</DependentUpon>
</Compile>
<Compile Update="Styles\Nord.xaml.cs">
<DependentUpon>Nord.xaml</DependentUpon>
</Compile>
<Compile Update="Styles\Variables.xaml.cs">
<DependentUpon>Variables.xaml</DependentUpon>
</Compile>

View file

@ -67,6 +67,7 @@ namespace Bit.App.Pages
{
ThemeOptions.Add(new KeyValuePair<string, string>("black", AppResources.Black));
}
ThemeOptions.Add(new KeyValuePair<string, string>("nord", "Nord"));
UriMatchOptions = new List<KeyValuePair<UriMatchType?, string>>
{
new KeyValuePair<UriMatchType?, string>(UriMatchType.Domain, AppResources.BaseDomain),

View file

@ -78,6 +78,13 @@
<Setter Property="BarBackgroundColor"
Value="{StaticResource TabBarBackgroundColor}" />
</Style>
<Style TargetType="NavigationPage"
ApplyToDerivedTypes="True">
<Setter Property="BarTextColor"
Value="{StaticResource NavigationBarTextColor}" />
<Setter Property="BarBackgroundColor"
Value="{StaticResource NavigationBarBackgroundColor}" />
</Style>
<!-- Buttons -->
<Style TargetType="Button"

View file

@ -36,4 +36,7 @@
<Color x:Key="TabBarBackgroundColor">#000000</Color>
<Color x:Key="TabBarItemColor">#C0C0C0</Color>
<Color x:Key="TabBarSelectedItemColor">#52bdfb</Color>
<Color x:Key="NavigationBarBackgroundColor">#000000</Color>
<Color x:Key="NavigationBarTextColor">#ffffff</Color>
</ResourceDictionary>

View file

@ -36,4 +36,7 @@
<Color x:Key="TabBarBackgroundColor">#212121</Color>
<Color x:Key="TabBarItemColor">#C0C0C0</Color>
<Color x:Key="TabBarSelectedItemColor">#52bdfb</Color>
<Color x:Key="NavigationBarBackgroundColor">#212121</Color>
<Color x:Key="NavigationBarTextColor">#ffffff</Color>
</ResourceDictionary>

View file

@ -36,4 +36,7 @@
<Color x:Key="TabBarBackgroundColor">#ffffff</Color>
<Color x:Key="TabBarItemColor">#757575</Color>
<Color x:Key="TabBarSelectedItemColor">#3c8dbc</Color>
<Color x:Key="NavigationBarBackgroundColor">#3c8dbc</Color>
<Color x:Key="NavigationBarTextColor">#ffffff</Color>
</ResourceDictionary>

42
src/App/Styles/Nord.xaml Normal file
View file

@ -0,0 +1,42 @@
<?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.Nord">
<Color x:Key="TextColor">#e5e9f0</Color>
<Color x:Key="PrimaryColor">#81a1c1</Color>
<Color x:Key="DangerColor">#bf616a</Color>
<Color x:Key="SuccessColor">#a3be8c</Color>
<Color x:Key="InfoColor">#81a1c1</Color>
<Color x:Key="WarningColor">#d08770</Color>
<Color x:Key="MutedColor">#d8dee9</Color>
<Color x:Key="PasswordNumberColor">#88c0d0</Color>
<Color x:Key="PasswordSpecialColor">#d08770</Color>
<Color x:Key="ButtonColor">#d8dee9</Color>
<Color x:Key="BorderColor">#2e3440</Color>
<Color x:Key="DisabledIconColor">#c7c7cd</Color>
<Color x:Key="BoxBorderColor">#2e3440</Color>
<Color x:Key="BoxHeaderTextColor">#81a1c1</Color>
<Color x:Key="TitleTextColor">#d8dee9</Color>
<Color x:Key="TitleEntryTextColor">#e5e9f0</Color>
<Color x:Key="TitleEntryPlaceholderColor">#d8dee9</Color>
<Color x:Key="ListItemBorderColor">#2e3440</Color>
<Color x:Key="ListHeaderTextColor">#81a1c1</Color>
<Color x:Key="SliderThumbColor">#e5e9f0</Color>
<Color x:Key="SliderThumbBorderColor">#2e3440</Color>
<Color x:Key="SliderTrackColor">#81a1c1</Color>
<Color x:Key="FabColor">#81a1c1</Color>
<Color x:Key="FabPressedColor">#81a1c1</Color>
<Color x:Key="TabBarBackgroundColor">#2e3440</Color>
<Color x:Key="TabBarItemColor">#e5e9f0</Color>
<Color x:Key="TabBarSelectedItemColor">#81a1c1</Color>
<Color x:Key="NavigationBarBackgroundColor">#2e3440</Color>
<Color x:Key="NavigationBarTextColor">#e5e9f0</Color>
</ResourceDictionary>

View file

@ -0,0 +1,12 @@
using Xamarin.Forms;
namespace Bit.App.Styles
{
public partial class Nord : ResourceDictionary
{
public Nord()
{
InitializeComponent();
}
}
}

View file

@ -25,6 +25,10 @@ namespace Bit.App.Utilities
{
Application.Current.Resources.MergedDictionaries.Add(new Black());
}
else if(name == "nord")
{
Application.Current.Resources.MergedDictionaries.Add(new Nord());
}
else
{
Application.Current.Resources.MergedDictionaries.Add(new Light());