---
version: alpha
name: CombatFlow
description: "Light interface measured from combat-flow-tkd.ai.studio: ui-serif type with system-ui, red accents, tonal surfaces and 6px corners."
colors:
  background: "#ECE7DC"
  surface: "#ECE7DC"
  on-surface: "#1E293B"
  on-background: "#1E293B"
  on-surface-variant: "#3E3A33"
  on-surface-muted: "#3D4553"
  on-surface-subtle: "#5B5750"
  surface-container-low: "#EBE4D7"
  surface-container: "#FEF2F2"
  surface-container-high: "#EFF6FF"
  surface-container-highest: "#ECFDF5"
  outline: "#CBD5E1"
  outline-variant: "#2B272126"
  primary: "#DC2626"
  on-primary: "#FFFFFF"
  secondary: "#B91C1C"
  error: "#E7000B"
typography:
  headline-display:
    fontFamily: ui-serif
    fontSize: 60px
    fontWeight: 900
    lineHeight: 1.08
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: ui-serif
    fontSize: 44px
    fontWeight: 900
    lineHeight: 1.15
    letterSpacing: -0.025em
  headline-md:
    fontFamily: ui-serif
    fontSize: 30px
    fontWeight: 900
    lineHeight: 1
  body-md:
    fontFamily: system-ui
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: ui-serif
    fontSize: 18px
    fontWeight: 900
    lineHeight: 1.25
  body-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  caption:
    fontFamily: system-ui
    fontSize: 11px
    fontWeight: 400
    lineHeight: 1.63
  label-md:
    fontFamily: system-ui
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
  label-sm:
    fontFamily: system-ui
    fontSize: 12px
    fontWeight: 700
    lineHeight: 1.33
  code:
    fontFamily: ui-monospace
    fontSize: 12px
    fontWeight: 700
    lineHeight: 1.25
    letterSpacing: -0.025em
  headline-display-mobile:
    fontFamily: ui-serif
    fontSize: 29.5px
    fontWeight: 900
    lineHeight: 1.08
    letterSpacing: -0.025em
  headline-lg-mobile:
    fontFamily: ui-serif
    fontSize: 24px
    fontWeight: 900
    lineHeight: 1.15
    letterSpacing: -0.025em
rounded:
  sm: 6px
  md: 8px
  lg: 12px
spacing:
  xs: 4px
  sm: 8px
  md: 10px
  lg: 24px
  xl: 56px
  gutter: 8px
  section: 56px
  margin: 24px
  container: 1280px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.body-sm}"
    rounded: "{rounded.md}"
    padding: 8px 16px
    height: 34px
  button-secondary:
    textColor: "#0F172A"
    typography: "{typography.body-sm}"
    rounded: "{rounded.md}"
    padding: 8px 16px
    height: 34px
  button-ghost:
    typography: "{typography.body-md}"
    rounded: 0px
    padding: 4px 0px
  link:
    textColor: "#2B2721E6"
---

# CombatFlow Design System

## Overview

