From a88d6847faaaa80f4f24fdb54eae47b96a252503 Mon Sep 17 00:00:00 2001 From: Hans-Peter Lehmann Date: Sun, 21 Dec 2025 12:36:48 +0100 Subject: [PATCH] Fix device surface colors leaking into default blue theme (#8163) Fix device surface colors leaking into default blue theme. Selecting a non-blue system wide accent color made the AntennaPod default colors all mixed up. --- app/src/main/res/layout/feeditemlist_item.xml | 4 +++ ui/common/src/main/res/values/colors.xml | 8 ++++- ui/common/src/main/res/values/styles.xml | 34 ++++++++++++++++--- 3 files changed, 41 insertions(+), 5 deletions(-) diff --git a/app/src/main/res/layout/feeditemlist_item.xml b/app/src/main/res/layout/feeditemlist_item.xml index 4a5899d93..ea09c673d 100644 --- a/app/src/main/res/layout/feeditemlist_item.xml +++ b/app/src/main/res/layout/feeditemlist_item.xml @@ -100,6 +100,7 @@ android:layout_width="14sp" android:layout_height="14sp" android:contentDescription="@string/is_inbox_label" + app:tint="?attr/colorOnSurfaceVariant" app:srcCompat="@drawable/ic_inbox" /> #22777777 #90000000 #905B5B5B + #444444 + #cccccc + #D3DCE0 + #2F3B4F + #A5B8C0 + #4D5F80 #0078C2 #3D8BFF - + #364ff3 #2E6FF6 #1EB0FC diff --git a/ui/common/src/main/res/values/styles.xml b/ui/common/src/main/res/values/styles.xml index 840360a4d..3ede11777 100644 --- a/ui/common/src/main/res/values/styles.xml +++ b/ui/common/src/main/res/values/styles.xml @@ -43,9 +43,22 @@ @color/black @color/background_light @color/background_light - #D3DCE0 + @color/black + @color/black + @color/color_surface_variant_light + @color/text_color_secondary_light #EBEEF3 - #D3DCE0 + @color/color_secondary_container_light + @color/black + @color/black + @color/text_color_secondary_light + @color/text_color_secondary_light + @color/text_color_secondary_light + @color/text_color_secondary_light + @color/color_surface_variant_light + @color/color_surface_variant_light + @color/color_surface_variant_light + @color/color_surface_variant_light