added toggle for new colors

This commit is contained in:
Kima
2024-03-12 21:40:24 +01:00
parent 649f10f5b8
commit 39b892523b
3 changed files with 43 additions and 2 deletions

View File

@@ -170,14 +170,14 @@ class AppTheme {
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().lighten(accent, amount: 0.4);
: ColorsUtils().lighten(accent, amount: 0.3);
// Color newScaffoldBg = ColorsUtils().lighten(accent, amount: 0.4);
Color newTertiary = (accentColor == AccentColor.adaptive ||
accentColor == AccentColor.custom ||
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().lighten(accent, amount: 0.5);
: ColorsUtils().lighten(accent, amount: 0.4);
return ThemeData(
brightness: Brightness.dark,