---
version: alpha
name: PEC Hacks 4.0
description: "Dark monochrome interface measured from pechacks.org: Inter type with system-ui, tonal surfaces and pill-shaped controls."
colors:
  background: "#000000"
  surface: "#000000"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#F5F5F7"
  on-surface-muted: "#B3B3B3"
  on-surface-subtle: "#999999"
  surface-container-low: "#050505"
  surface-container: "#020618"
  surface-container-high: "#0D0D12"
  overlay: "#FFFFFF4D"
  outline: "#FFFFFF1A"
  outline-variant: "#4285F48C"
  primary: "#FFFFFF"
  on-primary: "#000000"
  secondary: "#22D3EE"
  tertiary: "#EC4899"
typography:
  headline-display:
    fontFamily: Inter
    fontSize: 72px
    fontWeight: 900
    lineHeight: 1
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: system-ui
    fontSize: 48px
    fontWeight: 700
    lineHeight: 1
  headline-md:
    fontFamily: system-ui
    fontSize: 24px
    fontWeight: 700
    lineHeight: 1.33
  headline-sm:
    fontFamily: Inter
    fontSize: 21px
    fontWeight: 400
    lineHeight: 1.7
  body-md:
    fontFamily: Inter
    fontSize: 18px
    fontWeight: 700
    lineHeight: 1.56
  body-sm:
    fontFamily: Space Grotesk
    fontSize: 17px
    fontWeight: 600
    lineHeight: 1.5
  caption:
    fontFamily: Inter
    fontSize: 13.5px
    fontWeight: 400
    lineHeight: 1.5
  label-lg:
    fontFamily: Inter
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: Inter
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
    letterSpacing: 0.1em
  label-sm:
    fontFamily: Inter
    fontSize: 12.5px
    fontWeight: 700
    lineHeight: 1.5
    letterSpacing: 0.2em
  code:
    fontFamily: ui-monospace
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
    letterSpacing: 0.1em
  headline-display-mobile:
    fontFamily: Inter
    fontSize: 28px
    fontWeight: 900
    lineHeight: 1.2
    letterSpacing: -0.025em
rounded:
  sm: 8px
  md: 10px
  lg: 20px
  xl: 60px
  full: 9999px
spacing:
  xs: 2px
  sm: 8px
  md: 12px
  lg: 32px
  xl: 64px
  gutter: 32px
  section: 64px
  margin: 64px
components:
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    padding: 12px 24px
    height: 46px
  button-ghost:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 0px
  card:
    textColor: "{colors.on-surface}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 0px
  link:
    textColor: "{colors.on-primary}"
---

# PEC Hacks 4.0 Design System

## Overview

