Skip to content

Commit

Permalink
Fixed the colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihai-Cristian Condrea committed Jul 15, 2024
1 parent b021f96 commit e2b0030
Showing 1 changed file with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ import androidx.compose.ui.unit.dp


@Composable
fun homeBanner(): ImageVector {
val colorSecondaryContainer = MaterialTheme.colorScheme.secondaryContainer
val colorPrimaryContainer = MaterialTheme.colorScheme.primaryContainer
val colorOnSecondary = MaterialTheme.colorScheme.onSecondary
val colorOnPrimary = MaterialTheme.colorScheme.onPrimary
val colorTertiary = MaterialTheme.colorScheme.tertiary
val colorPrimary = MaterialTheme.colorScheme.primary
return remember {
fun homeBanner(
colorPrimary: Color = MaterialTheme.colorScheme.primary,
colorTertiary: Color = MaterialTheme.colorScheme.tertiary,
colorSecondaryContainer: Color = MaterialTheme.colorScheme.secondaryContainer,
colorPrimaryContainer: Color = MaterialTheme.colorScheme.primaryContainer,
colorOnSecondary: Color = MaterialTheme.colorScheme.onSecondary,
colorOnPrimary: Color = MaterialTheme.colorScheme.onPrimary
): ImageVector {
return remember(colorPrimary, colorTertiary, colorSecondaryContainer, colorPrimaryContainer, colorOnSecondary, colorOnPrimary) {
ImageVector.Builder(
name = "Home Banner",
defaultWidth = 640.dp,
Expand Down

0 comments on commit e2b0030

Please sign in to comment.