# Phantom — Style Reference
> Muted violet canvas
**Theme:** light
Phantom uses a confident, muted-violet interface language. Its pages feature a bright canvas with substantial rounded corners, lending a soft, approachable feel to components. Typography is clear and prominent, anchoring sections, while a spectrum of muted and vivid violet tones defines interactive elements and brand accents against a largely achromatic background. Functional elements like buttons feature a subtle, colored box shadow that deepens the visual hierarchy without heavy drop shadows.
## Tokens — Colors
| Name | Value | Token | Role |
|------|-------|-------|------|
| Canvas White | `#fdfcfe` | `--color-canvas-white` | Page backgrounds, card surfaces, ghost button backgrounds |
| Phantom Violet | `#3c315b` | `--color-phantom-violet` | Primary text, interactive element borders, navigation links — deep violet provides a strong anchor for content and interactive states |
| Ghost Button Violet | `#e2dffe` | `--color-ghost-button-violet` | Primary action button background, providing a soft, pastel contrast to the deep Phantom Violet text and icons |
| Deep Sea | `#1c1c1c` | `--color-deep-sea` | Secondary text, dark button backgrounds |
| Slate Gray | `#e9e8ea` | `--color-slate-gray` | Muted button backgrounds, subtle dividers |
| Sky Lavender | `#ab9ff2` | `--color-sky-lavender` | Prominent button backgrounds, decorative SVG fills — a vibrant variant of Phantom Violet for high-signal actions |
| Soft Fog | `#f4f2f4` | `--color-soft-fog` | Subtle background sections, hover states |
| Cool Gray | `#86848d` | `--color-cool-gray` | Muted icons, secondary navigation text, inactive elements |
| Success Green | `#2ec08b` | `--color-success-green` | Success badges, status indicators |
## Tokens — Typography
### Phantom — Body copy, navigation, button text, and smaller headings — a lighter weight maintains an airy feel for content blocks. · `--font-phantom`
- **Weights:** 350, 400
- **Sizes:** 13px, 15px, 16px, 20px, 24px, 30px, 64px, 80px, 96px
- **Line height:** 1.00, 1.10, 1.20, 1.21, 1.25, 1.35, 1.40
- **Letter spacing:** -0.025
- **Role:** Body copy, navigation, button text, and smaller headings — a lighter weight maintains an airy feel for content blocks.
### Phantom — Headings and display text — a slightly heavier weight for impact without sacrificing the distinct character of the custom typeface. · `--font-phantom`
- **Weights:** 350, 400
- **Sizes:** 13px, 15px, 16px, 20px, 24px, 30px, 64px, 80px, 96px
- **Line height:** 1.00, 1.10, 1.20, 1.21, 1.25, 1.35, 1.40
- **Letter spacing:** -0.025
- **Role:** Headings and display text — a slightly heavier weight for impact without sacrificing the distinct character of the custom typeface.
### Type Scale
| Role | Size | Line Height | Letter Spacing | Token |
|------|------|-------------|----------------|-------|
| caption | 13px | 1.25 | -0.025px | `--text-caption` |
| body-sm | 15px | 1.25 | -0.025px | `--text-body-sm` |
| subheading | 20px | 1.25 | -0.025px | `--text-subheading` |
| heading-sm | 24px | 1.25 | -0.025px | `--text-heading-sm` |
| heading | 30px | 1.25 | -0.025px | `--text-heading` |
| heading-lg | 64px | 1.1 | -0.025px | `--text-heading-lg` |
| display | 80px | 1.1 | -0.025px | `--text-display` |
## Tokens — Spacing & Shapes
**Base unit:** 4px
**Density:** comfortable
### Spacing Scale
| Name | Value | Token |
|------|-------|-------|
| 4 | 4px | `--spacing-4` |
| 8 | 8px | `--spacing-8` |
| 12 | 12px | `--spacing-12` |
| 16 | 16px | `--spacing-16` |
| 20 | 20px | `--spacing-20` |
| 24 | 24px | `--spacing-24` |
| 32 | 32px | `--spacing-32` |
| 48 | 48px | `--spacing-48` |
| 64 | 64px | `--spacing-64` |
| 96 | 96px | `--spacing-96` |
| 128 | 128px | `--spacing-128` |
### Border Radius
| Element | Value |
|---------|-------|
| cards | 24px |
| header | 100px |
| buttons | 32px |
| largeElements | 24px |
| smallElements | 4px |
### Shadows
| Name | Value | Token |
|------|-------|-------|
| sm | `rgb(226, 223, 254) 0px 0px 4px 0px` | `--shadow-sm` |
### Layout
- **Section gap:** 32px
- **Card padding:** 48px
- **Element gap:** 4px
## Components
### Primary Action Button
**Role:** Calls to action, e.g., 'Download Phantom'
Background: Ghost Button Violet (#e2dffe), Text: Phantom Violet (#3c315b), Border Radius: 32px, Padding: 12px 20px, Shadow: offset (0px 0px 4px 0px) Ghost Button Violet (#e2dffe). Uses Phantom font, weight 350.
### Inverted Dark Button
**Role:** Alternative action buttons on darker backgrounds
Background: Deep Sea (#1c1c1c), Text: Canvas White (#fdfcfe), Border Radius: 24px, Padding: 48px. Uses Phantom font, weight 350.
### Ghost Outline Button
**Role:** Subtle secondary actions or links
Background: transparent, Text: Canvas White (#fdfcfe), Border: 1px solid Canvas White (#fdfcfe), Border Radius: 32px, Padding: 16px. Uses Phantom font, weight 350.
### Muted Button
**Role:** Less prominent actions, often within a card or section
Background: Slate Gray (#e9e8ea), Text: Deep Sea (#1c1c1c), Border Radius: 24px, Padding: 48px. Uses Phantom font, weight 350.
### Content Card
**Role:** Information grouping and background for features
Background: Canvas White (#fdfcfe), Border Radius: 24px, No shadow, Padding: 48px. Often contains headings and text in Phantom Violet.
### Success Status Badge
**Role:** Indicates successful status or positive attributes
Background: Success Green (#2ec08b), Text: Phantom Violet (#3c315b), Border Radius: 50% (circular), Padding: 0px. Used for small indicators.
### Navigation Link
**Role:** Primary navigation items in the header
Text: Phantom Violet (#3c315b), No background, No border. Uses Phantom font, weight 350. Active state indicated by a bottom border or color change.
## Do's and Don'ts
### Do
- Use Phantom Violet (#3c315b) for all primary text content and interactive element borders to maintain brand consistency.
- Apply a 32px border-radius to all interactive buttons for a consistent soft, approachable feel.
- Structure pages with a base unit of 4px for all spacing measurements, including `row-gap` and `column-gap`.
- Elevate primary action buttons with a subtle 0px 0px 4px 0px box-shadow using Ghost Button Violet (#e2dffe), not harsh black shadows.
- Maintain a clear visual hierarchy by using Canvas White (#fdfcfe) for main page and card backgrounds.
- Employ the Phantom font at weight 350 for body text and navigation, and weight 400 for display headings, always with -0.025em letter-spacing.
- Ensure section gaps default to 32px to create comfortable visual breathing room between content blocks.
### Don't
- Do not use harsh or high-contrast shadows; only subtle, colored box-shadows are permitted for elevation.
- Avoid using multiple font families; restrict typography to the Phantom typeface in its specified weights.
- Do not deviate from the established border-radius values; always use 32px for buttons and 24px for cards.
- Refrain from introducing new accent colors beyond the defined violet palette, unless for semantic status indicators.
- Do not use generic gray backgrounds for sections; instead, use Soft Fog (#f4f2f4) for subtle visual differentiation.
- Avoid heavy borders or solid dividers; use subtle color changes or text separation instead of explicit lines.
- Do not use letter-spacing values other than -0.025em, as this is a key characteristic of the Phantom typography.
## Surfaces
| Level | Name | Value | Purpose |
|-------|------|-------|---------|
| 1 | Canvas White | `#fdfcfe` | Primary page background and base for cards |
| 2 | Soft Fog | `#f4f2f4` | Subtle background for distinct content sections |
## Elevation
- **Primary Action Button:** `0px 0px 4px 0px #e2dffe`
## Imagery
This site predominantly uses a blend of custom illustrations and text to convey its message. Illustrations, specifically the ghost character, are single-color, solid fills, and playful, matching the Phantom Violet color palette. They serve both decorative and explanatory roles without heavy detail, maintaining a flat aesthetic. Photography and complex product screenshots are largely absent, favoring abstract or simplified visual metaphors and focused UI elements. Icons are minimal, outlined, or solid, with stroke weight matching text weight where appropriate. The overall density is balanced, allowing ample negative space around the simple graphic elements.
## Layout
The page employs a max-width contained layout rather than full-bleed, with content centered. The hero section often features a large, centered headline and a call to action, with alternating background colors from Canvas White to Phantom Violet or Ghost Button Violet. Sections follow a consistent vertical rhythm with 32px gaps, occasionally featuring two-column layouts where text and UI elements are paired. Card grids are used for features, showcasing components with generous padding and rounded corners. The navigation bar is a sticky header at the top, containing a logo, text links, and a prominent download button, maintaining presence throughout scrolling.
## Agent Prompt Guide
Quick Color Reference:
text: #3c315b
background: #fdfcfe
border: #3c315b
accent: #ab9ff2
primary action: #e2dffe (filled action)
Example Component Prompts:
Create a Primary Action Button: #e2dffe background, #1c1c1c text, 9999px radius, compact pill padding. Use this filled treatment for the main CTA.
Create a feature card: background Canvas White (#fdfcfe), 24px radius, 48px padding. Headline 'Trading tools' at 64px Phantom weight 400, #3c315b, letter-spacing -0.025em. Subtext 'for everyone' at 30px Phantom weight 350, #3c315b, letter-spacing -0.025em. Ghost button 'See more' with transparent background, text Phantom Violet (#3c315b), 1px border Phantom Violet (#3c315b), 32px radius, 16px padding.
Create a navigation bar: background Canvas White (#fdfcfe). Logo on left. Navigation links 'Features', 'Learn', 'Explore' with text Phantom Violet (#3c315b), 4px element gap. Download button 'Download' right-aligned, background Sky Lavender (#ab9ff2), text Canvas White (#fdfcfe), 32px radius, 12px 20px padding.
## Similar Brands
- **Rainbow Wallet** — Both use a vibrant, custom, playful aesthetic for crypto, with significant use of pastel brand colors and soft shapes.
- **Plaid** — Shares a clean, modern interface with a strong emphasis on typography, soft neutrals, and subtle branding through single-color elements.
- **Figma** — Exhibits a bright, spacious UI with rounded corners and a focused use of brand accent colors for interactive elements over a neutral canvas.
- **Linear** — Employs an aesthetic with generous spacing, clear typography, and a refined use of a single accent color against a largely monochrome palette.
## Quick Start
### CSS Custom Properties
```css
:root {
/* Colors */
--color-canvas-white: #fdfcfe;
--color-phantom-violet: #3c315b;
--color-ghost-button-violet: #e2dffe;
--color-deep-sea: #1c1c1c;
--color-slate-gray: #e9e8ea;
--color-sky-lavender: #ab9ff2;
--color-soft-fog: #f4f2f4;
--color-cool-gray: #86848d;
--color-success-green: #2ec08b;
/* Typography — Font Families */
--font-phantom: 'Phantom', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-caption: 13px;
--leading-caption: 1.25;
--tracking-caption: -0.025px;
--text-body-sm: 15px;
--leading-body-sm: 1.25;
--tracking-body-sm: -0.025px;
--text-subheading: 20px;
--leading-subheading: 1.25;
--tracking-subheading: -0.025px;
--text-heading-sm: 24px;
--leading-heading-sm: 1.25;
--tracking-heading-sm: -0.025px;
--text-heading: 30px;
--leading-heading: 1.25;
--tracking-heading: -0.025px;
--text-heading-lg: 64px;
--leading-heading-lg: 1.1;
--tracking-heading-lg: -0.025px;
--text-display: 80px;
--leading-display: 1.1;
--tracking-display: -0.025px;
/* Typography — Weights */
--font-weight-w350: 350;
--font-weight-regular: 400;
/* Spacing */
--spacing-unit: 4px;
--spacing-4: 4px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-20: 20px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Layout */
--section-gap: 32px;
--card-padding: 48px;
--element-gap: 4px;
/* Border Radius */
--radius-md: 4px;
--radius-2xl: 16px;
--radius-3xl: 24px;
--radius-3xl-2: 32px;
--radius-full: 96px;
--radius-full-2: 100px;
/* Named Radii */
--radius-cards: 24px;
--radius-header: 100px;
--radius-buttons: 32px;
--radius-largeelements: 24px;
--radius-smallelements: 4px;
/* Shadows */
--shadow-sm: rgb(226, 223, 254) 0px 0px 4px 0px;
/* Surfaces */
--surface-canvas-white: #fdfcfe;
--surface-soft-fog: #f4f2f4;
}
```
### Tailwind v4
```css
@theme {
/* Colors */
--color-canvas-white: #fdfcfe;
--color-phantom-violet: #3c315b;
--color-ghost-button-violet: #e2dffe;
--color-deep-sea: #1c1c1c;
--color-slate-gray: #e9e8ea;
--color-sky-lavender: #ab9ff2;
--color-soft-fog: #f4f2f4;
--color-cool-gray: #86848d;
--color-success-green: #2ec08b;
/* Typography */
--font-phantom: 'Phantom', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
/* Typography — Scale */
--text-caption: 13px;
--leading-caption: 1.25;
--tracking-caption: -0.025px;
--text-body-sm: 15px;
--leading-body-sm: 1.25;
--tracking-body-sm: -0.025px;
--text-subheading: 20px;
--leading-subheading: 1.25;
--tracking-subheading: -0.025px;
--text-heading-sm: 24px;
--leading-heading-sm: 1.25;
--tracking-heading-sm: -0.025px;
--text-heading: 30px;
--leading-heading: 1.25;
--tracking-heading: -0.025px;
--text-heading-lg: 64px;
--leading-heading-lg: 1.1;
--tracking-heading-lg: -0.025px;
--text-display: 80px;
--leading-display: 1.1;
--tracking-display: -0.025px;
/* Spacing */
--spacing-4: 4px;
--spacing-8: 8px;
--spacing-12: 12px;
--spacing-16: 16px;
--spacing-20: 20px;
--spacing-24: 24px;
--spacing-32: 32px;
--spacing-48: 48px;
--spacing-64: 64px;
--spacing-96: 96px;
--spacing-128: 128px;
/* Border Radius */
--radius-md: 4px;
--radius-2xl: 16px;
--radius-3xl: 24px;
--radius-3xl-2: 32px;
--radius-full: 96px;
--radius-full-2: 100px;
/* Shadows */
--shadow-sm: rgb(226, 223, 254) 0px 0px 4px 0px;
}
```
Soft Violet Dreamscape: A calming…
Black canvas, vivid pixel shimmer
Vibrant dreamscape on cloudnine.…
Midnight Command Center: a dark…

Whimsical tech playground. Muted…

Crisp Blueprint on White Canvas.…

Deep canvas, fuchsia accent
digital-first canvas

Architectural blueprint on white…
Deep Violet Canvas
Midnight gradient with neon…
Warm canvas, playful 3D
Blockchain blueprint on bright…
Playful block playground
Midnight Nebula Canvas
Neon accent on white canvas
Deep-sea radiant data

Vibrant Violet Gradient Canvas
Playful crypto minimalism with an…
Warm earth against dark steel