uninvert the settings colors

This commit is contained in:
Chloe committed 2025-09-17 12:24:36 -07:00
1 parent cd306a5b5e
commit b418e154da
3 files changed
+4 -5

No files matched your search

@@ -108,7 +108,6 @@ fun DeveloperSettingsScreen(onBackPressedDispatcher: OnBackPressedDispatcher?) {
Scaffold(
modifier = Modifier.nestedScroll(scrollBehavior.nestedScrollConnection),
containerColor = MaterialTheme.colorScheme.surfaceContainerLow,
topBar = {
Column {
TopAppBar(
@@ -128,7 +127,7 @@ fun DeveloperSettingsScreen(onBackPressedDispatcher: OnBackPressedDispatcher?) {
)
},
scrollBehavior = scrollBehavior,
colors = TopAppBarDefaults.topAppBarColors(MaterialTheme.colorScheme.surfaceContainerLow),
colors = TopAppBarDefaults.topAppBarColors(MaterialTheme.colorScheme.background),
)
}
}
@@ -261,7 +261,7 @@ fun SettingsScreen(
// fix theme transition by giving it the exact same animation as the top bar
val containerColor by animateColorAsState(
targetValue = MaterialTheme.colorScheme.surfaceContainerLow,
targetValue = MaterialTheme.colorScheme.background,
animationSpec = spring(stiffness = Spring.StiffnessMediumLow),
label = "background color"
)
@@ -291,7 +291,7 @@ fun SettingsScreen(
)
},
scrollBehavior = scrollBehavior,
colors = TopAppBarDefaults.topAppBarColors(MaterialTheme.colorScheme.surfaceContainerLow),
colors = TopAppBarDefaults.topAppBarColors(MaterialTheme.colorScheme.background),
)
},
content = { innerPadding ->
@@ -963,7 +963,7 @@ fun OptionsCard(modifier: Modifier = Modifier, wrapContent: Boolean = false, tit
.padding(vertical = 1.dp)
.clip(RoundedCornerShape(4.dp))
.then(modifier)
.background(MaterialTheme.colorScheme.background)
.background(MaterialTheme.colorScheme.surfaceContainer)
.defaultMinSize(minHeight = 64.dp)
.padding(horizontal = 16.dp),
Arrangement.SpaceBetween,