Improve dark mode colors.
This commit is contained in:
parent
577f0e245a
commit
6f8b671acb
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue