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(
|
colorScheme: ColorScheme.light(primary: Colors.blue, background: grayBg),
|
||||||
primarySwatch: Colors.blue,
|
|
||||||
).copyWith(
|
|
||||||
brightness: Brightness.light,
|
|
||||||
background: grayBg,
|
|
||||||
),
|
|
||||||
).copyWith(
|
).copyWith(
|
||||||
extensions: <ThemeExtension<dynamic>>[
|
extensions: <ThemeExtension<dynamic>>[
|
||||||
ColorThemeExtension.light,
|
ColorThemeExtension.light,
|
||||||
@ -356,10 +351,8 @@ class MyTheme {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
colorScheme: ColorScheme.fromSwatch(
|
colorScheme: ColorScheme.dark(
|
||||||
primarySwatch: Colors.blue,
|
primary: Colors.blue,
|
||||||
).copyWith(
|
|
||||||
brightness: Brightness.dark,
|
|
||||||
background: Color(0xFF24252B),
|
background: Color(0xFF24252B),
|
||||||
),
|
),
|
||||||
).copyWith(
|
).copyWith(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user