---
version: alpha
name: Pw
description: "Light interface measured from pw.live: redditSans type, indigo accents, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#3D3D3D"
  on-background: "#3D3D3D"
  on-surface-strong: "#000000"
  on-surface-variant: "#1B2124"
  on-surface-muted: "#27272A"
  surface-container-low: "#F8F8F8"
  surface-container: "#D9DCE1"
  outline: "#E5E7EB"
  outline-variant: "#EFEFEF"
  primary: "#5A4BDA"
  on-primary: "#FFFFFF"
  secondary: "#D2CCFF"
  tertiary: "#312596"
typography:
  headline-display:
    fontFamily: redditSans
    fontSize: 40px
    fontWeight: 700
    lineHeight: 1.25
  headline-lg:
    fontFamily: redditSans
    fontSize: 32px
    fontWeight: 700
    lineHeight: 1.5
  body-md:
    fontFamily: redditSans
    fontSize: 14px
    fontWeight: 400
    lineHeight: 1.43
  label-lg:
    fontFamily: redditSans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  label-md:
    fontFamily: redditSans
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.43
  label-sm:
    fontFamily: redditSans
    fontSize: 12px
    fontWeight: 500
    lineHeight: 1.33
  headline-display-mobile:
    fontFamily: redditSans
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.5
  headline-lg-mobile:
    fontFamily: redditSans
    fontSize: 20px
    fontWeight: 700
    lineHeight: 1.5
rounded:
  sm: 4px
  md: 6px
  lg: 100px
  full: 9999px
spacing:
  xs: 4px
  sm: 8px
  md: 12px
  lg: 24px
  xl: 60px
  gutter: 32px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 14px 28px
    height: 56px
  button-secondary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-surface-muted}"
    typography: "{typography.label-lg}"
    rounded: 12px
    padding: 16px
    height: 56px
  button-tertiary:
    backgroundColor: "{colors.on-surface-variant}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 12px 24px
    height: 48px
  button-tertiary-hover:
    backgroundColor: "#414347"
  button-ghost:
    textColor: "{colors.on-surface-variant}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 12px 24px
  card:
    textColor: "{colors.on-surface-muted}"
    typography: "{typography.label-lg}"
    rounded: "{rounded.md}"
    padding: 24px
---

# Pw Design System

## Overview

Pw describes itself as: “Physics Wallah is India's top online ed-tech platform that provides affordable and comprehensive learning experience to students of classes 6 to 12 and those preparing for JEE and NEET exams.” The interface is light, built on **White (#FFFFFF)** with **Graphite (#3D3D3D)** text, and **Indigo (#5A4BDA)** as the main accent.

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

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

## Colors

The palette has 13 roles.

- **White (#FFFFFF):** Page background, seen 16 times. Token `background`.
- **Graphite (#3D3D3D):** Primary text and headings, seen 69 times. Token `on-surface`, CSS `--text-color-body-1`.
- **Near Black (#000000):** Headings and emphasis, seen 9 times. Token `on-surface-strong`.
- **Cool Charcoal (#1B2124):** Secondary text, seen 15 times. Token `on-surface-variant`, CSS `--static-color-black`.
- **Graphite (#27272A):** Muted text and metadata, seen 6 times. Token `on-surface-muted`.
- **Snow (#F8F8F8):** Raised areas one step from the page, seen 7 times. Token `surface-container-low`.
- **Cool Silver (#D9DCE1):** Cards and panels, seen 18 times. Token `surface-container`, CSS `--grey-color-100`.
- **Cool Mist (#E5E7EB):** Borders and dividers, seen 20 times. Token `outline`.
- **Mist (#EFEFEF):** Secondary dividers, seen 12 times. Token `outline-variant`.
- **Indigo (#5A4BDA):** Primary buttons and calls to action, seen 11 times. Token `primary`, CSS `--primary-color`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Pale Indigo (#D2CCFF):** Accent (CSS variable). Token `secondary`.
- **Dark Indigo (#312596):** Accent (CSS variable). Token `tertiary`.

## Typography

**redditSans** carries the whole interface. Fallback stack: `__redditSans_4b0793, __redditSans_Fallback_4b0793, sans-serif`. Other loaded fonts: __redditSans_4b0793.

- **headline-display:** redditSans 40px at weight 700, line height 1.25 (20px on mobile). Page title (h1).
- **headline-lg:** redditSans 32px at weight 700, line height 1.5 (20px on mobile). Section headings (h2).
- **body-md:** redditSans 14px at weight 400, line height 1.43. Body text.
- **label-lg:** redditSans 16px at weight 400, line height 1.5. Large buttons and tabs.
- **label-md:** redditSans 14px at weight 500, line height 1.43. Buttons, navigation and labels.
- **label-sm:** redditSans 12px at weight 500, line height 1.33. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 8px, md 12px, lg 24px, xl 60px.
- **Gaps:** 32px is the most common gap in flex and grid layouts.
- **Breakpoints:** 320px, 345px, 360px, 640px, 744px, 768px, 1024px, 1100px, 1152px, 1280px, 1400px, 1440px, 1536px.

## Elevation & Depth

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

- `rgba(0, 0, 0, 0.08) 0px 1px 8px 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

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

- **full (9999px):** 132 elements.
- **md (6px):** 76 elements.
- **lg (100px):** 24 elements.
- **sm (4px):** 16 elements.

## Components

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

- **button-primary (“Get Started”):** #5A4BDA fill, #FFFFFF text, 16px/400, 6px radius, padding 14px 28px.
- **button-secondary (“Toggle counselling popup”):** #5A4BDA fill, #27272A text, 16px/400, 12px radius, padding 16px.
- **button-tertiary (“Login/Register”):** #1B2124 fill, #FFFFFF text, 16px/400, 6px radius, padding 12px 24px.
- **button-tertiary-hover:** background #414347, text #FFFFFF on hover.
- **button-ghost (“All Courses”):** transparent fill, #1B2124 text, 16px/400, 6px radius, padding 12px 24px, border 1px solid #5A4BDA.
- **card:** transparent fill, #27272A text, 16px/400, 6px radius, padding 24px, border 1px solid #F0EFEF, shadow `rgba(0, 0, 0, 0.08) 0px 1px 8px 0px`.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #F8F8F8, #D9DCE1.
- Do keep text in 4 levels: #3D3D3D, #000000, #1B2124, #27272A.
- Do reserve #5A4BDA for primary actions and key highlights.
- Do reuse the measured spacing steps (8px, 12px, 24px).
- Do make buttons and chips fully rounded (9999px); most other elements use 6px corners.
- Don't introduce new font families beyond redditSans.
- Don't use #5A4BDA for large backgrounds or body text.
- Don't make interface transitions slower than 0.3s.

## Motion

Interface transitions are quick: 0.2s, 0.3s.

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

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