---
version: alpha
name: Harshit Raghuwanshi
description: "Light monochrome interface measured from harshitr.me: Instrument Serif type with Amiamie, tonal surfaces and 6px corners."
colors:
  background: "#FCFCFB"
  surface: "#FCFCFB"
  on-surface: "#18181B"
  on-background: "#18181B"
  on-surface-variant: "#52525B"
  on-surface-muted: "#A1A1AA"
  surface-container-low: "#FFFFFF"
  surface-container: "#F4F4F5"
  overlay: "#00BC7D33"
  overlay-strong: "#FFB9001A"
  outline: "#0000001A"
  primary: "#4C4C4B"
  on-primary: "#FFFFFF"
  secondary: "#2563EB"
  tertiary: "#50B1FD"
  success: "#00BC7D"
  warning: "#FE9A00"
typography:
  headline-display:
    fontFamily: Instrument Serif
    fontSize: 38px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -0.025em
  headline-lg:
    fontFamily: Instrument Serif
    fontSize: 24px
    fontWeight: 400
    lineHeight: 1.33
    letterSpacing: 0.025em
  body-md:
    fontFamily: Amiamie
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-sm:
    fontFamily: Amiamie
    fontSize: 13px
    fontWeight: 400
    lineHeight: 1.63
  caption:
    fontFamily: Amiamie
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.5
  label-lg:
    fontFamily: Amiamie
    fontSize: 16px
    fontWeight: 600
    lineHeight: 1.5
    letterSpacing: 0.025em
  label-md:
    fontFamily: Amiamie
    fontSize: 15.5px
    fontWeight: 600
    lineHeight: 1.5
  label-sm:
    fontFamily: Amiamie
    fontSize: 13px
    fontWeight: 500
    lineHeight: 1.5
  code:
    fontFamily: JetBrains Mono
    fontSize: 12px
    fontWeight: 400
    lineHeight: 1.5
  headline-display-mobile:
    fontFamily: Instrument Serif
    fontSize: 30px
    fontWeight: 400
    lineHeight: 1
    letterSpacing: -0.025em
rounded:
  sm: 4px
  md: 6px
  lg: 8px
  xl: 12px
spacing:
  xs: 2px
  sm: 8px
  md: 12px
  lg: 20px
  gutter: 8px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    rounded: 0px
    padding: 6px 12px
    height: 31px
  button-outline:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface}"
    typography: "{typography.caption}"
    rounded: "{rounded.lg}"
    padding: 10px 20px
    height: 40px
  button-ghost:
    backgroundColor: "{colors.surface-container}"
    textColor: "{colors.on-surface-variant}"
    rounded: "{rounded.lg}"
    padding: 6px 12px
    height: 31px
  card:
    backgroundColor: "{colors.surface-container-low}"
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.xl}"
    padding: 20px
---

# Harshit Raghuwanshi Design System

## Overview

