feat(ui): change toolbar colors to more closely match M3 spec
This commit is contained in:
@@ -168,8 +168,8 @@ fun AppScreen(
|
|||||||
expanded = true,
|
expanded = true,
|
||||||
scrollBehavior = toolbarScrollBehavior,
|
scrollBehavior = toolbarScrollBehavior,
|
||||||
colors = FloatingToolbarDefaults.vibrantFloatingToolbarColors(
|
colors = FloatingToolbarDefaults.vibrantFloatingToolbarColors(
|
||||||
toolbarContainerColor = primary,
|
toolbarContainerColor = primaryContainer,
|
||||||
toolbarContentColor = onPrimary
|
toolbarContentColor = onPrimaryContainer
|
||||||
),
|
),
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.padding(
|
.padding(
|
||||||
@@ -200,10 +200,10 @@ fun AppScreen(
|
|||||||
{ if (backStack.size > 1) backStack.removeAt(1) }
|
{ if (backStack.size > 1) backStack.removeAt(1) }
|
||||||
},
|
},
|
||||||
colors = ToggleButtonDefaults.toggleButtonColors(
|
colors = ToggleButtonDefaults.toggleButtonColors(
|
||||||
containerColor = primary,
|
containerColor = primaryContainer,
|
||||||
contentColor = onPrimary,
|
contentColor = onPrimaryContainer,
|
||||||
checkedContainerColor = primaryContainer,
|
checkedContainerColor = primary,
|
||||||
checkedContentColor = onPrimaryContainer
|
checkedContentColor = onPrimary
|
||||||
),
|
),
|
||||||
shapes = ToggleButtonDefaults.shapes(
|
shapes = ToggleButtonDefaults.shapes(
|
||||||
CircleShape,
|
CircleShape,
|
||||||
|
|||||||
Reference in New Issue
Block a user