---
version: alpha
name: Mohan S P
description: "Light monochrome interface measured from mohanx.in: Instrument Serif type with Poppins, tonal surfaces and 18px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#737373"
  on-background: "#737373"
  on-surface-strong: "#0A0A0A"
  on-surface-variant: "#171717"
  on-surface-muted: "#8B949E"
  surface-container-low: "#FAFAFA"
  surface-container: "#F5F5F5"
  overlay: "#F5F5F5B3"
  outline: "#E5E5E5"
  outline-variant: "#FFB900"
  primary: "#737373"
  on-primary: "#FFFFFF"
  secondary: "#2B7FFF"
  tertiary: "#00BC7D"
  error: "#FB2C36"
typography:
  display-hero:
    fontFamily: Instrument Serif
    fontSize: 36px
    fontWeight: 400
    lineHeight: 1.11
  headline-display:
    fontFamily: Instrument Serif
    fontSize: 30px
    fontWeight: 400
    lineHeight: 1.2
  body-md:
    fontFamily: Poppins
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  body-sm:
    fontFamily: Poppins
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
  label-lg:
    fontFamily: Poppins
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: Poppins
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  label-sm:
    fontFamily: Poppins
    fontSize: 12px
    fontWeight: 500
    lineHeight: 1.33
    letterSpacing: 0.025em
  code:
    fontFamily: ui-monospace
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: 0.1em
  display-hero-mobile:
    fontFamily: Instrument Serif
    fontSize: 30px
    fontWeight: 400
    lineHeight: 1.2
  headline-display-mobile:
    fontFamily: Instrument Serif
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: -0.025em
rounded:
  xs: 6px
  sm: 8px
  md: 10px
  lg: 14px
  xl: 18px
spacing:
  base: 4px
  xs: 4px
  sm: 8px
  md: 12px
  lg: 20px
  xl: 40px
  gutter: 8px
  container: 672px
components:
  button-ghost:
    typography: "{typography.label-md}"
    rounded: "{rounded.md}"
    padding: 0px 10px
  link:
    textColor: "#000000"
---

# Mohan S P Design System

## Overview

Mohan S P describes itself as: “I build modern websites and digital products focused on design and performance.” The interface is light, built on **White (#FFFFFF)** with **Slate (#737373)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Instrument Serif** and **Poppins**, with **ui-monospace** for code. Headlines run large; body text is 14px. Depth comes from hairline borders and inset highlights rather than drop shadows. Corners are mostly 18px.

Measured from [mohanx.in](https://mohanx.in/) on November 19, 2026 at 1440×900 and 390×844 from 330 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles.

- **White (#FFFFFF):** Page background, seen 20 times. Token `background`, CSS `--tw-ring-offset-color`.
- **Slate (#737373):** Primary text and headings, seen 52 times. Token `on-surface`.
- **Near Black (#0A0A0A):** Headings and emphasis, seen 32 times. Token `on-surface-strong`.
- **Charcoal (#171717):** Secondary text, seen 3 times. Token `on-surface-variant`.
- **Cool Gray (#8B949E):** Muted text and metadata, seen 2 times. Token `on-surface-muted`.
- **Snow (#FAFAFA):** Raised areas one step from the page, seen 1 time. Token `surface-container-low`.
- **Snow (#F5F5F5):** Cards and panels, seen 8 times. Token `surface-container`.
- **Snow 70% (#F5F5F5B3):** Translucent fill for cards and controls, seen 1 time. Token `overlay`.
- **Mist (#E5E5E5):** Borders and dividers, seen 9 times. Token `outline`.
- **Vivid Amber (#FFB900):** Secondary dividers, seen 1 time. Token `outline-variant`.
- **Slate (#737373):** Primary actions (the main text color; the palette is monochrome), seen 68 times. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Blue (#2B7FFF):** Accent in text, fills and borders, seen 4 times. Token `secondary`.
- **Dark Teal (#00BC7D):** Accent in text, fills and borders, seen 2 times. Token `tertiary`.
- **Vivid Red (#FB2C36):** Errors and destructive states, seen 2 times. Token `error`.

## Typography

**Instrument Serif**, **Poppins** and **ui-monospace** (monospace) share the interface. Fallback stack: `Instrument Serif, Instrument Serif Fallback`. Other loaded fonts: Caveat.

- **display-hero:** Instrument Serif 36px at weight 400, line height 1.11 (30px on mobile). Oversized hero statements.
- **headline-display:** Instrument Serif 30px at weight 400, line height 1.2 (24px on mobile). Page title (h1).
- **body-md:** Poppins 14px at weight 400, line height 1.43. Body text.
- **body-sm:** Poppins 12px at weight 400, line height 1.33. Secondary and small text.
- **label-lg:** Poppins 16px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** Poppins 14px at weight 500, line height 1.43. Buttons, navigation and labels.
- **label-sm:** Poppins 12px at weight 500, line height 1.33, tracking 0.025em. Small labels and badges.
- **code:** ui-monospace 12px at weight 400, line height 1.33, tracking 0.1em. Code and technical values.

## Layout

Spacing follows a 4px grid: 93% of measured gaps and paddings are multiples of 4px.

- **Scale:** xs 4px, sm 8px, md 12px, lg 20px, xl 40px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 672px.
- **Breakpoints:** 600px.

## Elevation & Depth

Depth comes mostly from hairline rings and inset highlights on tonal surfaces (#FAFAFA → #F5F5F5):

- `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, lab(90.952 0 -0.0000119209) 0px 0px 0px 1px, rgba(0, 0, 0, 0.1) 1px 1px 4px 0px inset`
- `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, lab(84.92 0 -0.0000119209) 0px 0px 0px 1px, 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, lab(100 0 0) 0px 0px 0px 4px, rgba(0, 0, 0, 0) 0px 0px 0px 0px`

A few raised panels add a soft drop shadow: `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.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px`.

## Shapes

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

- **xl (18px):** 48 elements.
- **sm (8px):** 36 elements.
- **xs (6px):** 20 elements.
- **lg (14px):** 16 elements.
- **md (10px):** 8 elements.

## Components

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

- **button-ghost (“Show all projects”):** transparent fill, 14px/500, 10px radius, padding 0px 10px.
- **link:** transparent fill, #000000 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #FAFAFA, #F5F5F5.
- Do keep text in 4 levels: #737373, #0A0A0A, #171717, #8B949E.
- Do let contrast carry emphasis; primary actions use #737373 on #FFFFFF.
- Do keep spacing on the 4px grid.
- Do use 18px corners on most elements; larger surfaces also use 8px, 6px and 14px.
- Don't use #8B949E for body text; it reaches 3.08:1 on #FFFFFF. Keep it for large text or metadata.
- Don't use heavy drop shadows; keep depth to hairline rings and tonal surfaces.
- Don't introduce new font families beyond Instrument Serif, Poppins and ui-monospace.
- 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.15s, 0.2s, 0.3s. Longer ambient animations run 1s.

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

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