diff --git a/lib/src/widgets/yaru_title_bar.dart b/lib/src/widgets/yaru_title_bar.dart index 4cb244fbf..f3febbb36 100644 --- a/lib/src/widgets/yaru_title_bar.dart +++ b/lib/src/widgets/yaru_title_bar.dart @@ -135,7 +135,7 @@ class YaruTitleBar extends StatelessWidget implements PreferredSizeWidget { }; final defaultBackgroundColor = MaterialStateProperty.resolveWith((states) { if (!states.contains(MaterialState.focused)) { - return Colors.transparent; + return theme.colorScheme.background; } return light ? YaruColors.titleBarLight : YaruColors.titleBarDark; });