{
  "$generatedBy": "BrandSweets tokens.json — sourcegraph-com v2",
  "brand": {
    "slug": "sourcegraph-com",
    "name": "Sourcegraph",
    "version": 2,
    "schemaVersion": "1"
  },
  "identity": {
    "name": "Sourcegraph",
    "tagline": "Give humans and agents complete context to understand, oversee, and evolve the world's largest, most complex codebases.",
    "sector": "dev-tool"
  },
  "colors": {
    "primary": {
      "hex": "#3fb950",
      "name": "Green",
      "usage": "Primary brand color: CTAs, links, active states.",
      "scale": {
        "50": "#f2f8f3",
        "100": "#dfece0",
        "200": "#bbe8c1",
        "300": "#91d99a",
        "400": "#6bcc78",
        "500": "#3fb950",
        "600": "#39a748",
        "700": "#2f893b",
        "800": "#246a2e",
        "900": "#1e4823",
        "950": "#132f17"
      }
    },
    "accent": {
      "hex": "#d14d41",
      "name": "Red",
      "usage": "Accent: highlights and secondary emphasis.",
      "scale": {
        "50": "#f8f2f1",
        "100": "#eededd",
        "200": "#edbab5",
        "300": "#e28f88",
        "400": "#d8695f",
        "500": "#d14d41",
        "600": "#b5372c",
        "700": "#942d24",
        "800": "#73231c",
        "900": "#4d1d19",
        "950": "#321310"
      }
    },
    "surface": {
      "hex": "#ffffff",
      "name": "White",
      "usage": "Page and card background.",
      "scale": {
        "50": "#ffffff",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#212121"
      }
    },
    "text": {
      "hex": "#111111",
      "name": "Near Black",
      "usage": "Body text on surface.",
      "scale": {
        "50": "#f5f5f5",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#111111"
      }
    }
  },
  "typography": {
    "families": {
      "poly-sans": {
        "family": "Poly Sans",
        "source": "custom",
        "stack": "\"Poly Sans\", Arial, sans-serif",
        "weights": [
          400,
          600,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      }
    },
    "roles": {
      "heading": {
        "familyRef": "poly-sans",
        "stack": "\"Poly Sans\", Arial, sans-serif"
      },
      "body": {
        "familyRef": "poly-sans",
        "stack": "\"Poly Sans\", Arial, sans-serif"
      }
    },
    "scale": [
      {
        "name": "sm",
        "sizeRem": 0.875,
        "lineHeight": 1.5
      },
      {
        "name": "base",
        "sizeRem": 1,
        "lineHeight": 1.6
      },
      {
        "name": "lg",
        "sizeRem": 1.25,
        "lineHeight": 1.4
      },
      {
        "name": "xl",
        "sizeRem": 1.75,
        "lineHeight": 1.25
      },
      {
        "name": "2xl",
        "sizeRem": 2.25,
        "lineHeight": 1.15
      },
      {
        "name": "display",
        "sizeRem": 3.5,
        "lineHeight": 1.05,
        "letterSpacingEm": -0.02
      }
    ]
  },
  "brandGradient": {
    "brand": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.247,
              0.725,
              0.314
            ],
            "hex": "#3fb950"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.82,
              0.302,
              0.255
            ],
            "hex": "#d14d41"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #3fb950 0%, #d14d41 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 2.54,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 4.848,
              "at": 0.9931,
              "passesAA": true,
              "passesAALarge": true
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.353,
              0.494,
              0.357
            ],
            "hex": "#5a7e5b"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.463,
              0.282,
              0.255
            ],
            "hex": "#764841"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #5a7e5b 0%, #764841 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "hero",
          "ink": "#ffffff",
          "contrast": {
            "white": {
              "ratio": 4.595,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 2.774,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Low-chroma hero background with a text-safe ink (--brand-gradient-hero)."
    },
    "button": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.306,
              0.776,
              0.365
            ],
            "hex": "#4ec65d"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.184,
              0.675,
              0.263
            ],
            "hex": "#2fac43"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #4ec65d 0%, #2fac43 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#000000",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #59d066 0%, #3bb64d 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #43bc53 0%, #20a339 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 2.197,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 7.103,
              "at": 1,
              "passesAA": true,
              "passesAALarge": true
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}