---
version: alpha
name: VibeHub
description: "Light interface measured from vibe-hub.org: system-ui type, blue accents, tonal surfaces and 12px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#18181B"
  on-background: "#18181B"
  on-surface-variant: "#3E2D15"
  on-surface-muted: "#52525B"
  on-surface-subtle: "#686E79"
  surface-container-low: "#FAFAFA"
  surface-container: "#E8FFEA"
  surface-container-high: "#F0F9F3"
  surface-container-highest: "#F4F4F5"
  overlay: "#EFE0BDA6"
  overlay-strong: "#FFFFFFD1"
  outline: "#E4E4E7"
  outline-variant: "#F0F0F2"
  primary: "#3559D8"
  on-primary: "#FFFFFF"
  secondary: "#EFD69E"
  tertiary: "#2A46B4"
typography:
  headline-display:
    fontFamily: system-ui
    fontSize: 31px
    fontWeight: 720
    lineHeight: 1.15
    letterSpacing: -0.035em
  headline-lg:
    fontFamily: system-ui
    fontSize: 23px
    fontWeight: 750
    lineHeight: 1.35
    letterSpacing: -0.035em
  headline-md:
    fontFamily: system-ui
    fontSize: 22px
    fontWeight: 600
    lineHeight: 1.7
    letterSpacing: 0.005em
  headline-sm:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.4
    letterSpacing: 0.005em
  body-md:
    fontFamily: system-ui
    fontSize: 15px
    fontWeight: 400
    lineHeight: 1.7
    letterSpacing: 0.007em
  body-lg:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.7
    letterSpacing: 0.006em
  body-sm:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 400
    lineHeight: 2
    letterSpacing: 0.007em
  caption:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.7
    letterSpacing: 0.008em
  label-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 550
    lineHeight: 1.43
    letterSpacing: 0.007em
  label-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 650
    lineHeight: 1.5
    letterSpacing: 0.008em
  code:
    fontFamily: ui-monospace
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
    letterSpacing: 0.006em
  headline-display-mobile:
    fontFamily: system-ui
    fontSize: 25px
    fontWeight: 720
    lineHeight: 1.15
    letterSpacing: -0.035em
  headline-lg-mobile:
    fontFamily: system-ui
    fontSize: 20px
    fontWeight: 750
    lineHeight: 1.35
    letterSpacing: -0.035em
  headline-md-mobile:
    fontFamily: system-ui
    fontSize: 19.5px
    fontWeight: 600
    lineHeight: 1.35
    letterSpacing: 0.005em
rounded:
  sm: 4px
  md: 6px
  lg: 8px
  xl: 12px
  full: 9999px
spacing:
  xs: 4px
  sm: 6px
  md: 10px
  lg: 24px
  gutter: 10px
  margin: 14px
components:
  button-primary:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.lg}"
    padding: 7px 12px
    height: 36px
  button-primary-hover:
    backgroundColor: "#F8DFAA"
  button-outline:
    backgroundColor: "#EDF0FB"
    textColor: "{colors.primary}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.lg}"
    padding: 7px 11px
    height: 34px
  button-outline-hover:
    textColor: "{colors.tertiary}"
  button-ghost:
    backgroundColor: "{colors.surface-container-highest}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.lg}"
    padding: 7px 11px
    height: 34px
  input-field:
    textColor: "{colors.on-surface}"
    rounded: 0px
    padding: 0px
  card:
    textColor: "#342B20"
    typography: "{typography.body-md}"
    rounded: 18px
    padding: 16px 24px 16px 20px
  link:
    textColor: "{colors.on-surface}"
---

# VibeHub Design System

## Overview

VibeHub describes itself as: “Learn frontend terms through visual examples, real use cases, and clear explanations written for people building with vibe coding.” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#18181B)** text, and **Blue (#3559D8)** as the main accent.

Type is set in **system-ui**, with **ui-monospace** for code. Headlines run large with tight negative tracking; body text is 15px. Depth comes from soft drop shadows. Corners are mostly 12px.

