Skip to content
v1.0

Brand Guideline

The complete reference for Cmdflow's visual identity — design tokens, color palette, typography, spacing, motion, and component standards. All values map to CSS custom properties defined in app/globals.css.

IDENTITY

Brand Identity

Design Territory

Playful Premium

Cmdflow combines the discipline of premium technology companies with the warmth and personality of a product people enjoy spending time with.

Design Principles

Precision over Decoration

Every element must justify its existence. Decoration is earned through functional purpose.

Hierarchy through Restraint

Use whitespace and typography — not borders and shadows — to establish visual hierarchy.

Consistency is Freedom

Reusing components and patterns creates coherence, not limitation.

Content is the Interface

The design serves the content, not the reverse. Layout adapts to content.

Progressive Disclosure

Show what users need now. Reveal complexity when they ask for it.

Brand Personality

Creator-firstConfidentPlayfulFriendlyHelpfulIntelligentPremiumClearCuriousCapable

Primary principle: Clarity first. Personality second. Delight third. Complexity only when justified.

TOKENS

Color Palette

All colors are defined as CSS custom properties on :root. Dark mode values are pre-defined in the design system foundation but not yet implemented.

Surface & Background

Surface Base

--cmd-color-surface-base#FAFAF8

Surface

--cmd-color-surface#F0EFEB

Surface Elevated

--cmd-color-surface-elevated#FFFFFF

Surface Overlay

--cmd-color-surface-overlayrgba(0,0,0,0.04)

Text

Text Primary

--cmd-color-text-primary#1A1A18

Text Secondary

--cmd-color-text-secondary#6B6964

Text Muted

--cmd-color-text-muted#A09E98

Text Inverse

--cmd-color-text-inverse#FFFFFF

Text on Primary

--cmd-color-text-on-primary#FFFFFF

Brand / Primary

Primary Base

--cmd-color-primary-base#4A9EFF

Primary Hover

--cmd-color-primary-hover#3584E8

Primary Active

--cmd-color-primary-active#2569CC

Primary Muted

--cmd-color-primary-muted#E8F1FE

Primary Border

--cmd-color-primary-border#B8D6FE

Secondary

Secondary Base

--cmd-color-secondary-base#1A1A18

Secondary Hover

--cmd-color-secondary-hover#333230

Border

Border Subtle

--cmd-color-border-subtle#E2E0DB

Border Default

--cmd-color-border-default#D4D2CC

Border Strong

--cmd-color-border-strong#B8B5AD

Feedback — Success

Success

--cmd-color-success-base#22C55E

Success Muted

--cmd-color-success-muted#DCFCE7

Success Border

--cmd-color-success-border#86EFAC

Feedback — Warning

Warning

--cmd-color-warning-base#F59E0B

Warning Muted

--cmd-color-warning-muted#FEF3C7

Warning Border

--cmd-color-warning-border#FCD34D

Feedback — Danger

Danger

--cmd-color-danger-base#EF4444

Danger Muted

--cmd-color-danger-muted#FEE2E2

Danger Border

--cmd-color-danger-border#FCA5A5

Feedback — Info

Info

--cmd-color-info-base#4A9EFF

Info Muted

--cmd-color-info-muted#E8F1FE

Info Border

--cmd-color-info-border#B8D6FE

Focus & Selection

Focus Ring

--cmd-color-focus-ringrgba(74, 158, 255, 0.4)

Selection

--cmd-color-selectionrgba(74, 158, 255, 0.2)
TOKENS

Typography

Three-font system: Geist (display), Inter (body), JetBrains Mono (code). All fonts are self-hosted via next/font.

Font Family

Geist

Display / Headings

Ag

Font Family

Inter

Body / UI

Ag

Font Family

Mono

JetBrains Mono / Code

Ag

Display Scale (Geist)

LevelSizeLine HeightLetter SpacingWeight
XLclamp(2.5rem, 5vw, 4.5rem)1.0-0.02em700
Lclamp(2rem, 4.5vw, 3.75rem)1.05-0.02em700
Mclamp(1.75rem, 3.5vw, 3rem)1.1-0.015em600
Sclamp(1.5rem, 2.5vw, 2.25rem)1.15-0.01em600

Heading Scale (Geist, 600 weight)

LevelSizeLine HeightLetter Spacing
H1clamp(2rem, 5vw, 3.815rem) (61px)1.2-0.02em
H2clamp(1.6rem, 4vw, 3.052rem) (48.8px)1.25-0.015em
H3clamp(1.35rem, 3vw, 2.441rem) (39px)1.3-0.01em
H4clamp(1.15rem, 2.5vw, 1.953rem) (31.2px)1.35-0.005em
H5clamp(1rem, 2vw, 1.563rem) (25px)1.40em
H6clamp(0.875rem, 1.5vw, 1.25rem) (20px)1.4+0.01em

Body Scale (Inter, 400 weight)

LevelSizeLine HeightUse
Large1.125rem (18px)1.6Hero subtext, lead paragraphs
Medium1rem (16px)1.6Default body text
Small0.875rem (14px)1.55Secondary text, descriptions

Utility Scale

LevelSizeLine HWeightUse
Caption0.8125rem (13px)1.4400Timestamps, photo credits
Overline0.75rem (12px)1.3500Uppercase section labels, eyebrow text
Code0.875rem (14px)1.6400Inline code, code blocks (JetBrains Mono)
Button0.875rem (14px)1500All button labels (Geist)
Label0.8125rem (13px)1.2500Form labels, input labels (Inter)
Small0.75rem (12px)1.4400Legal text, footnotes
TOKENS

