diff --git a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart index 1ba65acb..fc05dc53 100644 --- a/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart +++ b/app/lib/features/geckoview/features/browser/presentation/widgets/browser_modules/bottom_app_bar.dart @@ -111,11 +111,13 @@ class BrowserBottomAppBar extends StatelessWidget { @override Widget build(BuildContext context) { final bottomPadding = MediaQuery.of(context).padding.bottom; + final colorScheme = Theme.of(context).colorScheme; return Material( - elevation: 3.0, - surfaceTintColor: Theme.of(context).colorScheme.surfaceTint, - color: Theme.of(context).colorScheme.surfaceContainer, + elevation: 0, + shadowColor: Colors.transparent, + surfaceTintColor: Colors.transparent, + color: colorScheme.surfaceContainer, child: Padding( padding: EdgeInsets.only(bottom: bottomPadding), child: SizedBox(height: _size.height, child: _tabBar), @@ -343,6 +345,8 @@ class BrowserTabBarView extends StatelessWidget { @override Widget build(BuildContext context) { + final colorScheme = Theme.of(context).colorScheme; + return GestureDetector( // Tap handling moved to AppBarTitle for split icon/title behavior onHorizontalDragStart: onHorizontalDragStart, @@ -365,10 +369,14 @@ class BrowserTabBarView extends StatelessWidget { child: AppBar( primary: false, automaticallyImplyLeading: false, + backgroundColor: + backgroundColor ?? colorScheme.surfaceContainer, + scrolledUnderElevation: 0, + shadowColor: Colors.transparent, + surfaceTintColor: Colors.transparent, titleSpacing: 0.0, leadingWidth: 40.0, toolbarHeight: kToolbarHeight, - backgroundColor: backgroundColor, title: title, actions: actions, ), diff --git a/app/lib/features/geckoview/features/search/presentation/screens/search.dart b/app/lib/features/geckoview/features/search/presentation/screens/search.dart index 3ea7736f..5f7820a1 100644 --- a/app/lib/features/geckoview/features/search/presentation/screens/search.dart +++ b/app/lib/features/geckoview/features/search/presentation/screens/search.dart @@ -83,6 +83,7 @@ class SearchScreen extends HookConsumerWidget { @override Widget build(BuildContext context, WidgetRef ref) { final appColors = AppColors.of(context); + final colorScheme = Theme.of(context).colorScheme; final formKey = useMemoized(() => GlobalKey()); final createChildTabsOption = ref.watch( @@ -454,6 +455,10 @@ class SearchScreen extends HookConsumerWidget { floating: true, pinned: true, automaticallyImplyLeading: false, + backgroundColor: colorScheme.surface, + scrolledUnderElevation: 0, + shadowColor: Colors.transparent, + surfaceTintColor: Colors.transparent, toolbarHeight: isEditMode ? 0 : kToolbarHeight, titleSpacing: 0.0, title: isEditMode