mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-25 09:15:56 +00:00
fix: dark mode appbar color (#24976)
* fix: dark mode appbar color * update: using scrolledUnderElevation for sufaceTint change --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
parent
15224a9ac5
commit
ed9448a6ee
2 changed files with 5 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ ThemeData getThemeData({required ColorScheme colorScheme, required Locale locale
|
|||
fontWeight: FontWeight.w600,
|
||||
fontSize: 18,
|
||||
),
|
||||
backgroundColor: isDark ? colorScheme.surfaceContainer : colorScheme.surface,
|
||||
backgroundColor: colorScheme.surface,
|
||||
foregroundColor: colorScheme.primary,
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
|
|
|
|||
|
|
@ -50,6 +50,10 @@ class ImmichSliverAppBar extends ConsumerWidget {
|
|||
duration: Durations.medium1,
|
||||
opacity: isMultiSelectEnabled ? 0 : 1,
|
||||
sliver: SliverAppBar(
|
||||
backgroundColor: context.colorScheme.surface,
|
||||
surfaceTintColor: context.colorScheme.surfaceTint,
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 1.0,
|
||||
floating: floating,
|
||||
pinned: pinned,
|
||||
snap: snap,
|
||||
|
|
|
|||
Loading…
Reference in a new issue