{
  "$description": "Brand: Rust (rust@1.0.0)",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette rust@1.0.0",
      "rust-orange": {
        "$value": "#D34516",
        "$type": "color",
        "$description": "Primary brand accent — the signature Rust Orange used on the gear mark, primary buttons, and rust-lang.org accents.\n"
      },
      "rust-dark-blue": {
        "$value": "#1E2650",
        "$type": "color",
        "$description": "Primary corporate dark color — the Rust Foundation's signature navy used as a high-contrast canvas for the gear mark.\n"
      },
      "rust-blue": {
        "$value": "#28607F",
        "$type": "color",
        "$description": "Supporting blue used for technical illustrations and secondary interactive elements.\n"
      },
      "rust-silver": {
        "$value": "#67737A",
        "$type": "color",
        "$description": "Neutral metallic gray used for body text on light surfaces and hardware-adjacent surfaces.\n"
      },
      "rust-green": {
        "$value": "#61784D",
        "$type": "color",
        "$description": "Reserved green used for database / sustainability surfaces per the Brand Guide.\n"
      },
      "rust-black": {
        "$value": "#0E0E0E",
        "$type": "color",
        "$description": "Near-black surface for dark-mode page canvas."
      },
      "rust-charcoal": {
        "$value": "#222222",
        "$type": "color",
        "$description": "Elevated dark surface for cards and panels."
      },
      "rust-light-gray": {
        "$value": "#D7D7D7",
        "$type": "color",
        "$description": "Hairline borders and dividers on light canvas."
      },
      "rust-off-white": {
        "$value": "#F4F4F4",
        "$type": "color",
        "$description": "Subtle layered surface on the light canvas."
      },
      "rust-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Page canvas in light mode; reversed text on orange."
      }
    }
  },
  "font": {
    "$description": "Typography roles mapped to font atoms",
    "heading": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "heading role → Inter (inter@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "body": {
      "family": {
        "$value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "$type": "fontFamily",
        "$description": "body role → Inter (inter@1.0.0)"
      },
      "weight": {
        "100": {
          "$value": 100,
          "$type": "fontWeight"
        },
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    },
    "mono": {
      "family": {
        "$value": [
          "Source Code Pro",
          "ui-monospace",
          "SFMono-Regular",
          "Menlo",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → Source Code Pro (source-code-pro@1.0.0)"
      },
      "weight": {
        "200": {
          "$value": 200,
          "$type": "fontWeight"
        },
        "300": {
          "$value": 300,
          "$type": "fontWeight"
        },
        "400": {
          "$value": 400,
          "$type": "fontWeight"
        },
        "500": {
          "$value": 500,
          "$type": "fontWeight"
        },
        "600": {
          "$value": 600,
          "$type": "fontWeight"
        },
        "700": {
          "$value": 700,
          "$type": "fontWeight"
        },
        "800": {
          "$value": 800,
          "$type": "fontWeight"
        },
        "900": {
          "$value": 900,
          "$type": "fontWeight"
        },
        "$description": "Available font weights"
      }
    }
  },
  "$extensions": {
    "com.brand-atoms.rules": [
      {
        "type": "forbiddenTreatment",
        "target": "logo",
        "severity": "error",
        "rationale": "The Rust Foundation Brand Guide explicitly prohibits flipping, rotating, skewing, or otherwise altering the Rust Foundation logo. The gear-and-R mark must retain its proportions and orientation in every reproduction.\n",
        "treatments": [
          "flipped",
          "rotated",
          "skewed",
          "stretched",
          "recolored",
          "drop-shadow",
          "on-busy-photo"
        ]
      },
      {
        "type": "numericRange",
        "target": "logo.height",
        "severity": "error",
        "rationale": "The Rust Foundation Brand Guide specifies a minimum reproduction height of 10mm for the primary logo to preserve gear-tooth legibility. Smaller renderings degrade the mark.\n",
        "min": 10,
        "unit": "mm"
      },
      {
        "type": "colorChoice",
        "target": "roles.colors.identity",
        "severity": "error",
        "rationale": "Rust Orange and Rust Dark Blue are the two identity colors named in the Foundation Brand Guide. Rust Silver and Rust Green are reserved for body / sustainability roles and must not stand in as the brand identity color.\n",
        "allowed": [
          "rust-orange",
          "rust-dark-blue"
        ],
        "forbidden": [
          "rust-green",
          "rust-silver"
        ]
      },
      {
        "type": "contrastRatio",
        "target": "text-primary",
        "severity": "error",
        "rationale": "Rust Dark Blue (#1E2650) on Rust White exceeds 12:1 — well above the WCAG AA threshold for body text.\n",
        "against": "background",
        "minRatio": 4.5,
        "standard": "WCAG-AA"
      },
      {
        "type": "contrastRatio",
        "target": "roles.colors.primary",
        "severity": "warning",
        "rationale": "Rust Orange (#D34516) on white sits around 4.9:1 — clears AA for body text in most renderings, but consumers should verify against actual rendered weight before using the orange for fine text on light surfaces.\n",
        "against": "background",
        "minRatio": 3,
        "standard": "WCAG-AA-large"
      },
      {
        "type": "fontPairing",
        "target": "typography.heading",
        "severity": "recommendation",
        "rationale": "Rust documentation surfaces use a single humanist sans for both heading and body. Maintaining at least a 1.5× heading-to-body ratio preserves hierarchy without requiring a second family.\n",
        "requires": "body",
        "minSizeRatio": 1.5
      },
      {
        "type": "compositionConstraint",
        "target": "roles.colors.primary",
        "severity": "warning",
        "rationale": "Rust Orange pairs canonically with Rust Dark Blue or White backgrounds. Pairing Rust Orange directly with Rust Green breaks the documented identity-vs-supporting role boundary and creates a discordant orange-green clash.\n",
        "pairsWith": [
          "rust-dark-blue",
          "rust-white"
        ],
        "doesNotPairWith": [
          "rust-green"
        ]
      },
      {
        "type": "accessibilityRequirement",
        "target": "*",
        "severity": "error",
        "rationale": "WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. Consumers must not pair tokens that defeat the AA contrast property of the Foundation Brand Guide palette.\n",
        "standard": "WCAG-AA",
        "criterion": "1.4.3"
      },
      {
        "type": "enumMembership",
        "target": "trademark.context",
        "severity": "error",
        "rationale": "The Rust Foundation Logo Policy distinguishes between logo redistribution (permitted under CC-BY) and trademark use (which requires not implying official endorsement). Logos must not be used in product names or in contexts that suggest the Rust project endorses a third-party offering.\n",
        "forbidden": [
          "implied-endorsement",
          "product-name-prefix"
        ]
      }
    ],
    "com.brand-atoms.assets": [],
    "com.brand-atoms.provenance": {
      "source": "https://rustfoundation.org/policies/logo-policy-and-media-guide/",
      "license": "CC-BY-4.0",
      "attribution": "The Rust logo is owned by the Rust Foundation and distributed under the Creative Commons Attribution 4.0 license per the Rust Foundation's Logo Policy and Media Guide. The Rust word mark and language identity remain trademarks of the Rust Foundation. This atom is brand-atoms' machine-readable encoding of the published brand guide; no logos or wordmarks are bundled here.\n",
      "importedDate": "2026-05-18",
      "notes": "Brand identity values are drawn from the Rust Foundation Brand Guide (rustfoundation.org/brand-guide), which is the current authoritative source. The Foundation's recommended typography is Noto Sans / Noto Serif (freely available via Google Fonts); those families are not yet in the brand-atoms catalog. This atom substitutes the catalog's Inter (humanist sans, OFL-1.1) for prose and Source Code Pro (Adobe's editorial monospace, OFL-1.1) for source code — both honor the Foundation's intent of \"freely available, technical, neutral\" without bundling a new font atom solely for this brand.\n"
    },
    "com.brand-atoms.references": {
      "palette": "rust@1.0.0",
      "fonts": {
        "heading": "inter@1.0.0",
        "body": "inter@1.0.0",
        "mono": "source-code-pro@1.0.0"
      }
    }
  }
}
