Improve dark mode colors.

This commit is contained in:
stonegate 2020-08-16 01:27:54 +08:00
parent 577f0e245a
commit 6f8b671acb
1 changed files with 6 additions and 3 deletions

View File

@ -60,13 +60,16 @@ class MyApp extends StatelessWidget {
accentColor: setting.accentSetColor,
cursorColor: setting.accentSetColor,
textSelectionHandleColor: setting.accentSetColor,
toggleableActiveColor: setting.accentSetColor),
toggleableActiveColor: setting.accentSetColor,
buttonTheme: ButtonThemeData(
hoverColor: setting.accentSetColor.withAlpha(70))),
darkTheme: ThemeData.dark().copyWith(
accentColor: setting.accentSetColor,
primaryColorDark: Colors.grey[800],
scaffoldBackgroundColor:
setting.realDark ? Colors.black87 : null,
primaryColor: setting.realDark ? Colors.black : null,
setting.realDark ? Colors.black87 : Color(0XFF212121),
primaryColor:
setting.realDark ? Colors.black : Color(0XFF1B1B1B),
popupMenuTheme: PopupMenuThemeData().copyWith(
color: setting.realDark ? Colors.grey[900] : null),
appBarTheme: AppBarTheme(elevation: 0),