//
// Toyota (toyota@1.0.0)
// Palette: toyota@1.0.0
// Fonts:   heading=toyota-type@1.0.0, body=toyota-type@1.0.0, mono=jetbrainsmono-nerdfont@1.0.0
// Generated by brand-atoms converter — do not edit by hand.
//

import SwiftUI

/// Source-of-truth color swatches from the referenced palette.
public enum BrandSwatch {
    /// Toyota Red — Primary Toyota brand red — used on the corporate mark and headline accents.
    public static let toyotaRed = Color(.sRGB, red: 0.9216, green: 0.0392, blue: 0.1176, opacity: 1.0000)
    /// Toyota Black — Wordmark and headline text on light backgrounds.
    public static let toyotaBlack = Color(.sRGB, red: 0.0000, green: 0.0000, blue: 0.0000, opacity: 1.0000)
    /// Toyota Graphite — Near-black used by Southeast Toyota Dealers for the wordmark — softer than pure
    public static let toyotaGraphite = Color(.sRGB, red: 0.1451, green: 0.1451, blue: 0.1451, opacity: 1.0000)
    /// Toyota White — Page background; reversed wordmark fill on dark surfaces.
    public static let toyotaWhite = Color(.sRGB, red: 1.0000, green: 1.0000, blue: 1.0000, opacity: 1.0000)
    /// Toyota Platinum — Subtle panel surface — feature blocks and quiet cards.
    public static let toyotaPlatinum = Color(.sRGB, red: 0.9608, green: 0.9608, blue: 0.9608, opacity: 1.0000)
    /// Toyota Silver — Secondary text and dividers — mirrors the SETF "Supporting 5" gray.
    public static let toyotaSilver = Color(.sRGB, red: 0.5255, green: 0.5765, blue: 0.6196, opacity: 1.0000)
    /// Toyota Ash — Tertiary text.
    public static let toyotaAsh = Color(.sRGB, red: 0.3451, green: 0.3490, blue: 0.3569, opacity: 1.0000)
}

/// Semantic color roles for light mode.
public enum BrandLight {
    public static let background = BrandSwatch.toyotaWhite
    public static let surface = BrandSwatch.toyotaPlatinum
    public static let surfaceElevated = BrandSwatch.toyotaWhite
    public static let textPrimary = BrandSwatch.toyotaGraphite
    public static let textSecondary = BrandSwatch.toyotaAsh
    public static let textTertiary = BrandSwatch.toyotaSilver
    public static let primary = BrandSwatch.toyotaRed
    public static let primaryHover = BrandSwatch.toyotaRed
    public static let accent = BrandSwatch.toyotaRed
    public static let success = BrandSwatch.toyotaSilver
    public static let warning = BrandSwatch.toyotaRed
    public static let error = BrandSwatch.toyotaRed
    public static let info = BrandSwatch.toyotaAsh
}

/// Semantic color roles for dark mode.
public enum BrandDark {
    public static let background = BrandSwatch.toyotaBlack
    public static let surface = BrandSwatch.toyotaGraphite
    public static let surfaceElevated = BrandSwatch.toyotaAsh
    public static let textPrimary = BrandSwatch.toyotaWhite
    public static let textSecondary = BrandSwatch.toyotaPlatinum
    public static let textTertiary = BrandSwatch.toyotaSilver
    public static let primary = BrandSwatch.toyotaRed
    public static let primaryHover = BrandSwatch.toyotaRed
    public static let accent = BrandSwatch.toyotaRed
    public static let success = BrandSwatch.toyotaPlatinum
    public static let warning = BrandSwatch.toyotaRed
    public static let error = BrandSwatch.toyotaRed
    public static let info = BrandSwatch.toyotaSilver
}

/// Brand-level color role overrides.
public enum BrandColor {
    public static let identity = BrandSwatch.toyotaWhite
    public static let onIdentity = BrandSwatch.toyotaGraphite
    public static let primary = BrandSwatch.toyotaRed
    public static let primaryHover = BrandSwatch.toyotaRed
    public static let accent = BrandSwatch.toyotaRed
    public static let mark = BrandSwatch.toyotaBlack
    public static let textPrimaryLight = BrandSwatch.toyotaGraphite
    public static let textPrimaryDark = BrandSwatch.toyotaWhite
    public static let backgroundLight = BrandSwatch.toyotaWhite
    public static let backgroundDark = BrandSwatch.toyotaBlack
    public static let surfaceLight = BrandSwatch.toyotaPlatinum
    public static let surfaceDark = BrandSwatch.toyotaGraphite
    public static let borderLight = BrandSwatch.toyotaSilver
}

/// Typography family names by brand role.
public enum BrandFont {
    /// Toyota Type (toyota-type@1.0.0)
    public static let heading = "ToyotaType"
    /// Toyota Type (toyota-type@1.0.0)
    public static let body = "ToyotaType"
    /// JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@1.0.0)
    public static let mono = "JetBrainsMono Nerd Font"
}
