mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-11-06 18:57:26 +01:00
Material You tweaks.
This commit is contained in:
parent
20c729244e
commit
206296db5e
@ -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"
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user