---
version: alpha
name: Bitbucket
description: "Light interface measured from bitbucket.org: Charlie Display type with Charlie Text, vivid blue accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#292A2E"
  on-background: "#292A2E"
  on-surface-strong: "#101214"
  on-surface-variant: "#091E42"
  on-surface-muted: "#505258"
  surface-container-low: "#FAFBFC"
  surface-container: "#F8F8F8"
  surface-container-high: "#EFEFEF"
  outline: "#DFE1E6"
  primary: "#1868DB"
  on-primary: "#FFFFFF"
  secondary: "#7EE2B8"
  tertiary: "#94C748"
typography:
  headline-display:
    fontFamily: Charlie Display
    fontSize: 64px
    fontWeight: 500
    lineHeight: 1.04
    letterSpacing: -0.02em
  headline-lg:
    fontFamily: Charlie Display
    fontSize: 40px
    fontWeight: 500
    lineHeight: 1.2
    letterSpacing: -0.01em
  headline-md:
    fontFamily: Charlie Display
    fontSize: 32px
    fontWeight: 500
    lineHeight: 1.24
  headline-sm:
    fontFamily: Charlie Display
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.36
    letterSpacing: -0.01em
  title-lg:
    fontFamily: Charlie Text
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.56
    letterSpacing: -0.01em
  body-md:
    fontFamily: Charlie Text
    fontSize: 16px
    fontWeight: 400
  body-sm:
    fontFamily: Charlie Display
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: 0.03em
  label-md:
    fontFamily: Charlie Text
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1.2
    letterSpacing: 0.08em
  label-sm:
    fontFamily: Charlie Text
    fontSize: 13px
    fontWeight: 700
  headline-display-mobile:
    fontFamily: Charlie Display
    fontSize: 44px
    fontWeight: 500
    lineHeight: 1.04
    letterSpacing: -0.02em
  headline-md-mobile:
    fontFamily: Charlie Display
    fontSize: 20px
    fontWeight: 500
    lineHeight: 1.24
rounded:
  md: 3px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 16px
  lg: 19px
  xl: 46px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.full}"
    padding: 8px 22px
    height: 40px
  button-primary-hover:
    backgroundColor: "#123263"
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface-strong}"
    typography: "{typography.label-sm}"
    padding: 8px
    height: 40px
  button-outline-hover:
    textColor: "{colors.primary}"
  button-ghost:
    textColor: "#0052CC"
    typography: "{typography.label-md}"
    rounded: 4px
    padding: 0px 16px
  input-field:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.body-md}"
    rounded: 4px
    padding: 1px 2px 1px 8px
  link:
    textColor: "{colors.on-surface-strong}"
---

# Bitbucket Design System

## Overview

