package com.example.ui.theme 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 LightColorScheme = lightColorScheme( primary = EmeraldPrimary, onPrimary = Color.White, primaryContainer = EmeraldContainer, onPrimaryContainer = OnEmeraldContainer, secondary = TealSecondary, onSecondary = Color.White, secondaryContainer = TealContainer, onSecondaryContainer = OnTealContainer, tertiary = AccentBlue, background = BackgroundLight, surface = SurfaceLight, surfaceVariant = SurfaceCardLight, onBackground = TextPrimaryLight, onSurface = TextPrimaryLight, onSurfaceVariant = TextSecondaryLight, outline = BorderLight ) private val DarkColorScheme = darkColorScheme( primary = EmeraldLight, onPrimary = Color(0xFF00382B), primaryContainer = Color(0xFF00513F), onPrimaryContainer = EmeraldContainer, secondary = TealSecondary, onSecondary = Color.White, secondaryContainer = Color(0xFF0A443A), onSecondaryContainer = TealContainer, tertiary = AccentBlue, background = BackgroundDark, surface = SurfaceDark, surfaceVariant = SurfaceCardDark, onBackground = TextPrimaryDark, onSurface = TextPrimaryDark, onSurfaceVariant = TextSecondaryDark, outline = BorderDark ) @Composable fun MyApplicationTheme( darkTheme: Boolean = isSystemInDarkTheme(), dynamicColor: Boolean = false, // Keep branded WhatsApp emerald identity consistent content: @Composable () -> Unit ) { val colorScheme = if (darkTheme) DarkColorScheme else LightColorScheme MaterialTheme( colorScheme = colorScheme, typography = Typography, content = content ) }