diff --git a/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt b/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt
index 46c0b141a5..8656fbd57a 100644
--- a/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt
+++ b/app/src/main/java/com/battlelancer/seriesguide/util/WebTools.kt
@@ -26,12 +26,12 @@ object WebTools {
fun openInCustomTab(context: Context, url: String): Boolean {
val darkParams = CustomTabColorSchemeParams.Builder()
.setToolbarColor(
- ContextCompat.getColor(context, R.color.sg_background_app_bar_dark)
+ ContextCompat.getColor(context, R.color.md_theme_dark_surfaceContainer)
)
.build()
val defaultParams = CustomTabColorSchemeParams.Builder()
.setToolbarColor(
- ContextCompat.getColor(context, R.color.sg_color_background_light)
+ ContextCompat.getColor(context, R.color.md_theme_light_surfaceContainer)
)
.build()
val customTabsIntent = CustomTabsIntent.Builder()
diff --git a/app/src/main/res/values-v23/themes.xml b/app/src/main/res/values-v23/themes.xml
index f5c6f6cceb..9ca0a1eea1 100644
--- a/app/src/main/res/values-v23/themes.xml
+++ b/app/src/main/res/values-v23/themes.xml
@@ -5,8 +5,9 @@
+
- - @color/sg_background_app_bar_dark
+ - @color/md_theme_dark_surfaceContainer
@@ -14,9 +15,10 @@
+
- - @color/sg_color_background
+ - @color/md_theme_light_surfaceContainer
- true
diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml
index b0622e7a86..38752e7bb6 100644
--- a/app/src/main/res/values-v27/themes.xml
+++ b/app/src/main/res/values-v27/themes.xml
@@ -5,11 +5,11 @@
+
- - @color/sg_background_app_bar_dark
-
+ - @color/md_theme_dark_surfaceContainer
- - @color/sg_black_almost
+ - @color/md_theme_dark_surfaceContainer
@@ -17,13 +17,13 @@
+
- - @color/sg_color_background
+ - @color/md_theme_light_surfaceContainer
- true
-
- - ?attr/sgColorTopAppBar
+ - @color/md_theme_light_surfaceContainer
- true
diff --git a/app/src/main/res/values/attrs.xml b/app/src/main/res/values/attrs.xml
index 9bcb20a5d0..1343d38288 100644
--- a/app/src/main/res/values/attrs.xml
+++ b/app/src/main/res/values/attrs.xml
@@ -14,7 +14,6 @@
-
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index e87704fb8e..1b411a8a0c 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -45,8 +45,6 @@
#aaffffff
#ffffffff
-
- #241f2c
#de927bbc
diff --git a/app/src/main/res/values/themes.xml b/app/src/main/res/values/themes.xml
index 15c20a2bab..d4f31995e4 100644
--- a/app/src/main/res/values/themes.xml
+++ b/app/src/main/res/values/themes.xml
@@ -71,7 +71,6 @@
- @color/sg_white_15
- @color/sg_black_40
- @color/sg_black_87
- - @color/sg_background_app_bar_dark
- @color/sg_color_outline_dark
@@ -151,7 +150,6 @@
- @color/sg_black_10
- @color/sg_black_7
- @color/sg_white_87
- - @color/sg_color_background
- @color/sg_color_outline_light