---
version: alpha
name: CODE RUSH 2.0
description: "Dark monochrome interface measured from code-rush-20.vercel.app: Bebas Neue type with DM Sans, flat surfaces and pill-shaped controls."
colors:
  background: "#0A0A09"
  surface: "#0A0A09"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#C8C7C0"
  on-surface-muted: "#A9A9A9"
  on-surface-subtle: "#888884"
  overlay: "#FFFFFF04"
  overlay-strong: "#0A0A09D9"
  outline: "#FFFFFF26"
  outline-variant: "#FFFFFF33"
  primary: "#FFFFFF"
  on-primary: "#0A0A09"
typography:
  headline-display:
    fontFamily: Bebas Neue
    fontSize: 173px
    fontWeight: 700
    lineHeight: 0.92
    letterSpacing: 0.02em
  headline-lg:
    fontFamily: Bebas Neue
    fontSize: 80px
    fontWeight: 700
    lineHeight: 0.92
    letterSpacing: 0.02em
  headline-md:
    fontFamily: Bebas Neue
    fontSize: 41.5px
    fontWeight: 700
    lineHeight: 0.92
    letterSpacing: 0.02em
  headline-sm:
    fontFamily: Bebas Neue
    fontSize: 36px
    fontWeight: 400
    lineHeight: 1.1
    letterSpacing: 0.06em
  body-md:
    fontFamily: DM Sans
    fontSize: 14.5px
    fontWeight: 300
    lineHeight: 1.8
  body-lg:
    fontFamily: DM Sans
    fontSize: 17px
    fontWeight: 300
    lineHeight: 1.85
  body-sm:
    fontFamily: DM Sans
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.6
    letterSpacing: 0.12em
  caption:
    fontFamily: Arial
    fontSize: 12px
    fontWeight: 400
  label-md:
    fontFamily: DM Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.6
  label-sm:
    fontFamily: DM Sans
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.6
    letterSpacing: 0.1em
  code:
    fontFamily: JetBrains Mono
    fontSize: 11px
    fontWeight: 400
    lineHeight: 1.6
    letterSpacing: 0.2em
  headline-display-mobile:
    fontFamily: Bebas Neue
    fontSize: 54.5px
    fontWeight: 700
    lineHeight: 0.95
    letterSpacing: 0.02em
  headline-lg-mobile:
    fontFamily: Bebas Neue
    fontSize: 45px
    fontWeight: 700
    lineHeight: 0.92
    letterSpacing: 0.02em
  headline-md-mobile:
    fontFamily: Bebas Neue
    fontSize: 29px
    fontWeight: 700
    lineHeight: 0.92
    letterSpacing: 0.02em
rounded:
  md: 4px
  full: 9999px
spacing:
  sm: 8px
  md: 16px
  lg: 24px
  xl: 64px
  gutter: 16px
  section: 112px
  margin: 64px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.caption}"
    rounded: "{rounded.md}"
    padding: 7.2px 19.2px
    height: 34px
  button-primary-hover:
    backgroundColor: "{colors.on-surface-variant}"
  button-outline:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-sm}"
    rounded: "{rounded.md}"
    padding: 13.6px 32px
    height: 50px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-sm}"
    rounded: 0px
    padding: 11.2px 28.8px
    height: 45px
  card:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    rounded: 0px
    padding: 32px
  link:
    textColor: "{colors.on-surface-subtle}"
---

# CODE RUSH 2.0 Design System

## Overview

CODE RUSH 2.0 describes itself as: “CMRIT's flagship 24-hour hackathon. 24–25 November at 9:30 AM. CMR Institute of Technology, Bengaluru.” The interface is dark, built on **Near Black (#0A0A09)** with **White (#FFFFFF)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Bebas Neue** and **DM Sans**, with **JetBrains Mono** for code. Headlines run large; body text is 14.5px. Depth comes from hairline borders and inset highlights rather than drop shadows. Controls are pill-shaped.