Spacing

An 18-step spacing scale based on 0.25rem (4px) increments. Use these values exclusively — no arbitrary spacing values.

Spacing Scale

0
0.125rem
0.25rem
0.5rem
0.75rem
1rem
1.25rem
1.5rem
2rem
2.5rem
3rem
3.5rem
4rem
5rem
6rem
8rem
12rem
16rem

Semantic Spacing

TokenValueUse
--cmd-spacing-stack-xs--cmd-spacing-2 (0.5rem)Tight content groups (label + input)
--cmd-spacing-stack-sm--cmd-spacing-4 (1rem)Related content (heading + paragraph)
--cmd-spacing-stack-md--cmd-spacing-6 (1.5rem)Distinct content blocks
--cmd-spacing-stack-lg--cmd-spacing-10 (2.5rem)Major sections within a page area
--cmd-spacing-inline-xs--cmd-spacing-2 (0.5rem)Tight inline elements (icon + text)
--cmd-spacing-inline-sm--cmd-spacing-3 (0.75rem)Button groups, tag groups
--cmd-spacing-inline-md--cmd-spacing-4 (1rem)Form field groups, navigation items
--cmd-spacing-inline-lg--cmd-spacing-6 (1.5rem)Larger inline groupings

Section Spacing

TokenDesktopTabletMobile
--cmd-spacing-section-padding8rem (128px)4rem (64px)3rem (48px)
--cmd-spacing-section-gap4rem (64px)2.5rem (40px)2rem (32px)
--cmd-spacing-section-inner3rem (48px)2rem (32px)1.5rem (24px)
TOKENS

Border Radius

Cmdflow uses soft corners for a friendly feel without becoming childish. Controlled rounded geometry with occasional pill shapes for labels and compact controls.

--cmd-radius-none

0

Containers, structural elements

--cmd-radius-sm

0.25rem (4px)

Buttons, inputs, badges

--cmd-radius-md

0.5rem (8px)

Cards, dialogs, dropdowns

--cmd-radius-lg

1rem (16px)

Sections, feature panels

--cmd-radius-xl

1.5rem (24px)

Hero, full-bleed containers

--cmd-radius-full

9999px

Pills, avatars, toggle handles

TOKENS

Shadows

Shadows are used sparingly. Default cards rely on surface contrast, borders, and layering rather than shadows.

Card

--cmd-shadow-card0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04)

Elevated

--cmd-shadow-elevated0 4px 6px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04)

Modal

--cmd-shadow-modal0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05)

Dropdown

--cmd-shadow-dropdown0 4px 12px rgba(0,0,0,0.08)

Button

--cmd-shadow-button0 1px 2px rgba(0,0,0,0.05)
TOKENS

Motion

Motion should explain, guide, reward, or create memory. If an animation does none of these, remove it. All motion respects prefers-reduced-motion.

Duration Scale

TokenValueUse
--cmd-motion-duration-instant50msMicro-interactions, color transitions
--cmd-motion-duration-fast100msHover states, active states, button feedback
--cmd-motion-duration-normal200msGeneric UI transitions, dropdowns, tooltips
--cmd-motion-duration-slow300msModal enter, drawer slide, card hover elevation
--cmd-motion-duration-reveal400msScroll reveals, staggered entries, accordion expand
--cmd-motion-duration-page500msPage transitions, section morph
--cmd-motion-duration-hero700msHero initial animation, gradient cycle
--cmd-motion-duration-hero-max1200msMaximum hero animation duration

Easing Curves

TokenCurveCharacterUse
--cmd-motion-ease-defaultcubic-bezier(0.2, 0, 0, 1)Smooth, professionalMost UI animation
--cmd-motion-ease-entercubic-bezier(0, 0, 0.2, 1)Swift, decisiveElements entering viewport
--cmd-motion-ease-exitcubic-bezier(0.4, 0, 1, 1)Quick, cleanElements leaving viewport
--cmd-motion-ease-linearcubic-bezier(0, 0, 1, 1)ConstantContinuous motion
--cmd-motion-ease-emphasiscubic-bezier(0.16, 1, 0.3, 1)Dynamic, premiumWOW moments, hero entrance
SYSTEM

Layout & Grid

12-column responsive grid with content-driven breakpoints. Use container-site, container-narrow, and container-bleed utilities.

Breakpoints

NameMin WidthContainer MaxColumns
sm640px100%4
md768px720px8
lg1024px960px12
xl1280px1216px12
2xl1536px1280px12

Z-Index Scale

TokenValueUse
--cmd-z-base0Default content
--cmd-z-sticky10Sticky headers, section navs
--cmd-z-dropdown20Dropdown menus, tooltips
--cmd-z-header30Main navigation header
--cmd-z-backdrop40Modal/drawer backdrops
--cmd-z-modal50Modal dialogs, drawers
--cmd-z-toast60Toast notifications
--cmd-z-tooltip70Tooltips (on top of modals)
--cmd-z-palette80Command palette
--cmd-z-maximum100Loading overlays, blocking UI

Design Review Scorecard

Every major page and section must be reviewed on: Brand Fit, Clarity, Originality, UX, Visual Hierarchy, Copy Quality, Motion Purpose, Accessibility, Responsive Quality, Performance Cost, Technical Feasibility, Scalability, Conversion Impact, Maintainability. No major section should proceed with any score below 7 or Brand Fit/Clarity below 9.


Last updated from design.md and DESIGN-SYSTEM-FOUNDATION.md