Material You tweaks.

This commit is contained in:
Docile-Alligator 2022-12-16 00:21:15 +11:00
parent 20c729244e
commit 206296db5e
2 changed files with 8 additions and 8 deletions

View File

@ -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"

View File

@ -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);