# Sagar K. Ghosh design system

> Sagar K. Ghosh design system measured from codeofsagar.in: spaceGrotesk font, 10 color hex codes, type scale, spacing and a free DESIGN.md. Free.

Canonical page: https://sitepeel.dev/design-md/codeofsagar.in/

Sagar K. Ghosh’s website (codeofsagar.in) uses the spaceGrotesk font on a white background. Measured by Sitepeel on November 12, 2026.

## What font does Sagar K. Ghosh use?

Sagar K. Ghosh uses spaceGrotesk (weights 400, 500, 600 and 700), with spaceMono for code on codeofsagar.in. Page titles are 121px at weight 500 (41px on phones) and body text is 17px. Measured on November 12, 2026.

- spaceGrotesk (weights 400, 500, 600, 700)
- spaceMono (weights 700)

## Sagar K. Ghosh colors: palette and hex codes

Sagar K. Ghosh’s main colors are #FFFFFF (white) for the background and #0F0F0F (charcoal) for text. Measured on November 12, 2026.

- #FFFFFF: white (rgb(255, 255, 255), hsl(0, 0%, 100%))
- #0F0F0F: charcoal (rgb(15, 15, 15), hsl(0, 0%, 6%))
- #171717: charcoal (rgb(23, 23, 23), hsl(0, 0%, 9%))
- #F6F4D4: pale yellow (rgb(246, 244, 212), hsl(56, 65%, 90%))
- #DDE4C3: light lime (rgb(221, 228, 195), hsl(73, 38%, 83%))

## What is Sagar K. Ghosh built with?

Sagar K. Ghosh’s website (codeofsagar.in) is built with Next.js, React, CSS Modules, Tailwind CSS and Vercel. Measured on November 12, 2026.

- JavaScript framework: Next.js 16.3.4, React 9.7.0
- Animation & 3D: GSAP 3.15.0, Lenis 1.3.26, Three.js r179, React Three Fiber
- Analytics: Vercel Web Analytics
- Hosting & CDN: Vercel
- UI & CSS: CSS Modules, Tailwind CSS 4.x

## Questions and answers

### What font does Sagar K. Ghosh use?

Sagar K. Ghosh’s website uses spaceGrotesk (weights 400, 500, 600 and 700), with spaceMono for code. Page titles are 121px at weight 500 (41px on phones) and body text is 17px. Measured on November 12, 2026.

### What are the Sagar K. Ghosh colors and hex codes?

On codeofsagar.in: #FFFFFF (white) for the background and #0F0F0F (charcoal) for text. The color palette above lists all 10 colors with their hex codes and where each one is used.

### What is the Sagar K. Ghosh design system?

The design system on this page is codeofsagar.in’s, as measured on November 12, 2026: spaceGrotesk type and 3px corners, written down as a DESIGN.md. It is not Sagar K. Ghosh’s own documentation.

### What is Sagar K. Ghosh built with?

Sagar K. Ghosh’s website (codeofsagar.in) is built with Next.js, React, CSS Modules, Tailwind CSS and Vercel. The full tech stack Sitepeel found: Next.js, React, GSAP, Lenis, Three.js, Vercel Web Analytics, Vercel, CSS Modules, Tailwind CSS and React Three Fiber. Measured on November 12, 2026.

### What is the Sagar K. Ghosh DESIGN.md?

A plain-text file with Sagar K. Ghosh’s measured colors, type, spacing, corners and components as tokens, plus short rules, in the DESIGN.md format Google published with Stitch. Your AI coding agent reads it and builds in this style. More about DESIGN.md.

### How do I use it with Claude Code or Cursor?

Download the file and put it in your project’s root folder, then ask your agent to follow DESIGN.md. Step-by-step guides: Claude Code, Cursor, Codex, GitHub Copilot.

### Is this Sagar K. Ghosh’s official design system?

No. Sitepeel measured it from codeofsagar.in’s public page on November 12, 2026. It is an independent analysis, not made or approved by Sagar K. Ghosh.

### Can I use Sagar K. Ghosh’s style in my own product?

Use it to learn, prototype and compare. For a real product, make the style your own, and never copy Sagar K. Ghosh’s logo, name, pictures or text.

### How accurate are the values?

Each value was measured on the rendered page after it fully loaded, on desktop and mobile: colors where they appear, type with tracking, spacing, corners, shadows and hover states. Sites change, so check the date at the top.

## Files

- [DESIGN.md](https://sitepeel.dev/design-md/codeofsagar.in/DESIGN.md): the plain file to put in your project.
- [All brand DESIGN.md files](https://sitepeel.dev/design-md/examples/index.md)

Independent analysis by Sitepeel (sitepeel.dev), not affiliated with Sagar K. Ghosh.

## The DESIGN.md file

```markdown
---
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).

```
