package de.tsschulz.tt_tagebuch.app.ui

import androidx.compose.material.MaterialTheme
import androidx.compose.material.lightColors
import androidx.compose.runtime.Composable
import androidx.compose.ui.graphics.Color

/** Orientierung an `frontend/src/assets/css/main.scss` (:root). */
object TtAppColors {
    val NavRailBackground = Color(0xFFEDF4F0)
}

private val TtLightColors = lightColors(
    primary = Color(0xFF2F7A5F),
    primaryVariant = Color(0xFF184636),
    secondary = Color(0xFFB56E41),
    background = Color(0xFFF4F6F3),
    surface = Color(0xFFFFFFFF),
    onPrimary = Color.White,
    onSecondary = Color.White,
    onBackground = Color(0xFF333333),
    onSurface = Color(0xFF333333),
)

@Composable
fun TtTagebuchTheme(content: @Composable () -> Unit) {
    MaterialTheme(colors = TtLightColors, content = content)
}
