// Copyright (C) 2026 Jason M. Schwefel. All Rights Reserved.
package com.coldboreballisticsllc.scopedope.ui.theme

import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.runtime.Composable

// M3 dynamic color is intentionally disabled — ScopeDOPE uses a fixed
// instrument palette. Do not enable dynamicColor.
private val ScopeDopeColorScheme = darkColorScheme(
    primary          = ColorAmber,
    onPrimary        = ColorBackground,
    primaryContainer = ColorAmberDim,
    background       = ColorBackground,
    onBackground     = ColorTextPrimary,
    surface          = ColorSurface,
    onSurface        = ColorTextPrimary,
    surfaceVariant   = ColorSurface2,
    onSurfaceVariant = ColorTextMuted,
    outline          = ColorBorder,
    error            = ColorError,
    onError          = ColorTextPrimary,
)

@Composable
fun ScopeDopeTheme(content: @Composable () -> Unit) {
    MaterialTheme(
        colorScheme = ScopeDopeColorScheme,
        typography  = AppTypography,
        content     = content
    )
}
