Browse Source

neon: Fix oled theme

pull/113/head
jld3103 2 years ago
parent
commit
7cbe1927d8
No known key found for this signature in database
GPG Key ID: 9062417B9E8EB7B3
  1. 1
      packages/neon/lib/src/pages/home.dart
  2. 3
      packages/neon/lib/src/utils/theme.dart

1
packages/neon/lib/src/pages/home.dart

@ -201,7 +201,6 @@ class _HomePageState extends State<HomePage> {
width: isQuickBar ? kQuickBarWidth : null,
child: Container(
padding: isQuickBar ? const EdgeInsets.all(5) : null,
color: isQuickBar ? Theme.of(context).appBarTheme.backgroundColor : null,
child: Column(
children: [
Expanded(

3
packages/neon/lib/src/utils/theme.dart

@ -31,7 +31,6 @@ ThemeData getThemeFromNextcloudTheme(
brightness: selectBrightness,
).copyWith(
background: oledBackgroundOverride,
surface: oledBackgroundOverride,
primary: keepOriginalAccentColorOverride,
secondary: keepOriginalAccentColorOverride,
);
@ -40,7 +39,7 @@ ThemeData getThemeFromNextcloudTheme(
useMaterial3: true,
colorScheme: colorScheme,
scaffoldBackgroundColor: colorScheme.background,
canvasColor: colorScheme.background, // For Drawer
canvasColor: colorScheme.surface, // For Drawer
cardColor: colorScheme.background, // For LicensePage
snackBarTheme: const SnackBarThemeData(
behavior: SnackBarBehavior.floating,

Loading…
Cancel
Save