git things

This commit is contained in:
zypherift
2024-04-28 23:04:23 +02:00
parent 57a4c65d2c
commit 1b95afdfc2
13 changed files with 21 additions and 48 deletions

View File

@@ -83,8 +83,7 @@ class AppTheme {
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().darken(accent,
amount: 0.4); // white mode: same tertiary as secondary
: ColorsUtils().darken(accent, amount: 0.5);
return ThemeData(
brightness: Brightness.light,
@@ -187,15 +186,14 @@ class AppTheme {
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().lighten(accent, amount: 0.3);
: ColorsUtils().lighten(accent, amount: 0.1);
// Color newScaffoldBg = ColorsUtils().lighten(accent, amount: 0.4);
Color newTertiary = (accentColor == AccentColor.adaptive ||
accentColor == AccentColor.custom ||
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().darken(accent,
amount: 0.1); // dark mode: tertiary is way darker than secondary
: ColorsUtils().lighten(accent, amount: 0.4);
return ThemeData(
brightness: Brightness.dark,