Skip to content

Commit

Permalink
Fix colors to match demo app design
Browse files Browse the repository at this point in the history
  • Loading branch information
paulinea committed Oct 24, 2024
1 parent e7c21bb commit 539a6df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ fun BorderIllustrationBox(
OudsBorderStyle.Dashed -> Modifier.dashedBorder(width = width, color = borderColor, shape = shape)
OudsBorderStyle.Dotted -> Modifier.dottedBorder(width = width, color = borderColor, shape = shape)
}
IllustrationBox(modifier = modifier, backgroundColor = Color.Transparent)
IllustrationBox(modifier = modifier, backgroundColor = OudsColorKeyToken.BgSecondary.value)
}

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.text.style.TextOverflow
Expand All @@ -49,7 +50,7 @@ fun LargeCard(
onClick: () -> Unit,
modifier: Modifier = Modifier,
) {
Card(modifier = modifier, elevation = cardElevation(defaultElevation = OudsElevationKeyToken.Raised.value), onClick = onClick) {
Card(modifier = modifier, shape = RectangleShape, elevation = cardElevation(defaultElevation = OudsElevationKeyToken.Raised.value), onClick = onClick) {
Column(modifier = Modifier.background(OudsColorKeyToken.ElevationRaised.value)) {
Image(
painter = painterResource(imageRes),
Expand Down

0 comments on commit 539a6df

Please sign in to comment.