//
// PyPI (Python Package Index) (pypi@1.0.0)
// Palette: pypi@1.0.0
// Fonts:   heading=inter@1.0.0, body=inter@1.0.0, mono=source-code-pro@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 {
    /// PyPI Blue — Primary brand color — the canonical PyPI/Python-family blue. Source: simple-icons "PyPI" entry, matching the PSF logo's upper-snake blue.

    public static let pypiBlue = Color(.sRGB, red: 0.2157, green: 0.4588, blue: 0.6627, opacity: 1.0000)
    /// PyPI Blue Dark — Deeper navy for hover states; dark-mode tertiary surface.
    public static let pypiBlueDark = Color(.sRGB, red: 0.1176, green: 0.2549, blue: 0.3686, opacity: 1.0000)
    /// PyPI Yellow — Secondary brand color — the Python-family yellow inherited from the PSF logo's lower-snake fill.

    public static let pypiYellow = Color(.sRGB, red: 1.0000, green: 0.8314, blue: 0.2314, opacity: 1.0000)
    /// PyPI Yellow Dark — Deeper amber used for hover states on the yellow accent.
    public static let pypiYellowDark = Color(.sRGB, red: 1.0000, green: 0.7647, blue: 0.1922, opacity: 1.0000)
    /// PyPI Black — Dark-mode page canvas.
    public static let pypiBlack = Color(.sRGB, red: 0.0549, green: 0.0706, blue: 0.0902, opacity: 1.0000)
    /// PyPI Charcoal — Elevated dark surface for cards and panels.
    public static let pypiCharcoal = Color(.sRGB, red: 0.1098, green: 0.1373, blue: 0.1725, opacity: 1.0000)
    /// PyPI Slate — Body text on light canvas; secondary copy.
    public static let pypiSlate = Color(.sRGB, red: 0.2392, green: 0.2706, blue: 0.3294, opacity: 1.0000)
    /// PyPI Gray — Tertiary text and quiet UI.
    public static let pypiGray = Color(.sRGB, red: 0.4196, green: 0.4471, blue: 0.5020, opacity: 1.0000)
    /// PyPI Light Gray — Hairline borders on light canvas.
    public static let pypiLightGray = Color(.sRGB, red: 0.8353, green: 0.8510, blue: 0.8706, opacity: 1.0000)
    /// PyPI Off-White — Subtle layered surface on light canvas.
    public static let pypiOffWhite = Color(.sRGB, red: 0.9569, green: 0.9608, blue: 0.9686, opacity: 1.0000)
    /// PyPI White — Page canvas in light mode.
    public static let pypiWhite = Color(.sRGB, red: 1.0000, green: 1.0000, blue: 1.0000, opacity: 1.0000)
    /// PyPI Error Red — Status error color used in advisory and yanked-release callouts.
    public static let pypiError = Color(.sRGB, red: 0.7412, green: 0.2549, blue: 0.2784, opacity: 1.0000)
}

/// Semantic color roles for light mode.
public enum BrandLight {
    public static let background = BrandSwatch.pypiWhite
    public static let surface = BrandSwatch.pypiOffWhite
    public static let surfaceElevated = BrandSwatch.pypiWhite
    public static let textPrimary = BrandSwatch.pypiBlueDark
    public static let textSecondary = BrandSwatch.pypiSlate
    public static let textTertiary = BrandSwatch.pypiGray
    public static let primary = BrandSwatch.pypiBlue
    public static let primaryHover = BrandSwatch.pypiBlueDark
    public static let accent = BrandSwatch.pypiYellow
    public static let accentHover = BrandSwatch.pypiYellowDark
    public static let warning = BrandSwatch.pypiYellowDark
    public static let warningHover = BrandSwatch.pypiYellow
    public static let error = BrandSwatch.pypiError
    public static let success = BrandSwatch.pypiBlue
    public static let border = BrandSwatch.pypiLightGray
}

/// Semantic color roles for dark mode.
public enum BrandDark {
    public static let background = BrandSwatch.pypiBlack
    public static let surface = BrandSwatch.pypiCharcoal
    public static let surfaceElevated = BrandSwatch.pypiCharcoal
    public static let textPrimary = BrandSwatch.pypiWhite
    public static let textSecondary = BrandSwatch.pypiLightGray
    public static let textTertiary = BrandSwatch.pypiYellow
    public static let primary = BrandSwatch.pypiYellow
    public static let primaryHover = BrandSwatch.pypiYellowDark
    public static let accent = BrandSwatch.pypiBlue
    public static let accentHover = BrandSwatch.pypiBlueDark
    public static let warning = BrandSwatch.pypiYellow
    public static let warningHover = BrandSwatch.pypiYellowDark
    public static let error = BrandSwatch.pypiError
    public static let success = BrandSwatch.pypiBlue
    public static let border = BrandSwatch.pypiSlate
}

/// Brand-level color role overrides.
public enum BrandColor {
    public static let identity = BrandSwatch.pypiBlue
    public static let onIdentity = BrandSwatch.pypiWhite
    public static let primary = BrandSwatch.pypiBlue
    public static let primaryHover = BrandSwatch.pypiBlueDark
    public static let accent = BrandSwatch.pypiYellow
    public static let accentHover = BrandSwatch.pypiYellowDark
    public static let mark = BrandSwatch.pypiBlue
    public static let background = BrandSwatch.pypiWhite
    public static let surface = BrandSwatch.pypiOffWhite
    public static let textPrimary = BrandSwatch.pypiBlueDark
    public static let textSecondary = BrandSwatch.pypiSlate
    public static let error = BrandSwatch.pypiError
    public static let success = BrandSwatch.pypiBlue
    public static let border = BrandSwatch.pypiLightGray
}

/// Typography family names by brand role.
public enum BrandFont {
    /// Inter (inter@1.0.0)
    public static let heading = "Inter"
    /// Inter (inter@1.0.0)
    public static let body = "Inter"
    /// Source Code Pro (source-code-pro@1.0.0)
    public static let mono = "Source Code Pro"
}
