Change theme color (#44)
This commit is contained in:
parent
62701dd630
commit
82ad26889e
@ -4,7 +4,6 @@ import android.content.Context
|
||||
import android.os.Bundle
|
||||
import androidx.activity.ComponentActivity
|
||||
import androidx.activity.compose.setContent
|
||||
import androidx.compose.material3.Text
|
||||
import androidx.datastore.core.DataStore
|
||||
import androidx.datastore.preferences.core.Preferences
|
||||
import androidx.datastore.preferences.preferencesDataStore
|
||||
|
||||
@ -1,13 +1,22 @@
|
||||
package de.timklge.karooheadwind.theme
|
||||
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
import androidx.compose.material3.lightColorScheme
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.graphics.Color
|
||||
|
||||
@Composable
|
||||
fun AppTheme(
|
||||
content: @Composable () -> Unit,
|
||||
) {
|
||||
val scheme = lightColorScheme(
|
||||
primary = Color(0xFF214559),
|
||||
secondary = Color(0xFF636363),
|
||||
tertiary = Color(0xFFFEF69A),
|
||||
)
|
||||
|
||||
MaterialTheme(
|
||||
content = content,
|
||||
colorScheme = scheme
|
||||
)
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user