feat(ui): change toolbar colors to more closely match M3 spec

This commit is contained in:
Nishant Mishra
2025-12-04 09:37:56 +05:30
parent 7b8ed1cbd1
commit 98db112c5b

View File

@@ -168,8 +168,8 @@ fun AppScreen(
expanded = true,
scrollBehavior = toolbarScrollBehavior,
colors = FloatingToolbarDefaults.vibrantFloatingToolbarColors(
toolbarContainerColor = primary,
toolbarContentColor = onPrimary
toolbarContainerColor = primaryContainer,
toolbarContentColor = onPrimaryContainer
),
modifier = Modifier
.padding(
@@ -200,10 +200,10 @@ fun AppScreen(
{ if (backStack.size > 1) backStack.removeAt(1) }
},
colors = ToggleButtonDefaults.toggleButtonColors(
containerColor = primary,
contentColor = onPrimary,
checkedContainerColor = primaryContainer,
checkedContentColor = onPrimaryContainer
containerColor = primaryContainer,
contentColor = onPrimaryContainer,
checkedContainerColor = primary,
checkedContentColor = onPrimary
),
shapes = ToggleButtonDefaults.shapes(
CircleShape,