@xulthekl/team-flow 0.53.0 → 0.54.0

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.
Files changed (52) hide show
  1. package/.claude/always/phase-guard.md +1 -1
  2. package/.claude-plugin/marketplace.json +1 -1
  3. package/.claude-plugin/plugin.json +2 -2
  4. package/.codex-plugin/plugin.json +1 -1
  5. package/.cursor-plugin/marketplace.json +1 -1
  6. package/.cursor-plugin/plugin.json +1 -1
  7. package/.github/plugin/marketplace.json +2 -2
  8. package/CHANGELOG.md +71 -0
  9. package/GEMINI.md +1 -1
  10. package/INSTALL.md +1 -1
  11. package/README.md +1 -1
  12. package/agents/prototype-builder.md +6 -5
  13. package/agents/prototype-env-scout.md +4 -4
  14. package/agents/release-archivist.md +1 -0
  15. package/docs/README_en.md +1 -1
  16. package/gemini-extension.json +1 -1
  17. package/hooks/session-start +2 -2
  18. package/llms.txt +1 -1
  19. package/package.json +1 -1
  20. package/plugin.json +2 -2
  21. package/scripts/design-system-import.mjs +238 -0
  22. package/scripts/gen-primer.mjs +143 -0
  23. package/scripts/guard/design-token-guard.mjs +284 -63
  24. package/scripts/lib/ds-parse.mjs +124 -0
  25. package/scripts/token-extract.mjs +257 -0
  26. package/skills/design-system/SKILL.md +55 -9
  27. package/skills/design-system/references/agents/design-system-architect.md +44 -7
  28. package/skills/design-system/references/creation-flow.md +39 -5
  29. package/skills/design-system/references/showcase-board-b-end.md +78 -0
  30. package/skills/design-system/references/showcase-board-c-end.md +92 -0
  31. package/skills/design-system/references/token-derivation.md +34 -9
  32. package/skills/design-system/references/variant-schema.md +14 -3
  33. package/skills/prototype/SKILL.md +14 -8
  34. package/skills/prototype/references/builder-methodology.md +62 -5
  35. package/skills/prototype/references/craft/anti-ai-slop.md +1 -1
  36. package/skills/prototype/references/craft/state-coverage.md +8 -2
  37. package/skills/prototype/references/orchestration-flow.md +12 -3
  38. package/skills/prototype/references/prototype-scaffold/assets/design-tokens.css +2 -2
  39. package/skills/prototype/references/template.html +10 -10
  40. package/skills/release-archivist/SKILL.md +10 -3
  41. package/skills/release-archivist/references/closing-procedures.md +10 -0
  42. package/skills/workflow-bootstrap/SKILL.md +14 -2
  43. package/templates/design-systems/references/claude.md +315 -0
  44. package/templates/design-systems/references/linear-app.md +370 -0
  45. package/templates/design-systems/references/notion.md +312 -0
  46. package/templates/design-systems/references/posthog.md +259 -0
  47. package/templates/design-systems/references/sentry.md +265 -0
  48. package/templates/design-systems/references/stripe.md +325 -0
  49. package/templates/design-systems/references/supabase.md +258 -0
  50. package/templates/design-systems/references/vercel.md +313 -0
  51. package/templates/design-systems/registry.json +75 -0
  52. package/templates/design-systems/styles.json +576 -0