CombatFlow describes itself as: “CombatFlow is the premier platform for professional Taekwondo event management, automated knockout bracket generation, real-time referee scoring, and live broadcast scorecards.” The interface is light, built on **Warm Mist (#ECE7DC)** with **Deep Blue (#1E293B)** text, and **Red (#DC2626)** as the main accent.

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

Measured from [combat-flow-tkd.ai.studio](https://combat-flow-tkd.ai.studio/) on November 11, 2026 at 1440×900 and 390×844 from 240 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles.

- **Warm Mist (#ECE7DC):** Page background. Token `background`.
- **Deep Blue (#1E293B):** Primary text and headings, seen 33 times. Token `on-surface`.
- **Warm Graphite (#3E3A33):** Secondary text, seen 9 times. Token `on-surface-variant`.
- **Dark Blue (#3D4553):** Muted text and metadata, seen 6 times. Token `on-surface-muted`.
- **Warm Slate (#5B5750):** Subtle text and placeholders, seen 16 times. Token `on-surface-subtle`.
- **Pale Orange (#EBE4D7):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Warm Snow (#FEF2F2):** Cards and panels, seen 1 time. Token `surface-container`.
- **Cool Snow (#EFF6FF):** Hover and pressed fills, seen 1 time. Token `surface-container-high`.
- **Snow (#ECFDF5):** Highest raised elements, seen 1 time. Token `surface-container-highest`.
- **Light Blue (#CBD5E1):** Borders and dividers, seen 2 times. Token `outline`.
- **Warm Graphite 15% (#2B272126):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **Red (#DC2626):** Primary buttons and calls to action, seen 2 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Red (#B91C1C):** Accent in text, fills and borders, seen 2 times. Token `secondary`.
- **Vivid Red (#E7000B):** Errors and destructive states, seen 18 times. Token `error`.

## Typography

**ui-serif**, **system-ui** and **ui-monospace** (monospace) share the interface. Fallback stack: `ui-serif, Georgia, Cambria, Times New Roman`.

- **headline-display:** ui-serif 60px at weight 900, line height 1.08, tracking -0.025em, uppercase (29.5px on mobile). Page title (h1).
- **headline-lg:** ui-serif 44px at weight 900, line height 1.15, tracking -0.025em, uppercase (24px on mobile). Section headings (h2).
- **headline-md:** ui-serif 30px at weight 900, line height 1. Sub-section headings.
- **body-md:** system-ui 16px at weight 400, line height 1.5. Body text.
- **body-lg:** ui-serif 18px at weight 900, line height 1.25. Lead paragraphs.
- **body-sm:** system-ui 12px at weight 400, line height 1.33. Secondary and small text.
- **caption:** system-ui 11px at weight 400, line height 1.63. Captions and fine print.
- **label-md:** system-ui 14px at weight 600, line height 1.43. Buttons, navigation and labels.
- **label-sm:** system-ui 12px at weight 700, line height 1.33. Small labels and badges.
- **code:** ui-monospace 12px at weight 700, line height 1.25, tracking -0.025em, uppercase. Code and technical values.

## Layout

Spacing is mostly on a 4px grid (80% of measured values), with some off-grid steps. Match the measured scale rather than rounding everything.

- **Scale:** xs 4px, sm 8px, md 10px, lg 24px, xl 56px.
- **Sections:** 56px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1280px.
- **Page margin:** 24px on each side of full-width sections.
- **Breakpoints:** 640px.

## Elevation & Depth

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

- `rgb(255, 255, 255) 0px 1px 0px 0px inset, rgb(148, 163, 184) 0px 3px 0px 0px, rgba(0, 0, 0, 0.08) 0px 5px 10px 0px`
- `rgb(153, 27, 27) 0px 4px 0px 0px, rgba(220, 38, 38, 0.3) 0px 6px 14px 0px`
- `rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px`

## Shapes

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

- **sm (6px):** 12 elements.
- **md (8px):** 8 elements.
- **lg (12px):** 8 elements.

## Components

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

- **button-primary (“SIGN UP”):** #DC2626 fill, #FFFFFF text, 12px/800, 8px radius, padding 8px 16px, border 1px solid #B91C1C, shadow `rgb(153, 27, 27) 0px 4px 0px 0px, rgba(220, 38, 38, 0.3) 0px 6px 14px 0px`.
- **button-secondary (“SIGN IN”):** transparent fill, #0F172A text, 12px/800, 8px radius, padding 8px 16px, border 1px solid #CBD5E1, shadow `rgb(255, 255, 255) 0px 1px 0px 0px inset, rgb(148, 163, 184) 0px 3px 0px 0px, rgba(0, 0, 0, 0.08) 0px 5px 10px 0px`.
- **button-ghost (“HOME”):** transparent fill, 16px/400, padding 4px 0px.
- **link:** transparent fill, #2B2721E6 text, padding 0px.

## Do's and Don'ts

- Do use #ECE7DC for the page and lift surfaces in small steps: #EBE4D7, #FEF2F2, #EFF6FF, #ECFDF5.
- Do keep text in 4 levels: #1E293B, #3E3A33, #3D4553, #5B5750.
- Do reserve #DC2626 for primary actions and key highlights.
- Do set headlines in ui-serif with tight tracking (-0.025em).
- Do reuse the measured spacing steps (8px, 10px, 24px).
- Do use 6px corners on most elements; larger surfaces also use 8px and 12px.
- Don't introduce new font families beyond ui-serif, system-ui and ui-monospace.
- Don't use #DC2626 for large backgrounds or body text.
- Don't make interface transitions slower than 0.15s.

## Motion

Interface transitions are quick: 0.15s, 0.12s.

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

Generated by [Sitepeel](https://sitepeel.dev/design-md/combat-flow-tkd.ai.studio/), the free DESIGN.md generator (engine 2026.10.29+b828a475ee10).
