---
version: alpha
name: API Hub
description: "Light monochrome interface measured from api-hub-connect.netlify.app: Times New Roman type, tonal surfaces and 12px corners."
colors:
  background: "#F7F8FF"
  surface: "#F7F8FF"
  on-surface: "#111827"
  on-background: "#111827"
  on-surface-variant: "#344054"
  on-surface-muted: "#667085"
  on-surface-subtle: "#98A2B3"
  surface-container-low: "#DCFCE7"
  surface-container: "#FFFFFF"
  surface-container-high: "#FCE7F3"
  surface-container-highest: "#F3E8FF"
  overlay: "#FFFFFFBF"
  overlay-strong: "#FFFFFFCC"
  outline: "#11182712"
  primary: "#111827"
  on-primary: "#FFFFFF"
  secondary: "#635BFF"
  tertiary: "#5848D6"
typography:
  headline-display:
    fontFamily: Times New Roman
    fontSize: 82px
    fontWeight: 700
    lineHeight: 0.98
    letterSpacing: -0.037em
  headline-lg:
    fontFamily: Times New Roman
    fontSize: 48px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.042em
  body-md:
    fontFamily: Times New Roman
    fontSize: 16px
    fontWeight: 400
  body-lg:
    fontFamily: Times New Roman
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.7
  body-sm:
    fontFamily: Times New Roman
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.7
  label-md:
    fontFamily: Times New Roman
    fontSize: 14px
    fontWeight: 500
  label-sm:
    fontFamily: Times New Roman
    fontSize: 13px
    fontWeight: 600
  headline-display-mobile:
    fontFamily: Times New Roman
    fontSize: 62px
    fontWeight: 700
    lineHeight: 0.98
    letterSpacing: -0.048em
  headline-lg-mobile:
    fontFamily: Times New Roman
    fontSize: 38px
    fontWeight: 700
    lineHeight: 1.05
    letterSpacing: -0.053em
rounded:
  xs: 4px
  sm: 12px
  md: 13px
  lg: 16px
  xl: 20px
  full: 9999px
spacing:
  sm: 6px
  md: 10px
  lg: 17px
  xl: 40px
  gutter: 10px
  section: 100px
  margin: 70px
  container: 1500px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-sm}"
    rounded: 11px
    padding: 0px 17px
    height: 40px
  button-outline:
    backgroundColor: "#FFFFFFD1"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.lg}"
    padding: 13px 17px
    height: 70px
  button-ghost:
    backgroundColor: "{colors.overlay-strong}"
    textColor: "{colors.secondary}"
    typography: "{typography.label-sm}"
    rounded: 18px
    padding: 15px
    height: 74px
  input-field:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: 0px
    padding: 0px 10px
  card:
    backgroundColor: "{colors.overlay-strong}"
    textColor: "#000000"
    typography: "{typography.label-sm}"
    rounded: 18px
    padding: 15px
---

# API Hub Design System

## Overview

