From c43633ebb9d5970b9b4ed5919e63284546b9e450 Mon Sep 17 00:00:00 2001 From: Daniel Bailey Date: Sun, 5 May 2019 14:48:12 +0100 Subject: [PATCH] Various improvements to dark theme Signed-off-by: Daniel Bailey --- .../client/onboarding/FirstRunActivity.java | 2 +- src/main/res/layout/storage_path_item.xml | 2 +- src/main/res/values-night/colors.xml | 5 --- src/main/res/values-v21/styles.xml | 25 +++++++++++++ src/main/res/values/colors.xml | 6 ---- src/main/res/values/styles.xml | 36 ++----------------- 6 files changed, 29 insertions(+), 47 deletions(-) diff --git a/src/main/java/com/nextcloud/client/onboarding/FirstRunActivity.java b/src/main/java/com/nextcloud/client/onboarding/FirstRunActivity.java index fe9bf00de3..d3c4e253da 100644 --- a/src/main/java/com/nextcloud/client/onboarding/FirstRunActivity.java +++ b/src/main/java/com/nextcloud/client/onboarding/FirstRunActivity.java @@ -81,7 +81,7 @@ public class FirstRunActivity extends BaseActivity implements ViewPager.OnPageCh Button loginButton = findViewById(R.id.login); loginButton.setBackgroundColor(getResources().getColor(R.color.bg_default)); - loginButton.setTextColor(getResources().getColor(R.color.fg_default)); + loginButton.setTextColor(getResources().getColor(R.color.primary)); loginButton.setOnClickListener(v -> { if (getIntent().getBooleanExtra(EXTRA_ALLOW_CLOSE, false)) { diff --git a/src/main/res/layout/storage_path_item.xml b/src/main/res/layout/storage_path_item.xml index 0726935730..997ab046b1 100644 --- a/src/main/res/layout/storage_path_item.xml +++ b/src/main/res/layout/storage_path_item.xml @@ -50,7 +50,7 @@ android:ellipsize="end" android:gravity="center_vertical" android:singleLine="true" - android:textColor="@color/textColor" + android:textColor="@color/fg_default" android:textSize="@dimen/file_details_username_text_size" tools:text="DCIM" /> diff --git a/src/main/res/values-night/colors.xml b/src/main/res/values-night/colors.xml index 3674df2701..431b3c96dc 100644 --- a/src/main/res/values-night/colors.xml +++ b/src/main/res/values-night/colors.xml @@ -65,8 +65,6 @@ #ffffff #000000 - #888888 - #201D2D44 #40162233 @@ -78,9 +76,6 @@ #ffffff - #616161 #737373 - #4DFFFFFF - #525252 diff --git a/src/main/res/values-v21/styles.xml b/src/main/res/values-v21/styles.xml index b915cd1d32..cf420018a2 100644 --- a/src/main/res/values-v21/styles.xml +++ b/src/main/res/values-v21/styles.xml @@ -17,6 +17,31 @@ along with this program. If not, see . --> + + + + + + + + + - - - - - - -