Fix some theming
This commit is contained in:
parent
2154e5cd09
commit
d9d87e4d2f
2 changed files with 4 additions and 4 deletions
|
|
@ -17,7 +17,7 @@ val SystemGrey3Dark = Color(0xFF48484A)
|
|||
val SystemGrey4Light = Color(0xFFD1D1D6)
|
||||
val SystemGrey4Dark = Color(0xFF3A3A3C)
|
||||
val SystemGrey5Light = Color(0xFFE5E5EA)
|
||||
val SystemGrey5Dark = Color(0xFF2C2C2E)
|
||||
val SystemGrey5Dark = Color(0xFF1C1C1E)
|
||||
val SystemGrey6Light = Color(0xFFF2F2F7)
|
||||
val SystemGrey6Dark = Color(0xFF1C1C1E)
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ private val DarkColorScheme = darkColorScheme(
|
|||
background = Color.Black,
|
||||
onBackground = Color.White,
|
||||
surface = Color.Black,
|
||||
surfaceVariant = SystemGrey6Dark,
|
||||
surfaceVariant = SystemGrey5Dark,
|
||||
onSurface = Color.White,
|
||||
onSurfaceVariant = Color.White,
|
||||
)
|
||||
|
|
@ -28,7 +28,7 @@ private val LightColorScheme = lightColorScheme(
|
|||
background = Color.White,
|
||||
onBackground = Color.Black,
|
||||
surface = Color.White,
|
||||
surfaceVariant = SystemGrey6Light,
|
||||
surfaceVariant = SystemGrey5Light,
|
||||
onSurface = Color.Black,
|
||||
onSurfaceVariant = Color.Black,
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ private val LightColorScheme = lightColorScheme(
|
|||
fun ElementXTheme(
|
||||
darkTheme: Boolean = isSystemInDarkTheme(),
|
||||
// Dynamic color is available on Android 12+
|
||||
dynamicColor: Boolean = true,
|
||||
dynamicColor: Boolean = false,
|
||||
content: @Composable () -> Unit
|
||||
) {
|
||||
val colorScheme = when {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue