diff options
-rw-r--r-- | app/build.gradle | 2 | ||||
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/app/build.gradle b/app/build.gradle index 4f53782b..9d863929 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -80,7 +80,7 @@ dependencies { implementation "androidx.room:room-guava:$roomVersion" implementation 'androidx.viewpager2:viewpager2:1.1.0-beta01' implementation 'androidx.work:work-runtime:2.7.1' - implementation 'com.google.android.material:material:1.8.0-alpha03' + implementation 'com.google.android.material:material:1.8.0-beta01' /** ExoPlayer **/ def exoplayerVersion = "2.18.2" diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java index f50cc10d..ec663db8 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/utils/MaterialYouUtils.java @@ -91,10 +91,10 @@ public class MaterialYouUtils { lightTheme.colorPrimaryDark = lightTheme.colorPrimary; lightTheme.colorAccent = context.getColor(android.R.color.system_accent3_300); lightTheme.colorPrimaryLightTheme = lightTheme.colorPrimary; - lightTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_100); - lightTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_50); - lightTheme.commentBackgroundColor = context.getColor(android.R.color.system_neutral2_50); - lightTheme.awardedCommentBackgroundColor = context.getColor(android.R.color.system_neutral2_50); + lightTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_50); + lightTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_10); + lightTheme.commentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); + lightTheme.awardedCommentBackgroundColor = context.getColor(android.R.color.system_neutral2_10); lightTheme.bottomAppBarBackgroundColor = lightTheme.colorPrimary; lightTheme.navBarColor = lightTheme.colorPrimary; lightTheme.primaryTextColor = context.getColor(android.R.color.system_neutral1_900); @@ -123,9 +123,9 @@ public class MaterialYouUtils { darkTheme.colorPrimaryLightTheme = context.getColor(android.R.color.system_accent1_300); darkTheme.backgroundColor = context.getColor(android.R.color.system_neutral1_900); darkTheme.cardViewBackgroundColor = context.getColor(android.R.color.system_neutral2_800); - darkTheme.commentBackgroundColor = context.getColor(android.R.color.system_neutral2_800); - darkTheme.awardedCommentBackgroundColor = context.getColor(android.R.color.system_neutral2_800); - darkTheme.bottomAppBarBackgroundColor = context.getColor(android.R.color.system_accent2_800); + darkTheme.commentBackgroundColor = darkTheme.cardViewBackgroundColor; + darkTheme.awardedCommentBackgroundColor = darkTheme.cardViewBackgroundColor; + darkTheme.bottomAppBarBackgroundColor = darkTheme.colorPrimary; darkTheme.navBarColor = darkTheme.colorPrimary; darkTheme.primaryTextColor = context.getColor(android.R.color.system_neutral1_10); darkTheme.secondaryTextColor = context.getColor(android.R.color.system_neutral1_10); |