package org.zaine.management.ui.theme

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 lightColors = lightColorScheme(
    primary = Color(0xFF1F6F62),
    onPrimary = Color.White,
    secondary = Color(0xFF575E71),
    tertiary = Color(0xFF8A4F2D),
    background = Color(0xFFF8F9F7),
    surface = Color.White,
    surfaceVariant = Color(0xFFE5E8E2),
    outline = Color(0xFF72786F)
)

private val darkColors = darkColorScheme(
    primary = Color(0xFF86D6C5),
    onPrimary = Color(0xFF00382F),
    secondary = Color(0xFFC0C6DC),
    tertiary = Color(0xFFFFB68B),
    background = Color(0xFF101411),
    surface = Color(0xFF181C19),
    surfaceVariant = Color(0xFF404942),
    outline = Color(0xFF8A938C)
)

@Composable
fun ZManagementTheme(
    darkTheme: Boolean = false,
    content: @Composable () -> Unit
) {
    MaterialTheme(
        colorScheme = if (darkTheme) darkColors else lightColors,
        content = content
    )
}
