This document summarizes the design token structure from the Figma design system for the Aurora - Prism Project.
The design system is organized into several main categories: Colors, Typography, Spacing, Radius, and Effects. Each category contains semantic tokens that map to specific use cases within the application.
The design system includes comprehensive color palettes with scales from 50 (lightest) to 950 (darkest):
- Red: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
- Yellow: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
- Green: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
- Violet: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
- Greys: 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950
- Gradient - Fill: Primary gradient fill
- Gradient - Hover: Hover state gradient
- Gradient - Stroke: Stroke gradient
- Gradient - Blue: Blue gradient variant
Background / Elevated: Elevated background surfaceBackground / Default: Default background surface
Surface / Subtle: Subtle surface variantSurface / Default: Default surfaceSurface / Disabled: Disabled state surfaceSurface / Gradient-Primary: Primary gradient surfaceSurface / Gradient-Secondary: Secondary gradient surfaceSurface / Elevated lv.1: First level elevated surfaceSurface / Elevated lv.2: Second level elevated surface
Border / Default: Default border colorBorder / Disabled: Disabled border colorBorder / Darker: Darker border variantBorder / Active: Active state borderBorder / Secondary: Secondary borderBorder / tertiary: Tertiary border
Text / Title: Title text colorText / Body: Body text colorText / Subtitle: Subtitle text colorText / Icon / primary: Primary icon/text colorText / Icon / darker: Darker icon/text variantText / Icon / white: White icon/text variant
Semantic / primary: Primary semantic colorSemantic / darker: Darker semantic variantSemantic / white: White semantic variant
The typography system includes the following text styles with multiple weight variants:
- H1: Bold, Regular, Light
- Size: 61px (3.813rem)
- H2: Bold, Regular, Light
- Size: 49px (3.063rem)
- H3: Bold, Regular, Light
- Size: 39px (2.438rem)
- H4: Bold, Regular, Light
- Size: 31px (1.938rem)
- H5: Bold, Regular, Light
- Size: 24px (1.563rem)
- Headline: Bold, Regular, Light
- Size: 20px (1.250rem)
- Body: Bold, Regular, Light
- Size: 16px (1.000rem)
- Subtitle: Bold, Regular
- Size: 13px (0.813rem)
- Caption: Bold, Regular
- Size: 10px (0.625rem)
- Footnote: Bold, Regular
- Size: 8px (0.500rem)
- Bold: Heavy weight for emphasis
- Regular: Standard weight for body text
- Light: Light weight for subtle text
The spacing system uses a consistent numerical scale:
2(2px)4(4px)6(6px)8(8px)12(12px)16(16px)20(20px)24(24px)32(32px)40(40px)999(999px - likely for full-width/max values)Full(100% width)
Border radius values for rounded corners:
- S (Small): Minimal rounding
- M (Medium): Standard rounding
- L (Large): Large rounding
- XL (Extra Large): Extra large rounding
- Full: Fully rounded (circular/pill shape)
- Background Blur: Blur effect for background elements
These icons should be used across all screens for consistency. Each icon has default (white), green (active), and dark variants where available.
- Dashboard
- Prisms
- Contacts
- Notifications
- Settings
- Wallet
- Finance
- Vector
The design tokens are organized hierarchically:
Design Tokens
├── Colors
│ ├── Base Palettes (Red, Yellow, Green, Violet, Greys)
│ ├── Gradients
│ └── Semantic Tokens
│ ├── Backgrounds
│ ├── Surfaces
│ ├── Borders
│ ├── Text/Icon/Symbols
│ └── Semantics
├── Typography
│ ├── Headings (H1-H5)
│ └── Text Styles (Headline, Body, Subtitle, Caption, Footnote)
├── Spacing
│ └── Number Scale (2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 999, Full)
├── Radius
│ └── Size Variants (S, M, L, XL, Full)
└── Effects
└── Blur
-
Color Tokens: Use semantic tokens (e.g.,
Text / Title) rather than raw color values to ensure consistency and maintainability. -
Typography: Each text style has multiple weight variants. Choose the appropriate weight based on hierarchy and emphasis.
-
Spacing: The number scale provides consistent spacing throughout the application. Use these values for padding, margins, and gaps.
-
Radius: Apply radius tokens consistently to maintain visual harmony across rounded elements.
-
Gradients: Use gradient tokens for surfaces and backgrounds that require depth and visual interest.
When implementing these tokens in code:
- CSS Variables: Map tokens to CSS custom properties for easy theming
- Type Safety: Create TypeScript interfaces for token names
- Documentation: Keep this document updated as tokens evolve
- Naming Convention: Follow the semantic naming structure (e.g.,
surface-default,text-title) - Accessibility: Ensure color contrast ratios meet WCAG guidelines when using text tokens
Last updated: Based on Figma file structure analysis Figma File: Aurora - Prism Project