Measured from [vibe-hub.org/en](https://vibe-hub.org/en) (the site sent our reader to its /en version; vibe-hub.org was asked for) on November 15, 2026 at 1440×900 and 390×844 from 576 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 17 roles, plus gradient stops #FBF3E2.

- **White (#FFFFFF):** Page background, seen 95 times. Token `background`, CSS `--on-brand`.
- **Charcoal (#18181B):** Primary text and headings, seen 133 times. Token `on-surface`, CSS `--text`.
- **Deep Orange (#3E2D15):** Secondary text, seen 2 times. Token `on-surface-variant`.
- **Cool Slate (#52525B):** Muted text and metadata, seen 68 times. Token `on-surface-muted`, CSS `--text-2`.
- **Cool Slate (#686E79):** Subtle text and placeholders, seen 20 times. Token `on-surface-subtle`, CSS `--text-3`.
- **Snow (#FAFAFA):** Raised areas one step from the page, seen 34 times. Token `surface-container-low`, CSS `--bg-soft`.
- **Pale Green (#E8FFEA):** Cards and panels, seen 2 times. Token `surface-container`, CSS `--green-light`.
- **Snow (#F0F9F3):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Snow (#F4F4F5):** Highest raised elements, seen 1 time. Token `surface-container-highest`, CSS `--bg-hover`.
- **Light Amber 65% (#EFE0BDA6):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **White 82% (#FFFFFFD1):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Mist (#E4E4E7):** Borders and dividers, seen 94 times. Token `outline`, CSS `--border`.
- **Mist (#F0F0F2):** Secondary dividers, seen 24 times. Token `outline-variant`, CSS `--border-light`.
- **Blue (#3559D8):** Brand accent (CSS variable), seen 32 times. Token `primary`, CSS `--accent`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Light Amber (#EFD69E):** Secondary buttons, seen 1 time. Token `secondary`.
- **Blue (#2A46B4):** Accent (CSS variable). Token `tertiary`.

## Typography

**system-ui** and **ui-monospace** (monospace) share the interface. Fallback stack: `-apple-system, BlinkMacSystemFont, PingFang SC, Helvetica Neue`. Other loaded fonts: Manrope Variable, tabler-icons.

- **headline-display:** system-ui 31px at weight 720, line height 1.15, tracking -0.035em (25px on mobile). Page title (h1).
- **headline-lg:** system-ui 23px at weight 750, line height 1.35, tracking -0.035em (20px on mobile). Section headings (h2).
- **headline-md:** system-ui 22px at weight 600, line height 1.7, tracking 0.005em (19.5px on mobile). Sub-section headings.
- **headline-sm:** system-ui 20px at weight 700, line height 1.4, tracking 0.005em. Card and feature titles.
- **body-md:** system-ui 15px at weight 400, line height 1.7, tracking 0.007em. Body text.
- **body-lg:** system-ui 16px at weight 400, line height 1.7, tracking 0.006em. Lead paragraphs.
- **body-sm:** system-ui 14px at weight 400, line height 2, tracking 0.007em. Secondary and small text.
- **caption:** system-ui 12px at weight 400, line height 1.7, tracking 0.008em. Captions and fine print.
- **label-md:** system-ui 14px at weight 550, line height 1.43, tracking 0.007em. Buttons, navigation and labels.
- **label-sm:** system-ui 12px at weight 650, line height 1.5, tracking 0.008em. Small labels and badges.
- **code:** ui-monospace 16px at weight 600, line height 1.5, tracking 0.006em. Code and technical values.

## Layout

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

- **Scale:** xs 4px, sm 6px, md 10px, lg 24px.
- **Gaps:** 10px is the most common gap in flex and grid layouts.
- **Page margin:** 14px on each side of full-width sections.
- **Breakpoints:** 380px, 400px, 460px, 480px, 560px, 561px, 640px, 720px, 721px, 760px, 960px, 1023px, 1100px, 1101px, 1121px, 1140px, 1240px, 1320px, 1440px.

## Elevation & Depth

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

- `rgba(255, 255, 255, 0.314) 0px 1px 0px 0px inset, rgba(96, 65, 18, 0.04) 0px 2px 2px 0px`
- `rgba(49, 36, 21, 0.25) 0px 18px 56px -16px, rgba(49, 36, 21, 0.047) 0px 3px 10px 0px, rgba(255, 255, 255, 0.19) 0px 1px 0px 0px inset`

## Shapes

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

- **xl (12px):** 300 elements.
- **lg (8px):** 228 elements.
- **full (9999px):** 136 elements.
- **md (6px):** 64 elements.
- **sm (4px):** 32 elements.

## Components

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

- **button-primary (“Read at book.oiloil.org →”):** #EFD69E fill, #3E2D15 text, 12px/650, 8px radius, padding 7px 12px, border 1px solid #D4B576, shadow `rgba(255, 255, 255, 0.314) 0px 1px 0px 0px inset, rgba(96, 65, 18, 0.04) 0px 2px 2px 0px`.
- **button-primary-hover:** background #F8DFAA, text #3E2D15 on hover.
- **button-outline (“Skill”):** #EDF0FB fill, #3559D8 text, 14px/650, 8px radius, padding 7px 11px.
- **button-outline-hover:** background #EDF0FB, text #2A46B4 on hover.
- **button-ghost (“Terms”):** #F4F4F5 fill, #18181B text, 14px/650, 8px radius, padding 7px 11px.
- **input-field (“Search terms: try button, hover,”):** transparent fill, #18181B text, 13px/400, padding 0px.
- **card:** transparent fill, #342B20 text, 15px/400, 18px radius, padding 16px 24px 16px 20px, border 1px solid #E4D8BE, shadow `rgba(49, 36, 21, 0.25) 0px 18px 56px -16px, rgba(49, 36, 21, 0.047) 0px 3px 10px 0px, rgba(255, 255, 255, 0.19) 0px 1px 0px 0px inset`.
- **link:** transparent fill, #18181B text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FAFAFA, #E8FFEA, #F0F9F3, #F4F4F5.
- Do keep text in 4 levels: #18181B, #3E2D15, #52525B, #686E79.
- Do use #3559D8 as the brand accent: header, logo and key highlights.
- Do set headlines in system-ui with tight tracking (-0.035em).
- Do reuse the measured spacing steps (6px, 10px, 24px).
- Do use 12px corners on most elements; larger surfaces also use 8px, 6px and 4px.
- Don't introduce new font families beyond system-ui and ui-monospace.
- Don't use #3559D8 for large backgrounds or body text.
- Don't make interface transitions slower than 0.5s.

## Motion

Interface transitions are quick: 0.25s, 0.18s, 0.2s, 0.42s.

- **Easing:** `cubic-bezier(0.2, 0.8, 0.2, 1)`, `ease`, `cubic-bezier(0.22, 1, 0.36, 1)`.
- **Reduced motion:** the page responds to `prefers-reduced-motion`.

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