
Phantom
A friendly crypto wallet for trading, collecting and exploring web3
The style
A soft, playful product language. A pale lavender page with deep plum text, huge rounded headlines set tight, and chunky pill buttons in lavender. Pastel cards — lilac, blush, butter — carry big product shots, with gentle glows instead of hard shadows and slow, springy motion.
Colours
- Brand#b49ff2
- Buttons#43335f
- Background#f5f2fb
- Text#3c315b
Click a colour to copy it.
Fonts
Outfit
For headings
Outfit
For everything else
Free fonts that look like Phantom’s own, so you can use them anywhere.
Buttons
52px pills (32px corners): lavender #AB9FF2 with a plum label for the main action, pale lilac #E2DFFE for the second.
Use this style in your project
Pick the way that suits you. The first one needs no design or coding knowledge.
With an AI tool
Your AI tool builds the page for you, in Phantom’s style.
2. Open it in
For developers
Ready-made CSS variables, a Tailwind theme and design tokens, with light and dark modes.
See the codeMake it your own
Change the colours, fonts and shapes, and see the result straight away before you use it.
CustomiseFiles
The code, ready to copy
Every file says where the style came from.
tokens.css — Colours, fonts and sizes as CSS variables, with light and dark modes.
/* Lavender Ghost — design tokens generated by Markdown */
/* Derived from an analysis of phantom.com; how different from the source: a little different (30/100). */
/* Inspired by, not a copy of, the source. Adapt before commercial use; no logos, imagery, copy or proprietary fonts are included. */
:root {
color-scheme: light;
--color-background: #f5f2fb;
--color-surface: #fdfcfe;
--color-surface-muted: #ece8f3;
--color-text: #3c315b;
--color-text-muted: #6e6683;
--color-border: #e2dffe;
--color-primary: #43335f;
--color-on-primary: #ffffff;
--color-brand: #b49ff2;
--color-on-brand: #3c315b;
--color-accent: #978d49;
--color-success: #2d774f;
--color-warning: #93631a;
--color-danger: #a3443e;
--font-display: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-body: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
--font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
--text-display: 7.625rem;
--text-display-line-height: 0.95;
--text-display-weight: 400;
--text-display-tracking: -0.022em;
--text-h1: 5.0625rem;
--text-h1-line-height: 0.98;
--text-h1-weight: 400;
--text-h1-tracking: -0.017em;
--text-h2: 3.375rem;
--text-h2-line-height: 1.01;
--text-h2-weight: 400;
--text-h2-tracking: -0.013em;
--text-h3: 2.25rem;
--text-h3-line-height: 1.15;
--text-h3-weight: 400;
--text-h3-tracking: -0.009em;
--text-lead: 1.5rem;
--text-lead-line-height: 1.5;
--text-lead-weight: 400;
--text-lead-tracking: -0.005em;
--text-body: 1rem;
--text-body-line-height: 1.6;
--text-body-weight: 400;
--text-body-tracking: 0em;
--text-small: 0.6875rem;
--text-small-line-height: 1.5;
--text-small-weight: 400;
--text-small-tracking: 0.005em;
--text-caption: 0.6875rem;
--text-caption-line-height: 1.4;
--text-caption-weight: 400;
--text-caption-tracking: 0.01em;
--text-label: 0.8125rem;
--text-label-line-height: 1.3;
--text-label-weight: 600;
--text-label-tracking: 0.01em;
--text-code: 0.875rem;
--text-code-line-height: 1.55;
--text-code-weight: 400;
--text-code-tracking: 0em;
--space-1: 4px;
--space-2: 8px;
--space-3: 12px;
--space-4: 16px;
--space-5: 32px;
--space-6: 40px;
--space-7: 64px;
--space-8: 80px;
--space-9: 120px;
--space-10: 160px;
--radius-none: 0px;
--radius-sm: 10px;
--radius-md: 20px;
--radius-lg: 30px;
--radius-xl: 50px;
--radius-full: 9999px;
--border-width: 0px;
--shadow-sm: 0 1px 2px rgb(0 0 0 / 0.05);
--shadow-md: 0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04);
--shadow-lg: 0 18px 40px -12px rgb(0 0 0 / 0.18);
--duration-fast: 250ms;
--duration-base: 420ms;
--duration-slow: 710ms;
--ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
--ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
--ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
--container: 1584px;
--gutter: 24px;
--button-radius: 9999px;
--button-padding: 16px 32px;
--input-radius: 12px;
--input-height: 48px;
--card-radius: 24px;
--card-padding: 32px;
--badge-radius: 9999px;
}
@media (prefers-color-scheme: dark) {
:root:not([data-theme="light"]) {
color-scheme: dark;
--color-background: #121016;
--color-surface: #1e1c22;
--color-surface-muted: #232127;
--color-text: #eceaf0;
--color-text-muted: #99979d;
--color-border: #3e3c42;
--color-primary: #9681bb;
--color-on-primary: #141210;
--color-brand: #b49ff2;
--color-on-brand: #141210;
--color-accent: #b6ac67;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
}
[data-theme="dark"] {
color-scheme: dark;
--color-background: #121016;
--color-surface: #1e1c22;
--color-surface-muted: #232127;
--color-text: #eceaf0;
--color-text-muted: #99979d;
--color-border: #3e3c42;
--color-primary: #9681bb;
--color-on-primary: #141210;
--color-brand: #b49ff2;
--color-on-brand: #141210;
--color-accent: #b6ac67;
--color-success: #72ca9b;
--color-warning: #e0a752;
--color-danger: #cd7f7a;
}
@media (prefers-reduced-motion: reduce) {
:root { --duration-fast: 0ms; --duration-base: 0ms; --duration-slow: 0ms; }
}
See every detail
Buttons
Inputs
Badges
Project
Quarterly field notes
A card groups one idea: a title, one line of support and a clear next step.
Weekly digest is ready
Three new comments and one approval.
npm i @brandless/ui01
Colour
Semantic roles for light mode. Contrast is checked against WCAG AA as you edit.
Background
Surface
Surface muted
- AA 10.6:1
Text
- AA 4.9:1
Text muted
Border
- AA 10.1:1
Primary
- AA 11.2:1
On primary
Brand
- AA 5.2:1
On brand
- AA 3.0:1
Accent
- AA 4.9:1
Success
- AA 4.7:1
Warning
- AA 5.5:1
Danger
02
Typography
Base 16px on a 1.5 modular scale. Only open-licence fonts are recommended.
display
Outfit
body
Outfit
mono
JetBrains Mono
display · 122px / 0.95 · 400 · -0.022em
The quiet grammar of form
h1 · 81px / 0.98 · 400 · -0.017em
The quiet grammar of form
h2 · 54px / 1.01 · 400 · -0.013em
The quiet grammar of form
h3 · 36px / 1.15 · 400 · -0.009em
The quiet grammar of form
lead · 24px / 1.5 · 400 · -0.005em
Readable text sets the pace of an interface.
body · 16px / 1.6 · 400 · 0em
Readable text sets the pace of an interface.
small · 11px / 1.5 · 400 · 0.005em
Readable text sets the pace of an interface.
caption · 11px / 1.4 · 400 · 0.01em
Readable text sets the pace of an interface.
label · 13px / 1.3 · 600 · 0.01em
Readable text sets the pace of an interface.
code · 14px / 1.55 · 400 · 0em
const tokens = await load();
03
Spacing
A 8px base unit. Use the scale for padding, gaps and section rhythm.
- 4px
- 8px
- 12px
- 16px
- 32px
- 40px
- 64px
- 80px
- 120px
- 160px
04
Shape & surface
Mostly flat surfaces with a light shadow reserved for raised, interactive elements.
Radii
none
0px
sm
10px
md
20px
lg
30px
xl
50px
full
pill
Shadows & borders
0 1px 2px rgb(0 0 0 / 0.05)
0 4px 12px -2px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.04)
0 18px 40px -12px rgb(0 0 0 / 0.18)
Borders: rarely used · Surfaces: flat
06
Layout
1584px container · 12 columns · 24px gutters
Patterns
- Wide single-column hero with generous vertical rhythm between sections.
- Twelve-column grid; content blocks usually span 4, 6 or 8 columns.
- Full-bleed bands for feature sections, inner content capped at the container.
- Reading text limited to roughly 65–72 characters per line.
Responsive principles
- Below md, grids collapse to a single column and side gutters drop to 16px.
- Type steps above h2 scale down one step on small screens.
- Navigation collapses to a disclosure menu below lg.
- Touch targets stay at least 44×44px on every breakpoint.
07
Motion
Durations and easing curves. Previews respect your reduced-motion setting.
- fast250ms
- base420ms
- slow710ms
ease-standard
ease-enter
ease-exit
Principles
- Motion is measured and calm, easing into place rather than snapping.
- Animate opacity and transform only; avoid animating layout.
- Respect prefers-reduced-motion by replacing movement with instant state changes or fades.
Phantom, its logo and trademarks belong to their owner and are shown only to say where this style comes from. This is our own study of their public website — not made or endorsed by Phantom. Use your own words and images.
More like Phantom

Perk
Business travel booking and company spend in a single tool
Astryx
An open-source design system from Meta, built for people and AI agents

MindMarket
A global market research agency built on real people's opinions