mirror of
https://github.com/Aviortheking/Neo-Store.git
synced 2025-04-23 19:32:16 +00:00
Fix: Match themes' colors
This commit is contained in:
parent
3a12c90d81
commit
d79e5abb9f
@ -24,7 +24,7 @@ val md_theme_light_onError = Color(0xFFFFFFFF)
|
||||
val md_theme_light_onErrorContainer = Color(0xFF410002)
|
||||
val md_theme_light_background = Color(0xFFFBFDF8)
|
||||
val md_theme_light_onBackground = Color(0xFF191C1A)
|
||||
val md_theme_light_surface = Color(0xFFFBFDF8)
|
||||
val md_theme_light_surface = Color(0xFFE8F5E9)
|
||||
val md_theme_light_onSurface = Color(0xFF191C1A)
|
||||
val md_theme_light_surfaceVariant = Color(0xFFDCE5DB)
|
||||
val md_theme_light_onSurfaceVariant = Color(0xFF414942)
|
||||
|
@ -15,6 +15,7 @@ fun AppTheme(
|
||||
) {
|
||||
MaterialTheme(
|
||||
colorScheme = when {
|
||||
//dynamicTheme -> dynamicDarkColorScheme(LocalContext.current)
|
||||
darkTheme && blackTheme -> BlackColors
|
||||
darkTheme -> DarkColors
|
||||
else -> LightColors
|
||||
@ -73,7 +74,7 @@ private val DarkColors = darkColorScheme(
|
||||
onErrorContainer = md_theme_dark_onErrorContainer,
|
||||
background = md_theme_dark_background,
|
||||
onBackground = md_theme_dark_onBackground,
|
||||
surface = md_theme_dark_surface,
|
||||
surface = GreyDark,
|
||||
onSurface = md_theme_dark_onSurface,
|
||||
surfaceVariant = md_theme_dark_surfaceVariant,
|
||||
onSurfaceVariant = md_theme_dark_onSurfaceVariant,
|
||||
@ -102,7 +103,7 @@ private val BlackColors = darkColorScheme(
|
||||
onErrorContainer = md_theme_dark_onErrorContainer,
|
||||
background = PitchBlack,
|
||||
onBackground = md_theme_dark_onBackground,
|
||||
surface = PitchBlack,
|
||||
surface = md_theme_dark_surface,
|
||||
onSurface = md_theme_dark_onSurface,
|
||||
surfaceVariant = md_theme_dark_surfaceVariant,
|
||||
onSurfaceVariant = md_theme_dark_onSurfaceVariant,
|
||||
|
Loading…
x
Reference in New Issue
Block a user