made dark mode colors better and bugfix
This commit is contained in:
parent
d5f583a0d2
commit
f346d9b8ef
@ -187,7 +187,7 @@ class AppTheme {
|
|||||||
accentColor == AccentColor.ogfilc) ||
|
accentColor == AccentColor.ogfilc) ||
|
||||||
!settings.newColors
|
!settings.newColors
|
||||||
? accent
|
? accent
|
||||||
: ColorsUtils().lighten(accent, amount: 0.3);
|
: ColorsUtils().lighten(accent, amount: 0.22);
|
||||||
// Color newScaffoldBg = ColorsUtils().lighten(accent, amount: 0.4);
|
// Color newScaffoldBg = ColorsUtils().lighten(accent, amount: 0.4);
|
||||||
Color newTertiary = (accentColor == AccentColor.adaptive ||
|
Color newTertiary = (accentColor == AccentColor.adaptive ||
|
||||||
accentColor == AccentColor.custom ||
|
accentColor == AccentColor.custom ||
|
||||||
|
@ -135,13 +135,19 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
|
|||||||
title: Text('your_notes'.i18n),
|
title: Text('your_notes'.i18n),
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
isTransparent: true,
|
isTransparent: true,
|
||||||
child: Center(
|
child: selfNoteTiles.length > 1
|
||||||
child: Wrap(
|
? Center(
|
||||||
spacing: 18.0,
|
child: Wrap(
|
||||||
runSpacing: 18.0,
|
spacing: 18.0,
|
||||||
children: selfNoteTiles,
|
runSpacing: 18.0,
|
||||||
),
|
children: selfNoteTiles,
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
: Wrap(
|
||||||
|
spacing: 18.0,
|
||||||
|
runSpacing: 18.0,
|
||||||
|
children: selfNoteTiles,
|
||||||
|
),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user