---
version: alpha
name: Sagar K. Ghosh
description: "Light monochrome interface measured from codeofsagar.in: spaceGrotesk type, tonal surfaces and 3px corners."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#0F0F0F"
  on-background: "#0F0F0F"
  on-surface-variant: "#171717"
  surface-container-low: "#F6F4D4"
  surface-container: "#DDE4C3"
  overlay: "#17171759"
  overlay-strong: "#0F0F0F33"
  outline: "#F2EFE833"
  primary: "#0F0F0F"
  on-primary: "#FFFFFF"
typography:
  headline-display:
    fontFamily: spaceGrotesk
    fontSize: 121px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.05em
  headline-lg:
    fontFamily: spaceGrotesk
    fontSize: 71px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -0.03em
  headline-md:
    fontFamily: spaceGrotesk
    fontSize: 52px
    fontWeight: 600
    lineHeight: 1
    letterSpacing: -0.05em
  headline-sm:
    fontFamily: spaceGrotesk
    fontSize: 37px
    fontWeight: 600
    lineHeight: 1.02
    letterSpacing: -0.045em
  title-lg:
    fontFamily: spaceGrotesk
    fontSize: 22px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.03em
  body-md:
    fontFamily: spaceGrotesk
    fontSize: 17px
    fontWeight: 600
    lineHeight: 1.3
    letterSpacing: -0.005em
  label-md:
    fontFamily: spaceGrotesk
    fontSize: 17px
    fontWeight: 700
    lineHeight: 1.3
    letterSpacing: -0.005em
  code:
    fontFamily: spaceMono
    fontSize: 14.5px
    fontWeight: 700
    lineHeight: 1.3
    letterSpacing: 0.04em
  headline-md-mobile:
    fontFamily: spaceGrotesk
    fontSize: 41px
    fontWeight: 600
    lineHeight: 1
    letterSpacing: -0.05em
  headline-display-mobile:
    fontFamily: spaceGrotesk
    fontSize: 41px
    fontWeight: 600
    lineHeight: 1
    letterSpacing: -0.05em
rounded:
  md: 3px
spacing:
  xs: 4px
  sm: 5.18px
  md: 9.6px
  lg: 28.8px
  xl: 36px
  gutter: 9.6px
components:
  button-ghost:
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: 0px
    padding: 0px 4px
  link:
    textColor: "{colors.primary}"
---

# Sagar K. Ghosh Design System

## Overview

Sagar K. Ghosh describes itself as: “Websites and stores that sell, 3D people remember and automation that gives your team its time back, designed and built by Sagar K. Ghosh.” The interface is light, built on **White (#FFFFFF)** with **Charcoal (#0F0F0F)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **spaceGrotesk**, with **spaceMono** for code. Headlines run large with tight negative tracking; body text is 17px. Depth comes from soft drop shadows. Corners are mostly 3px.

Measured from [codeofsagar.in](https://codeofsagar.in/) on November 12, 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 10 roles, plus gradient stops #A7C3E2, #C6D6E8.

- **White (#FFFFFF):** Page background, seen 5 times. Token `background`, CSS `--theme-bleached-silk`.
- **Charcoal (#0F0F0F):** Primary text and headings, seen 66 times. Token `on-surface`, CSS `--theme-black-olive`.
- **Charcoal (#171717):** Secondary text, seen 5 times. Token `on-surface-variant`.
- **Pale Yellow (#F6F4D4):** Raised areas one step from the page, seen 2 times. Token `surface-container-low`, CSS `--brand-yellow`.
- **Light Lime (#DDE4C3):** Cards and panels, seen 2 times. Token `surface-container`, CSS `--brand-accent`.
- **Charcoal 35% (#17171759):** Translucent fill for cards and controls, seen 3 times. Token `overlay`.
- **Charcoal 20% (#0F0F0F33):** Stronger translucent fill, seen 1 time. Token `overlay-strong`.
- **Warm Mist 20% (#F2EFE833):** Borders and dividers, seen 1 time. Token `outline`.
- **Charcoal (#0F0F0F):** Primary actions (the main text color; the palette is monochrome), seen 75 times. Token `primary`, CSS `--theme-black-olive`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.

## Typography

**spaceGrotesk** and **spaceMono** (monospace) share the interface. Fallback stack: `spaceGrotesk, spaceGrotesk Fallback, ui-sans-serif, system-ui`.

- **headline-display:** spaceGrotesk 121px at weight 500, line height 1, tracking -0.05em, capitalize (41px on mobile). Page title (h1).
- **headline-lg:** spaceGrotesk 71px at weight 400, line height 1, tracking -0.03em, capitalize. Section headings (h2).
- **headline-md:** spaceGrotesk 52px at weight 600, line height 1, tracking -0.05em, capitalize (41px on mobile). Sub-section headings.
- **headline-sm:** spaceGrotesk 37px at weight 600, line height 1.02, tracking -0.045em. Card and feature titles.
- **title-lg:** spaceGrotesk 22px at weight 500, line height 1, tracking -0.03em. Small titles.
- **body-md:** spaceGrotesk 17px at weight 600, line height 1.3, tracking -0.005em. Body text.
- **label-md:** spaceGrotesk 17px at weight 700, line height 1.3, tracking -0.005em. Buttons, navigation and labels.
- **code:** spaceMono 14.5px at weight 700, line height 1.3, tracking 0.04em. Code and technical values.

## Layout

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

- **Scale:** xs 4px, sm 5.18px, md 9.6px, lg 28.8px, xl 36px.
- **Gaps:** 9.6px is the most common gap in flex and grid layouts.
- **Breakpoints:** 380px, 400px, 640px, 700px, 701px, 767px, 768px, 1023px, 1700px.

## Elevation & Depth

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

- `rgba(255, 238, 205, 0.45) 0px 0px 8px 2px`

## Shapes

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

- **md (3px):** 8 elements.

## Components

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

- **button-ghost (“SOUND”):** transparent fill, #FFFFFF text, 17px/700, padding 0px 4px.
- **link:** transparent fill, #0F0F0F text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #F6F4D4, #DDE4C3.
- Do keep text in 2 levels: #0F0F0F, #171717.
- Do let contrast carry emphasis; primary actions use #0F0F0F on #FFFFFF.
- Do set headlines in spaceGrotesk with tight tracking (-0.05em).
- Do reuse the measured spacing steps (5.18px, 9.6px, 28.8px).
- Do use 3px corners on most elements.
- Don't introduce new font families beyond spaceGrotesk and spaceMono.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.6s.

## Motion

Interface transitions are quick: 0.45s, 0.52s, 0.6s, 0.5s. Longer ambient animations run 0.76s, 1s.

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

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