Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71584b38 authored by Darrell Shi's avatar Darrell Shi
Browse files

Update edit mode colors

Test: visually; see screenshots in bug
Fix: 350725993
Flag: com.android.systemui.communal_hub
Change-Id: I04dd654bf2efdfcc71ab7e19c151dca546712f76
parent 6db50103
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -791,7 +791,7 @@ private fun ToolbarButton(
            onClick = onClick,
            colors =
                ButtonDefaults.outlinedButtonColors(
                    contentColor = colors.primary,
                    contentColor = colors.onPrimaryContainer,
                ),
            border = BorderStroke(width = 2.0.dp, color = colors.primary),
            contentPadding = Dimensions.ButtonPadding,
@@ -855,7 +855,7 @@ private fun CommunalContent(
/** Creates an empty card used to highlight a particular spot on the grid. */
@Composable
fun HighlightedItem(modifier: Modifier = Modifier, alpha: Float = 1.0f) {
    val brush = SolidColor(LocalAndroidColorScheme.current.primaryFixed)
    val brush = SolidColor(LocalAndroidColorScheme.current.primary)
    Box(
        modifier =
            // drawBehind lets us draw outside the bounds of the widgets so that we don't need to
+1 −1
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ constructor(
                Box(
                    modifier =
                        Modifier.fillMaxSize()
                            .background(LocalAndroidColorScheme.current.onSecondaryFixed),
                            .background(LocalAndroidColorScheme.current.surfaceDim),
                ) {
                    CommunalHub(
                        viewModel = communalViewModel,