API Hub describes itself as: “API Hub - Discover, explore, and integrate APIs for your projects.” The interface is light, built on **Cool Snow (#F7F8FF)** with **Deep Blue (#111827)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Times New Roman**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 12px.

Measured from [api-hub-connect.netlify.app](https://api-hub-connect.netlify.app/) on November 12, 2026 at 1440×900 and 390×844 from 139 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 16 roles, plus gradient stops #635BFF, #8B5CF6, #3B82F6, #111827.

- **Cool Snow (#F7F8FF):** Page background, seen 1 time. Token `background`.
- **Deep Blue (#111827):** Primary text and headings, seen 8 times. Token `on-surface`.
- **Dark Blue (#344054):** Secondary text, seen 11 times. Token `on-surface-variant`.
- **Blue (#667085):** Muted text and metadata, seen 7 times. Token `on-surface-muted`.
- **Blue (#98A2B3):** Subtle text and placeholders, seen 4 times. Token `on-surface-subtle`.
- **Pale Green (#DCFCE7):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **White (#FFFFFF):** Cards and panels, seen 1 time. Token `surface-container`, CSS `--bg-secondary`.
- **Pale Pink (#FCE7F3):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Pale Violet (#F3E8FF):** Highest raised elements, seen 3 times. Token `surface-container-highest`.
- **White 75% (#FFFFFFBF):** Translucent fill for cards and controls, seen 9 times. Token `overlay`.
- **White 80% (#FFFFFFCC):** Stronger translucent fill, seen 3 times. Token `overlay-strong`.
- **Deep Blue 7% (#11182712):** Borders and dividers, seen 10 times. Token `outline`.
- **Deep Blue (#111827):** Primary buttons and calls to action, seen 12 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Indigo (#635BFF):** Accent in text, fills and borders, seen 17 times. Token `secondary`.
- **Indigo (#5848D6):** Accent (CSS variable). Token `tertiary`.

## Typography

**Times New Roman** carries the whole interface. Fallback stack: `Times New Roman`.

- **headline-display:** Times New Roman 82px at weight 700, line height 0.98, tracking -0.037em (62px on mobile). Page title (h1).
- **headline-lg:** Times New Roman 48px at weight 700, line height 1.05, tracking -0.042em (38px on mobile). Section headings (h2).
- **body-md:** Times New Roman 16px at weight 400. Body text.
- **body-lg:** Times New Roman 18px at weight 400, line height 1.7. Lead paragraphs.
- **body-sm:** Times New Roman 15px at weight 400, line height 1.7. Secondary and small text.
- **label-md:** Times New Roman 14px at weight 500. Buttons, navigation and labels.
- **label-sm:** Times New Roman 13px at weight 600. Small labels and badges.

## Layout

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

- **Scale:** sm 6px, md 10px, lg 17px, xl 40px.
- **Sections:** 100px vertical padding between major sections.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1500px.
- **Page margin:** 70px on each side of full-width sections.

## Elevation & Depth

Raised elements use soft drop shadows. The most used recipes:

- `rgba(31, 41, 55, 0.043) 0px 10px 30px 0px`
- `rgba(31, 41, 55, 0.12) 0px 20px 45px 0px`
- `rgba(99, 91, 255, 0.28) 0px 8px 25px 0px`

Hairline rings and inset highlights also appear: `rgba(99, 91, 255, 0.1) 0px 0px 0px 5px`.

## Shapes

Most elements use 12px corners. Measured radii, most used first:

- **sm (12px):** 52 elements.
- **xl (20px):** 36 elements.
- **md (13px):** 12 elements.
- **full (9999px):** 8 elements.
- **xs (4px):** 4 elements.
- **lg (16px):** 4 elements.

## Components

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

- **button-primary (“Sign Up”):** #111827 fill, #FFFFFF text, 13px/600, 11px radius, padding 0px 17px, border 2px outset #000000, shadow `rgba(17, 24, 39, 0.13) 0px 8px 20px 0px`.
- **button-outline (“Build.Integrate. Innovate.”):** #FFFFFFD1 fill, #111827 text, 13.3333px/400, 16px radius, padding 13px 17px, shadow `rgba(31, 41, 55, 0.12) 0px 20px 45px 0px`.
- **button-ghost (“</> API Response”):** #FFFFFFCC fill, #635BFF text, 13.3333px/400, 18px radius, padding 15px, shadow `rgba(31, 41, 55, 0.12) 0px 20px 45px 0px`.
- **input-field (“Search APIs (e.g. Weather, AI, M”):** transparent fill, #111827 text, 15px/400, padding 0px 10px.
- **card:** #FFFFFFCC fill, #000000 text, 13.3333px/400, 18px radius, padding 15px, shadow `rgba(31, 41, 55, 0.12) 0px 20px 45px 0px`.

## Do's and Don'ts

- Do use #F7F8FF for the page and lift surfaces in small steps: #DCFCE7, #FFFFFF, #FCE7F3, #F3E8FF.
- Do keep text in 4 levels: #111827, #344054, #667085, #98A2B3.
- Do let contrast carry emphasis; primary actions use #111827 on #F7F8FF.
- Do set headlines in Times New Roman with tight tracking (-0.037em).
- Do reuse the measured spacing steps (6px, 10px, 17px).
- Do use 12px corners on most elements; larger surfaces also use 20px, 13px and 4px.
- Don't use #98A2B3 for body text; it reaches 2.43:1 on #F7F8FF. Keep it for large text or metadata.
- Don't introduce new font families beyond Times New Roman.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.3s, 0.25s. Longer ambient animations run 6s, 2s, 5s.

- **Easing:** `ease`, `ease-in-out`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/api-hub-connect.netlify.app/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