The interface is light, built on **White (#FFFFFF)** with **Graphite (#292A2E)** text, and **Vivid Blue (#1868DB)** as the main accent.

Type is set in **Charlie Display** and **Charlie Text**. Headlines run large with tight negative tracking; body text is 16px. The surface language is flat. Controls are pill-shaped.

Measured from [bitbucket.org](https://bitbucket.org/) on November 29, 2026 at 1440×900 and 390×844 from 214 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 13 roles.

- **White (#FFFFFF):** Page background, seen 3 times. Token `background`, CSS `--ds-background-input-pressed`.
- **Graphite (#292A2E):** Primary text and headings, seen 35 times. Token `on-surface`, CSS `--wac-color-body`.
- **Charcoal (#101214):** Headings and emphasis, seen 48 times. Token `on-surface-strong`.
- **Deep Blue (#091E42):** Secondary text, seen 3 times. Token `on-surface-variant`.
- **Cool Slate (#505258):** Muted text and metadata, seen 2 times. Token `on-surface-muted`, CSS `--ds-background-accent-gray-bolder-hovered`.
- **Snow (#FAFBFC):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Snow (#F8F8F8):** Cards and panels, seen 1 time. Token `surface-container`.
- **Mist (#EFEFEF):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Cool Mist (#DFE1E6):** Borders and dividers, seen 1 time. Token `outline`.
- **Vivid Blue (#1868DB):** Brand color on large areas, seen 28 times. Token `primary`, CSS `--ds-chart-information-hovered`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Teal (#7EE2B8):** Accent (CSS variable). Token `secondary`.
- **Lime (#94C748):** Accent in the logo, seen 1 time. Token `tertiary`, CSS `--ds-background-accent-lime-subtle`.

## Typography

**Charlie Display** and **Charlie Text** share the interface. Fallback stack: `Charlie Display, -apple-system, BlinkMacSystemFont, Segoe UI`.

- **headline-display:** Charlie Display 64px at weight 500, line height 1.04, tracking -0.02em (44px on mobile). Page title (h1).
- **headline-lg:** Charlie Display 40px at weight 500, line height 1.2, tracking -0.01em. Section headings (h2).
- **headline-md:** Charlie Display 32px at weight 500, line height 1.24 (20px on mobile). Sub-section headings.
- **headline-sm:** Charlie Display 24px at weight 400, line height 1.36, tracking -0.01em. Card and feature titles.
- **title-lg:** Charlie Text 20px at weight 700, line height 1.56, tracking -0.01em. Small titles.
- **body-md:** Charlie Text 16px at weight 400. Body text.
- **body-sm:** Charlie Display 14px at weight 400, line height 1, tracking 0.03em. Secondary and small text.
- **label-md:** Charlie Text 16px at weight 500, line height 1.2, tracking 0.08em. Buttons, navigation and labels.
- **label-sm:** Charlie Text 13px at weight 700. Small labels and badges.

## Layout

Spacing does not follow a strict grid: 58% of measured values are multiples of 4px, so match the measured steps rather than rounding to a grid.

- **Scale:** xs 4px, sm 8px, md 16px, lg 19px, xl 46px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#FAFBFC → #F8F8F8 → #EFEFEF) and #DFE1E6 borders.

## Shapes

Interactive controls are pill-shaped. Measured radii, most used first:

- **md (3px):** 20 elements.
- **full (9999px):** 16 elements.

## Components

Measured from the rendered page. Token values reference the tokens above.

- **button-primary (“Get it Free”):** #1868DB fill, #FFFFFF text, 16px/500, 10000px radius, padding 8px 22px.
- **button-primary-hover:** background #123263, text #FFFFFF on hover.
- **button-outline (“search”):** #F8F8F8 fill, #101214 text, 13.3333px/400, 50% radius, padding 8px.
- **button-outline-hover:** background #F8F8F8, text #1868DB on hover.
- **button-ghost (“Subscribe”):** transparent fill, #0052CC text, 16px/500, 4px radius, padding 0px 16px, border 1px solid #0052CC.
- **input-field (“email@example.com”):** #FAFBFC fill, #091E42 text, 16px/400, 4px radius, padding 1px 2px 1px 8px, border 2px solid #DFE1E6.
- **link:** transparent fill, #101214 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FAFBFC, #F8F8F8, #EFEFEF.
- Do keep text in 4 levels: #292A2E, #101214, #091E42, #505258.
- Do use #1868DB as the brand accent: header, logo and key highlights.
- Do set headlines in Charlie Display with tight tracking (-0.02em).
- Do reuse the measured spacing steps (8px, 16px, 19px).
- Do make buttons and chips fully rounded (9999px); most other elements use 3px corners.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Charlie Display and Charlie Text.
- Don't use #1868DB for large backgrounds or body text.
- Don't make interface transitions slower than 0.5s.

## Motion

Interface transitions are quick: 0.25s, 0.15s, 0.5s, 0.16s.

- **Easing:** `ease-in-out`, `cubic-bezier(0.4, 0, 0, 1)`, `ease-out`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/bitbucket.org/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
