{
  "id": "rust",
  "version": "1.0.0",
  "name": "Rust",
  "description": "Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety via its ownership and borrow-checker model. The brand voice is engineering-honest, community-stewarded, and quietly proud — measured tone, deference to the compiler, and a strong open-source ethic carried since the language's Mozilla incubation. The visual identity centers on Rust Orange (#D34516), the gear-and-R logomark, and a typographic voice that pairs a humanist sans for prose with a code monospace for source samples. The Rust Foundation acts as steward of the trademark and brand.\n",
  "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"
  },
  "tags": [
    "rust",
    "programming-language",
    "systems",
    "open-source",
    "brand",
    "foundation"
  ],
  "palette": {
    "ref": "rust@1.0.0",
    "swatches": [
      {
        "id": "rust-orange",
        "name": "Rust Orange",
        "value": "#D34516",
        "description": "Primary brand accent — the signature Rust Orange used on the gear mark, primary buttons, and rust-lang.org accents.\n",
        "aliases": []
      },
      {
        "id": "rust-dark-blue",
        "name": "Rust Dark Blue",
        "value": "#1E2650",
        "description": "Primary corporate dark color — the Rust Foundation's signature navy used as a high-contrast canvas for the gear mark.\n",
        "aliases": []
      },
      {
        "id": "rust-blue",
        "name": "Rust Blue",
        "value": "#28607F",
        "description": "Supporting blue used for technical illustrations and secondary interactive elements.\n",
        "aliases": []
      },
      {
        "id": "rust-silver",
        "name": "Rust Silver",
        "value": "#67737A",
        "description": "Neutral metallic gray used for body text on light surfaces and hardware-adjacent surfaces.\n",
        "aliases": []
      },
      {
        "id": "rust-green",
        "name": "Rust Green",
        "value": "#61784D",
        "description": "Reserved green used for database / sustainability surfaces per the Brand Guide.\n",
        "aliases": []
      },
      {
        "id": "rust-black",
        "name": "Rust Black",
        "value": "#0E0E0E",
        "description": "Near-black surface for dark-mode page canvas.",
        "aliases": []
      },
      {
        "id": "rust-charcoal",
        "name": "Rust Charcoal",
        "value": "#222222",
        "description": "Elevated dark surface for cards and panels.",
        "aliases": []
      },
      {
        "id": "rust-light-gray",
        "name": "Rust Light Gray",
        "value": "#D7D7D7",
        "description": "Hairline borders and dividers on light canvas.",
        "aliases": []
      },
      {
        "id": "rust-off-white",
        "name": "Rust Off-White",
        "value": "#F4F4F4",
        "description": "Subtle layered surface on the light canvas.",
        "aliases": []
      },
      {
        "id": "rust-white",
        "name": "Rust White",
        "value": "#FFFFFF",
        "description": "Page canvas in light mode; reversed text on orange.",
        "aliases": []
      }
    ],
    "modes": {
      "light": {
        "roles": {
          "background": "rust-white",
          "surface": "rust-off-white",
          "surface-elevated": "rust-white",
          "text-primary": "rust-dark-blue",
          "text-secondary": "rust-silver",
          "text-tertiary": "rust-blue",
          "primary": "rust-orange",
          "primary-hover": "rust-dark-blue",
          "accent": "rust-blue",
          "accent-hover": "rust-dark-blue",
          "warning": "rust-orange",
          "warning-hover": "rust-dark-blue",
          "error": "rust-orange",
          "success": "rust-green"
        }
      },
      "dark": {
        "roles": {
          "background": "rust-black",
          "surface": "rust-charcoal",
          "surface-elevated": "rust-charcoal",
          "text-primary": "rust-white",
          "text-secondary": "rust-light-gray",
          "text-tertiary": "rust-silver",
          "primary": "rust-orange",
          "primary-hover": "rust-light-gray",
          "accent": "rust-blue",
          "accent-hover": "rust-light-gray",
          "warning": "rust-orange",
          "warning-hover": "rust-light-gray",
          "error": "rust-orange",
          "success": "rust-green"
        }
      }
    }
  },
  "fonts": [
    {
      "role": "heading",
      "ref": "inter@1.0.0",
      "family": "Inter",
      "classification": "sans-serif",
      "source": {
        "kind": "google-fonts",
        "family": "Inter",
        "url": "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
      },
      "fallbackStack": [
        "-apple-system",
        "BlinkMacSystemFont",
        "Segoe UI",
        "Roboto",
        "Helvetica Neue",
        "Arial",
        "sans-serif"
      ],
      "availableStyles": [
        {
          "weight": 100,
          "style": "normal"
        },
        {
          "weight": 100,
          "style": "italic"
        },
        {
          "weight": 200,
          "style": "normal"
        },
        {
          "weight": 200,
          "style": "italic"
        },
        {
          "weight": 300,
          "style": "normal"
        },
        {
          "weight": 300,
          "style": "italic"
        },
        {
          "weight": 400,
          "style": "normal"
        },
        {
          "weight": 400,
          "style": "italic"
        },
        {
          "weight": 500,
          "style": "normal"
        },
        {
          "weight": 500,
          "style": "italic"
        },
        {
          "weight": 600,
          "style": "normal"
        },
        {
          "weight": 600,
          "style": "italic"
        },
        {
          "weight": 700,
          "style": "normal"
        },
        {
          "weight": 700,
          "style": "italic"
        },
        {
          "weight": 800,
          "style": "normal"
        },
        {
          "weight": 800,
          "style": "italic"
        },
        {
          "weight": 900,
          "style": "normal"
        },
        {
          "weight": 900,
          "style": "italic"
        }
      ]
    },
    {
      "role": "body",
      "ref": "inter@1.0.0",
      "family": "Inter",
      "classification": "sans-serif",
      "source": {
        "kind": "google-fonts",
        "family": "Inter",
        "url": "https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap"
      },
      "fallbackStack": [
        "-apple-system",
        "BlinkMacSystemFont",
        "Segoe UI",
        "Roboto",
        "Helvetica Neue",
        "Arial",
        "sans-serif"
      ],
      "availableStyles": [
        {
          "weight": 100,
          "style": "normal"
        },
        {
          "weight": 100,
          "style": "italic"
        },
        {
          "weight": 200,
          "style": "normal"
        },
        {
          "weight": 200,
          "style": "italic"
        },
        {
          "weight": 300,
          "style": "normal"
        },
        {
          "weight": 300,
          "style": "italic"
        },
        {
          "weight": 400,
          "style": "normal"
        },
        {
          "weight": 400,
          "style": "italic"
        },
        {
          "weight": 500,
          "style": "normal"
        },
        {
          "weight": 500,
          "style": "italic"
        },
        {
          "weight": 600,
          "style": "normal"
        },
        {
          "weight": 600,
          "style": "italic"
        },
        {
          "weight": 700,
          "style": "normal"
        },
        {
          "weight": 700,
          "style": "italic"
        },
        {
          "weight": 800,
          "style": "normal"
        },
        {
          "weight": 800,
          "style": "italic"
        },
        {
          "weight": 900,
          "style": "normal"
        },
        {
          "weight": 900,
          "style": "italic"
        }
      ]
    },
    {
      "role": "mono",
      "ref": "source-code-pro@1.0.0",
      "family": "Source Code Pro",
      "classification": "monospace",
      "source": {
        "kind": "google-fonts",
        "family": "Source Code Pro",
        "url": "https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap"
      },
      "fallbackStack": [
        "ui-monospace",
        "SFMono-Regular",
        "Menlo",
        "Consolas",
        "Liberation Mono",
        "monospace"
      ],
      "availableStyles": [
        {
          "weight": 200,
          "style": "normal"
        },
        {
          "weight": 200,
          "style": "italic"
        },
        {
          "weight": 300,
          "style": "normal"
        },
        {
          "weight": 300,
          "style": "italic"
        },
        {
          "weight": 400,
          "style": "normal"
        },
        {
          "weight": 400,
          "style": "italic"
        },
        {
          "weight": 500,
          "style": "normal"
        },
        {
          "weight": 500,
          "style": "italic"
        },
        {
          "weight": 600,
          "style": "normal"
        },
        {
          "weight": 600,
          "style": "italic"
        },
        {
          "weight": 700,
          "style": "normal"
        },
        {
          "weight": 700,
          "style": "italic"
        },
        {
          "weight": 800,
          "style": "normal"
        },
        {
          "weight": 800,
          "style": "italic"
        },
        {
          "weight": 900,
          "style": "normal"
        },
        {
          "weight": 900,
          "style": "italic"
        }
      ]
    }
  ],
  "roles": {
    "colors": {
      "identity": "rust-orange",
      "on-identity": "rust-white",
      "primary": "rust-orange",
      "primary-hover": "rust-dark-blue",
      "accent": "rust-blue",
      "accent-hover": "rust-dark-blue",
      "background": "rust-white",
      "surface": "rust-off-white",
      "text-primary": "rust-dark-blue",
      "text-secondary": "rust-silver"
    },
    "typography": {
      "display": "heading",
      "prose": "body",
      "code": "mono"
    }
  },
  "assets": [],
  "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"
      ]
    }
  ]
}
