{
  "$description": "Brand: Shopify — dark mode",
  "color": {
    "swatches": {
      "$description": "Source-of-truth color swatches from palette shopify@1.0.0",
      "shopify-green": {
        "$value": "#008060",
        "$type": "color",
        "$description": "Current corporate primary green — the modernized Shopify brand color on shopify.com primary CTAs and marketing."
      },
      "shopify-green-heritage": {
        "$value": "#95BF47",
        "$type": "color",
        "$description": "Heritage Shopify leaf-green — the original shopping-bag mark fill color, retained on the public mark."
      },
      "shopify-green-wordmark": {
        "$value": "#7AB55C",
        "$type": "color",
        "$description": "Mid-green historically used on the Shopify wordmark text in the dual-tone heritage logo."
      },
      "shopify-green-deep": {
        "$value": "#004C3F",
        "$type": "color",
        "$description": "Deep green used for hover/pressed states on the primary corporate green and for emphasis on text."
      },
      "shopify-ink": {
        "$value": "#1A1A1A",
        "$type": "color",
        "$description": "Near-black used for body copy and the wordmark on light surfaces."
      },
      "shopify-graphite": {
        "$value": "#303030",
        "$type": "color",
        "$description": "Authored elevated surface on the dark mode; matches Polaris gray-15."
      },
      "shopify-canvas-dark": {
        "$value": "#1A1A1A",
        "$type": "color",
        "$description": "Dark-mode canvas; matches Polaris gray-16."
      },
      "shopify-white": {
        "$value": "#FFFFFF",
        "$type": "color",
        "$description": "Canonical light canvas; the marketing surface is light-first."
      },
      "shopify-fog": {
        "$value": "#F1F1F1",
        "$type": "color",
        "$description": "Authored surface tone for cards and panels on light backgrounds; matches Polaris gray-6."
      },
      "shopify-gray": {
        "$value": "#616161",
        "$type": "color",
        "$description": "Secondary text on light backgrounds; matches Polaris gray-13."
      },
      "shopify-gray-light": {
        "$value": "#8A8A8A",
        "$type": "color",
        "$description": "Tertiary text and metadata."
      }
    },
    "roles": {
      "$description": "Semantic color roles (dark mode) mapped to palette swatches",
      "background": {
        "$value": "{color.swatches.shopify-canvas-dark}",
        "$type": "color",
        "$description": "background role → Shopify Canvas Dark"
      },
      "surface": {
        "$value": "{color.swatches.shopify-graphite}",
        "$type": "color",
        "$description": "surface role → Shopify Graphite"
      },
      "surface-elevated": {
        "$value": "{color.swatches.shopify-graphite}",
        "$type": "color",
        "$description": "surface-elevated role → Shopify Graphite"
      },
      "text-primary": {
        "$value": "{color.swatches.shopify-white}",
        "$type": "color",
        "$description": "text-primary role → Shopify White"
      },
      "text-secondary": {
        "$value": "{color.swatches.shopify-gray-light}",
        "$type": "color",
        "$description": "text-secondary role → Shopify Gray Light"
      },
      "text-tertiary": {
        "$value": "{color.swatches.shopify-gray}",
        "$type": "color",
        "$description": "text-tertiary role → Shopify Gray"
      },
      "primary": {
        "$value": "{color.swatches.shopify-green}",
        "$type": "color",
        "$description": "primary role → Shopify Green"
      },
      "primary-hover": {
        "$value": "{color.swatches.shopify-green-deep}",
        "$type": "color",
        "$description": "primary-hover role → Shopify Green Deep"
      },
      "accent": {
        "$value": "{color.swatches.shopify-green-heritage}",
        "$type": "color",
        "$description": "accent role → Shopify Green (Heritage)"
      },
      "accent-hover": {
        "$value": "{color.swatches.shopify-green-wordmark}",
        "$type": "color",
        "$description": "accent-hover role → Shopify Green (Wordmark)"
      },
      "warning": {
        "$value": "{color.swatches.shopify-green-heritage}",
        "$type": "color",
        "$description": "warning role → Shopify Green (Heritage)"
      },
      "warning-hover": {
        "$value": "{color.swatches.shopify-green-wordmark}",
        "$type": "color",
        "$description": "warning-hover role → Shopify Green (Wordmark)"
      },
      "error": {
        "$value": "{color.swatches.shopify-green-deep}",
        "$type": "color",
        "$description": "error role → Shopify Green Deep"
      },
      "success": {
        "$value": "{color.swatches.shopify-green}",
        "$type": "color",
        "$description": "success role → Shopify Green"
      },
      "brand-overrides": {
        "$description": "Brand-level role overrides (take precedence over palette role mappings)",
        "identity": {
          "$value": "{color.swatches.shopify-green}",
          "$type": "color",
          "$description": "Brand role identity → Shopify Green"
        },
        "on-identity": {
          "$value": "{color.swatches.shopify-white}",
          "$type": "color",
          "$description": "Brand role on-identity → Shopify White"
        },
        "primary": {
          "$value": "{color.swatches.shopify-green}",
          "$type": "color",
          "$description": "Brand role primary → Shopify Green"
        },
        "primary-hover": {
          "$value": "{color.swatches.shopify-green-deep}",
          "$type": "color",
          "$description": "Brand role primary-hover → Shopify Green Deep"
        },
        "accent": {
          "$value": "{color.swatches.shopify-green}",
          "$type": "color",
          "$description": "Brand role accent → Shopify Green"
        },
        "accent-hover": {
          "$value": "{color.swatches.shopify-green-deep}",
          "$type": "color",
          "$description": "Brand role accent-hover → Shopify Green Deep"
        },
        "mark": {
          "$value": "{color.swatches.shopify-green-heritage}",
          "$type": "color",
          "$description": "Brand role mark → Shopify Green (Heritage)"
        },
        "text-primary-light": {
          "$value": "{color.swatches.shopify-ink}",
          "$type": "color",
          "$description": "Brand role text-primary-light → Shopify Ink"
        },
        "text-primary-dark": {
          "$value": "{color.swatches.shopify-white}",
          "$type": "color",
          "$description": "Brand role text-primary-dark → Shopify White"
        },
        "text-secondary-light": {
          "$value": "{color.swatches.shopify-gray}",
          "$type": "color",
          "$description": "Brand role text-secondary-light → Shopify Gray"
        },
        "background-light": {
          "$value": "{color.swatches.shopify-white}",
          "$type": "color",
          "$description": "Brand role background-light → Shopify White"
        },
        "background-dark": {
          "$value": "{color.swatches.shopify-canvas-dark}",
          "$type": "color",
          "$description": "Brand role background-dark → Shopify Canvas Dark"
        },
        "surface-light": {
          "$value": "{color.swatches.shopify-fog}",
          "$type": "color",
          "$description": "Brand role surface-light → Shopify Fog"
        },
        "surface-dark": {
          "$value": "{color.swatches.shopify-graphite}",
          "$type": "color",
          "$description": "Brand role surface-dark → Shopify Graphite"
        }
      }
    }
  },
  "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": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "$type": "fontFamily",
        "$description": "mono role → JetBrainsMono Nerd Font (jetbrainsmono-nerdfont@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"
        },
        "$description": "Available font weights"
      }
    }
  }
}
