aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/values/themes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/values/themes.xml')
-rw-r--r--app/src/main/res/values/themes.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
new file mode 100644
index 00000000..bf32180c
--- /dev/null
+++ b/app/src/main/res/values/themes.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
+ -->
+
+<resources>
+ <!-- Base application theme. -->
+ <style name="APSTheme" parent="Theme.MaterialComponents.DayNight">
+ <item name="colorPrimary">@color/primary_color</item>
+ <item name="colorOnPrimary">@color/color_control_normal</item>
+ <item name="colorPrimaryDark">@color/primary_color</item>
+ <item name="colorPrimaryVariant">@color/primary_light_color</item>
+ <item name="colorSecondary">@color/secondary_color</item>
+ <item name="colorSecondaryVariant">@color/secondary_dark_color</item>
+ <item name="colorOnSecondary">@color/white</item>
+ <item name="colorSurface">@color/primary_color</item>
+ <item name="colorOnSurface">@color/color_control_normal</item>
+ <item name="colorControlNormal">@color/color_control_normal</item>
+ <item name="android:textColor">@color/primary_text_color</item>
+ <item name="android:colorBackgroundFloating">@color/primary_color</item>
+ <item name="android:statusBarColor">@color/status_bar_color</item>
+ <item name="android:navigationBarColor">@color/navigation_bar_color</item>
+ <item name="android:windowLightStatusBar">@bool/light_status_bar</item>
+ <item name="actionModeStyle">@style/ActionMode</item>
+ <item name="alertDialogTheme">@style/AppTheme.Dialog</item>
+ <item name="materialAlertDialogTheme">@style/AppTheme.Dialog</item>
+ <item name="materialButtonStyle">@style/AppTheme.MaterialButton</item>
+ <item name="materialButtonOutlinedStyle">@style/AppTheme.OutlinedButton</item>
+ <item name="bottomSheetDialogTheme">@style/BottomSheetDialogTheme</item>
+ <item name="textInputStyle">@style/AppTheme.TextInputLayout</item>
+ </style>
+
+ <style name="AppTheme" parent="APSTheme" />
+</resources>