made dark mode colors better and bugfix

This commit is contained in:
Kima 2024-05-03 16:56:29 +02:00
parent d5f583a0d2
commit f346d9b8ef
2 changed files with 14 additions and 8 deletions

View File

@ -187,7 +187,7 @@ class AppTheme {
accentColor == AccentColor.ogfilc) ||
!settings.newColors
? accent
: ColorsUtils().lighten(accent, amount: 0.3);
: ColorsUtils().lighten(accent, amount: 0.22);
// Color newScaffoldBg = ColorsUtils().lighten(accent, amount: 0.4);
Color newTertiary = (accentColor == AccentColor.adaptive ||
accentColor == AccentColor.custom ||

View File

@ -135,13 +135,19 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
title: Text('your_notes'.i18n),
padding: EdgeInsets.zero,
isTransparent: true,
child: Center(
child: Wrap(
spacing: 18.0,
runSpacing: 18.0,
children: selfNoteTiles,
),
),
child: selfNoteTiles.length > 1
? Center(
child: Wrap(
spacing: 18.0,
runSpacing: 18.0,
children: selfNoteTiles,
),
)
: Wrap(
spacing: 18.0,
runSpacing: 18.0,
children: selfNoteTiles,
),
));
}