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:
parent
c792e24774
commit
bc2d40d132
@ -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(
|
||||
|
||||
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user