//
// Pinterest (pinterest@1.0.0)
// Palette: pinterest@1.0.0
// Fonts:   heading=pinterest-sans@1.0.0, body=pinterest-sans@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 {
    /// Pinterest Red — Signature red — the primary brand color. The Pinterest "P" mark, the wordmark, and the "Save" pin CTA all render in this hue. Verified hex from Pinterest's brand guidelines and corroborated by the simple-icons brand database citing pinterest.com.

    public static let pinterestRed = Color(.sRGB, red: 0.9020, green: 0.0000, blue: 0.1373, opacity: 1.0000)
    /// Pinterest Red Dark — Authored darker red for hover, pressed, and active states on the primary CTA.
    public static let pinterestRedDark = Color(.sRGB, red: 0.6784, green: 0.0314, blue: 0.1059, opacity: 1.0000)
    /// Pinterest White — Canonical light canvas — the Pinterest product surface.
    public static let pinterestWhite = Color(.sRGB, red: 1.0000, green: 1.0000, blue: 1.0000, opacity: 1.0000)
    /// Pinterest Near-White — Authored panel surface on light mode — pin-card backgrounds.
    public static let pinterestNearWhite = Color(.sRGB, red: 0.9765, green: 0.9765, blue: 0.9765, opacity: 1.0000)
    /// Pinterest Text Primary — Authored body text and headline color on light backgrounds.
    public static let pinterestTextPrimary = Color(.sRGB, red: 0.0667, green: 0.0667, blue: 0.0667, opacity: 1.0000)
    /// Pinterest Text Secondary — Authored secondary text on light backgrounds.
    public static let pinterestTextSecondary = Color(.sRGB, red: 0.3725, green: 0.3725, blue: 0.3725, opacity: 1.0000)
    /// Pinterest Text Tertiary — Authored tertiary / muted text on light backgrounds.
    public static let pinterestTextTertiary = Color(.sRGB, red: 0.4627, green: 0.4627, blue: 0.4627, opacity: 1.0000)
    /// Pinterest Divider Light — Authored hairline divider on the light canvas.
    public static let pinterestDividerLight = Color(.sRGB, red: 0.9373, green: 0.9373, blue: 0.9373, opacity: 1.0000)
    /// Pinterest Canvas Dark — Authored dark-mode canvas for Pinterest's product dark theme.
    public static let pinterestCanvasDark = Color(.sRGB, red: 0.0667, green: 0.0667, blue: 0.0667, opacity: 1.0000)
    /// Pinterest Surface Dark — Authored elevated surface on the dark canvas.
    public static let pinterestSurfaceDark = Color(.sRGB, red: 0.1216, green: 0.1216, blue: 0.1216, opacity: 1.0000)
    /// Pinterest Surface Elevated Dark — Authored deepest-elevated surface on dark mode.
    public static let pinterestSurfaceElevatedDark = Color(.sRGB, red: 0.1647, green: 0.1647, blue: 0.1647, opacity: 1.0000)
    /// Pinterest Text on Dark — Primary text on the dark canvas.
    public static let pinterestTextOnDark = Color(.sRGB, red: 0.9137, green: 0.9137, blue: 0.9137, opacity: 1.0000)
    /// Pinterest Text Secondary on Dark — Authored secondary text on the dark canvas.
    public static let pinterestTextSecondaryDark = Color(.sRGB, red: 0.6902, green: 0.6902, blue: 0.6902, opacity: 1.0000)
    /// Pinterest Green — Authored success accent for status affordances.
    public static let pinterestGreen = Color(.sRGB, red: 0.0588, green: 0.6471, blue: 0.4510, opacity: 1.0000)
    /// Pinterest Yellow — Authored warning / highlight accent.
    public static let pinterestYellow = Color(.sRGB, red: 0.9098, green: 0.6902, blue: 0.1294, opacity: 1.0000)
}

/// Semantic color roles for light mode.
public enum BrandLight {
    public static let background = BrandSwatch.pinterestWhite
    public static let surface = BrandSwatch.pinterestNearWhite
    public static let surfaceElevated = BrandSwatch.pinterestWhite
    public static let textPrimary = BrandSwatch.pinterestTextPrimary
    public static let textSecondary = BrandSwatch.pinterestTextSecondary
    public static let textTertiary = BrandSwatch.pinterestTextTertiary
    public static let primary = BrandSwatch.pinterestRed
    public static let primaryHover = BrandSwatch.pinterestRedDark
    public static let accent = BrandSwatch.pinterestRed
    public static let accentHover = BrandSwatch.pinterestRedDark
    public static let warning = BrandSwatch.pinterestYellow
    public static let warningHover = BrandSwatch.pinterestYellow
    public static let error = BrandSwatch.pinterestRed
    public static let success = BrandSwatch.pinterestGreen
}

/// Semantic color roles for dark mode.
public enum BrandDark {
    public static let background = BrandSwatch.pinterestCanvasDark
    public static let surface = BrandSwatch.pinterestSurfaceDark
    public static let surfaceElevated = BrandSwatch.pinterestSurfaceElevatedDark
    public static let textPrimary = BrandSwatch.pinterestTextOnDark
    public static let textSecondary = BrandSwatch.pinterestTextSecondaryDark
    public static let textTertiary = BrandSwatch.pinterestTextSecondaryDark
    public static let primary = BrandSwatch.pinterestRed
    public static let primaryHover = BrandSwatch.pinterestRedDark
    public static let accent = BrandSwatch.pinterestRed
    public static let accentHover = BrandSwatch.pinterestRedDark
    public static let warning = BrandSwatch.pinterestYellow
    public static let warningHover = BrandSwatch.pinterestYellow
    public static let error = BrandSwatch.pinterestRed
    public static let success = BrandSwatch.pinterestGreen
}

/// Brand-level color role overrides.
public enum BrandColor {
    public static let identity = BrandSwatch.pinterestRed
    public static let onIdentity = BrandSwatch.pinterestWhite
    public static let primary = BrandSwatch.pinterestRed
    public static let primaryHover = BrandSwatch.pinterestRedDark
    public static let accent = BrandSwatch.pinterestRed
    public static let accentHover = BrandSwatch.pinterestRedDark
    public static let success = BrandSwatch.pinterestGreen
    public static let warning = BrandSwatch.pinterestYellow
    public static let error = BrandSwatch.pinterestRed
    public static let backgroundLight = BrandSwatch.pinterestWhite
    public static let backgroundDark = BrandSwatch.pinterestCanvasDark
    public static let surfaceLight = BrandSwatch.pinterestNearWhite
    public static let surfaceDark = BrandSwatch.pinterestSurfaceDark
    public static let surfaceElevatedDark = BrandSwatch.pinterestSurfaceElevatedDark
    public static let textPrimaryLight = BrandSwatch.pinterestTextPrimary
    public static let textPrimaryDark = BrandSwatch.pinterestTextOnDark
    public static let textSecondaryLight = BrandSwatch.pinterestTextSecondary
    public static let textSecondaryDark = BrandSwatch.pinterestTextSecondaryDark
    public static let divider = BrandSwatch.pinterestDividerLight
}

/// Typography family names by brand role.
public enum BrandFont {
    /// Pinterest Sans (pinterest-sans@1.0.0)
    public static let heading = "Pinterest Sans"
    /// Pinterest Sans (pinterest-sans@1.0.0)
    public static let body = "Pinterest Sans"
    /// JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@1.0.0)
    public static let mono = "JetBrainsMono Nerd Font"
}
