heraspec 0.1.12 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +22 -22
- package/README.md +188 -103
- package/bin/heraspec.js +4805 -1122
- package/bin/heraspec.js.map +4 -4
- package/dist/core/templates/skills/CHANGELOG.md +117 -117
- package/dist/core/templates/skills/README-template.md +58 -58
- package/dist/core/templates/skills/README.md +38 -38
- package/dist/core/templates/skills/content-optimization-skill.md +104 -104
- package/dist/core/templates/skills/data/design-systems.csv +54 -0
- package/dist/core/templates/skills/data/pages-proposed.csv +21 -21
- package/dist/core/templates/skills/data/pages.csv +9 -9
- package/dist/core/templates/skills/data/typography.csv +57 -57
- package/dist/core/templates/skills/deploy-documentation-skill.md +408 -0
- package/dist/core/templates/skills/design-system-skill.md +176 -0
- package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +63 -63
- package/dist/core/templates/skills/documents/templates/documentation.html +49 -49
- package/dist/core/templates/skills/documents/templates/landing-script.js +38 -38
- package/dist/core/templates/skills/documents/templates/landing-style.css +158 -158
- package/dist/core/templates/skills/documents/templates/script.js +56 -56
- package/dist/core/templates/skills/documents/templates/style.css +155 -155
- package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -16
- package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -16
- package/dist/core/templates/skills/documents-skill.md +104 -104
- package/dist/core/templates/skills/e2e-test-skill.md +119 -119
- package/dist/core/templates/skills/git-embed-skill.md +57 -0
- package/dist/core/templates/skills/integration-test-skill.md +118 -118
- package/dist/core/templates/skills/knowledge/README.md +63 -0
- package/dist/core/templates/skills/knowledge/design-systems/airbnb/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/airtable/DESIGN.md +89 -0
- package/dist/core/templates/skills/knowledge/design-systems/apple/DESIGN.md +313 -0
- package/dist/core/templates/skills/knowledge/design-systems/bmw/DESIGN.md +180 -0
- package/dist/core/templates/skills/knowledge/design-systems/cal/DESIGN.md +259 -0
- package/dist/core/templates/skills/knowledge/design-systems/claude/DESIGN.md +312 -0
- package/dist/core/templates/skills/knowledge/design-systems/clay/DESIGN.md +304 -0
- package/dist/core/templates/skills/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/cohere/DESIGN.md +266 -0
- package/dist/core/templates/skills/knowledge/design-systems/coinbase/DESIGN.md +129 -0
- package/dist/core/templates/skills/knowledge/design-systems/composio/DESIGN.md +307 -0
- package/dist/core/templates/skills/knowledge/design-systems/cursor/DESIGN.md +309 -0
- package/dist/core/templates/skills/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
- package/dist/core/templates/skills/knowledge/design-systems/expo/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/figma/DESIGN.md +220 -0
- package/dist/core/templates/skills/knowledge/design-systems/framer/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
- package/dist/core/templates/skills/knowledge/design-systems/ibm/DESIGN.md +332 -0
- package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -0
- package/dist/core/templates/skills/knowledge/design-systems/intercom/DESIGN.md +146 -0
- package/dist/core/templates/skills/knowledge/design-systems/kraken/DESIGN.md +125 -0
- package/dist/core/templates/skills/knowledge/design-systems/linear.app/DESIGN.md +367 -0
- package/dist/core/templates/skills/knowledge/design-systems/lovable/DESIGN.md +298 -0
- package/dist/core/templates/skills/knowledge/design-systems/minimax/DESIGN.md +257 -0
- package/dist/core/templates/skills/knowledge/design-systems/mintlify/DESIGN.md +326 -0
- package/dist/core/templates/skills/knowledge/design-systems/miro/DESIGN.md +108 -0
- package/dist/core/templates/skills/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
- package/dist/core/templates/skills/knowledge/design-systems/mongodb/DESIGN.md +266 -0
- package/dist/core/templates/skills/knowledge/design-systems/notion/DESIGN.md +309 -0
- package/dist/core/templates/skills/knowledge/design-systems/nvidia/DESIGN.md +293 -0
- package/dist/core/templates/skills/knowledge/design-systems/ollama/DESIGN.md +267 -0
- package/dist/core/templates/skills/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
- package/dist/core/templates/skills/knowledge/design-systems/pinterest/DESIGN.md +230 -0
- package/dist/core/templates/skills/knowledge/design-systems/posthog/DESIGN.md +256 -0
- package/dist/core/templates/skills/knowledge/design-systems/raycast/DESIGN.md +268 -0
- package/dist/core/templates/skills/knowledge/design-systems/replicate/DESIGN.md +261 -0
- package/dist/core/templates/skills/knowledge/design-systems/resend/DESIGN.md +303 -0
- package/dist/core/templates/skills/knowledge/design-systems/revolut/DESIGN.md +185 -0
- package/dist/core/templates/skills/knowledge/design-systems/runwayml/DESIGN.md +244 -0
- package/dist/core/templates/skills/knowledge/design-systems/sanity/DESIGN.md +357 -0
- package/dist/core/templates/skills/knowledge/design-systems/sentry/DESIGN.md +262 -0
- package/dist/core/templates/skills/knowledge/design-systems/spacex/DESIGN.md +194 -0
- package/dist/core/templates/skills/knowledge/design-systems/spotify/DESIGN.md +246 -0
- package/dist/core/templates/skills/knowledge/design-systems/stripe/DESIGN.md +322 -0
- package/dist/core/templates/skills/knowledge/design-systems/supabase/DESIGN.md +255 -0
- package/dist/core/templates/skills/knowledge/design-systems/superhuman/DESIGN.md +252 -0
- package/dist/core/templates/skills/knowledge/design-systems/together.ai/DESIGN.md +263 -0
- package/dist/core/templates/skills/knowledge/design-systems/uber/DESIGN.md +295 -0
- package/dist/core/templates/skills/knowledge/design-systems/vercel/DESIGN.md +310 -0
- package/dist/core/templates/skills/knowledge/design-systems/voltagent/DESIGN.md +323 -0
- package/dist/core/templates/skills/knowledge/design-systems/warp/DESIGN.md +253 -0
- package/dist/core/templates/skills/knowledge/design-systems/webflow/DESIGN.md +92 -0
- package/dist/core/templates/skills/knowledge/design-systems/wise/DESIGN.md +173 -0
- package/dist/core/templates/skills/knowledge/design-systems/x.ai/DESIGN.md +257 -0
- package/dist/core/templates/skills/knowledge/design-systems/zapier/DESIGN.md +328 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +208 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -0
- package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -0
- package/dist/core/templates/skills/knowledge/index.json +65 -0
- package/dist/core/templates/skills/module-codebase-skill.md +110 -110
- package/dist/core/templates/skills/plugin-directory-skill.md +396 -396
- package/dist/core/templates/skills/project-memory-skill.md +222 -0
- package/dist/core/templates/skills/project-memory-skill.vi.md +223 -0
- package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -394
- package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -421
- package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -238
- package/dist/core/templates/skills/scripts/__pycache__/core.cpython-311.pyc +0 -0
- package/dist/core/templates/skills/scripts/core.py +391 -385
- package/dist/core/templates/skills/scripts/search.py +1 -1
- package/dist/core/templates/skills/smart-explore-skill.md +141 -0
- package/dist/core/templates/skills/sourcecode-analyzer-skill.md +210 -0
- package/dist/core/templates/skills/sourcecode-analyzer-skill.vi.md +210 -0
- package/dist/core/templates/skills/suggestion-skill.md +118 -118
- package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -40
- package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -333
- package/dist/core/templates/skills/templates/page-types-guide.md +338 -338
- package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -273
- package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -42
- package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -313
- package/dist/core/templates/skills/templates/responsive-design.md +40 -40
- package/dist/core/templates/skills/ui-ux-skill.md +595 -584
- package/dist/core/templates/skills/unit-test-skill.md +111 -111
- package/dist/core/templates/skills/ux-element/templates/Controller.php +50 -50
- package/dist/core/templates/skills/ux-element/templates/Shortcode.php +23 -23
- package/dist/core/templates/skills/ux-element/templates/Template.html +20 -20
- package/dist/core/templates/skills/ux-element/templates/Thumbnail.svg +8 -8
- package/dist/core/templates/skills/ux-element/templates/View.php +21 -21
- package/dist/core/templates/skills/ux-element-skill.md +83 -83
- package/dist/core/templates/skills/wordpress-plugin-check-skill.md +151 -76
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -47
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -60
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -22
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -15
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -169
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -41
- package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -21
- package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +100 -100
- package/dist/index.js +4068 -278
- package/package.json +75 -72
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
# Design System: Vercel
|
|
2
|
+
|
|
3
|
+
## 1. Visual Theme & Atmosphere
|
|
4
|
+
|
|
5
|
+
Vercel's website is the visual thesis of developer infrastructure made invisible — a design system so restrained it borders on philosophical. The page is overwhelmingly white (`#ffffff`) with near-black (`#171717`) text, creating a gallery-like emptiness where every element earns its pixel. This isn't minimalism as decoration; it's minimalism as engineering principle. The Geist design system treats the interface like a compiler treats code — every unnecessary token is stripped away until only structure remains.
|
|
6
|
+
|
|
7
|
+
The custom Geist font family is the crown jewel. Geist Sans uses aggressive negative letter-spacing (-2.4px to -2.88px at display sizes), creating headlines that feel compressed, urgent, and engineered — like code that's been minified for production. At body sizes, the tracking relaxes but the geometric precision persists. Geist Mono completes the system as the monospace companion for code, terminal output, and technical labels. Both fonts enable OpenType `"liga"` (ligatures) globally, adding a layer of typographic sophistication that rewards close reading.
|
|
8
|
+
|
|
9
|
+
What distinguishes Vercel from other monochrome design systems is its shadow-as-border philosophy. Instead of traditional CSS borders, Vercel uses `box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.08)` — a zero-offset, zero-blur, 1px-spread shadow that creates a border-like line without the box model implications. This technique allows borders to exist in the shadow layer, enabling smoother transitions, rounded corners without clipping, and a subtler visual weight than traditional borders. The entire depth system is built on layered, multi-value shadow stacks where each layer serves a specific purpose: one for the border, one for soft elevation, one for ambient depth.
|
|
10
|
+
|
|
11
|
+
**Key Characteristics:**
|
|
12
|
+
- Geist Sans with extreme negative letter-spacing (-2.4px to -2.88px at display) — text as compressed infrastructure
|
|
13
|
+
- Geist Mono for code and technical labels with OpenType `"liga"` globally
|
|
14
|
+
- Shadow-as-border technique: `box-shadow 0px 0px 0px 1px` replaces traditional borders throughout
|
|
15
|
+
- Multi-layer shadow stacks for nuanced depth (border + elevation + ambient in single declarations)
|
|
16
|
+
- Near-pure white canvas with `#171717` text — not quite black, creating micro-contrast softness
|
|
17
|
+
- Workflow-specific accent colors: Ship Red (`#ff5b4f`), Preview Pink (`#de1d8d`), Develop Blue (`#0a72ef`)
|
|
18
|
+
- Focus ring system using `hsla(212, 100%, 48%, 1)` — a saturated blue for accessibility
|
|
19
|
+
- Pill badges (9999px) with tinted backgrounds for status indicators
|
|
20
|
+
|
|
21
|
+
## 2. Color Palette & Roles
|
|
22
|
+
|
|
23
|
+
### Primary
|
|
24
|
+
- **Vercel Black** (`#171717`): Primary text, headings, dark surface backgrounds. Not pure black — the slight warmth prevents harshness.
|
|
25
|
+
- **Pure White** (`#ffffff`): Page background, card surfaces, button text on dark.
|
|
26
|
+
- **True Black** (`#000000`): Secondary use, `--geist-console-text-color-default`, used in specific console/code contexts.
|
|
27
|
+
|
|
28
|
+
### Workflow Accent Colors
|
|
29
|
+
- **Ship Red** (`#ff5b4f`): `--ship-text`, the "ship to production" workflow step — warm, urgent coral-red.
|
|
30
|
+
- **Preview Pink** (`#de1d8d`): `--preview-text`, the preview deployment workflow — vivid magenta-pink.
|
|
31
|
+
- **Develop Blue** (`#0a72ef`): `--develop-text`, the development workflow — bright, focused blue.
|
|
32
|
+
|
|
33
|
+
### Console / Code Colors
|
|
34
|
+
- **Console Blue** (`#0070f3`): `--geist-console-text-color-blue`, syntax highlighting blue.
|
|
35
|
+
- **Console Purple** (`#7928ca`): `--geist-console-text-color-purple`, syntax highlighting purple.
|
|
36
|
+
- **Console Pink** (`#eb367f`): `--geist-console-text-color-pink`, syntax highlighting pink.
|
|
37
|
+
|
|
38
|
+
### Interactive
|
|
39
|
+
- **Link Blue** (`#0072f5`): Primary link color with underline decoration.
|
|
40
|
+
- **Focus Blue** (`hsla(212, 100%, 48%, 1)`): `--ds-focus-color`, focus ring on interactive elements.
|
|
41
|
+
- **Ring Blue** (`rgba(147, 197, 253, 0.5)`): `--tw-ring-color`, Tailwind ring utility.
|
|
42
|
+
|
|
43
|
+
### Neutral Scale
|
|
44
|
+
- **Gray 900** (`#171717`): Primary text, headings, nav text.
|
|
45
|
+
- **Gray 600** (`#4d4d4d`): Secondary text, description copy.
|
|
46
|
+
- **Gray 500** (`#666666`): Tertiary text, muted links.
|
|
47
|
+
- **Gray 400** (`#808080`): Placeholder text, disabled states.
|
|
48
|
+
- **Gray 100** (`#ebebeb`): Borders, card outlines, dividers.
|
|
49
|
+
- **Gray 50** (`#fafafa`): Subtle surface tint, inner shadow highlight.
|
|
50
|
+
|
|
51
|
+
### Surface & Overlay
|
|
52
|
+
- **Overlay Backdrop** (`hsla(0, 0%, 98%, 1)`): `--ds-overlay-backdrop-color`, modal/dialog backdrop.
|
|
53
|
+
- **Selection Text** (`hsla(0, 0%, 95%, 1)`): `--geist-selection-text-color`, text selection highlight.
|
|
54
|
+
- **Badge Blue Bg** (`#ebf5ff`): Pill badge background, tinted blue surface.
|
|
55
|
+
- **Badge Blue Text** (`#0068d6`): Pill badge text, darker blue for readability.
|
|
56
|
+
|
|
57
|
+
### Shadows & Depth
|
|
58
|
+
- **Border Shadow** (`rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`): The signature — replaces traditional borders.
|
|
59
|
+
- **Subtle Elevation** (`rgba(0, 0, 0, 0.04) 0px 2px 2px`): Minimal lift for cards.
|
|
60
|
+
- **Card Stack** (`rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, rgba(0,0,0,0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px`): Full multi-layer card shadow.
|
|
61
|
+
- **Ring Border** (`rgb(235, 235, 235) 0px 0px 0px 1px`): Light gray ring-border for tabs and images.
|
|
62
|
+
|
|
63
|
+
## 3. Typography Rules
|
|
64
|
+
|
|
65
|
+
### Font Family
|
|
66
|
+
- **Primary**: `Geist`, with fallbacks: `Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol`
|
|
67
|
+
- **Monospace**: `Geist Mono`, with fallbacks: `ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New`
|
|
68
|
+
- **OpenType Features**: `"liga"` enabled globally on all Geist text; `"tnum"` for tabular numbers on specific captions.
|
|
69
|
+
|
|
70
|
+
### Hierarchy
|
|
71
|
+
|
|
72
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
73
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
74
|
+
| Display Hero | Geist | 48px (3.00rem) | 600 | 1.00–1.17 (tight) | -2.4px to -2.88px | Maximum compression, billboard impact |
|
|
75
|
+
| Section Heading | Geist | 40px (2.50rem) | 600 | 1.20 (tight) | -2.4px | Feature section titles |
|
|
76
|
+
| Sub-heading Large | Geist | 32px (2.00rem) | 600 | 1.25 (tight) | -1.28px | Card headings, sub-sections |
|
|
77
|
+
| Sub-heading | Geist | 32px (2.00rem) | 400 | 1.50 | -1.28px | Lighter sub-headings |
|
|
78
|
+
| Card Title | Geist | 24px (1.50rem) | 600 | 1.33 | -0.96px | Feature cards |
|
|
79
|
+
| Card Title Light | Geist | 24px (1.50rem) | 500 | 1.33 | -0.96px | Secondary card headings |
|
|
80
|
+
| Body Large | Geist | 20px (1.25rem) | 400 | 1.80 (relaxed) | normal | Introductions, feature descriptions |
|
|
81
|
+
| Body | Geist | 18px (1.13rem) | 400 | 1.56 | normal | Standard reading text |
|
|
82
|
+
| Body Small | Geist | 16px (1.00rem) | 400 | 1.50 | normal | Standard UI text |
|
|
83
|
+
| Body Medium | Geist | 16px (1.00rem) | 500 | 1.50 | normal | Navigation, emphasized text |
|
|
84
|
+
| Body Semibold | Geist | 16px (1.00rem) | 600 | 1.50 | -0.32px | Strong labels, active states |
|
|
85
|
+
| Button / Link | Geist | 14px (0.88rem) | 500 | 1.43 | normal | Buttons, links, captions |
|
|
86
|
+
| Button Small | Geist | 14px (0.88rem) | 400 | 1.00 (tight) | normal | Compact buttons |
|
|
87
|
+
| Caption | Geist | 12px (0.75rem) | 400–500 | 1.33 | normal | Metadata, tags |
|
|
88
|
+
| Mono Body | Geist Mono | 16px (1.00rem) | 400 | 1.50 | normal | Code blocks |
|
|
89
|
+
| Mono Caption | Geist Mono | 13px (0.81rem) | 500 | 1.54 | normal | Code labels |
|
|
90
|
+
| Mono Small | Geist Mono | 12px (0.75rem) | 500 | 1.00 (tight) | normal | `text-transform: uppercase`, technical labels |
|
|
91
|
+
| Micro Badge | Geist | 7px (0.44rem) | 700 | 1.00 (tight) | normal | `text-transform: uppercase`, tiny badges |
|
|
92
|
+
|
|
93
|
+
### Principles
|
|
94
|
+
- **Compression as identity**: Geist Sans at display sizes uses -2.4px to -2.88px letter-spacing — the most aggressive negative tracking of any major design system. This creates text that feels _minified_, like code optimized for production. The tracking progressively relaxes as size decreases: -1.28px at 32px, -0.96px at 24px, -0.32px at 16px, and normal at 14px.
|
|
95
|
+
- **Ligatures everywhere**: Every Geist text element enables OpenType `"liga"`. Ligatures aren't decorative — they're structural, creating tighter, more efficient glyph combinations.
|
|
96
|
+
- **Three weights, strict roles**: 400 (body/reading), 500 (UI/interactive), 600 (headings/emphasis). No bold (700) except for tiny micro-badges. This narrow weight range creates hierarchy through size and tracking, not weight.
|
|
97
|
+
- **Mono for identity**: Geist Mono in uppercase with `"tnum"` or `"liga"` serves as the "developer console" voice — compact technical labels that connect the marketing site to the product.
|
|
98
|
+
|
|
99
|
+
## 4. Component Stylings
|
|
100
|
+
|
|
101
|
+
### Buttons
|
|
102
|
+
|
|
103
|
+
**Primary White (Shadow-bordered)**
|
|
104
|
+
- Background: `#ffffff`
|
|
105
|
+
- Text: `#171717`
|
|
106
|
+
- Padding: 0px 6px (minimal — content-driven width)
|
|
107
|
+
- Radius: 6px (subtly rounded)
|
|
108
|
+
- Shadow: `rgb(235, 235, 235) 0px 0px 0px 1px` (ring-border)
|
|
109
|
+
- Hover: background shifts to `var(--ds-gray-1000)` (dark)
|
|
110
|
+
- Focus: `2px solid var(--ds-focus-color)` outline + `var(--ds-focus-ring)` shadow
|
|
111
|
+
- Use: Standard secondary button
|
|
112
|
+
|
|
113
|
+
**Primary Dark (Inferred from Geist system)**
|
|
114
|
+
- Background: `#171717`
|
|
115
|
+
- Text: `#ffffff`
|
|
116
|
+
- Padding: 8px 16px
|
|
117
|
+
- Radius: 6px
|
|
118
|
+
- Use: Primary CTA ("Start Deploying", "Get Started")
|
|
119
|
+
|
|
120
|
+
**Pill Button / Badge**
|
|
121
|
+
- Background: `#ebf5ff` (tinted blue)
|
|
122
|
+
- Text: `#0068d6`
|
|
123
|
+
- Padding: 0px 10px
|
|
124
|
+
- Radius: 9999px (full pill)
|
|
125
|
+
- Font: 12px weight 500
|
|
126
|
+
- Use: Status badges, tags, feature labels
|
|
127
|
+
|
|
128
|
+
**Large Pill (Navigation)**
|
|
129
|
+
- Background: transparent or `#171717`
|
|
130
|
+
- Radius: 64px–100px
|
|
131
|
+
- Use: Tab navigation, section selectors
|
|
132
|
+
|
|
133
|
+
### Cards & Containers
|
|
134
|
+
- Background: `#ffffff`
|
|
135
|
+
- Border: via shadow — `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
|
|
136
|
+
- Radius: 8px (standard), 12px (featured/image cards)
|
|
137
|
+
- Shadow stack: `rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px`
|
|
138
|
+
- Image cards: `1px solid #ebebeb` with 12px top radius
|
|
139
|
+
- Hover: subtle shadow intensification
|
|
140
|
+
|
|
141
|
+
### Inputs & Forms
|
|
142
|
+
- Radio: standard styling with focus `var(--ds-gray-200)` background
|
|
143
|
+
- Focus shadow: `1px 0 0 0 var(--ds-gray-alpha-600)`
|
|
144
|
+
- Focus outline: `2px solid var(--ds-focus-color)` — consistent blue focus ring
|
|
145
|
+
- Border: via shadow technique, not traditional border
|
|
146
|
+
|
|
147
|
+
### Navigation
|
|
148
|
+
- Clean horizontal nav on white, sticky
|
|
149
|
+
- Vercel logotype left-aligned, 262x52px
|
|
150
|
+
- Links: Geist 14px weight 500, `#171717` text
|
|
151
|
+
- Active: weight 600 or underline
|
|
152
|
+
- CTA: dark pill buttons ("Start Deploying", "Contact Sales")
|
|
153
|
+
- Mobile: hamburger menu collapse
|
|
154
|
+
- Product dropdowns with multi-level menus
|
|
155
|
+
|
|
156
|
+
### Image Treatment
|
|
157
|
+
- Product screenshots with `1px solid #ebebeb` border
|
|
158
|
+
- Top-rounded images: `12px 12px 0px 0px` radius
|
|
159
|
+
- Dashboard/code preview screenshots dominate feature sections
|
|
160
|
+
- Soft gradient backgrounds behind hero images (pastel multi-color)
|
|
161
|
+
|
|
162
|
+
### Distinctive Components
|
|
163
|
+
|
|
164
|
+
**Workflow Pipeline**
|
|
165
|
+
- Three-step horizontal pipeline: Develop → Preview → Ship
|
|
166
|
+
- Each step has its own accent color: Blue → Pink → Red
|
|
167
|
+
- Connected with lines/arrows
|
|
168
|
+
- The visual metaphor for Vercel's core value proposition
|
|
169
|
+
|
|
170
|
+
**Trust Bar / Logo Grid**
|
|
171
|
+
- Company logos (Perplexity, ChatGPT, Cursor, etc.) in grayscale
|
|
172
|
+
- Horizontal scroll or grid layout
|
|
173
|
+
- Subtle `#ebebeb` border separation
|
|
174
|
+
|
|
175
|
+
**Metric Cards**
|
|
176
|
+
- Large number display (e.g., "10x faster")
|
|
177
|
+
- Geist 48px weight 600 for the metric
|
|
178
|
+
- Description below in gray body text
|
|
179
|
+
- Shadow-bordered card container
|
|
180
|
+
|
|
181
|
+
## 5. Layout Principles
|
|
182
|
+
|
|
183
|
+
### Spacing System
|
|
184
|
+
- Base unit: 8px
|
|
185
|
+
- Scale: 1px, 2px, 3px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 16px, 32px, 36px, 40px
|
|
186
|
+
- Notable gap: jumps from 16px to 32px — no 20px or 24px in primary scale
|
|
187
|
+
|
|
188
|
+
### Grid & Container
|
|
189
|
+
- Max content width: approximately 1200px
|
|
190
|
+
- Hero: centered single-column with generous top padding
|
|
191
|
+
- Feature sections: 2–3 column grids for cards
|
|
192
|
+
- Full-width dividers using `border-bottom: 1px solid #171717`
|
|
193
|
+
- Code/dashboard screenshots as full-width or contained with border
|
|
194
|
+
|
|
195
|
+
### Whitespace Philosophy
|
|
196
|
+
- **Gallery emptiness**: Massive vertical padding between sections (80px–120px+). The white space IS the design — it communicates that Vercel has nothing to prove and nothing to hide.
|
|
197
|
+
- **Compressed text, expanded space**: The aggressive negative letter-spacing on headlines is counterbalanced by generous surrounding whitespace. The text is dense; the space around it is vast.
|
|
198
|
+
- **Section rhythm**: White sections alternate with white sections — there's no color variation between sections. Separation comes from borders (shadow-borders) and spacing alone.
|
|
199
|
+
|
|
200
|
+
### Border Radius Scale
|
|
201
|
+
- Micro (2px): Inline code snippets, small spans
|
|
202
|
+
- Subtle (4px): Small containers
|
|
203
|
+
- Standard (6px): Buttons, links, functional elements
|
|
204
|
+
- Comfortable (8px): Cards, list items
|
|
205
|
+
- Image (12px): Featured cards, image containers (top-rounded)
|
|
206
|
+
- Large (64px): Tab navigation pills
|
|
207
|
+
- XL (100px): Large navigation links
|
|
208
|
+
- Full Pill (9999px): Badges, status pills, tags
|
|
209
|
+
- Circle (50%): Menu toggle, avatar containers
|
|
210
|
+
|
|
211
|
+
## 6. Depth & Elevation
|
|
212
|
+
|
|
213
|
+
| Level | Treatment | Use |
|
|
214
|
+
|-------|-----------|-----|
|
|
215
|
+
| Flat (Level 0) | No shadow | Page background, text blocks |
|
|
216
|
+
| Ring (Level 1) | `rgba(0,0,0,0.08) 0px 0px 0px 1px` | Shadow-as-border for most elements |
|
|
217
|
+
| Light Ring (Level 1b) | `rgb(235,235,235) 0px 0px 0px 1px` | Lighter ring for tabs, images |
|
|
218
|
+
| Subtle Card (Level 2) | Ring + `rgba(0,0,0,0.04) 0px 2px 2px` | Standard cards with minimal lift |
|
|
219
|
+
| Full Card (Level 3) | Ring + Subtle + `rgba(0,0,0,0.04) 0px 8px 8px -8px` + inner `#fafafa` ring | Featured cards, highlighted panels |
|
|
220
|
+
| Focus (Accessibility) | `2px solid hsla(212, 100%, 48%, 1)` outline | Keyboard focus on all interactive elements |
|
|
221
|
+
|
|
222
|
+
**Shadow Philosophy**: Vercel has arguably the most sophisticated shadow system in modern web design. Rather than using shadows for elevation in the traditional Material Design sense, Vercel uses multi-value shadow stacks where each layer has a distinct architectural purpose: one creates the "border" (0px spread, 1px), another adds ambient softness (2px blur), another handles depth at distance (8px blur with negative spread), and an inner ring (`#fafafa`) creates the subtle highlight that makes the card "glow" from within. This layered approach means cards feel built, not floating.
|
|
223
|
+
|
|
224
|
+
### Decorative Depth
|
|
225
|
+
- Hero gradient: soft, pastel multi-color gradient wash behind hero content (barely visible, atmospheric)
|
|
226
|
+
- Section borders: `1px solid #171717` (full dark line) between major sections
|
|
227
|
+
- No background color variation — depth comes entirely from shadow layering and border contrast
|
|
228
|
+
|
|
229
|
+
## 7. Do's and Don'ts
|
|
230
|
+
|
|
231
|
+
### Do
|
|
232
|
+
- Use Geist Sans with aggressive negative letter-spacing at display sizes (-2.4px to -2.88px at 48px)
|
|
233
|
+
- Use shadow-as-border (`0px 0px 0px 1px rgba(0,0,0,0.08)`) instead of traditional CSS borders
|
|
234
|
+
- Enable `"liga"` on all Geist text — ligatures are structural, not optional
|
|
235
|
+
- Use the three-weight system: 400 (body), 500 (UI), 600 (headings)
|
|
236
|
+
- Apply workflow accent colors (Red/Pink/Blue) only in their workflow context
|
|
237
|
+
- Use multi-layer shadow stacks for cards (border + elevation + ambient + inner highlight)
|
|
238
|
+
- Keep the color palette achromatic — grays from `#171717` to `#ffffff` are the system
|
|
239
|
+
- Use `#171717` instead of `#000000` for primary text — the micro-warmth matters
|
|
240
|
+
|
|
241
|
+
### Don't
|
|
242
|
+
- Don't use positive letter-spacing on Geist Sans — it's always negative or zero
|
|
243
|
+
- Don't use weight 700 (bold) on body text — 600 is the maximum, used only for headings
|
|
244
|
+
- Don't use traditional CSS `border` on cards — use the shadow-border technique
|
|
245
|
+
- Don't introduce warm colors (oranges, yellows, greens) into the UI chrome
|
|
246
|
+
- Don't apply the workflow accent colors (Ship Red, Preview Pink, Develop Blue) decoratively
|
|
247
|
+
- Don't use heavy shadows (> 0.1 opacity) — the shadow system is whisper-level
|
|
248
|
+
- Don't increase body text letter-spacing — Geist is designed to run tight
|
|
249
|
+
- Don't use pill radius (9999px) on primary action buttons — pills are for badges/tags only
|
|
250
|
+
- Don't skip the inner `#fafafa` ring in card shadows — it's the glow that makes the system work
|
|
251
|
+
|
|
252
|
+
## 8. Responsive Behavior
|
|
253
|
+
|
|
254
|
+
### Breakpoints
|
|
255
|
+
| Name | Width | Key Changes |
|
|
256
|
+
|------|-------|-------------|
|
|
257
|
+
| Mobile Small | <400px | Tight single column, minimal padding |
|
|
258
|
+
| Mobile | 400–600px | Standard mobile, stacked layout |
|
|
259
|
+
| Tablet Small | 600–768px | 2-column grids begin |
|
|
260
|
+
| Tablet | 768–1024px | Full card grids, expanded padding |
|
|
261
|
+
| Desktop Small | 1024–1200px | Standard desktop layout |
|
|
262
|
+
| Desktop | 1200–1400px | Full layout, maximum content width |
|
|
263
|
+
| Large Desktop | >1400px | Centered, generous margins |
|
|
264
|
+
|
|
265
|
+
### Touch Targets
|
|
266
|
+
- Buttons use comfortable padding (8px–16px vertical)
|
|
267
|
+
- Navigation links at 14px with adequate spacing
|
|
268
|
+
- Pill badges have 10px horizontal padding for tap targets
|
|
269
|
+
- Mobile menu toggle uses 50% radius circular button
|
|
270
|
+
|
|
271
|
+
### Collapsing Strategy
|
|
272
|
+
- Hero: display 48px → scales down, maintains negative tracking proportionally
|
|
273
|
+
- Navigation: horizontal links + CTAs → hamburger menu
|
|
274
|
+
- Feature cards: 3-column → 2-column → single column stacked
|
|
275
|
+
- Code screenshots: maintain aspect ratio, may horizontally scroll
|
|
276
|
+
- Trust bar logos: grid → horizontal scroll
|
|
277
|
+
- Footer: multi-column → stacked single column
|
|
278
|
+
- Section spacing: 80px+ → 48px on mobile
|
|
279
|
+
|
|
280
|
+
### Image Behavior
|
|
281
|
+
- Dashboard screenshots maintain border treatment at all sizes
|
|
282
|
+
- Hero gradient softens/simplifies on mobile
|
|
283
|
+
- Product screenshots use responsive images with consistent border radius
|
|
284
|
+
- Full-width sections maintain edge-to-edge treatment
|
|
285
|
+
|
|
286
|
+
## 9. Agent Prompt Guide
|
|
287
|
+
|
|
288
|
+
### Quick Color Reference
|
|
289
|
+
- Primary CTA: Vercel Black (`#171717`)
|
|
290
|
+
- Background: Pure White (`#ffffff`)
|
|
291
|
+
- Heading text: Vercel Black (`#171717`)
|
|
292
|
+
- Body text: Gray 600 (`#4d4d4d`)
|
|
293
|
+
- Border (shadow): `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
|
|
294
|
+
- Link: Link Blue (`#0072f5`)
|
|
295
|
+
- Focus ring: Focus Blue (`hsla(212, 100%, 48%, 1)`)
|
|
296
|
+
|
|
297
|
+
### Example Component Prompts
|
|
298
|
+
- "Create a hero section on white background. Headline at 48px Geist weight 600, line-height 1.00, letter-spacing -2.4px, color #171717. Subtitle at 20px Geist weight 400, line-height 1.80, color #4d4d4d. Dark CTA button (#171717, 6px radius, 8px 16px padding) and ghost button (white, shadow-border rgba(0,0,0,0.08) 0px 0px 0px 1px, 6px radius)."
|
|
299
|
+
- "Design a card: white background, no CSS border. Use shadow stack: rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, #fafafa 0px 0px 0px 1px. Radius 8px. Title at 24px Geist weight 600, letter-spacing -0.96px. Body at 16px weight 400, #4d4d4d."
|
|
300
|
+
- "Build a pill badge: #ebf5ff background, #0068d6 text, 9999px radius, 0px 10px padding, 12px Geist weight 500."
|
|
301
|
+
- "Create navigation: white sticky header. Geist 14px weight 500 for links, #171717 text. Dark pill CTA 'Start Deploying' right-aligned. Shadow-border on bottom: rgba(0,0,0,0.08) 0px 0px 0px 1px."
|
|
302
|
+
- "Design a workflow section showing three steps: Develop (text color #0a72ef), Preview (#de1d8d), Ship (#ff5b4f). Each step: 14px Geist Mono uppercase label + 24px Geist weight 600 title + 16px weight 400 description in #4d4d4d."
|
|
303
|
+
|
|
304
|
+
### Iteration Guide
|
|
305
|
+
1. Always use shadow-as-border instead of CSS border — `0px 0px 0px 1px rgba(0,0,0,0.08)` is the foundation
|
|
306
|
+
2. Letter-spacing scales with font size: -2.4px at 48px, -1.28px at 32px, -0.96px at 24px, normal at 14px
|
|
307
|
+
3. Three weights only: 400 (read), 500 (interact), 600 (announce)
|
|
308
|
+
4. Color is functional, never decorative — workflow colors (Red/Pink/Blue) mark pipeline stages only
|
|
309
|
+
5. The inner `#fafafa` ring in card shadows is what gives Vercel cards their subtle inner glow
|
|
310
|
+
6. Geist Mono uppercase for technical labels, Geist Sans for everything else
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
# Design System: VoltAgent
|
|
2
|
+
|
|
3
|
+
## 1. Visual Theme & Atmosphere
|
|
4
|
+
|
|
5
|
+
VoltAgent's interface is a deep-space command terminal for the AI age — a developer-facing darkness built on near-pure-black surfaces (`#050507`) where the only interruption is the electric pulse of emerald green energy. The entire experience evokes the feeling of staring into a high-powered IDE at 2am: dark, focused, and alive with purpose. This is not a friendly SaaS landing page — it's an engineering platform that announces itself through code snippets, architectural diagrams, and raw technical confidence.
|
|
6
|
+
|
|
7
|
+
The green accent (`#00d992`) is used with surgical precision — it glows from headlines, borders, and interactive elements like a circuit board carrying a signal. Against the carbon-black canvas, this green reads as "power on" — a deliberate visual metaphor for an AI agent engineering platform. The supporting palette is built entirely from warm-neutral grays (`#3d3a39`, `#8b949e`, `#b8b3b0`) that soften the darkness without introducing color noise, creating a cockpit-like warmth that pure blue-grays would lack.
|
|
8
|
+
|
|
9
|
+
Typography leans on the system font stack for headings — achieving maximum rendering speed and native-feeling authority — while Inter carries the body and UI text with geometric precision. Code blocks use SFMono-Regular, the same font developers see in their terminals, reinforcing the tool's credibility at every scroll.
|
|
10
|
+
|
|
11
|
+
**Key Characteristics:**
|
|
12
|
+
- Carbon-black canvas (`#050507`) with warm-gray border containment (`#3d3a39`) — not cold or sterile
|
|
13
|
+
- Single-accent identity: Emerald Signal Green (`#00d992`) as the sole chromatic energy source
|
|
14
|
+
- Dual-typography system: system-ui for authoritative headings, Inter for precise UI/body text, SFMono for code credibility
|
|
15
|
+
- Ultra-tight heading line-heights (1.0–1.11) creating dense, compressed power blocks
|
|
16
|
+
- Warm neutral palette (`#3d3a39`, `#8b949e`, `#b8b3b0`) that prevents the dark theme from feeling clinical
|
|
17
|
+
- Developer-terminal aesthetic where code snippets ARE the hero content
|
|
18
|
+
- Green glow effects (`drop-shadow`, border accents) that make UI elements feel electrically alive
|
|
19
|
+
|
|
20
|
+
## 2. Color Palette & Roles
|
|
21
|
+
|
|
22
|
+
### Primary
|
|
23
|
+
- **Emerald Signal Green** (`#00d992`): The core brand energy — used for accent borders, glow effects, and the highest-signal interactive moments. This is the "power-on" indicator of the entire interface.
|
|
24
|
+
- **VoltAgent Mint** (`#2fd6a1`): The button-text variant of the brand green — slightly warmer and more readable than pure Signal Green, used specifically for CTA text on dark surfaces.
|
|
25
|
+
- **Tailwind Emerald** (`#10b981`): The ecosystem-standard green used at low opacity (30%) for subtle background tints and link defaults. Bridges VoltAgent's custom palette with Tailwind's utility classes.
|
|
26
|
+
|
|
27
|
+
### Secondary & Accent
|
|
28
|
+
- **Soft Purple** (`#818cf8`): A cool indigo-violet used sparingly for secondary categorization, code syntax highlights, and visual variety without competing with green.
|
|
29
|
+
- **Cobalt Primary** (`#306cce`): Docusaurus primary dark — used in documentation contexts for links and interactive focus states.
|
|
30
|
+
- **Deep Cobalt** (`#2554a0`): The darkest primary shade, reserved for pressed/active states in documentation UI.
|
|
31
|
+
- **Ring Blue** (`#3b82f6`): Tailwind's ring color at 50% opacity — visible only during keyboard focus for accessibility compliance.
|
|
32
|
+
|
|
33
|
+
### Surface & Background
|
|
34
|
+
- **Abyss Black** (`#050507`): The landing page canvas — a near-pure black with the faintest warm undertone, darker than most "dark themes" for maximum contrast with green accents.
|
|
35
|
+
- **Carbon Surface** (`#101010`): The primary card and button background — one shade lighter than Abyss, creating a barely perceptible elevation layer. Used across all contained surfaces.
|
|
36
|
+
- **Warm Charcoal Border** (`#3d3a39`): The signature containment color — not a cold gray but a warm, almost brownish dark tone that prevents borders from feeling harsh against the black canvas.
|
|
37
|
+
|
|
38
|
+
### Neutrals & Text
|
|
39
|
+
- **Snow White** (`#f2f2f2`): The primary text color on dark surfaces — not pure white (`#ffffff`) but a softened, eye-friendly off-white. The most-used color on the site (1008 instances).
|
|
40
|
+
- **Pure White** (`#ffffff`): Reserved for the highest-emphasis moments — ghost button text and maximum-contrast headings. Used at low opacity (5%) for subtle overlay effects.
|
|
41
|
+
- **Warm Parchment** (`#b8b3b0`): Secondary body text — a warm light gray with a slight pinkish undertone that reads as "paper" against the dark canvas.
|
|
42
|
+
- **Steel Slate** (`#8b949e`): Tertiary text, metadata, timestamps, and de-emphasized content. A cool blue-gray that provides clear hierarchy below Warm Parchment.
|
|
43
|
+
- **Fog Gray** (`#bdbdbd`): Footer links and supporting navigation text — brightens on hover to Pure White.
|
|
44
|
+
- **Mist Gray** (`#dcdcdc`): Slightly brighter than Fog, used for secondary link text that transitions to bright green on hover.
|
|
45
|
+
- **Near White** (`#eeeeee`): Highest-contrast secondary text, one step below Snow White.
|
|
46
|
+
|
|
47
|
+
### Semantic & Accent
|
|
48
|
+
- **Success Emerald** (`#008b00`): Deep green for success states and positive confirmations in documentation contexts.
|
|
49
|
+
- **Success Light** (`#80d280`): Soft pastel green for success backgrounds and subtle positive indicators.
|
|
50
|
+
- **Warning Amber** (`#ffba00`): Bright amber for warning alerts and caution states.
|
|
51
|
+
- **Warning Pale** (`#ffdd80`): Softened amber for warning background fills.
|
|
52
|
+
- **Danger Coral** (`#fb565b`): Vivid red for error states and destructive action warnings.
|
|
53
|
+
- **Danger Rose** (`#fd9c9f`): Softened coral-pink for error backgrounds.
|
|
54
|
+
- **Info Teal** (`#4cb3d4`): Cool teal-blue for informational callouts and tip admonitions.
|
|
55
|
+
- **Dashed Border Slate** (`#4f5d75` at 40%): A muted blue-gray used exclusively for decorative dashed borders in workflow diagrams.
|
|
56
|
+
|
|
57
|
+
### Gradient System
|
|
58
|
+
- **Green Signal Glow**: `drop-shadow(0 0 2px #00d992)` animating to `drop-shadow(0 0 8px #00d992)` — creates a pulsing "electric charge" effect on the VoltAgent bolt logo and interactive elements. The glow expands and contracts like a heartbeat.
|
|
59
|
+
- **Warm Ambient Haze**: `rgba(92, 88, 85, 0.2) 0px 0px 15px` — a warm-toned diffused shadow that creates a soft atmospheric glow around elevated cards, visible at the edges without sharp boundaries.
|
|
60
|
+
- **Deep Dramatic Elevation**: `rgba(0, 0, 0, 0.7) 0px 20px 60px` with `rgba(148, 163, 184, 0.1) 0px 0px 0px 1px inset` — a heavy, dramatic downward shadow paired with a faint inset slate ring for the most prominent floating elements.
|
|
61
|
+
|
|
62
|
+
## 3. Typography Rules
|
|
63
|
+
|
|
64
|
+
### Font Family
|
|
65
|
+
- **Primary (Headings)**: `system-ui`, with fallbacks: `-apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol`
|
|
66
|
+
- **Secondary (Body/UI)**: `Inter`, with fallbacks inheriting from system-ui stack. OpenType features: `"calt", "rlig"` (contextual alternates and required ligatures)
|
|
67
|
+
- **Monospace (Code)**: `SFMono-Regular`, with fallbacks: `Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace`
|
|
68
|
+
|
|
69
|
+
### Hierarchy
|
|
70
|
+
|
|
71
|
+
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|
|
72
|
+
|------|------|------|--------|-------------|----------------|-------|
|
|
73
|
+
| Display / Hero | system-ui | 60px (3.75rem) | 400 | 1.00 (tight) | -0.65px | Maximum impact, compressed blocks |
|
|
74
|
+
| Section Heading | system-ui | 36px (2.25rem) | 400 | 1.11 (tight) | -0.9px | Tightest letter-spacing in the system |
|
|
75
|
+
| Sub-heading | system-ui | 24px (1.50rem) | 700 | 1.33 | -0.6px | Bold weight for emphasis at this size |
|
|
76
|
+
| Sub-heading Light | system-ui / Inter | 24px (1.50rem) | 300–400 | 1.33 | -0.6px | Light weight variant for softer hierarchy |
|
|
77
|
+
| Overline | system-ui | 20px (1.25rem) | 600 | 1.40 | 0.5px | Uppercase transform, positive letter-spacing |
|
|
78
|
+
| Feature Title | Inter | 20px (1.25rem) | 500–600 | 1.40 | normal | Card headings, feature names |
|
|
79
|
+
| Overline Small | Inter | 18px (1.13rem) | 600 | 1.56 | 0.45px | Uppercase section labels |
|
|
80
|
+
| Body / Button | Inter | 16px (1.00rem) | 400–600 | 1.50–1.65 | normal | Standard text, nav links, buttons |
|
|
81
|
+
| Nav Link | Inter | 14.45px (0.90rem) | 500 | 1.65 | normal | Navigation-specific sizing |
|
|
82
|
+
| Caption / Label | Inter | 14px (0.88rem) | 400–600 | 1.43–1.65 | normal | Descriptions, metadata, badge text |
|
|
83
|
+
| Tag / Overline Tiny | system-ui | 14px (0.88rem) | 600 | 1.43 | 2.52px | Widest letter-spacing — reserved for uppercase tags |
|
|
84
|
+
| Micro | Inter | 12px (0.75rem) | 400–500 | 1.33 | normal | Smallest sans-serif text |
|
|
85
|
+
| Code Body | SFMono-Regular | 13–14px | 400–686 | 1.23–1.43 | normal | Inline code, terminal output, variable weight for syntax |
|
|
86
|
+
| Code Small | SFMono-Regular | 11–12px | 400 | 1.33–1.45 | normal | Tiny code references, line numbers |
|
|
87
|
+
| Code Button | monospace | 13px (0.81rem) | 700 | 1.65 | normal | Copy-to-clipboard button labels |
|
|
88
|
+
|
|
89
|
+
### Principles
|
|
90
|
+
- **System-native authority**: Display headings use system-ui rather than a custom web font — this means the largest text renders instantly (no FOIT/FOUT) and inherits the operating system's native personality. On macOS it's SF Pro, on Windows it's Segoe UI. The design accepts this variability as a feature, not a bug.
|
|
91
|
+
- **Tight compression creates density**: Hero line-heights are extremely compressed (1.0) with negative letter-spacing (-0.65px to -0.9px), creating text blocks that feel like dense technical specifications rather than airy marketing copy.
|
|
92
|
+
- **Weight gradient, not weight contrast**: The system uses a gentle 300→400→500→600→700 weight progression. Bold (700) is reserved for sub-headings and code-button emphasis. Most body text lives at 400–500, creating subtle rather than dramatic hierarchy.
|
|
93
|
+
- **Uppercase is earned and wide**: When uppercase appears, it's always paired with generous letter-spacing (0.45px–2.52px), transforming dense words into spaced-out overline labels. This treatment is never applied to headings.
|
|
94
|
+
- **OpenType by default**: Both system-ui and Inter enable `"calt"` and `"rlig"` features, ensuring contextual character adjustments and ligature rendering throughout.
|
|
95
|
+
|
|
96
|
+
## 4. Component Stylings
|
|
97
|
+
|
|
98
|
+
### Buttons
|
|
99
|
+
|
|
100
|
+
**Ghost / Outline (Standard)**
|
|
101
|
+
- Background: transparent
|
|
102
|
+
- Text: Pure White (`#ffffff`)
|
|
103
|
+
- Padding: comfortable (12px 16px)
|
|
104
|
+
- Border: thin solid Warm Charcoal (`1px solid #3d3a39`)
|
|
105
|
+
- Radius: comfortably rounded (6px)
|
|
106
|
+
- Hover: background darkens to `rgba(0, 0, 0, 0.2)`, opacity drops to 0.4
|
|
107
|
+
- Outline: subtle green tint (`rgba(33, 196, 93, 0.5)`)
|
|
108
|
+
- The default interactive element — unassuming but clearly clickable
|
|
109
|
+
|
|
110
|
+
**Primary Green CTA**
|
|
111
|
+
- Background: Carbon Surface (`#101010`)
|
|
112
|
+
- Text: VoltAgent Mint (`#2fd6a1`)
|
|
113
|
+
- Padding: comfortable (12px 16px)
|
|
114
|
+
- Border: none visible (outline-based focus indicator)
|
|
115
|
+
- Outline: VoltAgent Mint (`rgb(47, 214, 161)`)
|
|
116
|
+
- Hover: same darkening behavior as Ghost
|
|
117
|
+
- The "powered on" button — green text on dark surface reads as an active terminal command
|
|
118
|
+
|
|
119
|
+
**Tertiary / Emphasized Container Button**
|
|
120
|
+
- Background: Carbon Surface (`#101010`)
|
|
121
|
+
- Text: Snow White (`#f2f2f2`)
|
|
122
|
+
- Padding: generous (20px all sides)
|
|
123
|
+
- Border: thick solid Warm Charcoal (`3px solid #3d3a39`)
|
|
124
|
+
- Radius: comfortably rounded (8px)
|
|
125
|
+
- A card-like button treatment for larger interactive surfaces (code copy blocks, feature CTAs)
|
|
126
|
+
|
|
127
|
+
### Cards & Containers
|
|
128
|
+
- Background: Carbon Surface (`#101010`) — one shade lighter than the page canvas
|
|
129
|
+
- Border: `1px solid #3d3a39` (Warm Charcoal) for standard containment; `2px solid #00d992` for highlighted/active cards
|
|
130
|
+
- Radius: comfortably rounded (8px) for content cards; subtly rounded (4–6px) for smaller inline containers
|
|
131
|
+
- Shadow Level 1: Warm Ambient Haze (`rgba(92, 88, 85, 0.2) 0px 0px 15px`) for standard elevation
|
|
132
|
+
- Shadow Level 2: Deep Dramatic (`rgba(0, 0, 0, 0.7) 0px 20px 60px` + `rgba(148, 163, 184, 0.1) 0px 0px 0px 1px inset`) for hero/feature showcase cards
|
|
133
|
+
- Hover behavior: likely border color shift toward green accent or subtle opacity increase
|
|
134
|
+
- Dashed variant: `1px dashed rgba(79, 93, 117, 0.4)` for workflow/diagram containers — visually distinct from solid-border content cards
|
|
135
|
+
|
|
136
|
+
### Inputs & Forms
|
|
137
|
+
- No explicit input token data extracted — the site is landing-page focused with minimal form UI
|
|
138
|
+
- The npm install command (`npm create voltagent-app@latest`) is presented as a code block rather than an input field
|
|
139
|
+
- Inferred style: Carbon Surface background, Warm Charcoal border, VoltAgent Mint focus ring, Snow White text
|
|
140
|
+
|
|
141
|
+
### Navigation
|
|
142
|
+
- Sticky top nav bar on Abyss Black canvas
|
|
143
|
+
- Logo: VoltAgent bolt icon with animated green glow (`drop-shadow` cycling 2px–8px)
|
|
144
|
+
- Nav structure: Logo → Product dropdown → Use Cases dropdown → Resources dropdown → GitHub stars badge → Docs CTA
|
|
145
|
+
- Link text: Snow White (`#f2f2f2`) at 14–16px Inter, weight 500
|
|
146
|
+
- Hover: links transition to green variants (`#00c182` or `#00ffaa`)
|
|
147
|
+
- GitHub badge: social proof element integrated directly into nav
|
|
148
|
+
- Mobile: collapses to hamburger menu, single-column vertical layout
|
|
149
|
+
|
|
150
|
+
### Image Treatment
|
|
151
|
+
- Dark-themed product screenshots and architectural diagrams dominate
|
|
152
|
+
- Code blocks are treated as primary visual content — syntax-highlighted with SFMono-Regular
|
|
153
|
+
- Agent workflow visualizations appear as interactive node graphs with green connection lines
|
|
154
|
+
- Decorative dot-pattern backgrounds appear behind hero sections
|
|
155
|
+
- Full-bleed within card containers, respecting 8px radius rounding
|
|
156
|
+
|
|
157
|
+
### Distinctive Components
|
|
158
|
+
|
|
159
|
+
**npm Install Command Block**
|
|
160
|
+
- A prominent code snippet (`npm create voltagent-app@latest`) styled as a copyable command
|
|
161
|
+
- SFMono-Regular on Carbon Surface with a copy-to-clipboard button
|
|
162
|
+
- Functions as the primary CTA — "install first, read later" developer psychology
|
|
163
|
+
|
|
164
|
+
**Company Logo Marquee**
|
|
165
|
+
- Horizontal scrolling strip of developer/company logos
|
|
166
|
+
- Infinite animation (`scrollLeft`/`scrollRight`, 25–80s durations)
|
|
167
|
+
- Pauses on hover and for users with reduced-motion preferences
|
|
168
|
+
- Demonstrates ecosystem adoption without cluttering the layout
|
|
169
|
+
|
|
170
|
+
**Feature Section Cards**
|
|
171
|
+
- Large cards combining code examples with descriptive text
|
|
172
|
+
- Left: code snippet with syntax highlighting; Right: feature description
|
|
173
|
+
- Green accent border (`2px solid #00d992`) on highlighted/active features
|
|
174
|
+
- Internal padding: generous (24–32px estimated)
|
|
175
|
+
|
|
176
|
+
**Agent Flow Diagrams**
|
|
177
|
+
- Interactive node-graph visualizations showing agent coordination
|
|
178
|
+
- Connection lines use VoltAgent green variants
|
|
179
|
+
- Nodes styled as mini-cards within the Warm Charcoal border system
|
|
180
|
+
|
|
181
|
+
**Community / GitHub Section**
|
|
182
|
+
- Large GitHub icon as the visual anchor
|
|
183
|
+
- Star count and contributor metrics prominently displayed
|
|
184
|
+
- Warm social proof: Discord, X, Reddit, LinkedIn, YouTube links in footer
|
|
185
|
+
|
|
186
|
+
## 5. Layout Principles
|
|
187
|
+
|
|
188
|
+
### Spacing System
|
|
189
|
+
- Base unit: 8px
|
|
190
|
+
- Scale: 2px, 4px, 5px, 6px, 6.4px, 8px, 12px, 16px, 20px, 24px, 28px, 32px, 40px, 48px, 64px
|
|
191
|
+
- Button padding: 12px 16px (standard), 20px (container-button)
|
|
192
|
+
- Card internal padding: approximately 24–32px
|
|
193
|
+
- Section vertical spacing: generous (estimated 64–96px between major sections)
|
|
194
|
+
- Component gap: 16–24px between sibling cards/elements
|
|
195
|
+
|
|
196
|
+
### Grid & Container
|
|
197
|
+
- Max container width: approximately 1280–1440px, centered
|
|
198
|
+
- Hero: centered single-column with maximum breathing room
|
|
199
|
+
- Feature sections: alternating asymmetric layouts (code left / text right, then reversed)
|
|
200
|
+
- Logo marquee: full-width horizontal scroll, breaking the container constraint
|
|
201
|
+
- Card grids: 2–3 column for feature showcases
|
|
202
|
+
- Integration grid: responsive multi-column for partner/integration icons
|
|
203
|
+
|
|
204
|
+
### Whitespace Philosophy
|
|
205
|
+
- **Cinematic breathing room between sections**: Massive vertical gaps create a "scroll-through-chapters" experience — each section feels like a new scene.
|
|
206
|
+
- **Dense within components**: Cards and code blocks are internally compact, with tight line-heights and controlled padding. Information is concentrated, not spread thin.
|
|
207
|
+
- **Border-defined separation**: Rather than relying solely on whitespace, VoltAgent uses the Warm Charcoal border system (`#3d3a39`) to delineate content zones. The border IS the whitespace signal.
|
|
208
|
+
- **Hero-first hierarchy**: The top of the page commands the most space — the "AI Agent Engineering Platform" headline and npm command get maximum vertical runway before the first content section appears.
|
|
209
|
+
|
|
210
|
+
### Border Radius Scale
|
|
211
|
+
- Nearly squared (4px): Small inline elements, SVG containers, code spans — the sharpest treatment, conveying technical precision
|
|
212
|
+
- Subtly rounded (6px): Buttons, links, clipboard actions — the workhorse radius for interactive elements
|
|
213
|
+
- Code-specific (6.4px): Code blocks, `pre` elements, clipboard copy targets — a deliberate micro-distinction from standard 6px
|
|
214
|
+
- Comfortably rounded (8px): Content cards, feature containers, emphasized buttons — the standard containment radius
|
|
215
|
+
- Pill-shaped (9999px): Tags, badges, status indicators, pill-shaped navigation elements — the roundest treatment for small categorical labels
|
|
216
|
+
|
|
217
|
+
## 6. Depth & Elevation
|
|
218
|
+
|
|
219
|
+
| Level | Treatment | Use |
|
|
220
|
+
|-------|-----------|-----|
|
|
221
|
+
| Flat (Level 0) | No shadow, no border | Page background (`#050507`), inline text |
|
|
222
|
+
| Contained (Level 1) | `1px solid #3d3a39`, no shadow | Standard cards, nav bar, code blocks |
|
|
223
|
+
| Emphasized (Level 2) | `3px solid #3d3a39`, no shadow | Large interactive buttons, emphasized containers |
|
|
224
|
+
| Accent (Level 3) | `2px solid #00d992`, no shadow | Active/highlighted feature cards, selected states |
|
|
225
|
+
| Ambient Glow (Level 4) | `rgba(92, 88, 85, 0.2) 0px 0px 15px` | Elevated cards, hover states, soft atmospheric lift |
|
|
226
|
+
| Dramatic Float (Level 5) | `rgba(0, 0, 0, 0.7) 0px 20px 60px` + `rgba(148, 163, 184, 0.1) 1px inset` | Hero feature showcase, modals, maximum-elevation content |
|
|
227
|
+
|
|
228
|
+
**Shadow Philosophy**: VoltAgent communicates depth primarily through **border weight and color**, not shadows. The standard `1px solid #3d3a39` border IS the elevation — adding a `3px` border weight or switching to green (`#00d992`) communicates importance more than adding shadow does. When shadows do appear, they're either warm and diffused (Level 4) or cinematic and dramatic (Level 5) — never medium or generic.
|
|
229
|
+
|
|
230
|
+
### Decorative Depth
|
|
231
|
+
- **Green Signal Glow**: The VoltAgent bolt logo pulses with a `drop-shadow` animation cycling between 2px and 8px blur radius in Emerald Signal Green. This is the most distinctive decorative element — it makes the logo feel "powered on."
|
|
232
|
+
- **Warm Charcoal Containment Lines**: The warm tone of `#3d3a39` borders creates a subtle visual warmth against the cool black, as if the cards are faintly heated from within.
|
|
233
|
+
- **Dashed Workflow Lines**: `1px dashed rgba(79, 93, 117, 0.4)` creates a blueprint-like aesthetic for architecture diagrams, visually distinct from solid content borders.
|
|
234
|
+
|
|
235
|
+
## 7. Do's and Don'ts
|
|
236
|
+
|
|
237
|
+
### Do
|
|
238
|
+
- Use Abyss Black (`#050507`) as the landing page background and Carbon Surface (`#101010`) for all contained elements — the two-shade dark system is essential
|
|
239
|
+
- Reserve Emerald Signal Green (`#00d992`) exclusively for high-signal moments: active borders, glow effects, and the most important interactive accents
|
|
240
|
+
- Use VoltAgent Mint (`#2fd6a1`) for button text on dark surfaces — it's more readable than pure Signal Green
|
|
241
|
+
- Keep heading line-heights compressed (1.0–1.11) with negative letter-spacing for dense, authoritative text blocks
|
|
242
|
+
- Use the warm gray palette (`#3d3a39`, `#8b949e`, `#b8b3b0`) for borders and secondary text — warmth prevents the dark theme from feeling sterile
|
|
243
|
+
- Present code snippets as primary content — they're hero elements, not supporting illustrations
|
|
244
|
+
- Use border weight (1px → 2px → 3px) and color shifts (`#3d3a39` → `#00d992`) to communicate depth and importance, rather than relying on shadows
|
|
245
|
+
- Pair system-ui for headings with Inter for body text — the speed/authority of native fonts combined with the precision of a geometric sans
|
|
246
|
+
- Use SFMono-Regular for all code content — it's the developer credibility signal
|
|
247
|
+
- Apply `"calt"` and `"rlig"` OpenType features across all text
|
|
248
|
+
|
|
249
|
+
### Don't
|
|
250
|
+
- Don't use bright or light backgrounds as primary surfaces — the entire identity lives on near-black
|
|
251
|
+
- Don't introduce warm colors (orange, red, yellow) as decorative accents — the palette is strictly green + warm neutrals on black. Warm colors are reserved for semantic states (warning, error) only
|
|
252
|
+
- Don't use Emerald Signal Green (`#00d992`) on large surfaces or as background fills — it's an accent, never a surface
|
|
253
|
+
- Don't increase heading line-heights beyond 1.33 — the compressed density is core to the engineering-platform identity
|
|
254
|
+
- Don't use heavy shadows generously — depth comes from border treatment, not box-shadow. Shadows are reserved for Level 4–5 elevation only
|
|
255
|
+
- Don't use pure white (`#ffffff`) as default body text — Snow White (`#f2f2f2`) is the standard. Pure white is reserved for maximum-emphasis headings and button text
|
|
256
|
+
- Don't mix in serif or decorative fonts — the entire system is geometric sans + monospace
|
|
257
|
+
- Don't use border-radius larger than 8px on content cards — 9999px (pill) is only for small tags and badges
|
|
258
|
+
- Don't skip the warm-gray border system — cards without `#3d3a39` borders lose their containment and float ambiguously on the dark canvas
|
|
259
|
+
- Don't animate aggressively — animations are slow and subtle (25–100s durations for marquee, gentle glow pulses). Fast motion contradicts the "engineering precision" atmosphere
|
|
260
|
+
|
|
261
|
+
## 8. Responsive Behavior
|
|
262
|
+
|
|
263
|
+
### Breakpoints
|
|
264
|
+
| Name | Width | Key Changes |
|
|
265
|
+
|------|-------|-------------|
|
|
266
|
+
| Small Mobile | <420px | Minimum layout, stacked everything, reduced hero text to ~24px |
|
|
267
|
+
| Mobile | 420–767px | Single column, hamburger nav, full-width cards, hero text ~36px |
|
|
268
|
+
| Tablet | 768–1024px | 2-column grids begin, condensed nav, medium hero text |
|
|
269
|
+
| Desktop | 1025–1440px | Full multi-column layout, expanded nav with dropdowns, large hero (60px) |
|
|
270
|
+
| Large Desktop | >1440px | Max-width container centered (est. 1280–1440px), generous horizontal margins |
|
|
271
|
+
|
|
272
|
+
*23 breakpoints detected in total, ranging from 360px to 1992px — indicating a fluid, heavily responsive grid system rather than fixed breakpoint snapping.*
|
|
273
|
+
|
|
274
|
+
### Touch Targets
|
|
275
|
+
- Buttons use comfortable padding (12px 16px minimum) ensuring adequate touch area
|
|
276
|
+
- Navigation links spaced with sufficient gap for thumb navigation
|
|
277
|
+
- Interactive card surfaces are large enough to serve as full touch targets
|
|
278
|
+
- Minimum recommended touch target: 44x44px
|
|
279
|
+
|
|
280
|
+
### Collapsing Strategy
|
|
281
|
+
- **Navigation**: Full horizontal nav with dropdowns collapses to hamburger menu on mobile
|
|
282
|
+
- **Feature grids**: 3-column → 2-column → single-column vertical stacking
|
|
283
|
+
- **Hero text**: 60px → 36px → 24px progressive scaling with maintained compression ratios
|
|
284
|
+
- **Logo marquee**: Adjusts scroll speed and item sizing; maintains infinite loop
|
|
285
|
+
- **Code blocks**: Horizontal scroll on smaller viewports rather than wrapping — preserving code readability
|
|
286
|
+
- **Section padding**: Reduces proportionally but maintains generous vertical rhythm between chapters
|
|
287
|
+
- **Cards**: Stack vertically on mobile with full-width treatment and maintained internal padding
|
|
288
|
+
|
|
289
|
+
### Image Behavior
|
|
290
|
+
- Dark-themed screenshots and diagrams scale proportionally within containers
|
|
291
|
+
- Agent flow diagrams simplify or scroll horizontally on narrow viewports
|
|
292
|
+
- Dot-pattern decorative backgrounds scale with viewport
|
|
293
|
+
- No visible art direction changes between breakpoints — same crops, proportional scaling
|
|
294
|
+
- Lazy loading for below-fold images (Docusaurus default behavior)
|
|
295
|
+
|
|
296
|
+
## 9. Agent Prompt Guide
|
|
297
|
+
|
|
298
|
+
### Quick Color Reference
|
|
299
|
+
- Brand Accent: "Emerald Signal Green (#00d992)"
|
|
300
|
+
- Button Text: "VoltAgent Mint (#2fd6a1)"
|
|
301
|
+
- Page Background: "Abyss Black (#050507)"
|
|
302
|
+
- Card Surface: "Carbon Surface (#101010)"
|
|
303
|
+
- Border / Containment: "Warm Charcoal (#3d3a39)"
|
|
304
|
+
- Primary Text: "Snow White (#f2f2f2)"
|
|
305
|
+
- Secondary Text: "Warm Parchment (#b8b3b0)"
|
|
306
|
+
- Tertiary Text: "Steel Slate (#8b949e)"
|
|
307
|
+
|
|
308
|
+
### Example Component Prompts
|
|
309
|
+
- "Create a feature card on Carbon Surface (#101010) with a 1px solid Warm Charcoal (#3d3a39) border, comfortably rounded corners (8px). Use Snow White (#f2f2f2) for the title in system-ui at 24px weight 700, and Warm Parchment (#b8b3b0) for the description in Inter at 16px. Add a subtle Warm Ambient shadow (rgba(92, 88, 85, 0.2) 0px 0px 15px)."
|
|
310
|
+
- "Design a ghost button with transparent background, Snow White (#f2f2f2) text in Inter at 16px, a 1px solid Warm Charcoal (#3d3a39) border, and subtly rounded corners (6px). Padding: 12px vertical, 16px horizontal. On hover, background shifts to rgba(0, 0, 0, 0.2)."
|
|
311
|
+
- "Build a hero section on Abyss Black (#050507) with a massive heading at 60px system-ui, line-height 1.0, letter-spacing -0.65px. The word 'Platform' should be colored in Emerald Signal Green (#00d992). Below the heading, place a code block showing 'npm create voltagent-app@latest' in SFMono-Regular at 14px on Carbon Surface (#101010) with a copy button."
|
|
312
|
+
- "Create a highlighted feature card using a 2px solid Emerald Signal Green (#00d992) border instead of the standard Warm Charcoal. Keep Carbon Surface background, comfortably rounded corners (8px), and include a code snippet on the left with feature description text on the right."
|
|
313
|
+
- "Design a navigation bar on Abyss Black (#050507) with the VoltAgent logo (bolt icon with animated green glow) on the left, nav links in Inter at 14px weight 500 in Snow White, and a green CTA button (Carbon Surface bg, VoltAgent Mint text) on the right. Add a 1px solid Warm Charcoal bottom border."
|
|
314
|
+
|
|
315
|
+
### Iteration Guide
|
|
316
|
+
When refining existing screens generated with this design system:
|
|
317
|
+
1. Focus on ONE component at a time
|
|
318
|
+
2. Reference specific color names and hex codes — "use Warm Parchment (#b8b3b0)" not "make it lighter"
|
|
319
|
+
3. Use border treatment to communicate elevation: "change the border to 2px solid Emerald Signal Green (#00d992)" for emphasis
|
|
320
|
+
4. Describe the desired "feel" alongside measurements — "compressed and authoritative heading at 36px with line-height 1.11 and -0.9px letter-spacing"
|
|
321
|
+
5. For glow effects, specify "Emerald Signal Green (#00d992) as a drop-shadow with 2–8px blur radius"
|
|
322
|
+
6. Always specify which font — system-ui for headings, Inter for body/UI, SFMono-Regular for code
|
|
323
|
+
7. Keep animations slow and subtle — marquee scrolls at 25–80s, glow pulses gently
|