diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2020-02-12 19:46:01 +0530 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-12 15:23:53 +0100 |
commit | d25702d99ded6946608713e670c6a6ce323f8f87 (patch) | |
tree | b4b37cdfb9fd7b33125883fe9063d1c4d93cac65 /app/src/main/res/values-v27 | |
parent | c55441332749d914d48b2aae67635adf077bfd5a (diff) |
Implement custom theming to match Google's AOSP design
Closes: #4
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/src/main/res/values-v27')
-rw-r--r-- | app/src/main/res/values-v27/styles.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/res/values-v27/styles.xml b/app/src/main/res/values-v27/styles.xml new file mode 100644 index 00000000..2f4b7107 --- /dev/null +++ b/app/src/main/res/values-v27/styles.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + + <style name="AppTheme" 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="colorOnSecondary">@color/secondary_text_color</item> + <item name="colorSurface">@color/primary_color</item> + <item name="colorOnSurface">@color/color_control_normal</item> + <item name="colorBackground">@color/primary_color</item> + <item name="colorControlNormal">@color/color_control_normal</item> + <item name="colorMultiselectActiveBackground">@color/list_multiselect_background</item> + <item name="elevationOverlayColor">@color/primary_light_color</item> + <item name="elevationOverlayEnabled">true</item> + <item name="android:colorBackground">@color/primary_color</item> + <item name="android:navigationBarColor">@color/navigation_bar_color</item> + <item name="android:statusBarColor">@color/status_bar_color</item> + <item name="android:windowLightNavigationBar">@bool/light_navigation_bar</item> + <item name="android:windowLightStatusBar">@bool/light_status_bar</item> + <item name="android:windowBackground">@color/primary_color</item> + <item name="alertDialogTheme">@style/AppTheme.Dialog</item> + <item name="materialAlertDialogTheme">@style/AppTheme.Dialog</item> + <item name="actionBarPopupTheme">@style/ThemeOverlay.MaterialComponents.ActionBar</item> + </style> +</resources> |