@@ -0,0 +1,258 @@
1
+ # Design System Inspired by Supabase
2
+
3
+ > Category: Backend & Data
4
+ > Open-source Firebase alternative. Dark emerald theme, code-first.
5
+
6
+ ## 1. Visual Theme & Atmosphere
7
+
8
+ Supabase's website is a dark-mode-native developer platform that channels the aesthetic of a premium code editor — deep black backgrounds (`#0f0f0f`, `#171717`) with emerald green accents (`#3ecf8e`, `#00c573`) that reference the brand's open-source, PostgreSQL-green identity. The design system feels like it was born in a terminal window and evolved into a sophisticated marketing surface without losing its developer soul.
9
+
10
+ The typography is built on "Circular" — a geometric sans-serif with rounded terminals that softens the technical edge. At 72px with a 1.00 line-height, the hero text is compressed to its absolute minimum vertical space, creating dense, impactful statements that waste nothing. The monospace companion (Source Code Pro) appears sparingly for uppercase technical labels with 1.2px letter-spacing, creating the "developer console" markers that connect the marketing site to the product experience.
11
+
12
+ What makes Supabase distinctive is its sophisticated HSL-based color token system. Rather than flat hex values, Supabase uses HSL with alpha channels for nearly every color (`--colors-crimson4`, `--colors-purple5`, `--colors-slateA12`), enabling a nuanced layering system where colors interact through transparency. This creates depth through translucency — borders at `rgba(46, 46, 46)`, surfaces at `rgba(41, 41, 41, 0.84)`, and accents at partial opacity all blend with the dark background to create a rich, dimensional palette from minimal color ingredients.
13
+
14
+ The green accent (`#3ecf8e`) appears selectively — in the Supabase logo, in link colors (`#00c573`), and in border highlights (`rgba(62, 207, 142, 0.3)`) — always as a signal of "this is Supabase" rather than as a decorative element. Pill-shaped buttons (9999px radius) for primary CTAs contrast with standard 6px radius for secondary elements, creating a clear visual hierarchy of importance.
15
+
16
+ **Key Characteristics:**
17
+ - Dark-mode-native: near-black backgrounds (`#0f0f0f`, `#171717`) — never pure black
18
+ - Emerald green brand accent (`#3ecf8e`, `#00c573`) used sparingly as identity marker
19
+ - Circular font — geometric sans-serif with rounded terminals
20
+ - Source Code Pro for uppercase technical labels (1.2px letter-spacing)
21
+ - HSL-based color token system with alpha channels for translucent layering
22
+ - Pill buttons (9999px) for primary CTAs, 6px radius for secondary
23
+ - Neutral gray scale from `#171717` through `#898989` to `#fafafa`
24
+ - Border system using dark grays (`#2e2e2e`, `#363636`, `#393939`)
25
+ - Minimal shadows — depth through border contrast and transparency
26
+ - Radix color primitives (crimson, purple, violet, indigo, yellow, tomato, orange, slate)
27
+
28
+ ## 2. Color Palette & Roles
29
+
30
+ ### Brand
31
+ - **Supabase Green** (`#3ecf8e`): Primary brand color, logo, accent borders
32
+ - **Green Link** (`#00c573`): Interactive green for links and actions
33
+ - **Green Border** (`rgba(62, 207, 142, 0.3)`): Subtle green border accent
34
+
35
+ ### Neutral Scale (Dark Mode)
36
+ - **Near Black** (`#0f0f0f`): Primary button background, deepest surface
37
+ - **Dark** (`#171717`): Page background, primary canvas
38
+ - **Dark Border** (`#242424`): Horizontal rule, section dividers
39
+ - **Border Dark** (`#2e2e2e`): Card borders, tab borders
40
+ - **Mid Border** (`#363636`): Button borders, dividers
41
+ - **Border Light** (`#393939`): Secondary borders
42
+ - **Charcoal** (`#434343`): Tertiary borders, dark accents
43
+ - **Dark Gray** (`#4d4d4d`): Heavy secondary text
44
+ - **Mid Gray** (`#898989`): Muted text, link color
45
+ - **Light Gray** (`#b4b4b4`): Secondary link text
46
+ - **Near White** (`#efefef`): Light border, subtle surface
47
+ - **Off White** (`#fafafa`): Primary text, button text
48
+
49
+ ### Radix Color Tokens (HSL-based)
50
+ - **Slate Scale**: `--colors-slate5` through `--colors-slateA12` — neutral progression
51
+ - **Purple**: `--colors-purple4`, `--colors-purple5`, `--colors-purpleA7` — accent spectrum
52
+ - **Violet**: `--colors-violet10` (`hsl(251, 63.2%, 63.2%)`) — vibrant accent
53
+ - **Crimson**: `--colors-crimson4`, `--colors-crimsonA9` — warm accent / alert
54
+ - **Indigo**: `--colors-indigoA2` — subtle blue wash
55
+ - **Yellow**: `--colors-yellowA7` — attention/warning
56
+ - **Tomato**: `--colors-tomatoA4` — error accent
57
+ - **Orange**: `--colors-orange6` — warm accent
58
+
59
+ ### Surface & Overlay
60
+ - **Glass Dark** (`rgba(41, 41, 41, 0.84)`): Translucent dark overlay
61
+ - **Slate Alpha** (`hsla(210, 87.8%, 16.1%, 0.031)`): Ultra-subtle blue wash
62
+ - **Fixed Scale Alpha** (`hsla(200, 90.3%, 93.4%, 0.109)`): Light frost overlay
63
+
64
+ ### Shadows
65
+ - Supabase uses **almost no shadows** in its dark theme. Depth is created through border contrast and surface color differences rather than box-shadows. Focus states use `rgba(0, 0, 0, 0.1) 0px 4px 12px` — minimal, functional.
66
+
67
+ ## 3. Typography Rules
68
+
69
+ ### Font Families
70
+ - **Primary**: `Circular`, with fallbacks: `custom-font, Helvetica Neue, Helvetica, Arial`
71
+ - **Monospace**: `Source Code Pro`, with fallbacks: `Office Code Pro, Menlo`
72
+
73
+ ### Hierarchy
74
+
75
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
76
+ |------|------|------|--------|-------------|----------------|-------|
77
+ | Display Hero | Circular | 72px (4.50rem) | 400 | 1.00 (tight) | normal | Maximum density, zero waste |
78
+ | Section Heading | Circular | 36px (2.25rem) | 400 | 1.25 (tight) | normal | Feature section titles |
79
+ | Card Title | Circular | 24px (1.50rem) | 400 | 1.33 | -0.16px | Slight negative tracking |
80
+ | Sub-heading | Circular | 18px (1.13rem) | 400 | 1.56 | normal | Secondary headings |
81
+ | Body | Circular | 16px (1.00rem) | 400 | 1.50 | normal | Standard body text |
82
+ | Nav Link | Circular | 14px (0.88rem) | 500 | 1.00–1.43 | normal | Navigation items |
83
+ | Button | Circular | 14px (0.88rem) | 500 | 1.14 (tight) | normal | Button labels |
84
+ | Caption | Circular | 14px (0.88rem) | 400–500 | 1.43 | normal | Metadata, tags |
85
+ | Small | Circular | 12px (0.75rem) | 400 | 1.33 | normal | Fine print, footer links |
86
+ | Code Label | Source Code Pro | 12px (0.75rem) | 400 | 1.33 | 1.2px | `text-transform: uppercase` |
87
+
88
+ ### Principles
89
+ - **Weight restraint**: Nearly all text uses weight 400 (regular/book). Weight 500 appears only for navigation links and button labels. There is no bold (700) in the detected system — hierarchy is created through size, not weight.
90
+ - **1.00 hero line-height**: The hero text is compressed to absolute zero leading. This is the defining typographic gesture — text that feels like a terminal command: dense, efficient, no wasted vertical space.
91
+ - **Negative tracking on cards**: Card titles use -0.16px letter-spacing, a subtle tightening that differentiates them from body text without being obvious.
92
+ - **Monospace as ritual**: Source Code Pro in uppercase with 1.2px letter-spacing is the "developer console" voice — used sparingly for technical labels that connect to the product experience.
93
+ - **Geometric personality**: Circular's rounded terminals create warmth in what could otherwise be a cold, technical interface. The font is the humanizing element.
94
+
95
+ ## 4. Component Stylings
96
+
97
+ ### Buttons
98
+
99
+ **Primary Pill (Dark)**
100
+ - Background: `#0f0f0f`
101
+ - Text: `#fafafa`
102
+ - Padding: 8px 32px
103
+ - Radius: 9999px (full pill)
104
+ - Border: `1px solid #fafafa` (white border on dark)
105
+ - Focus shadow: `rgba(0, 0, 0, 0.1) 0px 4px 12px`
106
+ - Use: Primary CTA ("Start your project")
107
+
108
+ **Secondary Pill (Dark, Muted)**
109
+ - Background: `#0f0f0f`
110
+ - Text: `#fafafa`
111
+ - Padding: 8px 32px
112
+ - Radius: 9999px
113
+ - Border: `1px solid #2e2e2e` (dark border)
114
+ - Opacity: 0.8
115
+ - Use: Secondary CTA alongside primary
116
+
117
+ **Ghost Button**
118
+ - Background: transparent
119
+ - Text: `#fafafa`
120
+ - Padding: 8px
121
+ - Radius: 6px
122
+ - Border: `1px solid transparent`
123
+ - Use: Tertiary actions, icon buttons
124
+
125
+ ### Cards & Containers
126
+ - Background: dark surfaces (`#171717` or slightly lighter)
127
+ - Border: `1px solid #2e2e2e` or `#363636`
128
+ - Radius: 8px–16px
129
+ - No visible shadows — borders define edges
130
+ - Internal padding: 16px–24px
131
+
132
+ ### Tabs
133
+ - Border: `1px solid #2e2e2e`
134
+ - Radius: 9999px (pill tabs)
135
+ - Active: green accent or lighter surface
136
+ - Inactive: dark, muted
137
+
138
+ ### Links
139
+ - **Green**: `#00c573` — Supabase-branded links
140
+ - **Primary Light**: `#fafafa` — standard links on dark
141
+ - **Secondary**: `#b4b4b4` — muted links
142
+ - **Muted**: `#898989` — tertiary links, footer
143
+
144
+ ### Navigation
145
+ - Dark background matching page (`#171717`)
146
+ - Supabase logo with green icon
147
+ - Circular 14px weight 500 for nav links
148
+ - Clean horizontal layout with product dropdown
149
+ - Green "Start your project" CTA pill button
150
+ - Sticky header behavior
151
+
152
+ ## 5. Layout Principles
153
+
154
+ ### Spacing System
155
+ - Base unit: 8px
156
+ - Scale: 1px, 4px, 6px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 90px, 96px, 128px
157
+ - Notable large jumps: 48px → 90px → 96px → 128px for major section spacing
158
+
159
+ ### Grid & Container
160
+ - Centered content with generous max-width
161
+ - Full-width dark sections with constrained inner content
162
+ - Feature grids: icon-based grids with consistent card sizes
163
+ - Logo grids for "Trusted by" sections
164
+ - Footer: multi-column on dark background
165
+
166
+ ### Breakpoints
167
+ | Name | Width | Key Changes |
168
+ |------|-------|-------------|
169
+ | Mobile | <600px | Single column, stacked layout |
170
+ | Desktop | >600px | Multi-column grids, expanded layout |
171
+
172
+ *Note: Supabase uses a notably minimal breakpoint system — primarily a single 600px breakpoint, suggesting a mobile-first approach with progressive enhancement.*
173
+
174
+ ### Whitespace Philosophy
175
+ - **Dramatic section spacing**: 90px–128px between major sections creates a cinematic pacing — each section is its own scene in the dark void.
176
+ - **Dense content blocks**: Within sections, spacing is tight (16px–24px), creating concentrated information clusters.
177
+ - **Border-defined space**: Instead of whitespace + shadows for separation, Supabase uses thin borders on dark backgrounds — separation through line, not gap.
178
+
179
+ ### Border Radius Scale
180
+ - Standard (6px): Ghost buttons, small elements
181
+ - Comfortable (8px): Cards, containers
182
+ - Medium (11px–12px): Mid-size panels
183
+ - Large (16px): Feature cards, major containers
184
+ - Pill (9999px): Primary buttons, tab indicators
185
+
186
+ ## 6. Depth & Elevation
187
+
188
+ | Level | Treatment | Use |
189
+ |-------|-----------|-----|
190
+ | Flat (Level 0) | No shadow, border `#2e2e2e` | Default state, most surfaces |
191
+ | Subtle Border (Level 1) | Border `#363636` or `#393939` | Interactive elements, hover |
192
+ | Focus (Level 2) | `rgba(0, 0, 0, 0.1) 0px 4px 12px` | Focus states only |
193
+ | Green Accent (Level 3) | Border `rgba(62, 207, 142, 0.3)` | Brand-highlighted elements |
194
+
195
+ **Shadow Philosophy**: Supabase deliberately avoids shadows. In a dark-mode-native design, shadows are nearly invisible and serve no purpose. Instead, depth is communicated through a sophisticated border hierarchy — from `#242424` (barely visible) through `#2e2e2e` (standard) to `#393939` (prominent). The green accent border (`rgba(62, 207, 142, 0.3)`) at 30% opacity is the "elevated" state — the brand color itself becomes the depth signal.
196
+
197
+ ## 7. Do's and Don'ts
198
+
199
+ ### Do
200
+ - Use near-black backgrounds (`#0f0f0f`, `#171717`) — depth comes from the gray border hierarchy
201
+ - Apply Supabase green (`#3ecf8e`, `#00c573`) sparingly — it's an identity marker, not a decoration
202
+ - Use Circular at weight 400 for nearly everything — 500 only for buttons and nav
203
+ - Set hero text to 1.00 line-height — the zero-leading is the typographic signature
204
+ - Create depth through border color differences (`#242424` → `#2e2e2e` → `#363636`)
205
+ - Use pill shape (9999px) exclusively for primary CTAs and tabs
206
+ - Employ HSL-based colors with alpha for translucent layering effects
207
+ - Use Source Code Pro uppercase labels for developer-context markers
208
+
209
+ ### Don't
210
+ - Don't add box-shadows — they're invisible on dark backgrounds and break the border-defined depth system
211
+ - Don't use bold (700) text weight — the system uses 400 and 500 only
212
+ - Don't apply green to backgrounds or large surfaces — it's for borders, links, and small accents
213
+ - Don't use warm colors (crimson, orange) as primary design elements — they exist as semantic tokens for states
214
+ - Don't increase hero line-height above 1.00 — the density is intentional
215
+ - Don't use large border radius (16px+) on buttons — pills (9999px) or standard (6px), nothing in between
216
+ - Don't lighten the background above `#171717` for primary surfaces — the darkness is structural
217
+ - Don't forget the translucent borders — `rgba` border colors are the layering mechanism
218
+
219
+ ## 8. Responsive Behavior
220
+
221
+ ### Breakpoints
222
+ | Name | Width | Key Changes |
223
+ |------|-------|-------------|
224
+ | Mobile | <600px | Single column, stacked features, condensed nav |
225
+ | Desktop | >600px | Multi-column grids, full nav, expanded sections |
226
+
227
+ ### Collapsing Strategy
228
+ - Hero: 72px → scales down proportionally
229
+ - Feature grids: multi-column → single column stacked
230
+ - Logo row: horizontal → wrapped grid
231
+ - Navigation: full → hamburger
232
+ - Section spacing: 90–128px → 48–64px
233
+ - Buttons: inline → full-width stacked
234
+
235
+ ## 9. Agent Prompt Guide
236
+
237
+ ### Quick Color Reference
238
+ - Background: `#0f0f0f` (button), `#171717` (page)
239
+ - Text: `#fafafa` (primary), `#b4b4b4` (secondary), `#898989` (muted)
240
+ - Brand green: `#3ecf8e` (brand), `#00c573` (links)
241
+ - Borders: `#242424` (subtle), `#2e2e2e` (standard), `#363636` (prominent)
242
+ - Green border: `rgba(62, 207, 142, 0.3)` (accent)
243
+
244
+ ### Example Component Prompts
245
+ - "Create a hero section on #171717 background. Headline at 72px Circular weight 400, line-height 1.00, #fafafa text. Sub-text at 16px Circular weight 400, line-height 1.50, #b4b4b4. Pill CTA button (#0f0f0f bg, #fafafa text, 9999px radius, 8px 32px padding, 1px solid #fafafa border)."
246
+ - "Design a feature card: #171717 background, 1px solid #2e2e2e border, 16px radius. Title at 24px Circular weight 400, letter-spacing -0.16px. Body at 14px weight 400, #898989 text."
247
+ - "Build navigation bar: #171717 background. Circular 14px weight 500 for links, #fafafa text. Supabase logo with green icon left-aligned. Green pill CTA 'Start your project' right-aligned."
248
+ - "Create a technical label: Source Code Pro 12px, uppercase, letter-spacing 1.2px, #898989 text."
249
+ - "Design a framework logo grid: 6-column layout on dark, grayscale logos at 60% opacity, 1px solid #2e2e2e border between sections."
250
+
251
+ ### Iteration Guide
252
+ 1. Start with #171717 background — everything is dark-mode-native
253
+ 2. Green is the brand identity marker — use it for links, logo, and accent borders only
254
+ 3. Depth comes from borders (#242424 → #2e2e2e → #363636), not shadows
255
+ 4. Weight 400 is the default for everything — 500 only for interactive elements
256
+ 5. Hero line-height of 1.00 is the signature typographic move
257
+ 6. Pill (9999px) for primary actions, 6px for secondary, 8-16px for cards
258
+ 7. HSL with alpha channels creates the sophisticated translucent layering
@@ -0,0 +1,313 @@
1
+ # Design System Inspired by Vercel
2
+
3
+ > Category: Developer Tools
4
+ > Frontend deployment. Black and white precision, Geist font.
5
+
6
+ ## 1. Visual Theme & Atmosphere
7
+
8
+ 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.
9
+
10
+ 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.
11
+
12
+ 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.
13
+
14
+ **Key Characteristics:**
15
+ - Geist Sans with extreme negative letter-spacing (-2.4px to -2.88px at display) — text as compressed infrastructure
16
+ - Geist Mono for code and technical labels with OpenType `"liga"` globally
17
+ - Shadow-as-border technique: `box-shadow 0px 0px 0px 1px` replaces traditional borders throughout
18
+ - Multi-layer shadow stacks for nuanced depth (border + elevation + ambient in single declarations)
19
+ - Near-pure white canvas with `#171717` text — not quite black, creating micro-contrast softness
20
+ - Workflow-specific accent colors: Ship Red (`#ff5b4f`), Preview Pink (`#de1d8d`), Develop Blue (`#0a72ef`)
21
+ - Focus ring system using `hsla(212, 100%, 48%, 1)` — a saturated blue for accessibility
22
+ - Pill badges (9999px) with tinted backgrounds for status indicators
23
+
24
+ ## 2. Color Palette & Roles
25
+
26
+ ### Primary
27
+ - **Vercel Black** (`#171717`): Primary text, headings, dark surface backgrounds. Not pure black — the slight warmth prevents harshness.
28
+ - **Pure White** (`#ffffff`): Page background, card surfaces, button text on dark.
29
+ - **True Black** (`#000000`): Secondary use, `--geist-console-text-color-default`, used in specific console/code contexts.
30
+
31
+ ### Workflow Accent Colors
32
+ - **Ship Red** (`#ff5b4f`): `--ship-text`, the "ship to production" workflow step — warm, urgent coral-red.
33
+ - **Preview Pink** (`#de1d8d`): `--preview-text`, the preview deployment workflow — vivid magenta-pink.
34
+ - **Develop Blue** (`#0a72ef`): `--develop-text`, the development workflow — bright, focused blue.
35
+
36
+ ### Console / Code Colors
37
+ - **Console Blue** (`#0070f3`): `--geist-console-text-color-blue`, syntax highlighting blue.
38
+ - **Console Purple** (`#7928ca`): `--geist-console-text-color-purple`, syntax highlighting purple.
39
+ - **Console Pink** (`#eb367f`): `--geist-console-text-color-pink`, syntax highlighting pink.
40
+
41
+ ### Interactive
42
+ - **Link Blue** (`#0072f5`): Primary link color with underline decoration.
43
+ - **Focus Blue** (`hsla(212, 100%, 48%, 1)`): `--ds-focus-color`, focus ring on interactive elements.
44
+ - **Ring Blue** (`rgba(147, 197, 253, 0.5)`): `--tw-ring-color`, Tailwind ring utility.
45
+
46
+ ### Neutral Scale
47
+ - **Gray 900** (`#171717`): Primary text, headings, nav text.
48
+ - **Gray 600** (`#4d4d4d`): Secondary text, description copy.
49
+ - **Gray 500** (`#666666`): Tertiary text, muted links.
50
+ - **Gray 400** (`#808080`): Placeholder text, disabled states.
51
+ - **Gray 100** (`#ebebeb`): Borders, card outlines, dividers.
52
+ - **Gray 50** (`#fafafa`): Subtle surface tint, inner shadow highlight.
53
+
54
+ ### Surface & Overlay
55
+ - **Overlay Backdrop** (`hsla(0, 0%, 98%, 1)`): `--ds-overlay-backdrop-color`, modal/dialog backdrop.
56
+ - **Selection Text** (`hsla(0, 0%, 95%, 1)`): `--geist-selection-text-color`, text selection highlight.
57
+ - **Badge Blue Bg** (`#ebf5ff`): Pill badge background, tinted blue surface.
58
+ - **Badge Blue Text** (`#0068d6`): Pill badge text, darker blue for readability.
59
+
60
+ ### Shadows & Depth
61
+ - **Border Shadow** (`rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`): The signature — replaces traditional borders.
62
+ - **Subtle Elevation** (`rgba(0, 0, 0, 0.04) 0px 2px 2px`): Minimal lift for cards.
63
+ - **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.
64
+ - **Ring Border** (`rgb(235, 235, 235) 0px 0px 0px 1px`): Light gray ring-border for tabs and images.
65
+
66
+ ## 3. Typography Rules
67
+
68
+ ### Font Family
69
+ - **Primary**: `Geist`, with fallbacks: `Arial, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol`
70
+ - **Monospace**: `Geist Mono`, with fallbacks: `ui-monospace, SFMono-Regular, Roboto Mono, Menlo, Monaco, Liberation Mono, DejaVu Sans Mono, Courier New`
71
+ - **OpenType Features**: `"liga"` enabled globally on all Geist text; `"tnum"` for tabular numbers on specific captions.
72
+
73
+ ### Hierarchy
74
+
75
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
76
+ |------|------|------|--------|-------------|----------------|-------|
77
+ | Display Hero | Geist | 48px (3.00rem) | 600 | 1.00–1.17 (tight) | -2.4px to -2.88px | Maximum compression, billboard impact |
78
+ | Section Heading | Geist | 40px (2.50rem) | 600 | 1.20 (tight) | -2.4px | Feature section titles |
79
+ | Sub-heading Large | Geist | 32px (2.00rem) | 600 | 1.25 (tight) | -1.28px | Card headings, sub-sections |
80
+ | Sub-heading | Geist | 32px (2.00rem) | 400 | 1.50 | -1.28px | Lighter sub-headings |
81
+ | Card Title | Geist | 24px (1.50rem) | 600 | 1.33 | -0.96px | Feature cards |
82
+ | Card Title Light | Geist | 24px (1.50rem) | 500 | 1.33 | -0.96px | Secondary card headings |
83
+ | Body Large | Geist | 20px (1.25rem) | 400 | 1.80 (relaxed) | normal | Introductions, feature descriptions |
84
+ | Body | Geist | 18px (1.13rem) | 400 | 1.56 | normal | Standard reading text |
85
+ | Body Small | Geist | 16px (1.00rem) | 400 | 1.50 | normal | Standard UI text |
86
+ | Body Medium | Geist | 16px (1.00rem) | 500 | 1.50 | normal | Navigation, emphasized text |
87
+ | Body Semibold | Geist | 16px (1.00rem) | 600 | 1.50 | -0.32px | Strong labels, active states |
88
+ | Button / Link | Geist | 14px (0.88rem) | 500 | 1.43 | normal | Buttons, links, captions |
89
+ | Button Small | Geist | 14px (0.88rem) | 400 | 1.00 (tight) | normal | Compact buttons |
90
+ | Caption | Geist | 12px (0.75rem) | 400–500 | 1.33 | normal | Metadata, tags |
91
+ | Mono Body | Geist Mono | 16px (1.00rem) | 400 | 1.50 | normal | Code blocks |
92
+ | Mono Caption | Geist Mono | 13px (0.81rem) | 500 | 1.54 | normal | Code labels |
93
+ | Mono Small | Geist Mono | 12px (0.75rem) | 500 | 1.00 (tight) | normal | `text-transform: uppercase`, technical labels |
94
+ | Micro Badge | Geist | 7px (0.44rem) | 700 | 1.00 (tight) | normal | `text-transform: uppercase`, tiny badges |
95
+
96
+ ### Principles
97
+ - **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.
98
+ - **Ligatures everywhere**: Every Geist text element enables OpenType `"liga"`. Ligatures aren't decorative — they're structural, creating tighter, more efficient glyph combinations.
99
+ - **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.
100
+ - **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.
101
+
102
+ ## 4. Component Stylings
103
+
104
+ ### Buttons
105
+
106
+ **Primary White (Shadow-bordered)**
107
+ - Background: `#ffffff`
108
+ - Text: `#171717`
109
+ - Padding: 0px 6px (minimal — content-driven width)
110
+ - Radius: 6px (subtly rounded)
111
+ - Shadow: `rgb(235, 235, 235) 0px 0px 0px 1px` (ring-border)
112
+ - Hover: background shifts to `var(--ds-gray-1000)` (dark)
113
+ - Focus: `2px solid var(--ds-focus-color)` outline + `var(--ds-focus-ring)` shadow
114
+ - Use: Standard secondary button
115
+
116
+ **Primary Dark (Inferred from Geist system)**
117
+ - Background: `#171717`
118
+ - Text: `#ffffff`
119
+ - Padding: 8px 16px
120
+ - Radius: 6px
121
+ - Use: Primary CTA ("Start Deploying", "Get Started")
122
+
123
+ **Pill Button / Badge**
124
+ - Background: `#ebf5ff` (tinted blue)
125
+ - Text: `#0068d6`
126
+ - Padding: 0px 10px
127
+ - Radius: 9999px (full pill)
128
+ - Font: 12px weight 500
129
+ - Use: Status badges, tags, feature labels
130
+
131
+ **Large Pill (Navigation)**
132
+ - Background: transparent or `#171717`
133
+ - Radius: 64px–100px
134
+ - Use: Tab navigation, section selectors
135
+
136
+ ### Cards & Containers
137
+ - Background: `#ffffff`
138
+ - Border: via shadow — `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
139
+ - Radius: 8px (standard), 12px (featured/image cards)
140
+ - 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`
141
+ - Image cards: `1px solid #ebebeb` with 12px top radius
142
+ - Hover: subtle shadow intensification
143
+
144
+ ### Inputs & Forms
145
+ - Radio: standard styling with focus `var(--ds-gray-200)` background
146
+ - Focus shadow: `1px 0 0 0 var(--ds-gray-alpha-600)`
147
+ - Focus outline: `2px solid var(--ds-focus-color)` — consistent blue focus ring
148
+ - Border: via shadow technique, not traditional border
149
+
150
+ ### Navigation
151
+ - Clean horizontal nav on white, sticky
152
+ - Vercel logotype left-aligned, 262x52px
153
+ - Links: Geist 14px weight 500, `#171717` text
154
+ - Active: weight 600 or underline
155
+ - CTA: dark pill buttons ("Start Deploying", "Contact Sales")
156
+ - Mobile: hamburger menu collapse
157
+ - Product dropdowns with multi-level menus
158
+
159
+ ### Image Treatment
160
+ - Product screenshots with `1px solid #ebebeb` border
161
+ - Top-rounded images: `12px 12px 0px 0px` radius
162
+ - Dashboard/code preview screenshots dominate feature sections
163
+ - Soft gradient backgrounds behind hero images (pastel multi-color)
164
+
165
+ ### Distinctive Components
166
+
167
+ **Workflow Pipeline**
168
+ - Three-step horizontal pipeline: Develop → Preview → Ship
169
+ - Each step has its own accent color: Blue → Pink → Red
170
+ - Connected with lines/arrows
171
+ - The visual metaphor for Vercel's core value proposition
172
+
173
+ **Trust Bar / Logo Grid**
174
+ - Company logos (Perplexity, ChatGPT, Cursor, etc.) in grayscale
175
+ - Horizontal scroll or grid layout
176
+ - Subtle `#ebebeb` border separation
177
+
178
+ **Metric Cards**
179
+ - Large number display (e.g., "10x faster")
180
+ - Geist 48px weight 600 for the metric
181
+ - Description below in gray body text
182
+ - Shadow-bordered card container
183
+
184
+ ## 5. Layout Principles
185
+
186
+ ### Spacing System
187
+ - Base unit: 8px
188
+ - Scale: 1px, 2px, 3px, 4px, 5px, 6px, 8px, 10px, 12px, 14px, 16px, 32px, 36px, 40px
189
+ - Notable gap: jumps from 16px to 32px — no 20px or 24px in primary scale
190
+
191
+ ### Grid & Container
192
+ - Max content width: approximately 1200px
193
+ - Hero: centered single-column with generous top padding
194
+ - Feature sections: 2–3 column grids for cards
195
+ - Full-width dividers using `border-bottom: 1px solid #171717`
196
+ - Code/dashboard screenshots as full-width or contained with border
197
+
198
+ ### Whitespace Philosophy
199
+ - **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.
200
+ - **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.
201
+ - **Section rhythm**: White sections alternate with white sections — there's no color variation between sections. Separation comes from borders (shadow-borders) and spacing alone.
202
+
203
+ ### Border Radius Scale
204
+ - Micro (2px): Inline code snippets, small spans
205
+ - Subtle (4px): Small containers
206
+ - Standard (6px): Buttons, links, functional elements
207
+ - Comfortable (8px): Cards, list items
208
+ - Image (12px): Featured cards, image containers (top-rounded)
209
+ - Large (64px): Tab navigation pills
210
+ - XL (100px): Large navigation links
211
+ - Full Pill (9999px): Badges, status pills, tags
212
+ - Circle (50%): Menu toggle, avatar containers
213
+
214
+ ## 6. Depth & Elevation
215
+
216
+ | Level | Treatment | Use |
217
+ |-------|-----------|-----|
218
+ | Flat (Level 0) | No shadow | Page background, text blocks |
219
+ | Ring (Level 1) | `rgba(0,0,0,0.08) 0px 0px 0px 1px` | Shadow-as-border for most elements |
220
+ | Light Ring (Level 1b) | `rgb(235,235,235) 0px 0px 0px 1px` | Lighter ring for tabs, images |
221
+ | Subtle Card (Level 2) | Ring + `rgba(0,0,0,0.04) 0px 2px 2px` | Standard cards with minimal lift |
222
+ | Full Card (Level 3) | Ring + Subtle + `rgba(0,0,0,0.04) 0px 8px 8px -8px` + inner `#fafafa` ring | Featured cards, highlighted panels |
223
+ | Focus (Accessibility) | `2px solid hsla(212, 100%, 48%, 1)` outline | Keyboard focus on all interactive elements |
224
+
225
+ **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.
226
+
227
+ ### Decorative Depth
228
+ - Hero gradient: soft, pastel multi-color gradient wash behind hero content (barely visible, atmospheric)
229
+ - Section borders: `1px solid #171717` (full dark line) between major sections
230
+ - No background color variation — depth comes entirely from shadow layering and border contrast
231
+
232
+ ## 7. Do's and Don'ts
233
+
234
+ ### Do
235
+ - Use Geist Sans with aggressive negative letter-spacing at display sizes (-2.4px to -2.88px at 48px)
236
+ - Use shadow-as-border (`0px 0px 0px 1px rgba(0,0,0,0.08)`) instead of traditional CSS borders
237
+ - Enable `"liga"` on all Geist text — ligatures are structural, not optional
238
+ - Use the three-weight system: 400 (body), 500 (UI), 600 (headings)
239
+ - Apply workflow accent colors (Red/Pink/Blue) only in their workflow context
240
+ - Use multi-layer shadow stacks for cards (border + elevation + ambient + inner highlight)
241
+ - Keep the color palette achromatic — grays from `#171717` to `#ffffff` are the system
242
+ - Use `#171717` instead of `#000000` for primary text — the micro-warmth matters
243
+
244
+ ### Don't
245
+ - Don't use positive letter-spacing on Geist Sans — it's always negative or zero
246
+ - Don't use weight 700 (bold) on body text — 600 is the maximum, used only for headings
247
+ - Don't use traditional CSS `border` on cards — use the shadow-border technique
248
+ - Don't introduce warm colors (oranges, yellows, greens) into the UI chrome
249
+ - Don't apply the workflow accent colors (Ship Red, Preview Pink, Develop Blue) decoratively
250
+ - Don't use heavy shadows (> 0.1 opacity) — the shadow system is whisper-level
251
+ - Don't increase body text letter-spacing — Geist is designed to run tight
252
+ - Don't use pill radius (9999px) on primary action buttons — pills are for badges/tags only
253
+ - Don't skip the inner `#fafafa` ring in card shadows — it's the glow that makes the system work
254
+
255
+ ## 8. Responsive Behavior
256
+
257
+ ### Breakpoints
258
+ | Name | Width | Key Changes |
259
+ |------|-------|-------------|
260
+ | Mobile Small | <400px | Tight single column, minimal padding |
261
+ | Mobile | 400–600px | Standard mobile, stacked layout |
262
+ | Tablet Small | 600–768px | 2-column grids begin |
263
+ | Tablet | 768–1024px | Full card grids, expanded padding |
264
+ | Desktop Small | 1024–1200px | Standard desktop layout |
265
+ | Desktop | 1200–1400px | Full layout, maximum content width |
266
+ | Large Desktop | >1400px | Centered, generous margins |
267
+
268
+ ### Touch Targets
269
+ - Buttons use comfortable padding (8px–16px vertical)
270
+ - Navigation links at 14px with adequate spacing
271
+ - Pill badges have 10px horizontal padding for tap targets
272
+ - Mobile menu toggle uses 50% radius circular button
273
+
274
+ ### Collapsing Strategy
275
+ - Hero: display 48px → scales down, maintains negative tracking proportionally
276
+ - Navigation: horizontal links + CTAs → hamburger menu
277
+ - Feature cards: 3-column → 2-column → single column stacked
278
+ - Code screenshots: maintain aspect ratio, may horizontally scroll
279
+ - Trust bar logos: grid → horizontal scroll
280
+ - Footer: multi-column → stacked single column
281
+ - Section spacing: 80px+ → 48px on mobile
282
+
283
+ ### Image Behavior
284
+ - Dashboard screenshots maintain border treatment at all sizes
285
+ - Hero gradient softens/simplifies on mobile
286
+ - Product screenshots use responsive images with consistent border radius
287
+ - Full-width sections maintain edge-to-edge treatment
288
+
289
+ ## 9. Agent Prompt Guide
290
+
291
+ ### Quick Color Reference
292
+ - Primary CTA: Vercel Black (`#171717`)
293
+ - Background: Pure White (`#ffffff`)
294
+ - Heading text: Vercel Black (`#171717`)
295
+ - Body text: Gray 600 (`#4d4d4d`)
296
+ - Border (shadow): `rgba(0, 0, 0, 0.08) 0px 0px 0px 1px`
297
+ - Link: Link Blue (`#0072f5`)
298
+ - Focus ring: Focus Blue (`hsla(212, 100%, 48%, 1)`)
299
+
300
+ ### Example Component Prompts
301
+ - "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)."
302
+ - "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."
303
+ - "Build a pill badge: #ebf5ff background, #0068d6 text, 9999px radius, 0px 10px padding, 12px Geist weight 500."
304
+ - "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."
305
+ - "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."
306
+
307
+ ### Iteration Guide
308
+ 1. Always use shadow-as-border instead of CSS border — `0px 0px 0px 1px rgba(0,0,0,0.08)` is the foundation
309
+ 2. Letter-spacing scales with font size: -2.4px at 48px, -1.28px at 32px, -0.96px at 24px, normal at 14px
310
+ 3. Three weights only: 400 (read), 500 (interact), 600 (announce)
311
+ 4. Color is functional, never decorative — workflow colors (Red/Pink/Blue) mark pipeline stages only
312
+ 5. The inner `#fafafa` ring in card shadows is what gives Vercel cards their subtle inner glow
313
+ 6. Geist Mono uppercase for technical labels, Geist Sans for everything else
@@ -0,0 +1,75 @@
1
+ {
2
+ "version": "0.20.0",
3
+ "sources": "open-design (nexu-io) plugins/_official/design-systems — MIT License — 均为 'Design System Inspired by X' 逆向工程描述,非官方资产;使用请保留本归因",
4
+ "templates": [
5
+ {
6
+ "id": "linear-app",
7
+ "name": "Linear 风格",
8
+ "category": "Productivity & SaaS",
9
+ "type": "reference",
10
+ "path": "references/linear-app.md",
11
+ "note": "极致精密工程风:深色原生画布 + Inter Variable + 半透明边框体系"
12
+ },
13
+ {
14
+ "id": "stripe",
15
+ "name": "Stripe 风格",
16
+ "category": "Fintech",
17
+ "type": "reference",
18
+ "path": "references/stripe.md",
19
+ "note": "B 端金融科技标杆:克制的品牌色 + 精密排版"
20
+ },
21
+ {
22
+ "id": "vercel",
23
+ "name": "Vercel 风格",
24
+ "category": "Developer Tools",
25
+ "type": "reference",
26
+ "path": "references/vercel.md",
27
+ "note": "极简黑白现代:高对比 + 几何网格"
28
+ },
29
+ {
30
+ "id": "supabase",
31
+ "name": "Supabase 风格",
32
+ "category": "Backend & Data",
33
+ "type": "reference",
34
+ "path": "references/supabase.md",
35
+ "note": "开发者工具深色风:绿色品牌色 + 代码感排版"
36
+ },
37
+ {
38
+ "id": "sentry",
39
+ "name": "Sentry 风格",
40
+ "category": "Backend & Data",
41
+ "type": "reference",
42
+ "path": "references/sentry.md",
43
+ "note": "数据密集监控风:紫粉品牌色 + 高信息密度"
44
+ },
45
+ {
46
+ "id": "posthog",
47
+ "name": "PostHog 风格",
48
+ "category": "Backend & Data",
49
+ "type": "reference",
50
+ "path": "references/posthog.md",
51
+ "note": "产品分析工具:明快配色 + 图表友好"
52
+ },
53
+ {
54
+ "id": "notion",
55
+ "name": "Notion 风格",
56
+ "category": "Productivity",
57
+ "type": "reference",
58
+ "path": "references/notion.md",
59
+ "note": "文档协作风:中性灰阶 + 内容优先"
60
+ },
61
+ {
62
+ "id": "claude",
63
+ "name": "Claude 风格",
64
+ "category": "AI",
65
+ "type": "reference",
66
+ "path": "references/claude.md",
67
+ "note": "AI 产品:暖色调 + 大圆角 + 柔和层次"
68
+ }
69
+ ],
70
+ "styleSeeds": {
71
+ "path": "styles.json",
72
+ "count": 57,
73
+ "note": "A 类模板型设计系统的配色/字体元数据(不含文档正文)——用于扩充 mood→palette 映射表的风格种子"
74
+ }
75
+ }