diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-06-27 20:07:31 +0300 |
---|---|---|
committer | Niedermann IT-Dienstleistungen <stefan-niedermann@users.noreply.github.com> | 2020-06-30 13:58:19 +0300 |
commit | 6cc554d5765d9bc830d9b1fd772e694dcf0f92b0 (patch) | |
tree | b0f6ca4ffa665b239f56516848ec2dbfb43cca15 /app/src/main/res/values | |
parent | fbd95851e3c3c9dd03fc536a6f786282a3ed3167 (diff) |
#525 Adjust design to new style of Nextcloud app
Fix accent color
Diffstat (limited to 'app/src/main/res/values')
-rw-r--r-- | app/src/main/res/values/booleans.xml | 4 | ||||
-rw-r--r-- | app/src/main/res/values/colors.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 9 |
3 files changed, 10 insertions, 5 deletions
diff --git a/app/src/main/res/values/booleans.xml b/app/src/main/res/values/booleans.xml new file mode 100644 index 000000000..c47017c70 --- /dev/null +++ b/app/src/main/res/values/booleans.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <bool name="isDayMode">true</bool> +</resources> diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 9cc474708..876390a12 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources> <color name="primary">#ffffff</color> - <color name="accent">#121212</color> + <color name="accent">#000000</color> <color name="toolbarEditTextHighlightColor">#55ffffff</color> <color name="danger">#d40000</color> <color name="fg_accent">#fff</color> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index c47ed4566..69aa9bb39 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,13 +1,14 @@ <resources> - <!-- Default is a light theme with the dark blue brand --> - <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge"> + <style name="BaseTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge"> <item name="colorPrimary">@color/primary</item> <item name="colorPrimaryDark">@color/primary</item> - <item name="colorAccent">@color/primary</item> - <item name="colorControlNormal">?attr/colorAccent</item> + <item name="colorAccent">@color/accent</item> </style> + <!-- Default is a light theme with the dark blue brand --> + <style name="AppTheme" parent="BaseTheme" /> + <style name="SplashTheme" parent="Theme.AppCompat.NoActionBar"> <item name="android:windowBackground">@drawable/splash_screen</item> <item name="colorPrimaryDark">@color/primary</item> |