Measured from [code-rush-20.vercel.app](https://code-rush-20.vercel.app/) on December 1, 2026 at 1440×900 and 390×844 from 126 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 11 roles.

- **Near Black (#0A0A09):** Page background, seen 11 times. Token `background`, CSS `--black`.
- **White (#FFFFFF):** Primary text and headings, seen 31 times. Token `on-surface`, CSS `--white`.
- **Warm Silver (#C8C7C0):** Secondary text, seen 9 times. Token `on-surface-variant`, CSS `--mid`.
- **Gray (#A9A9A9):** Muted text and metadata, seen 2 times. Token `on-surface-muted`.
- **Gray (#888884):** Subtle text and placeholders, seen 37 times. Token `on-surface-subtle`, CSS `--muted`.
- **White 2% (#FFFFFF04):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Near Black 85% (#0A0A09D9):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **White 15% (#FFFFFF26):** Borders and dividers, seen 7 times. Token `outline`.
- **White 20% (#FFFFFF33):** Secondary dividers, seen 6 times. Token `outline-variant`.
- **White (#FFFFFF):** Primary buttons and calls to action, seen 36 times. Token `primary`, CSS `--white`.
- **Near Black (#0A0A09):** Text and icons on primary. Token `on-primary`.

## Typography

**Bebas Neue**, **DM Sans**, **Arial** and **JetBrains Mono** (monospace) share the interface. Fallback stack: `Bebas Neue, sans-serif`.

- **headline-display:** Bebas Neue 173px at weight 700, line height 0.92, tracking 0.02em (54.5px on mobile). Page title (h1).
- **headline-lg:** Bebas Neue 80px at weight 700, line height 0.92, tracking 0.02em (45px on mobile). Section headings (h2).
- **headline-md:** Bebas Neue 41.5px at weight 700, line height 0.92, tracking 0.02em (29px on mobile). Sub-section headings.
- **headline-sm:** Bebas Neue 36px at weight 400, line height 1.1, tracking 0.06em. Card and feature titles.
- **body-md:** DM Sans 14.5px at weight 300, line height 1.8. Body text.
- **body-lg:** DM Sans 17px at weight 300, line height 1.85. Lead paragraphs.
- **body-sm:** DM Sans 13px at weight 400, line height 1.6, tracking 0.12em. Secondary and small text.
- **caption:** Arial 12px at weight 400. Captions and fine print.
- **label-md:** DM Sans 16px at weight 400, line height 1.6. Buttons, navigation and labels.
- **label-sm:** DM Sans 13px at weight 500, line height 1.6, tracking 0.1em. Small labels and badges.
- **code:** JetBrains Mono 11px at weight 400, line height 1.6, tracking 0.2em, uppercase. Code and technical values.

## Layout

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

- **Scale:** sm 8px, md 16px, lg 24px, xl 64px.
- **Sections:** 112px vertical padding between major sections.
- **Gaps:** 16px is the most common gap in flex and grid layouts.
- **Page margin:** 64px on each side of full-width sections.
- **Breakpoints:** 640px, 768px, 769px.

## Elevation & Depth

The design avoids drop shadows. Layers are separated by tonal surface steps and hairline rings:

- `rgba(255, 255, 255, 0.12) 0px 0px 0px 1px`

## Shapes

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

- **md (4px):** 32 elements.
- **full (9999px):** 20 elements.

## Components

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

- **button-primary (“REGISTER NOW”):** #FFFFFF fill, #0A0A09 text, 12px/500, 4px radius, padding 7.2px 19.2px.
- **button-primary-hover:** background #C8C7C0, text #0A0A09 on hover.
- **button-outline (“LEARN MORE”):** transparent fill, #FFFFFF text, 12.8px/500, 4px radius, padding 13.6px 32px, border 1px solid #FFFFFF40.
- **button-ghost (“VIEW DETAILS”):** transparent fill, #FFFFFF text, 12.8px/400, padding 11.2px 28.8px, border 1px solid #FFFFFF33.
- **card:** transparent fill, #FFFFFF text, 16px/400, padding 32px, border 1px solid #FFFFFF14.
- **link:** transparent fill, #888884 text, padding 0px.

## Do's and Don'ts

- Do use #0A0A09 for the page.
- Do keep text in 4 levels: #FFFFFF, #C8C7C0, #A9A9A9, #888884.
- Do let contrast carry emphasis; primary actions use #FFFFFF on #0A0A09.
- Do reuse the measured spacing steps (8px, 16px, 24px).
- Do make buttons and chips fully rounded (9999px); most other elements use 4px corners.
- Don't add drop shadows for depth; use hairline rings and borders and contrast.
- Don't introduce new font families beyond Bebas Neue, DM Sans, Arial and JetBrains Mono.
- 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.2s, 0.25s, 0.15s, 0.3s.

- **Easing:** `ease`.

Generated by [Sitepeel](https://sitepeel.dev/design-md/code-rush-20.vercel.app/), the free DESIGN.md generator (engine 2026.10.29+f0c146f7cdfd).