PEC Hacks 4.0 describes itself as: “PEC Hacks 4.0 — Free 36-hour student hackathon at Panimalar Engineering College, Chennai. August 29-30, 2026. Final team selection is complete.” The interface is dark, built on **Near Black (#000000)** with **White (#FFFFFF)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Inter** and **system-ui**, with **ui-monospace** for code. Headlines run large with tight negative tracking; body text is 18px. The surface language is flat. Controls are pill-shaped.

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

## Colors

The palette has 15 roles, plus gradient stops #4285F4B3, #A78BFAB3, #00ED64B3, #29B5E8B3.

- **Near Black (#000000):** Page background, seen 6 times. Token `background`, CSS `--palette-black`.
- **White (#FFFFFF):** Primary text and headings, seen 76 times. Token `on-surface`, CSS `--tw-ring-offset-color`.
- **Snow (#F5F5F7):** Secondary text, seen 13 times. Token `on-surface-variant`.
- **Gray (#B3B3B3):** Muted text and metadata, seen 10 times. Token `on-surface-muted`.
- **Gray (#999999):** Subtle text and placeholders, seen 11 times. Token `on-surface-subtle`.
- **Near Black (#050505):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Deep Indigo (#020618):** Cards and panels, seen 2 times. Token `surface-container`.
- **Charcoal (#0D0D12):** Hover and pressed fills, seen 12 times. Token `surface-container-high`.
- **White 30% (#FFFFFF4D):** Translucent fill for cards and controls, seen 2 times. Token `overlay`.
- **White 10% (#FFFFFF1A):** Borders and dividers, seen 11 times. Token `outline`.
- **Vivid Blue 55% (#4285F48C):** Secondary dividers, seen 2 times. Token `outline-variant`.
- **White (#FFFFFF):** Primary actions (the main text color; the palette is monochrome), seen 96 times. Token `primary`, CSS `--tw-ring-offset-color`.
- **Near Black (#000000):** Text and icons on primary. Token `on-primary`.
- **Vivid Cyan (#22D3EE):** Accent, seen 5 times. Token `secondary`.
- **Vivid Pink (#EC4899):** Accent, seen 3 times. Token `tertiary`.

## Typography

**Inter**, **system-ui**, **Space Grotesk** and **ui-monospace** (monospace) share the interface. Fallback stack: `Inter, system-ui, sans-serif`. Other loaded fonts: Blanka.

- **headline-display:** Inter 72px at weight 900, line height 1, tracking -0.025em, uppercase (28px on mobile). Page title (h1).
- **headline-lg:** system-ui 48px at weight 700, line height 1. Section headings (h2).
- **headline-md:** system-ui 24px at weight 700, line height 1.33. Sub-section headings.
- **headline-sm:** Inter 21px at weight 400, line height 1.7. Card and feature titles.
- **body-md:** Inter 18px at weight 700, line height 1.56. Body text.
- **body-sm:** Space Grotesk 17px at weight 600, line height 1.5. Secondary and small text.
- **caption:** Inter 13.5px at weight 400, line height 1.5. Captions and fine print.
- **label-lg:** Inter 16px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** Inter 14px at weight 500, line height 1.43, tracking 0.1em. Buttons, navigation and labels.
- **label-sm:** Inter 12.5px at weight 700, line height 1.5, tracking 0.2em. Small labels and badges.
- **code:** ui-monospace 14px at weight 400, line height 1.43, tracking 0.1em. Code and technical values.

## Layout

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

- **Scale:** xs 2px, sm 8px, md 12px, lg 32px, xl 64px.
- **Sections:** 64px vertical padding between major sections.
- **Gaps:** 32px is the most common gap in flex and grid layouts.
- **Page margin:** 64px on each side of full-width sections.
- **Breakpoints:** 380px, 381px, 400px, 480px, 520px, 600px, 640px, 700px, 767px, 768px, 780px, 1023px, 1024px, 1025px, 1080px, 1440px, 1441px, 1919px, 1920px, 2560px.

## Elevation & Depth

The design is flat: no shadows were measured. Hierarchy comes from tonal surface steps (#050505 → #020618 → #0D0D12) and #FFFFFF1A borders.

## Shapes

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

- **lg (20px):** 48 elements.
- **full (9999px):** 48 elements.
- **md (10px):** 40 elements.
- **xl (60px):** 28 elements.
- **sm (8px):** 12 elements.

## Components

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

- **button-outline (“VISIT 3.0”):** #020618 fill, #FFFFFF text, 14px/700, 3.35544e+07px radius, padding 12px 24px, border 1px solid #FFFFFF66.
- **button-ghost (“Gemini API Google Swag Kits AWAR”):** transparent fill, #FFFFFF text, 16px/400, 10px radius, padding 0px.
- **card:** transparent fill, #FFFFFF text, 16px/400, 10px radius, padding 0px.
- **link:** transparent fill, #00000099 text, padding 0px.

## Do's and Don'ts

- Do use #000000 for the page and lift surfaces in small steps: #050505, #020618, #0D0D12.
- Do keep text in 4 levels: #FFFFFF, #F5F5F7, #B3B3B3, #999999.
- Do let contrast carry emphasis; primary actions use #FFFFFF on #000000.
- Do set headlines in Inter with tight tracking (-0.025em).
- Do reuse the measured spacing steps (8px, 12px, 32px).
- Do make buttons and chips fully rounded (9999px); most other elements use 20px corners.
- Don't add drop shadows for depth; use tonal surfaces.
- Don't introduce new font families beyond Inter, system-ui, Space Grotesk and ui-monospace.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.5s.

## Motion

Interface transitions are quick: 0.4s, 0.5s, 0.15s, 0.3s. Longer ambient animations run 0.8s.

- **Easing:** `ease`, `cubic-bezier(0.4, 0, 0.2, 1)`, `cubic-bezier(0.22, 1, 0.36, 1)`.

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