Harshit Raghuwanshi describes itself as: “Personal portfolio of Harshit Raghuwanshi, Full Stack Developer building clean, modern web applications.” The interface is light, built on **Snow (#FCFCFB)** with **Charcoal (#18181B)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **Instrument Serif** and **Amiamie**, with **JetBrains Mono** for code. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Corners are mostly 6px.

Measured from [harshitr.me](https://www.harshitr.me/) on November 15, 2026 at 1440×900 and 390×844 from 314 rendered elements. Values are computed styles from the live page, not the original source files.

## Colors

The palette has 15 roles.

- **Snow (#FCFCFB):** Page background, seen 3 times. Token `background`, CSS `--bg`.
- **Charcoal (#18181B):** Primary text and headings, seen 19 times. Token `on-surface`, CSS `--fg`.
- **Cool Slate (#52525B):** Secondary text, seen 64 times. Token `on-surface-variant`, CSS `--muted`.
- **Cool Gray (#A1A1AA):** Muted text and metadata, seen 8 times. Token `on-surface-muted`, CSS `--sound-icon-muted`.
- **White (#FFFFFF):** Raised areas one step from the page, seen 34 times. Token `surface-container-low`, CSS `--card`.
- **Snow (#F4F4F5):** Cards and panels, seen 22 times. Token `surface-container`.
- **Dark Teal 20% (#00BC7D33):** Translucent fill for cards and controls, seen 2 times. Token `overlay`.
- **Vivid Amber 10% (#FFB9001A):** Stronger translucent fill, seen 2 times. Token `overlay-strong`.
- **Near Black 10% (#0000001A):** Borders and dividers, seen 72 times. Token `outline`, CSS `--line`.
- **Graphite (#4C4C4B):** Primary buttons and calls to action, seen 1 time. Token `primary`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Vivid Blue (#2563EB):** Accent in text, fills and borders, seen 12 times. Token `secondary`, CSS `--neon-color`.
- **Blue (#50B1FD):** Accent on large areas. Token `tertiary`.
- **Dark Teal (#00BC7D):** Success and positive states, seen 6 times. Token `success`.
- **Vivid Orange (#FE9A00):** Warnings and highlights, seen 2 times. Token `warning`.

## Typography

**Instrument Serif**, **Amiamie** and **JetBrains Mono** (monospace) share the interface. Fallback stack: `Instrument Serif, Georgia, serif`.

- **headline-display:** Instrument Serif 38px at weight 400, line height 1, tracking -0.025em (30px on mobile). Page title (h1).
- **headline-lg:** Instrument Serif 24px at weight 400, line height 1.33, tracking 0.025em. Section headings (h2).
- **body-md:** Amiamie 16px at weight 400, line height 1.5. Body text.
- **body-sm:** Amiamie 13px at weight 400, line height 1.63. Secondary and small text.
- **caption:** Amiamie 12px at weight 400, line height 1.5. Captions and fine print.
- **label-lg:** Amiamie 16px at weight 600, line height 1.5, tracking 0.025em. Large buttons and tabs.
- **label-md:** Amiamie 15.5px at weight 600, line height 1.5. Buttons, navigation and labels.
- **label-sm:** Amiamie 13px at weight 500, line height 1.5. Small labels and badges.
- **code:** JetBrains Mono 12px at weight 400, line height 1.5. Code and technical values.

## Layout

Spacing does not follow a strict grid: 65% 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 20px.
- **Gaps:** 8px is the most common gap in flex and grid layouts.
- **Breakpoints:** 768px.

## Elevation & Depth

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

- `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.05) 0px 1px 2px 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) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -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, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px`

## Shapes

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

- **md (6px):** 184 elements.
- **sm (4px):** 72 elements.
- **lg (8px):** 48 elements.
- **xl (12px):** 24 elements.

## Components

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

- **button-primary (“PLAY ME”):** #000000B3 fill, #FFFFFF text, 11px/600, padding 6px 12px, border 1px solid #0000001A.
- **button-outline (“View All Projects”):** #F4F4F5 fill, #18181B text, 12px/500, 8px radius, padding 10px 20px, border 1px solid #0000001A.
- **button-ghost (“⌘K”):** #F4F4F5 fill, #52525B text, 11px/400, 8px radius, padding 6px 12px, border 1px solid #0000001A, 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`.
- **card:** #FFFFFF fill, #18181B text, 16px/400, 12px radius, padding 20px, border 1px solid #0000001A.

## Do's and Don'ts

- Do use #FCFCFB for the page and lift surfaces in small steps: #FFFFFF, #F4F4F5.
- Do keep text in 3 levels: #18181B, #52525B, #A1A1AA.
- Do let contrast carry emphasis; primary actions use #4C4C4B on #FCFCFB.
- Do set headlines in Instrument Serif with tight tracking (-0.025em).
- Do reuse the measured spacing steps (8px, 12px, 20px).
- Do use 6px corners on most elements; larger surfaces also use 4px, 8px and 12px.
- Don't use #A1A1AA for body text; it reaches 2.50:1 on #FCFCFB. Keep it for large text or metadata.
- Don't introduce new font families beyond Instrument Serif, Amiamie and JetBrains Mono.
- 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.2s, 0.15s, 0.3s, 0.035s. Longer ambient animations run 1s.

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

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