fix dark theme menubar
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
0579ba5cfd
commit
3015a23e3d
@ -252,12 +252,7 @@ class MyTheme {
|
||||
),
|
||||
),
|
||||
),
|
||||
colorScheme: ColorScheme.fromSwatch(
|
||||
primarySwatch: Colors.blue,
|
||||
).copyWith(
|
||||
brightness: Brightness.light,
|
||||
background: grayBg,
|
||||
),
|
||||
colorScheme: ColorScheme.light(primary: Colors.blue, background: grayBg),
|
||||
).copyWith(
|
||||
extensions: <ThemeExtension<dynamic>>[
|
||||
ColorThemeExtension.light,
|
||||
@ -356,10 +351,8 @@ class MyTheme {
|
||||
),
|
||||
),
|
||||
),
|
||||
colorScheme: ColorScheme.fromSwatch(
|
||||
primarySwatch: Colors.blue,
|
||||
).copyWith(
|
||||
brightness: Brightness.dark,
|
||||
colorScheme: ColorScheme.dark(
|
||||
primary: Colors.blue,
|
||||
background: Color(0xFF24252B),
|
||||
),
|
||||
).copyWith(
|
||||
|
Loading…
Reference in New Issue
Block a user