open-design/design-systems/default/DESIGN.md
Zakaria a46764fb1b
Some checks failed
ci / Validate workspace (push) Has been cancelled
landing-page-ci / Validate landing page (push) Has been cancelled
landing-page-deploy / Deploy landing page (push) Has been cancelled
github-metrics / Generate repository metrics SVG (push) Has been cancelled
first-commit
2026-05-04 14:58:14 -04:00

2.8 KiB
Raw Permalink Blame History

Neutral Modern

Category: Starter A clean, product-oriented default. Use when the brief doesn't call for a specific mood — good for B2B tools, dashboards, and utility pages.

Visual Theme & Atmosphere

Calm, functional, quietly confident. No ornament. Content-first, chrome-second.

Color Palette & Roles

  • Background: #FAFAFA
  • Foreground: #111111
  • Accent: #2F6FEB (cobalt) — primary CTAs, links, one hero element per screen
  • Muted: #6B6B6B — secondary text, captions
  • Border: #E5E5E5
  • Surface: #FFFFFF — cards, modals
  • Success: #17A34A, Warn: #EAB308, Danger: #DC2626 Never pure black; never pure white for backgrounds.

Typography Rules

  • Display / headings: 'Inter', -apple-system, system-ui, sans-serif, weight 600
  • Body: 'Inter', -apple-system, system-ui, sans-serif, weight 400
  • Mono: ui-monospace, 'JetBrains Mono', monospace
  • Scale (px): 12 · 14 · 16 · 20 · 24 · 32 · 48 · 64
  • Line-height: 1.5 for body, 1.2 for headings
  • Letter-spacing: -0.01em on display sizes ≥32px

Component Stylings

  • Buttons: 8px radius, 10px padding-block, 16px padding-inline. Primary = cobalt fill, white label. Secondary = 1px border, transparent fill.
  • Cards: white, 1px border, 12px radius, 20px internal padding, no shadow by default.
  • Inputs: 1px border, 8px radius, 10px vertical padding, cobalt border on focus.
  • Links: cobalt, no underline, underline on hover.

Layout Principles

  • 12-column grid, 1200px max-width, 24px gutters.
  • Hero: 4060vh. Content top-biased, never centered vertically.
  • Sections: 80px top+bottom spacing desktop, 48px tablet, 32px phone.
  • Use whitespace as the main separator. Dividers only between unrelated top-level sections.

Depth & Elevation

Two levels only:

  • Flat (0): default.
  • Raised (1): dropdowns, modals, floating buttons. 2px y-offset, 8px blur, foreground at 8% opacity. No neumorphism, no glassmorphism.

Do's and Don'ts

  • Let whitespace do the work.
  • One accent element per screen.
  • Sentence-case headings by default; title case only for brand names.
  • No gradients (except the accent → accent-at-80% on a hero, sparingly).
  • No drop shadows on inputs.
  • No more than three type sizes on one screen.

Responsive Behavior

  • Desktop ≥ 1024px: 12-col grid.
  • Tablet 6401023px: 8-col grid, 16px gutters.
  • Phone < 640px: 4-col grid, 12px gutters; hero drops to 40vh.

Agent Prompt Guide

  • When in doubt, subtract. Fewer boxes, less chrome, more space.
  • Use the accent color sparingly — at most one hero accent and one CTA accent per screen.
  • Do not invent hex values outside this palette. If the request needs one, surface a warning comment in the artifact and use the closest existing token.