diff --git a/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/AnimatedTextTopAppBar.kt b/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/AnimatedTextTopAppBar.kt index 41485153f..9e7ae44af 100644 --- a/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/AnimatedTextTopAppBar.kt +++ b/core/ui/src/commonMain/kotlin/io/github/droidkaigi/confsched/ui/component/AnimatedTextTopAppBar.kt @@ -26,7 +26,9 @@ fun AnimatedTextTopAppBar( navigationIcon: @Composable () -> Unit = {}, actions: @Composable RowScope.() -> Unit = {}, windowInsets: WindowInsets = TopAppBarDefaults.windowInsets, - colors: TopAppBarColors = TopAppBarDefaults.topAppBarColors(), + colors: TopAppBarColors = TopAppBarDefaults.topAppBarColors().copy( + scrolledContainerColor = MaterialTheme.colorScheme.surfaceContainer, + ), textColor: Color = MaterialTheme.colorScheme.onSurface, scrollBehavior: TopAppBarScrollBehavior? = null, ) {