diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-15 13:21:15 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2022-12-15 13:21:15 +0000 |
commit | 206296db5e684d1c620b40bc5e64c4111fadb85c (patch) | |
tree | b369e23c44b4736456b48dbf13d32f0776b6c50d /app | |
parent | 20c729244e1d18f8b9b4232d303dbbf6f4761294 (diff) | |
download | infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar.gz infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar.bz2 infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar.lz infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar.xz infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.tar.zst infinity-for-reddit-206296db5e684d1c620b40bc5e64c4111fadb85c.zip |
Material You tweaks.
Diffstat (limited to 'app')
-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); |