Style Guide
Complete design system and brand guidelines for Edgerun. This page serves as the single source of truth for colors, typography, components, and spacing.
Color Palette
Edgerun uses a dark theme with purple and blue accents. All colors are defined as design tokens.
Backgrounds
Background
oklch(0 0 0)
Card
oklch(0.12 0 0)
Popover
oklch(0.15 0 0)
Muted
oklch(0.20 0 0)
Accent Colors
Primary (Purple)
oklch(0.65 0.22 285)
Accent (Blue)
oklch(0.60 0.18 250)
Secondary
oklch(0.25 0 0)
Destructive (Red)
oklch(0.55 0.22 25)
Text Colors
Foreground
oklch(0.98 0 0)
Muted Foreground
oklch(0.60 0 0)
Primary Foreground
oklch(0.98 0 0)
Card Foreground
oklch(0.98 0 0)
UI Elements
Border
oklch(0.22 0 0)
Input
oklch(0.22 0 0)
Ring
oklch(0.65 0.22 285)
Border Radius
--radius: 0.625rem
Typography
Edgerun uses Geist for UI text and Geist Mono for technical data like hashes and code.
Heading 1 - Bold Display
Heading 2 - Section Title
Heading 3 - Subsection
Heading 4 - Card Title
Heading 5 - Small Heading
This is body text in the default size. It uses the Geist font family with relaxed line height for optimal readability. Body text should be clear and comfortable to read for extended periods.
This is secondary body text, often used for descriptions, captions, or less prominent information. It uses a muted foreground color to create visual hierarchy.
0x7f3a9b2c8e1d4f6a9c2b5e8d1a4f7c3b9e2a5d8c1f4a7b3e6d9c2a5f8e1b4d7
Technical data like hashes, addresses, and code snippets use monospace font
Available Font Classes:
font-sans- Default UI font (Geist)font-mono- Monospace font (Geist Mono)
Components
Standard UI components built with shadcn/ui and customized for the Edgerun brand.
Buttons
Badges
Input Fields
Cards
Card content goes here. Cards are used to group related information.
Use muted backgrounds for less prominent content.
Spacing
Consistent spacing using Tailwind's spacing scale (4px base unit).
Spacing Scale
Use Tailwind spacing utilities (p-*, m-*, gap-*) for consistent spacing
Common Patterns:
gap-4- Default gap between flex/grid itemsp-6- Card paddingspace-y-4- Vertical spacing between elementsmb-8- Section bottom margin
Usage Guidelines
Brand Principles
- •Professional: Clean, technical aesthetic that conveys trust and reliability
- •Dark-First: Pure black hero sections with near-black cards for depth
- •Monospace for Technical Data: Always use monospace font for hashes, addresses, and IDs
- •Subtle Accents: Purple primary and blue accent colors used sparingly for CTAs and highlights
- •No Crypto Hype: Avoid overly promotional language or flashy design elements
Design Patterns
- •Hero Sections: Pure black background (--background) with large typography
- •Content Cards: Use --card background with subtle borders
- •Data Display: Tables and lists with clear hierarchy and monospace values
- •Status Indicators: Use badges with appropriate variants for job/worker status
- •CTAs: Primary buttons for main actions, outline for secondary actions