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:
vesp 2025-11-22 23:36:51 +01:00
parent d0b945dc9f
commit ca796007d6
2 changed files with 0 additions and 8 deletions

View File

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

View File

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