{
  "$themes": [
    {
      "id": "light",
      "name": "Light",
      "selectedTokenSets": {
        "global": "enabled",
        "role-light": "enabled",
        "brand": "enabled"
      }
    },
    {
      "id": "dark",
      "name": "Dark",
      "selectedTokenSets": {
        "global": "enabled",
        "role-dark": "enabled",
        "brand": "enabled"
      }
    }
  ],
  "global": {
    "color": {
      "square-blue": {
        "value": "#006AFF",
        "type": "color",
        "description": "Primary brand blue — the Square interactive color, primary CTAs, and merchant accents."
      },
      "square-blue-hover": {
        "value": "#0058D6",
        "type": "color",
        "description": "Authored darker blue for hover/pressed states on the primary action."
      },
      "square-black": {
        "value": "#000000",
        "type": "color",
        "description": "The Square mark itself — solid black on light canvas. Also the wordmark color."
      },
      "square-near-black": {
        "value": "#1A1A1A",
        "type": "color",
        "description": "Authored dark canvas — slightly lifted from pure black for dark-mode comfort."
      },
      "square-ink": {
        "value": "#212121",
        "type": "color",
        "description": "Body text on light surfaces."
      },
      "square-graphite": {
        "value": "#4F4F4F",
        "type": "color",
        "description": "Secondary text on light backgrounds."
      },
      "square-gray": {
        "value": "#7B7B7B",
        "type": "color",
        "description": "Tertiary text and metadata."
      },
      "square-divider": {
        "value": "#E5E5E5",
        "type": "color",
        "description": "Authored hairline divider tone."
      },
      "square-white": {
        "value": "#FFFFFF",
        "type": "color",
        "description": "Canonical light canvas."
      },
      "square-fog": {
        "value": "#F7F7F7",
        "type": "color",
        "description": "Authored surface tone for cards and panels."
      },
      "square-surface-dark": {
        "value": "#2B2B2B",
        "type": "color",
        "description": "Authored elevated surface on dark mode."
      }
    },
    "fontFamily": {
      "heading": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "body": {
        "value": "Inter",
        "type": "fontFamilies",
        "description": "inter@1.0.0 · sans-serif"
      },
      "mono": {
        "value": "JetBrainsMono Nerd Font",
        "type": "fontFamilies",
        "description": "jetbrainsmono-nerdfont@1.0.0 · monospace"
      }
    },
    "fontStack": {
      "heading": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "body": {
        "value": [
          "Inter",
          "-apple-system",
          "BlinkMacSystemFont",
          "Segoe UI",
          "Roboto",
          "Helvetica Neue",
          "Arial",
          "sans-serif"
        ],
        "type": "fontFamilies"
      },
      "mono": {
        "value": [
          "JetBrainsMono Nerd Font",
          "JetBrains Mono",
          "Fira Code",
          "Menlo",
          "Monaco",
          "Consolas",
          "Liberation Mono",
          "monospace"
        ],
        "type": "fontFamilies"
      }
    }
  },
  "role-light": {
    "color": {
      "background": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.square-fog}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.square-ink}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.square-graphite}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.square-gray}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "warning-hover": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.square-black}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.square-blue}",
        "type": "color"
      }
    }
  },
  "role-dark": {
    "color": {
      "background": {
        "value": "{global.color.square-near-black}",
        "type": "color"
      },
      "surface": {
        "value": "{global.color.square-surface-dark}",
        "type": "color"
      },
      "surface-elevated": {
        "value": "{global.color.square-surface-dark}",
        "type": "color"
      },
      "text-primary": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "text-secondary": {
        "value": "{global.color.square-gray}",
        "type": "color"
      },
      "text-tertiary": {
        "value": "{global.color.square-graphite}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "warning": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "warning-hover": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "error": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "success": {
        "value": "{global.color.square-blue}",
        "type": "color"
      }
    }
  },
  "brand": {
    "color": {
      "identity": {
        "value": "{global.color.square-black}",
        "type": "color"
      },
      "on-identity": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "primary": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "primary-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "accent": {
        "value": "{global.color.square-blue}",
        "type": "color"
      },
      "accent-hover": {
        "value": "{global.color.square-blue-hover}",
        "type": "color"
      },
      "mark": {
        "value": "{global.color.square-black}",
        "type": "color"
      },
      "text-primary-light": {
        "value": "{global.color.square-ink}",
        "type": "color"
      },
      "text-primary-dark": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "text-secondary-light": {
        "value": "{global.color.square-graphite}",
        "type": "color"
      },
      "background-light": {
        "value": "{global.color.square-white}",
        "type": "color"
      },
      "background-dark": {
        "value": "{global.color.square-near-black}",
        "type": "color"
      },
      "surface-light": {
        "value": "{global.color.square-fog}",
        "type": "color"
      },
      "surface-dark": {
        "value": "{global.color.square-surface-dark}",
        "type": "color"
      },
      "divider": {
        "value": "{global.color.square-divider}",
        "type": "color"
      }
    }
  },
  "$metadata": {
    "name": "Square",
    "ref": "square@1.0.0",
    "paletteRef": "square@1.0.0",
    "generatedBy": "brand-atoms converter"
  }
}
