diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryBadge.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryBadge.kt
index 4941da8850..b18059f078 100644
--- a/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryBadge.kt
+++ b/app/src/main/java/eu/kanade/tachiyomi/ui/library/LibraryBadge.kt
@@ -6,7 +6,6 @@ import androidx.core.view.isVisible
import com.google.android.material.card.MaterialCardView
import eu.kanade.tachiyomi.R
import eu.kanade.tachiyomi.databinding.UnreadDownloadBadgeBinding
-import eu.kanade.tachiyomi.util.system.ImageUtil
import eu.kanade.tachiyomi.util.system.contextCompatColor
import eu.kanade.tachiyomi.util.system.dpToPx
import eu.kanade.tachiyomi.util.system.getResourceColor
@@ -55,13 +54,9 @@ class LibraryBadge @JvmOverloads constructor(context: Context, attrs: AttributeS
} else {
downloads.toString()
}
- if (ImageUtil.isDarkish(context.getResourceColor(R.attr.colorOnAccent))) {
- setTextColor(context.getColor(R.color.download_badge_light_text))
- setBackgroundColor(context.getColor(R.color.download_badge_light))
- } else {
- setTextColor(context.getColor(R.color.download_badge_text))
- setBackgroundColor(context.getColor(R.color.download_badge))
- }
+
+ setTextColor(context.getResourceColor(R.attr.colorOnDownloadBadge))
+ setBackgroundColor(context.getResourceColor(R.attr.colorDownloadBadge))
}
// Show the badge card if unread or downloads exists
diff --git a/app/src/main/res/values-night-v31/themes.xml b/app/src/main/res/values-night-v31/themes.xml
index f24276a506..03ec67cef2 100644
--- a/app/src/main/res/values-night-v31/themes.xml
+++ b/app/src/main/res/values-night-v31/themes.xml
@@ -4,6 +4,8 @@
- @android:color/system_accent2_800
- @android:color/system_accent1_100
- @android:color/system_accent1_50
+ - @android:color/system_accent3_800
+ - @color/md_white_1000
- @android:color/system_neutral1_800
- @android:color/system_neutral1_900
- @android:color/system_neutral1_900
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
index c27846334d..60b61a284b 100644
--- a/app/src/main/res/values-night/colors.xml
+++ b/app/src/main/res/values-night/colors.xml
@@ -19,6 +19,8 @@
@color/material_green_700
#cc4444
@color/md_white_1000
+ @color/download_badge_light
+ @color/md_white_1000
#1C1C1D
#212121
@@ -27,8 +29,7 @@
#F3B375
#242431
- @color/colorOnAccentTako
- @color/accentTako
+ @color/accentTako
#1FF3B375
#2A2A3C
#21212E
diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml
index bd5a0797ae..cfca384475 100644
--- a/app/src/main/res/values-night/themes.xml
+++ b/app/src/main/res/values-night/themes.xml
@@ -26,6 +26,8 @@
- @color/backgroundLime
- @color/colorAccentLimeText
- @color/colorOnLime
+ - @color/download_badge_light
+ - @color/md_white_1000
diff --git a/app/src/main/res/values-v31/themes.xml b/app/src/main/res/values-v31/themes.xml
index 882a83cb4f..424db586b7 100644
--- a/app/src/main/res/values-v31/themes.xml
+++ b/app/src/main/res/values-v31/themes.xml
@@ -3,6 +3,8 @@