OneCard · Design system

One source, every page.

Every colour, font, size and motion on the site comes from one file: src/styles/tokens.css. Change a value there and the homepage, this page and the mood board all update. Values below are read live from that file.

01

How to change things

Components never contain raw colours or sizes.

Change a colour or size
Edit the token in src/styles/tokens.css
Swap a font
Change the import in src/app/layout.tsx
Change a button, panel, toggle
Edit src/components/ui/
Build a new section
Use Section, Display, Eyebrow, Text, Button
02

Colour

Black, off-white and silver. No brand hues: the metal card is the colour.

Surfaces
bg

Page background

…
raise

Raised surface

…
overlay

Sticky header glass

…
Ink
ink

Primary text, primary button

…
ink-2

Body text

…
ink-3

Labels, captions

…
ink-4

Unrevealed text

…
Lines
line

Hairline dividers

…
line-2

Input and button borders

…
line-3

Hover and focus borders

…
Metal
silver-1

Silver gradient stop

…
silver-2

Silver gradient highlight

…
silver-3

Silver gradient stop

…
silver-4

Silver gradient highlight

…
Silver gradient

control.

03

Typefaces

A serif for feeling, a sans for reading, a mono for labels.

Aa
Instrument Serif

Headlines and figures. Italic for one emphasised word.

--font-serif
Aa
Geist

Body, buttons, sans titles.

--font-sans
Aa
Geist Mono

Eyebrow labels and technical values only.

--font-mono
04

Type scale

Use the token, never a pixel size.

text-display-xl

One per page: the hero (52–96px)

…
Credit, in your control.
text-display-lg

Section headlines

…
Forged in metal.
text-display-md

Statements

…
Built around the person holding it.
text-stat

Figures

…
₹0
text-title

Sans statements

…
A credit card that answers to you.
text-subtitle

Card and feature titles

…
Every switch is yours
text-lead

Intro paragraphs

…
A metal credit card, run entirely from one app.
text-body

Default text

…
Applications are paused for now.
text-small

Captions, links

…
Link the card to UPI and pay anywhere.
text-micro

Eyebrow labels

…
Fig. 01 · Material
05

Space, shape and motion

--container

Max content width

…
--gutter

Side padding

…
--section-y

Section padding

…
--section-y-lg

Large section padding

…
--header-h

Header height

…
--radius-panel

Panels

…
--radius-pill

Buttons, inputs

…
--ease-premium

All transitions

…
--duration-base

Hover and toggles

…
--duration-slow

Scroll reveals

…
06

Components

Live components from src/components/ui.

Buttons
Headings

Lifetime free. Actually.

A credit card that answers to you. Grey continuation for context.

Toggle and panel

International

Online

Field
Spec list
Body
Metal
Network
Visa Signature
Stat grid
₹0

Joining fee

6

Partner banks

07

Rules

What keeps it feeling premium.

Do
  • One serif headline per section, one italic word at most
  • Let the real card render be the only object with colour
  • Separate with hairlines and space, not boxes
  • Keep motion slow and small (drift, fade, tilt)
Don't
  • Add accent colours, gradients on buttons or emoji
  • Use bouncy animation, sparkles or coloured glows
  • Write pixel sizes or hex values in components
  • Stack more than two buttons in a row