package no.svorka.mcms.ui

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.lightColorScheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color

private val Orange = Color(0xFFF39200)
private val Navy = Color(0xFF0B2A4A)

private val LightColors = lightColorScheme(
    primary = Orange,
    onPrimary = Color.White,
    secondary = Navy,
)

private val DarkColors = darkColorScheme(
    primary = Orange,
    onPrimary = Color.Black,
    secondary = Color(0xFF9FB8D6),
)

@Composable
fun PonGoTheme(content: @Composable () -> Unit) {
    MaterialTheme(
        colorScheme = if (isSystemInDarkTheme()) DarkColors else LightColors,
        content = content,
    )
}
