DesignExcellence
Every pixel is intentional. This is the FrankX design system — the principles, tokens, and standards that make frankx.ai feel premium, coherent, and unmistakably ours.
Design Principles
Six rules that govern every design decision on frankx.ai.
Dark-First
Every surface starts at #0a0a0b. Light is earned through glassmorphism and accent glows. Never pure black, never light mode as an afterthought.
Glass Over Solid
Cards use bg-white/[0.03] with backdrop-blur. Maximum opacity: 0.08. The glass layering creates depth without weight. Borders at white/[0.06].
Motion With Purpose
Only animate transform + opacity. 200ms for interactions, 300ms for transitions, 8-15s for ambient effects. Respect prefers-reduced-motion always.
Accessible By Default
WCAG AA minimum (4.5:1 text, 3:1 UI). Focus rings use purple (#AB47C7). All interactions have keyboard alternatives. Reduced motion support mandatory.
Mobile-Considered
Touch targets minimum 44x44px. Breakpoints at 640/768/1024/1280/1536. Content widths: 680px prose, 896px cards, 1280px page max.
Type Discipline
Poppins for text ≥18px only. Inter handles all body and UI. JetBrains Mono for code. Playfair Display only for italic editorial quotes. No exceptions.
Color System
Dark-first foundation with purposeful accent colors. Click any swatch to copy the hex value.
Foundation
Accent Colors
Text Hierarchy
Typography Scale
Three font families, strict size discipline. Poppins headings, Inter body, JetBrains Mono code.
Glassmorphism Playground
Adjust opacity, blur, and border to see how glass layers work. The standard values are marked.
Glass Card
Adjust the controls to see how glassmorphism parameters affect the visual result.
background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(18px); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 16px;
Ghost
0.02
Hover
Standard
0.03
Cards
Elevated
0.05
Active
Strong
0.08
Max
Spacing System
4px base grid. Every spacing value is a multiple of 4.
Content Widths
Component Patterns
Live examples of core component patterns used across frankx.ai.
Buttons
Badges & Tags
Cards
Glass Card
bg-white/[0.03] + backdrop-blur
Elevated Card
bg-elevated + border
Accent Card
Left border accent
Focus Ring
outline: 2px solid #AB47C7, offset: 2px
Border Radius Scale
4px
Tags
8px
Buttons
12px
Cards sm
16px
Cards
24px
Panels
Full
Pills
This is a living document. The design system evolves with the product.