Skip to content

Commit

Permalink
fix(color): Component tha use material color token would be transapre…
Browse files Browse the repository at this point in the history
…nt (#1311)

Co-authored-by: Simon Marquis <[email protected]>
Co-authored-by: spark-ui-bot <[email protected]>
  • Loading branch information
3 people authored Sep 25, 2024
1 parent 1cc75fc commit 937c4d1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions spark/src/main/kotlin/com/adevinta/spark/tokens/Color.kt
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,13 @@ public fun SparkColors.asMaterial3Colors(): ColorScheme = ColorScheme(
outline = outline,
outlineVariant = outlineHigh,
scrim = scrim,
surfaceBright = surface,
surfaceDim = surface,
surfaceContainer = surface,
surfaceContainerHigh = surface,
surfaceContainerHighest = surface,
surfaceContainerLow = surface,
surfaceContainerLowest = surface,
)

/**
Expand Down

0 comments on commit 937c4d1

Please sign in to comment.