When using contrast black theme replace surface color with Low surface color instead of black

This commit is contained in:
Artem Chepurnoy 2024-02-18 11:48:07 +02:00
parent 6c08bfc9b1
commit 90c8b7e3ba
No known key found for this signature in database
GPG Key ID: FAC37D0CF674043E
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ fun KeyguardTheme(
surface = if (themeBlack && isDarkColorScheme) Color.Black else scheme.surface,
surfaceContainerLowest = if (themeBlack && isDarkColorScheme) Color.Black else scheme.surfaceContainerLowest,
surfaceContainerLow = if (themeBlack && isDarkColorScheme) Color.Black else scheme.surfaceContainerLow,
surfaceContainer = if (themeBlack && isDarkColorScheme) Color.Black else scheme.surfaceContainer,
surfaceContainer = if (themeBlack && isDarkColorScheme) scheme.surfaceContainerLow else scheme.surfaceContainer,
surfaceContainerHigh = if (themeBlack && isDarkColorScheme) scheme.surfaceContainerLow else scheme.surfaceContainerHigh,
surfaceContainerHighest = if (themeBlack && isDarkColorScheme) scheme.surfaceContainer else scheme.surfaceContainerHighest,
)