---
version: alpha
name: Cashfree
description: "Light monochrome interface measured from cashfree.com: DM Sans type, tonal surfaces and pill-shaped controls."
colors:
  background: "#FFFFFF"
  surface: "#FFFFFF"
  on-surface: "#000000"
  on-background: "#000000"
  on-surface-variant: "#0D0D0D"
  on-surface-muted: "#2C2A2A"
  on-surface-subtle: "#555555"
  surface-container-low: "#F8F7F7"
  overlay: "#048C4A6E"
  outline: "#DDDDD0"
  outline-variant: "#BFE6CD"
  primary: "#000000"
  on-primary: "#FFFFFF"
  secondary: "#FAFF91"
  tertiary: "#CEF993"
  success: "#008C46"
typography:
  headline-display:
    fontFamily: DM Sans
    fontSize: 64px
    fontWeight: 500
    lineHeight: 1.14
    letterSpacing: -0.04em
  headline-lg:
    fontFamily: DM Sans
    fontSize: 56px
    fontWeight: 500
    lineHeight: 1.14
    letterSpacing: -0.04em
  headline-md:
    fontFamily: DM Sans
    fontSize: 48px
    fontWeight: 400
    lineHeight: 1.14
    letterSpacing: -0.01em
  headline-sm:
    fontFamily: DM Sans
    fontSize: 32px
    fontWeight: 500
    lineHeight: 1.14
    letterSpacing: -0.02em
  title-lg:
    fontFamily: DM Sans
    fontSize: 28px
    fontWeight: 500
    lineHeight: 1.24
    letterSpacing: -0.02em
  body-md:
    fontFamily: DM Sans
    fontSize: 16px
    fontWeight: 400
    lineHeight: 1.5
  body-lg:
    fontFamily: DM Sans
    fontSize: 18px
    fontWeight: 400
    lineHeight: 1.44
    letterSpacing: -0.01em
  label-lg:
    fontFamily: DM Sans
    fontSize: 16px
    fontWeight: 500
    lineHeight: 1
    letterSpacing: -0.01em
  label-md:
    fontFamily: DM Sans
    fontSize: 14px
    fontWeight: 500
    lineHeight: 1.04
    letterSpacing: -0.01em
  label-sm:
    fontFamily: DM Sans
    fontSize: 12px
    fontWeight: 600
    lineHeight: 1.04
    letterSpacing: -0.01em
  headline-display-mobile:
    fontFamily: DM Sans
    fontSize: 33.5px
    fontWeight: 500
    lineHeight: 1.14
    letterSpacing: -0.04em
  headline-lg-mobile:
    fontFamily: DM Sans
    fontSize: 27px
    fontWeight: 500
    lineHeight: 1.14
    letterSpacing: -0.056em
  title-lg-mobile:
    fontFamily: DM Sans
    fontSize: 22px
    fontWeight: 500
    lineHeight: 1.24
    letterSpacing: -0.02em
rounded:
  sm: 14.4px
  md: 16px
  lg: 24px
  xl: 28px
  full: 9999px
spacing:
  xs: 4px
  sm: 6.4px
  md: 9.6px
  lg: 20px
  xl: 44px
  gutter: 14px
  container: 1440px
components:
  button-primary:
    backgroundColor: "{colors.primary}"
    textColor: "{colors.on-primary}"
    typography: "{typography.label-md}"
    rounded: "{rounded.sm}"
    padding: 6px 20px
    height: 42px
  button-outline:
    backgroundColor: "{colors.secondary}"
    textColor: "{colors.on-surface}"
    typography: "{typography.label-md}"
    padding: 6px 20px
    height: 46px
  button-ghost:
    textColor: "#6D6969"
    typography: "{typography.label-lg}"
    rounded: 0px
    padding: 24px 16px
  card:
    textColor: "{colors.on-surface}"
    typography: "{typography.body-md}"
    rounded: "{rounded.md}"
    padding: 0px
  link:
    textColor: "#6D6969"
---

# Cashfree Design System

## Overview

