From 040bac3da2a215802ebad02f8e6a418bb200cb9c Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 4 Jul 2021 17:51:15 -0400 Subject: [PATCH] Resource cleanup post-theme removal --- .../ui/base/activity/BaseThemedActivity.kt | 2 +- .../util/system/ContextExtensions.kt | 2 +- .../sc_collections_bookmark_48dp.xml | 2 +- .../main/res/drawable-v26/sc_explore_48dp.xml | 2 +- .../main/res/drawable-v26/sc_history_48dp.xml | 2 +- .../res/drawable-v26/sc_new_releases_48dp.xml | 2 +- .../drawable/sc_collections_bookmark_48dp.xml | 2 +- app/src/main/res/drawable/sc_explore_48dp.xml | 2 +- app/src/main/res/drawable/sc_history_48dp.xml | 2 +- .../res/drawable/sc_new_releases_48dp.xml | 2 +- app/src/main/res/values-night/themes.xml | 2 +- app/src/main/res/values/colors.xml | 23 ++++++------------- app/src/main/res/values/themes.xml | 22 +++++------------- 13 files changed, 24 insertions(+), 43 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt index 03d84e160..58329b9ae 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/base/activity/BaseThemedActivity.kt @@ -35,7 +35,7 @@ abstract class BaseThemedActivity : AppCompatActivity() { val resIds = mutableListOf() when (preferences.appTheme().get()) { PreferenceValues.AppTheme.BLUE -> { - resIds += R.style.Theme_Tachiyomi_DarkBlue + resIds += R.style.Theme_Tachiyomi_Blue resIds += R.style.ThemeOverlay_Tachiyomi_ColoredBars } PreferenceValues.AppTheme.GREEN_APPLE -> { diff --git a/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt b/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt index 563d562a0..95cb979f2 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/util/system/ContextExtensions.kt @@ -94,7 +94,7 @@ fun Context.copyToClipboard(label: String, content: String) { */ fun Context.notificationBuilder(channelId: String, block: (NotificationCompat.Builder.() -> Unit)? = null): NotificationCompat.Builder { val builder = NotificationCompat.Builder(this, channelId) - .setColor(ContextCompat.getColor(this, R.color.accent_lightblue)) + .setColor(ContextCompat.getColor(this, R.color.accent_blue)) if (block != null) { builder.block() } diff --git a/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml b/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml index 5233c9fe8..e7cfad267 100644 --- a/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml +++ b/app/src/main/res/drawable-v26/sc_collections_bookmark_48dp.xml @@ -1,6 +1,6 @@ - + - + - + - + @color/surface_amoled @color/background_amoled @color/divider_amoled - @color/filterColorAmoled + @color/filter_dark diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 5343f94e6..8e3b8f341 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,17 +1,17 @@ - @color/accent_lightblue + @color/accent_blue - + @color/md_blue_A400 @color/md_black_1000_12 @color/md_white_1000 @color/md_grey_50 @color/md_blue_A400_12 - - #54759E - #1F54759E + + #54759E + #1F54759E #ED4A65 @@ -21,10 +21,6 @@ #FC8C5C #1FFC8C5C - - #54759E - #1F54759E - #48E484 #1F48E484 @@ -40,13 +36,8 @@ #000001 #000000 - - #FF3399 - #1FFF3399 - - #FFC107 - #FFEB3B - #FFEB3B + #FFC107 + #FFEB3B #202125 diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml index 858fc9f8b..a8f455d2f 100644 --- a/app/src/main/res/values/themes.xml +++ b/app/src/main/res/values/themes.xml @@ -7,7 +7,7 @@ @@ -121,14 +119,6 @@ @color/ripple_colored_midnightdusk - - -