Use M3 default surface color for top app bars

Removes custom primaryContainer coloring in favor of the Material 3
default, which provides a cleaner, more content-focused appearance.
This commit is contained in:
Pavel Baksy 2025-11-22 23:36:51 +01:00
parent c3afcb4edc
commit 947cff4867
2 changed files with 0 additions and 8 deletions

View File

@ -69,10 +69,6 @@ fun MainScreen(
topBar = {
TopAppBar(
title = { Text("KaRemote") },
colors = TopAppBarDefaults.topAppBarColors(
containerColor = MaterialTheme.colorScheme.primaryContainer,
titleContentColor = MaterialTheme.colorScheme.onPrimaryContainer
),
actions = {
IconButton(onClick = onNavigateToSettings) {
Icon(

View File

@ -73,10 +73,6 @@ fun SettingsScreen(
topBar = {
TopAppBar(
title = { Text("Settings") },
colors = TopAppBarDefaults.topAppBarColors(
containerColor = MaterialTheme.colorScheme.primaryContainer,
titleContentColor = MaterialTheme.colorScheme.onPrimaryContainer
),
navigationIcon = {
IconButton(onClick = onNavigateBack) {
Icon(