---
version: alpha
name: Nipun
description: "Dark interface measured from nipun-platform.firebaseapp.com: Outfit type, teal accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#070A13"
  surface: "#070A13"
  on-surface: "#FFFFFF"
  on-background: "#FFFFFF"
  on-surface-variant: "#94A3B8"
  on-surface-muted: "#64748B"
  surface-container-low: "#090D16F2"
  overlay: "#070A1399"
  overlay-strong: "#0B0F1999"
  outline: "#1E293B"
  outline-variant: "#10B98133"
  primary: "#10B981"
  on-primary: "#FFFFFF"
  secondary: "#059669"
  tertiary: "#082424"
  success: "#34D399"
typography:
  headline-display:
    fontFamily: Outfit
    fontSize: 60px
    fontWeight: 800
    lineHeight: 1
  headline-lg:
    fontFamily: Outfit
    fontSize: 36px
    fontWeight: 800
    lineHeight: 1.11
  headline-md:
    fontFamily: Outfit
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.4
  body-md:
    fontFamily: Outfit
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: Outfit
    fontSize: 18px
    fontWeight: 700
    lineHeight: 1.56
  body-sm:
    fontFamily: Outfit
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-md:
    fontFamily: Outfit
    fontSize: 17.5px
    fontWeight: 600
    lineHeight: 1.5
  label-sm:
    fontFamily: Outfit
    fontSize: 14px
    fontWeight: 600
    lineHeight: 1.43
    letterSpacing: 0.05em
  headline-display-mobile:
    fontFamily: Outfit
    fontSize: 36px
    fontWeight: 800
    lineHeight: 1.5
  headline-lg-mobile:
    fontFamily: Outfit
    fontSize: 30px
    fontWeight: 800
    lineHeight: 1.2
rounded:
  sm: 4px
  md: 10px
  lg: 12px
  full: 9999px
spacing:
  xs: 2px
  sm: 8px
  md: 16px
  lg: 24px
  xl: 48px
  gutter: 8px
  section: 96px
  container: 896px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: "{rounded.md}"
    padding: 0px 32px
    height: 46px
  button-primary-hover:
    backgroundColor: "{colors.secondary}"
  card:
    backgroundColor: "{colors.overlay-strong}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.lg}"
    padding: 0px
  link:
    textColor: "{colors.on-surface-variant}"
---

# Nipun Design System

## Overview

The interface is dark, built on **Cool Charcoal (#070A13)** with **White (#FFFFFF)** text, and **Teal (#10B981)** as the main accent.

Type is set in **Outfit**. Headlines run large; body text is 16px. Depth comes from soft drop shadows. Controls are pill-shaped.

Measured from [nipun-platform.firebaseapp.com](https://nipun-platform.firebaseapp.com/) on November 7, 2026 at 1440×900 and 390×844 from 151 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 14 roles.

- **Cool Charcoal (#070A13):** Page background, seen 5 times. Token `background`, CSS `--bg-primary`.
- **White (#FFFFFF):** Primary text and headings, seen 28 times. Token `on-surface`, CSS `--tw-ring-offset-color`.
- **Blue (#94A3B8):** Secondary text, seen 25 times. Token `on-surface-variant`, CSS `--text-secondary`.
- **Blue (#64748B):** Muted text and metadata, seen 15 times. Token `on-surface-muted`.
- **Cool Charcoal 95% (#090D16F2):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Cool Charcoal 60% (#070A1399):** Translucent fill for cards and controls, seen 2 times. Token `overlay`.
- **Cool Charcoal 60% (#0B0F1999):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Deep Blue (#1E293B):** Borders and dividers, seen 2 times. Token `outline`.
- **Teal 20% (#10B98133):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Teal (#10B981):** Primary buttons and calls to action, seen 8 times. Token `primary`, CSS `--accent`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Dark Teal (#059669):** Accent (CSS variable). Token `secondary`.
- **Deep Cyan (#082424):** Accent (CSS variable). Token `tertiary`.
- **Teal (#34D399):** Success and positive states, seen 7 times. Token `success`.

## Typography

**Outfit** carries the whole interface. Fallback stack: `Outfit, sans-serif`.

- **headline-display:** Outfit 60px at weight 800, line height 1 (36px on mobile). Page title (h1).
- **headline-lg:** Outfit 36px at weight 800, line height 1.11 (30px on mobile). Section headings (h2).
- **headline-md:** Outfit 20px at weight 700, line height 1.4. Sub-section headings.
- **body-md:** Outfit 16px at weight 400, line height 1.5. Body text.
- **body-lg:** Outfit 18px at weight 700, line height 1.56. Lead paragraphs.
- **body-sm:** Outfit 12px at weight 400, line height 1.33. Secondary and small text.
- **label-md:** Outfit 17.5px at weight 600, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Outfit 14px at weight 600, line height 1.43, tracking 0.05em. Small labels and badges.

## Layout

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

- **Scale:** xs 2px, sm 8px, md 16px, lg 24px, xl 48px.
- **Sections:** 96px vertical padding between major sections.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 896px.
- **Breakpoints:** 480px, 600px, 639px, 640px, 680px, 768px, 800px, 1024px, 1280px, 1536px.

## Elevation & Depth

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

- `rgba(16, 185, 129, 0.25) 0px 2px 10px 0px`

## Shapes

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

- **lg (12px):** 20 elements.
- **full (9999px):** 12 elements.
- **md (10px):** 8 elements.
- **sm (4px):** 4 elements.

## Components

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

- **button-primary (“Get Started”):** #10B981 fill, #FFFFFF text, 14.72px/600, 10px radius, padding 0px 32px, shadow `rgba(16, 185, 129, 0.25) 0px 2px 10px 0px`.
- **button-primary-hover:** background #059669, text #FFFFFF on hover.
- **card:** #0B0F1999 fill, #FFFFFF text, 16px/400, 12px radius, padding 0px, border 1px solid #1E293B.
- **link:** transparent fill, #94A3B8 text, padding 0px.

## Do's and Don'ts

- Do use #070A13 for the page and lift surfaces in small steps: #090D16F2.
- Do keep text in 3 levels: #FFFFFF, #94A3B8, #64748B.
- Do reserve #10B981 for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 16px, 24px).
- Do make buttons and chips fully rounded (9999px); most other elements use 12px corners.
- Don't use #64748B for body text; it reaches 4.16:1 on #070A13. Keep it for large text or metadata.
- Don't introduce new font families beyond Outfit.
- Don't use #10B981 for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.15s, 0.2s, 0.3s. Longer ambient animations run 1s.

- **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/nipun-platform.firebaseapp.com/), the free DESIGN.md generator (engine 2026.10.29+b828a475ee10).