Cashfree describes itself as: “Payments & checkout solution provider for e-commerce, SaaS, Travel, Edtech & Fintech - go live fast, convert more, & collect domestic and international payments” The interface is light, built on **White (#FFFFFF)** with **Near Black (#000000)** text and almost no color: actions are carried by contrast, not hue.

Type is set in **DM Sans**. Headlines run large with tight negative tracking; body text is 16px. Depth comes from soft drop shadows. Controls are pill-shaped.

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

## Colors

The palette has 14 roles, plus gradient stops #BFEDC6, #F8F4BD.

- **White (#FFFFFF):** Page background, seen 2 times. Token `background`, CSS `--color-scheme-1--background`.
- **Near Black (#000000):** Primary text and headings, seen 19 times. Token `on-surface`, CSS `--_theme---section--text`.
- **Charcoal (#0D0D0D):** Secondary text, seen 6 times. Token `on-surface-variant`.
- **Graphite (#2C2A2A):** Muted text and metadata, seen 4 times. Token `on-surface-muted`, CSS `--neutral--90`.
- **Slate (#555555):** Subtle text and placeholders, seen 13 times. Token `on-surface-subtle`, CSS `--_primitives---colors--neutral-dark`.
- **Snow (#F8F7F7):** Raised areas one step from the page, seen 3 times. Token `surface-container-low`.
- **Dark Teal 43% (#048C4A6E):** Translucent fill for cards and controls, seen 25 times. Token `overlay`.
- **Warm Silver (#DDDDD0):** Borders and dividers, seen 4 times. Token `outline`.
- **Light Green (#BFE6CD):** Secondary dividers, seen 2 times. Token `outline-variant`, CSS `--evergreen--10`.
- **Near Black (#000000):** Primary buttons and calls to action, seen 26 times. Token `primary`, CSS `--_theme---section--text`.
- **White (#FFFFFF):** Text and icons on primary. Token `on-primary`.
- **Light Yellow (#FAFF91):** Accent in text, fills and borders, seen 4 times. Token `secondary`.
- **Light Lime (#CEF993):** Accent in text, fills and borders, seen 3 times. Token `tertiary`.
- **Dark Teal (#008C46):** Success and positive states, seen 8 times. Token `success`.

## Typography

**DM Sans** carries the whole interface. Fallback stack: `DM Sans, Arial, sans-serif`.

- **headline-display:** DM Sans 64px at weight 500, line height 1.14, tracking -0.04em, capitalize (33.5px on mobile). Page title (h1).
- **headline-lg:** DM Sans 56px at weight 500, line height 1.14, tracking -0.04em (27px on mobile). Section headings (h2).
- **headline-md:** DM Sans 48px at weight 400, line height 1.14, tracking -0.01em. Sub-section headings.
- **headline-sm:** DM Sans 32px at weight 500, line height 1.14, tracking -0.02em. Card and feature titles.
- **title-lg:** DM Sans 28px at weight 500, line height 1.24, tracking -0.02em (22px on mobile). Small titles.
- **body-md:** DM Sans 16px at weight 400, line height 1.5. Body text.
- **body-lg:** DM Sans 18px at weight 400, line height 1.44, tracking -0.01em. Lead paragraphs.
- **label-lg:** DM Sans 16px at weight 500, line height 1, tracking -0.01em. Large buttons and tabs.
- **label-md:** DM Sans 14px at weight 500, line height 1.04, tracking -0.01em. Buttons, navigation and labels.
- **label-sm:** DM Sans 12px at weight 600, line height 1.04, tracking -0.01em, uppercase. Small labels and badges.

## Layout

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

- **Scale:** xs 4px, sm 6.4px, md 9.6px, lg 20px, xl 44px.
- **Gaps:** 14px is the most common gap in flex and grid layouts.
- **Container:** content is capped at 1440px.
- **Breakpoints:** 240px, 479px, 600px, 767px, 768px, 834px, 991px, 992px, 1440px, 1441px.

## Elevation & Depth

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

- `rgba(89, 74, 47, 0.08) 0px 4px 28px 0px`
- `rgba(0, 0, 0, 0.07) 0px 20px 40px 0px`

## Shapes

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

- **sm (14.4px):** 44 elements.
- **full (9999px):** 40 elements.
- **lg (24px):** 24 elements.
- **md (16px):** 8 elements.
- **xl (28px):** 4 elements.

## Components

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

- **button-primary (“Sign Up for Free*”):** #000000 fill, #FFFFFF text, 14px/500, 14.4px radius, padding 6px 20px, border 1px solid #000000.
- **button-outline (“Sign In”):** #FAFF91 fill, #000000 text, 14px/500, 50% radius, padding 6px 20px, border 1px solid #000000.
- **button-ghost (“Cashfree AI”):** transparent fill, #6D6969 text, 16px/500, padding 24px 16px.
- **card:** transparent fill, #000000 text, 16px/400, 16px radius, padding 0px, border 1px solid #BFE6CD, shadow `rgba(89, 74, 47, 0.08) 0px 4px 28px 0px`.
- **link:** transparent fill, #6D6969 text, padding 0px.

## Do's and Don'ts

- Do use #FFFFFF for the page and lift surfaces in small steps: #F8F7F7.
- Do keep text in 4 levels: #000000, #0D0D0D, #2C2A2A, #555555.
- Do let contrast carry emphasis; primary actions use #000000 on #FFFFFF.
- Do set headlines in DM Sans with tight tracking (-0.04em).
- Do reuse the measured spacing steps (6.4px, 9.6px, 20px).
- Do make buttons and chips fully rounded (9999px); most other elements use 14.4px corners.
- Don't introduce new font families beyond DM Sans.
- Don't add saturated accent colors; the measured palette is almost entirely neutral.
- Don't make interface transitions slower than 0.42s.

## Motion

Interface transitions are quick: 0.32s, 0.34s, 0.36s, 0.42s. Longer ambient animations run 0.68s, 0.66s, 0.65s.

- **Easing:** `cubic-bezier(0.165, 0.84, 0.44, 1)`, `ease`, `cubic-bezier(0.22, 1, 0.36, 1)`.

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