fix(presentation-compose): Fix Material 3 coloring as incorrect scrim was used as default.

This commit is contained in:
Algirdas Pundzius
2023-07-21 11:01:19 +00:00
committed by Neil Marietta
parent 7204a856ce
commit bf1edf6c1b
2 changed files with 4 additions and 4 deletions
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6644a1aed7f8eb73fb2fcf9178e5483bfbd30151e4401b9aff0a52e667237831
size 32127
oid sha256:4b89030dae9638d21e4eb8972816f32631776f8e409bb6c6908f4d6b5732de46
size 31998
@@ -618,7 +618,7 @@ internal fun ProtonColors.toMaterial3ThemeColors() = androidx.compose.material3.
onTertiaryContainer = textNorm,
background = backgroundNorm,
onBackground = textNorm,
surface = backgroundSecondary,
surface = backgroundNorm,
onSurface = textNorm,
surfaceVariant = backgroundNorm,
onSurfaceVariant = textNorm,
@@ -631,7 +631,7 @@ internal fun ProtonColors.toMaterial3ThemeColors() = androidx.compose.material3.
outline = brandNorm,
surfaceTint = Color.Unspecified,
outlineVariant = brandNorm,
scrim = brandDarken40
scrim = blenderNorm
)
internal fun ProtonColors.toMaterialThemeColors() = Colors(