diff --git a/packages/neon/neon/lib/src/pages/home.dart b/packages/neon/neon/lib/src/pages/home.dart index 29701d56..b41cc966 100644 --- a/packages/neon/neon/lib/src/pages/home.dart +++ b/packages/neon/neon/lib/src/pages/home.dart @@ -176,7 +176,10 @@ class _HomePageState extends State { if (drawerAlwaysVisible) { return Row( children: [ - drawer, + ColoredBox( + color: Theme.of(context).colorScheme.background, + child: drawer, + ), Expanded( child: body, ), diff --git a/packages/neon/neon/lib/src/widgets/drawer.dart b/packages/neon/neon/lib/src/widgets/drawer.dart index 367f5e66..a7735831 100644 --- a/packages/neon/neon/lib/src/widgets/drawer.dart +++ b/packages/neon/neon/lib/src/widgets/drawer.dart @@ -150,7 +150,7 @@ class NeonDrawerHeader extends StatelessWidget { Text( theme.name, style: DefaultTextStyle.of(context).style.copyWith( - color: Theme.of(context).appBarTheme.foregroundColor, + color: Theme.of(context).colorScheme.onPrimary, ), ), Flexible(