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.
Files changed (129) hide show
  1. package/LICENSE +22 -22
  2. package/README.md +188 -103
  3. package/bin/heraspec.js +4805 -1122
  4. package/bin/heraspec.js.map +4 -4
  5. package/dist/core/templates/skills/CHANGELOG.md +117 -117
  6. package/dist/core/templates/skills/README-template.md +58 -58
  7. package/dist/core/templates/skills/README.md +38 -38
  8. package/dist/core/templates/skills/content-optimization-skill.md +104 -104
  9. package/dist/core/templates/skills/data/design-systems.csv +54 -0
  10. package/dist/core/templates/skills/data/pages-proposed.csv +21 -21
  11. package/dist/core/templates/skills/data/pages.csv +9 -9
  12. package/dist/core/templates/skills/data/typography.csv +57 -57
  13. package/dist/core/templates/skills/deploy-documentation-skill.md +408 -0
  14. package/dist/core/templates/skills/design-system-skill.md +176 -0
  15. package/dist/core/templates/skills/documents/templates/documentation-landing-page.html +63 -63
  16. package/dist/core/templates/skills/documents/templates/documentation.html +49 -49
  17. package/dist/core/templates/skills/documents/templates/landing-script.js +38 -38
  18. package/dist/core/templates/skills/documents/templates/landing-style.css +158 -158
  19. package/dist/core/templates/skills/documents/templates/script.js +56 -56
  20. package/dist/core/templates/skills/documents/templates/style.css +155 -155
  21. package/dist/core/templates/skills/documents/templates/technical-doc-template.md +16 -16
  22. package/dist/core/templates/skills/documents/templates/user-guide-template.md +16 -16
  23. package/dist/core/templates/skills/documents-skill.md +104 -104
  24. package/dist/core/templates/skills/e2e-test-skill.md +119 -119
  25. package/dist/core/templates/skills/git-embed-skill.md +57 -0
  26. package/dist/core/templates/skills/integration-test-skill.md +118 -118
  27. package/dist/core/templates/skills/knowledge/README.md +63 -0
  28. package/dist/core/templates/skills/knowledge/design-systems/airbnb/DESIGN.md +246 -0
  29. package/dist/core/templates/skills/knowledge/design-systems/airtable/DESIGN.md +89 -0
  30. package/dist/core/templates/skills/knowledge/design-systems/apple/DESIGN.md +313 -0
  31. package/dist/core/templates/skills/knowledge/design-systems/bmw/DESIGN.md +180 -0
  32. package/dist/core/templates/skills/knowledge/design-systems/cal/DESIGN.md +259 -0
  33. package/dist/core/templates/skills/knowledge/design-systems/claude/DESIGN.md +312 -0
  34. package/dist/core/templates/skills/knowledge/design-systems/clay/DESIGN.md +304 -0
  35. package/dist/core/templates/skills/knowledge/design-systems/clickhouse/DESIGN.md +281 -0
  36. package/dist/core/templates/skills/knowledge/design-systems/cohere/DESIGN.md +266 -0
  37. package/dist/core/templates/skills/knowledge/design-systems/coinbase/DESIGN.md +129 -0
  38. package/dist/core/templates/skills/knowledge/design-systems/composio/DESIGN.md +307 -0
  39. package/dist/core/templates/skills/knowledge/design-systems/cursor/DESIGN.md +309 -0
  40. package/dist/core/templates/skills/knowledge/design-systems/elevenlabs/DESIGN.md +265 -0
  41. package/dist/core/templates/skills/knowledge/design-systems/expo/DESIGN.md +281 -0
  42. package/dist/core/templates/skills/knowledge/design-systems/figma/DESIGN.md +220 -0
  43. package/dist/core/templates/skills/knowledge/design-systems/framer/DESIGN.md +246 -0
  44. package/dist/core/templates/skills/knowledge/design-systems/hashicorp/DESIGN.md +278 -0
  45. package/dist/core/templates/skills/knowledge/design-systems/ibm/DESIGN.md +332 -0
  46. package/dist/core/templates/skills/knowledge/design-systems/index.json +72 -0
  47. package/dist/core/templates/skills/knowledge/design-systems/intercom/DESIGN.md +146 -0
  48. package/dist/core/templates/skills/knowledge/design-systems/kraken/DESIGN.md +125 -0
  49. package/dist/core/templates/skills/knowledge/design-systems/linear.app/DESIGN.md +367 -0
  50. package/dist/core/templates/skills/knowledge/design-systems/lovable/DESIGN.md +298 -0
  51. package/dist/core/templates/skills/knowledge/design-systems/minimax/DESIGN.md +257 -0
  52. package/dist/core/templates/skills/knowledge/design-systems/mintlify/DESIGN.md +326 -0
  53. package/dist/core/templates/skills/knowledge/design-systems/miro/DESIGN.md +108 -0
  54. package/dist/core/templates/skills/knowledge/design-systems/mistral.ai/DESIGN.md +261 -0
  55. package/dist/core/templates/skills/knowledge/design-systems/mongodb/DESIGN.md +266 -0
  56. package/dist/core/templates/skills/knowledge/design-systems/notion/DESIGN.md +309 -0
  57. package/dist/core/templates/skills/knowledge/design-systems/nvidia/DESIGN.md +293 -0
  58. package/dist/core/templates/skills/knowledge/design-systems/ollama/DESIGN.md +267 -0
  59. package/dist/core/templates/skills/knowledge/design-systems/opencode.ai/DESIGN.md +281 -0
  60. package/dist/core/templates/skills/knowledge/design-systems/pinterest/DESIGN.md +230 -0
  61. package/dist/core/templates/skills/knowledge/design-systems/posthog/DESIGN.md +256 -0
  62. package/dist/core/templates/skills/knowledge/design-systems/raycast/DESIGN.md +268 -0
  63. package/dist/core/templates/skills/knowledge/design-systems/replicate/DESIGN.md +261 -0
  64. package/dist/core/templates/skills/knowledge/design-systems/resend/DESIGN.md +303 -0
  65. package/dist/core/templates/skills/knowledge/design-systems/revolut/DESIGN.md +185 -0
  66. package/dist/core/templates/skills/knowledge/design-systems/runwayml/DESIGN.md +244 -0
  67. package/dist/core/templates/skills/knowledge/design-systems/sanity/DESIGN.md +357 -0
  68. package/dist/core/templates/skills/knowledge/design-systems/sentry/DESIGN.md +262 -0
  69. package/dist/core/templates/skills/knowledge/design-systems/spacex/DESIGN.md +194 -0
  70. package/dist/core/templates/skills/knowledge/design-systems/spotify/DESIGN.md +246 -0
  71. package/dist/core/templates/skills/knowledge/design-systems/stripe/DESIGN.md +322 -0
  72. package/dist/core/templates/skills/knowledge/design-systems/supabase/DESIGN.md +255 -0
  73. package/dist/core/templates/skills/knowledge/design-systems/superhuman/DESIGN.md +252 -0
  74. package/dist/core/templates/skills/knowledge/design-systems/together.ai/DESIGN.md +263 -0
  75. package/dist/core/templates/skills/knowledge/design-systems/uber/DESIGN.md +295 -0
  76. package/dist/core/templates/skills/knowledge/design-systems/vercel/DESIGN.md +310 -0
  77. package/dist/core/templates/skills/knowledge/design-systems/voltagent/DESIGN.md +323 -0
  78. package/dist/core/templates/skills/knowledge/design-systems/warp/DESIGN.md +253 -0
  79. package/dist/core/templates/skills/knowledge/design-systems/webflow/DESIGN.md +92 -0
  80. package/dist/core/templates/skills/knowledge/design-systems/wise/DESIGN.md +173 -0
  81. package/dist/core/templates/skills/knowledge/design-systems/x.ai/DESIGN.md +257 -0
  82. package/dist/core/templates/skills/knowledge/design-systems/zapier/DESIGN.md +328 -0
  83. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/profile.json +27 -0
  84. package/dist/core/templates/skills/knowledge/frameworks/php/codeigniter/rise-cms/structure.md +137 -0
  85. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/profile.json +39 -0
  86. package/dist/core/templates/skills/knowledge/frameworks/php/laravel/botble/structure.md +208 -0
  87. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/profile.json +51 -0
  88. package/dist/core/templates/skills/knowledge/frameworks/php/wordpress/core/structure.md +369 -0
  89. package/dist/core/templates/skills/knowledge/index.json +65 -0
  90. package/dist/core/templates/skills/module-codebase-skill.md +110 -110
  91. package/dist/core/templates/skills/plugin-directory-skill.md +396 -396
  92. package/dist/core/templates/skills/project-memory-skill.md +222 -0
  93. package/dist/core/templates/skills/project-memory-skill.vi.md +223 -0
  94. package/dist/core/templates/skills/scripts/CODE_EXPLANATION.md +394 -394
  95. package/dist/core/templates/skills/scripts/SEARCH_ALGORITHMS_COMPARISON.md +421 -421
  96. package/dist/core/templates/skills/scripts/SEARCH_MODES_GUIDE.md +238 -238
  97. package/dist/core/templates/skills/scripts/__pycache__/core.cpython-311.pyc +0 -0
  98. package/dist/core/templates/skills/scripts/core.py +391 -385
  99. package/dist/core/templates/skills/scripts/search.py +1 -1
  100. package/dist/core/templates/skills/smart-explore-skill.md +141 -0
  101. package/dist/core/templates/skills/sourcecode-analyzer-skill.md +210 -0
  102. package/dist/core/templates/skills/sourcecode-analyzer-skill.vi.md +210 -0
  103. package/dist/core/templates/skills/suggestion-skill.md +118 -118
  104. package/dist/core/templates/skills/templates/accessibility-checklist.md +40 -40
  105. package/dist/core/templates/skills/templates/example-prompt-full-theme.md +333 -333
  106. package/dist/core/templates/skills/templates/page-types-guide.md +338 -338
  107. package/dist/core/templates/skills/templates/pages-proposed-summary.md +273 -273
  108. package/dist/core/templates/skills/templates/pre-delivery-checklist.md +42 -42
  109. package/dist/core/templates/skills/templates/prompt-template-full-theme.md +313 -313
  110. package/dist/core/templates/skills/templates/responsive-design.md +40 -40
  111. package/dist/core/templates/skills/ui-ux-skill.md +595 -584
  112. package/dist/core/templates/skills/unit-test-skill.md +111 -111
  113. package/dist/core/templates/skills/ux-element/templates/Controller.php +50 -50
  114. package/dist/core/templates/skills/ux-element/templates/Shortcode.php +23 -23
  115. package/dist/core/templates/skills/ux-element/templates/Template.html +20 -20
  116. package/dist/core/templates/skills/ux-element/templates/Thumbnail.svg +8 -8
  117. package/dist/core/templates/skills/ux-element/templates/View.php +21 -21
  118. package/dist/core/templates/skills/ux-element-skill.md +83 -83
  119. package/dist/core/templates/skills/wordpress-plugin-check-skill.md +151 -76
  120. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-dashboard.php +47 -47
  121. package/dist/core/templates/skills/wordpress-plugin-standard/templates/admin-settings.php +60 -60
  122. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-css.css +22 -22
  123. package/dist/core/templates/skills/wordpress-plugin-standard/templates/assets/admin-js.js +15 -15
  124. package/dist/core/templates/skills/wordpress-plugin-standard/templates/plugin-main.php +169 -169
  125. package/dist/core/templates/skills/wordpress-plugin-standard/templates/readme.txt +41 -41
  126. package/dist/core/templates/skills/wordpress-plugin-standard/templates/uninstall.php +21 -21
  127. package/dist/core/templates/skills/wordpress-plugin-standard-skill.md +100 -100
  128. package/dist/index.js +4068 -278
  129. package/package.json +75 -72
@@ -0,0 +1,108 @@
1
+ # Design System: Miro
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Miro's website is a clean, collaborative-tool-forward platform that communicates "visual thinking" through generous whitespace, pastel accent colors, and a confident geometric font. The design uses a predominantly white canvas with near-black text (`#1c1c1e`) and a distinctive pastel color palette — coral, rose, teal, orange, yellow, moss — each representing different collaboration contexts.
6
+
7
+ The typography uses Roobert PRO Medium as the primary display font with OpenType character variants (`"blwf", "cv03", "cv04", "cv09", "cv11"`) and negative letter-spacing (-1.68px at 56px). Noto Sans handles body text with its own stylistic set (`"liga" 0, "ss01", "ss04", "ss05"`). The design is built with Framer, giving it smooth animations and modern component patterns.
8
+
9
+ **Key Characteristics:**
10
+ - White canvas with near-black (`#1c1c1e`) text
11
+ - Roobert PRO Medium with multiple OpenType character variants
12
+ - Pastel accent palette: coral, rose, teal, orange, yellow, moss (light + dark pairs)
13
+ - Blue 450 (`#5b76fe`) as primary interactive color
14
+ - Success green (`#00b473`) for positive states
15
+ - Generous border-radius: 8px–50px range
16
+ - Framer-built with smooth motion patterns
17
+ - Ring shadow border: `rgb(224,226,232) 0px 0px 0px 1px`
18
+
19
+ ## 2. Color Palette & Roles
20
+
21
+ ### Primary
22
+ - **Near Black** (`#1c1c1e`): Primary text
23
+ - **White** (`#ffffff`): `--tw-color-white`, primary surface
24
+ - **Blue 450** (`#5b76fe`): `--tw-color-blue-450`, primary interactive
25
+ - **Actionable Pressed** (`#2a41b6`): `--tw-color-actionable-pressed`
26
+
27
+ ### Pastel Accents (Light/Dark pairs)
28
+ - **Coral**: Light `#ffc6c6` / Dark `#600000`
29
+ - **Rose**: Light `#ffd8f4` / Dark (implied)
30
+ - **Teal**: Light `#c3faf5` / Dark `#187574`
31
+ - **Orange**: Light `#ffe6cd`
32
+ - **Yellow**: Dark `#746019`
33
+ - **Moss**: Dark `#187574`
34
+ - **Pink** (`#fde0f0`): Soft pink surface
35
+ - **Red** (`#fbd4d4`): Light red surface
36
+ - **Dark Red** (`#e3c5c5`): Muted red
37
+
38
+ ### Semantic
39
+ - **Success** (`#00b473`): `--tw-color-success-accent`
40
+
41
+ ### Neutral
42
+ - **Slate** (`#555a6a`): Secondary text
43
+ - **Input Placeholder** (`#a5a8b5`): `--tw-color-input-placeholder`
44
+ - **Border** (`#c7cad5`): Button borders
45
+ - **Ring** (`rgb(224,226,232)`): Shadow-as-border
46
+
47
+ ## 3. Typography Rules
48
+
49
+ ### Font Families
50
+ - **Display**: `Roobert PRO Medium`, fallback: Placeholder — `"blwf", "cv03", "cv04", "cv09", "cv11"`
51
+ - **Display Variants**: `Roobert PRO SemiBold`, `Roobert PRO SemiBold Italic`, `Roobert PRO`
52
+ - **Body**: `Noto Sans` — `"liga" 0, "ss01", "ss04", "ss05"`
53
+
54
+ ### Hierarchy
55
+
56
+ | Role | Font | Size | Weight | Line Height | Letter Spacing |
57
+ |------|------|------|--------|-------------|----------------|
58
+ | Display Hero | Roobert PRO Medium | 56px | 400 | 1.15 | -1.68px |
59
+ | Section Heading | Roobert PRO Medium | 48px | 400 | 1.15 | -1.44px |
60
+ | Card Title | Roobert PRO Medium | 24px | 400 | 1.15 | -0.72px |
61
+ | Sub-heading | Noto Sans | 22px | 400 | 1.35 | -0.44px |
62
+ | Feature | Roobert PRO Medium | 18px | 600 | 1.35 | normal |
63
+ | Body | Noto Sans | 18px | 400 | 1.45 | normal |
64
+ | Body Standard | Noto Sans | 16px | 400–600 | 1.50 | -0.16px |
65
+ | Button | Roobert PRO Medium | 17.5px | 700 | 1.29 | 0.175px |
66
+ | Caption | Roobert PRO Medium | 14px | 400 | 1.71 | normal |
67
+ | Small | Roobert PRO Medium | 12px | 400 | 1.15 | -0.36px |
68
+ | Micro Uppercase | Roobert PRO | 10.5px | 400 | 0.90 | uppercase |
69
+
70
+ ## 4. Component Stylings
71
+
72
+ ### Buttons
73
+ - Outlined: transparent bg, `1px solid #c7cad5`, 8px radius, 7px 12px padding
74
+ - White circle: 50% radius, white bg with shadow
75
+ - Blue primary (implied from interactive color)
76
+
77
+ ### Cards: 12px–24px radius, pastel backgrounds
78
+ ### Inputs: white bg, `1px solid #e9eaef`, 8px radius, 16px padding
79
+
80
+ ## 5. Layout Principles
81
+ - Spacing: 1–24px base scale
82
+ - Radius: 8px (buttons), 10px–12px (cards), 20px–24px (panels), 40px–50px (large containers)
83
+ - Ring shadow: `rgb(224,226,232) 0px 0px 0px 1px`
84
+
85
+ ## 6. Depth & Elevation
86
+ Minimal — ring shadow + pastel surface contrast
87
+
88
+ ## 7. Do's and Don'ts
89
+ ### Do
90
+ - Use pastel light/dark pairs for feature sections
91
+ - Apply Roobert PRO with OpenType character variants
92
+ - Use Blue 450 (#5b76fe) for interactive elements
93
+ ### Don't
94
+ - Don't use heavy shadows
95
+ - Don't mix more than 2 pastel accents per section
96
+
97
+ ## 8. Responsive Behavior
98
+ Breakpoints: 425px, 576px, 768px, 896px, 1024px, 1200px, 1280px, 1366px, 1700px, 1920px
99
+
100
+ ## 9. Agent Prompt Guide
101
+ ### Quick Color Reference
102
+ - Text: Near Black (`#1c1c1e`)
103
+ - Background: White (`#ffffff`)
104
+ - Interactive: Blue 450 (`#5b76fe`)
105
+ - Success: `#00b473`
106
+ - Border: `#c7cad5`
107
+ ### Example Component Prompts
108
+ - "Create hero: white background. Roobert PRO Medium 56px, line-height 1.15, letter-spacing -1.68px. Blue CTA (#5b76fe). Outlined secondary (1px solid #c7cad5, 8px radius)."
@@ -0,0 +1,261 @@
1
+ # Design System: Mistral AI
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Mistral AI's interface is a sun-drenched landscape rendered in code — a warm, bold, unapologetically European design that trades the typical blue-screen AI aesthetic for golden amber, burnt orange, and the feeling of late-afternoon light in southern France. Every surface glows with warmth: backgrounds fade from pale cream to deep amber, shadows carry golden undertones (`rgba(127, 99, 21, ...)`), and the brand's signature orange (`#fa520f`) burns through the page like a signal fire.
6
+
7
+ The design language is maximalist in its warmth but minimalist in its structure. Huge display headlines (82px) crash into the viewport with aggressive negative tracking (-2.05px), creating text blocks that feel like billboards or protest posters — declarations rather than descriptions. The typography uses Arial (likely a custom font with Arial as fallback) at extreme sizes, creating a raw, unadorned voice that says "we build frontier AI" with no decoration needed.
8
+
9
+ What makes Mistral distinctive is the complete commitment to a warm color temperature. The signature "block" identity — a gradient system flowing from bright yellow (`#ffd900`) through amber (`#ffa110`) to burnt orange (`#fa520f`) — creates a visual identity that's immediately recognizable. Even the shadows are warm, using amber-tinted blacks instead of cool grays. Combined with dramatic landscape photography in golden tones, the design feels less like a tech company and more like a European luxury brand that happens to build language models.
10
+
11
+ **Key Characteristics:**
12
+ - Golden-amber color universe: every tone from pale cream (#fffaeb) to burnt orange (#fa520f)
13
+ - Massive display typography (82px) with aggressive negative letter-spacing (-2.05px)
14
+ - Warm golden shadow system using amber-tinted rgba values
15
+ - The Mistral "M" block identity — a gradient from yellow to orange
16
+ - Dramatic landscape photography in warm golden tones
17
+ - Uppercase typography used strategically for section labels and CTAs
18
+ - Near-zero border-radius — sharp, architectural geometry
19
+ - French-European confidence: bold, warm, declarative
20
+
21
+ ## 2. Color Palette & Roles
22
+
23
+ ### Primary
24
+ - **Mistral Orange** (`#fa520f`): The core brand color — a vivid, saturated orange-red that anchors the entire identity. Used for primary emphasis, the brand block, and the highest-signal moments.
25
+ - **Mistral Flame** (`#fb6424`): A slightly warmer, lighter variant of the brand orange used for secondary brand moments and hover states.
26
+ - **Block Orange** (`#ff8105`): A pure orange used in the gradient block system — warmer and less red than Mistral Orange.
27
+
28
+ ### Secondary & Accent
29
+ - **Sunshine 900** (`#ff8a00`): Deep golden amber — the darkest sunshine tone, used for strong accent moments.
30
+ - **Sunshine 700** (`#ffa110`): Warm amber-gold — the core sunshine accent for backgrounds and interactive elements.
31
+ - **Sunshine 500** (`#ffb83e`): Medium golden — balanced warmth for mid-level emphasis.
32
+ - **Sunshine 300** (`#ffd06a`): Light golden — for subtle warm tints and secondary backgrounds.
33
+ - **Block Gold** (`#ffe295`): Pale gold — soft background accents and gentle warmth.
34
+ - **Bright Yellow** (`#ffd900`): The brightest tone in the gradient — used at the "top" of the block identity.
35
+
36
+ ### Surface & Background
37
+ - **Warm Ivory** (`#fffaeb`): The lightest page background — barely tinted with warmth, the foundation canvas.
38
+ - **Cream** (`#fff0c2`): The primary warm surface and secondary button background — noticeably golden.
39
+ - **Pure White** (`#ffffff`): Used for maximum contrast elements and popover surfaces.
40
+ - **Mistral Black** (`#1f1f1f`): The primary dark surface for buttons, text, and dark sections.
41
+ - **Accent Orange** (defined as `hsl(17, 96%, 52%)`): The functional accent color for interactive states.
42
+
43
+ ### Neutrals & Text
44
+ - **Mistral Black** (`#1f1f1f`): Primary text color and dark button backgrounds — a near-black that's warmer than pure #000.
45
+ - **Black Tint** (defined as `hsl(0, 0%, 24%)`): A medium dark gray for secondary text on light backgrounds.
46
+ - **Pure White** (`#ffffff`): Text on dark surfaces and CTA labels.
47
+
48
+ ### Semantic & Accent
49
+ - **Input Border** (defined as `hsl(240, 5.9%, 90%)`): A cool-tinted light gray for form borders — one of the few cool tones in the system.
50
+ - **White Overlay** (`oklab(1, 0, 0 / 0.088–0.1)`): Semi-transparent white for frosted glass effects and button overlays.
51
+
52
+ ### Gradient System
53
+ - **Mistral Block Gradient**: The signature identity — a multi-step gradient flowing through Yellow (`#ffd900`) → Gold (`#ffe295`) → Amber (`#ffa110`) → Orange (`#ff8105`) → Flame (`#fb6424`) → Mistral Orange (`#fa520f`). This gradient appears in the logo blocks, section backgrounds, and decorative elements.
54
+ - **Golden Landscape Wash**: Photography and backgrounds use warm amber overlays creating a consistent golden temperature across the page.
55
+ - **Warm Shadow Cascade**: Multi-layered golden shadows that build depth with amber-tinted transparency rather than gray.
56
+
57
+ ## 3. Typography Rules
58
+
59
+ ### Font Family
60
+ - **Primary**: Likely a custom font (Font Source detected) with `Arial` as fallback, and extended stack: `ui-sans-serif, system-ui, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji`
61
+
62
+ ### Hierarchy
63
+
64
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
65
+ |------|------|------|--------|-------------|----------------|-------|
66
+ | Display / Hero | Arial (custom) | 82px (5.13rem) | 400 | 1.00 (tight) | -2.05px | Maximum impact, billboard scale |
67
+ | Section Heading | Arial (custom) | 56px (3.5rem) | 400 | 0.95 (ultra-tight) | normal | Feature section anchors |
68
+ | Sub-heading Large | Arial (custom) | 48px (3rem) | 400 | 0.95 (ultra-tight) | normal | Secondary section titles |
69
+ | Sub-heading | Arial (custom) | 32px (2rem) | 400 | 1.15 (tight) | normal | Card headings, feature names |
70
+ | Card Title | Arial (custom) | 30px (1.88rem) | 400 | 1.20 (tight) | normal | Mid-level headings |
71
+ | Feature Title | Arial (custom) | 24px (1.5rem) | 400 | 1.33 | normal | Small headings |
72
+ | Body / Button | Arial (custom) | 16px (1rem) | 400 | 1.50 | normal | Standard body, button text |
73
+ | Button Uppercase | Arial (custom) | 16px (1rem) | 400 | 1.50 | normal | Uppercase CTA labels |
74
+ | Caption / Link | Arial (custom) | 14px (0.88rem) | 400 | 1.43 | normal | Metadata, secondary links |
75
+
76
+ ### Principles
77
+ - **Single weight, maximum impact**: The entire system uses weight 400 (regular) — even at 82px. This creates a surprisingly elegant effect where the size alone carries authority without needing bold weight.
78
+ - **Ultra-tight at scale**: Line-heights of 0.95–1.00 at display sizes create text blocks where ascenders nearly touch descenders from the line above — creating dense, poster-like composition.
79
+ - **Aggressive tracking on display**: -2.05px letter-spacing at 82px compresses the hero text into a monolithic block.
80
+ - **Uppercase as emphasis**: Strategic `text-transform: uppercase` on button labels and section markers creates a formal, European signage quality.
81
+ - **No weight variation**: Unlike most systems that use 300–700 weight range, Mistral uses 400 everywhere. Hierarchy comes from size and color, never weight.
82
+
83
+ ## 4. Component Stylings
84
+
85
+ ### Buttons
86
+
87
+ **Cream Surface**
88
+ - Background: Cream (`#fff0c2`)
89
+ - Text: Mistral Black (`#1f1f1f`)
90
+ - No visible border
91
+ - The warm, inviting secondary CTA
92
+
93
+ **Dark Solid**
94
+ - Background: Mistral Black (`#1f1f1f`)
95
+ - Text: Pure White (`#ffffff`)
96
+ - Padding: 12px (all sides)
97
+ - No visible border
98
+ - The primary action button — dark on warm
99
+
100
+ **Ghost / Transparent**
101
+ - Background: transparent with slight dark overlay (`oklab(0, 0, 0 / 0.1)`)
102
+ - Text: Mistral Black (`#1f1f1f`)
103
+ - Opacity: 0.4
104
+ - For secondary/de-emphasized actions
105
+
106
+ **Text / Underline**
107
+ - Background: transparent
108
+ - Text: Mistral Black (`#1f1f1f`)
109
+ - Padding: 8px 0px 0px (top-only)
110
+ - Minimal styling — text link as button
111
+ - For tertiary navigation actions
112
+
113
+ ### Cards & Containers
114
+ - Background: Warm Ivory (`#fffaeb`), Cream (`#fff0c2`), or Pure White
115
+ - Border: minimal to none — containers defined by background color
116
+ - Radius: near-zero — sharp, architectural corners
117
+ - Shadow: warm golden multi-layer (`rgba(127, 99, 21, 0.12) -8px 16px 39px, rgba(127, 99, 21, 0.1) -33px 64px 72px, rgba(127, 99, 21, 0.06) -73px 144px 97px, ...`) — a dramatic, cascading warm shadow
118
+ - Distinctive: the golden shadow creates a "golden hour" lighting effect
119
+
120
+ ### Inputs & Forms
121
+ - Border: `hsl(240, 5.9%, 90%)` — the sole cool-toned element
122
+ - Focus: accent color ring
123
+ - Minimal styling consistent with sparse aesthetic
124
+
125
+ ### Navigation
126
+ - Transparent nav overlaying the warm hero
127
+ - Logo: Mistral "M" wordmark
128
+ - Links: Dark text (white on dark sections)
129
+ - CTA: Dark solid button or cream surface button
130
+ - Minimal, wide-spaced layout
131
+
132
+ ### Image Treatment
133
+ - Dramatic landscape photography in warm golden tones
134
+ - The winding road through golden hills — a recurring visual motif
135
+ - The Mistral "M" rendered at large scale on golden backgrounds
136
+ - Warm color grading on all photography
137
+ - Full-bleed sections with photography
138
+
139
+ ### Distinctive Components
140
+
141
+ **Mistral Block Identity**
142
+ - A row of colored blocks forming the gradient: yellow → amber → orange → burnt orange
143
+ - Each block gets progressively more orange/red
144
+ - The visual DNA of the brand — recognizable at any size
145
+
146
+ **Golden Shadow Cards**
147
+ - Cards elevated with warm amber multi-layered shadows
148
+ - 5 layers of shadow from 16px to 400px offset
149
+ - Creates a "floating in golden light" effect unique to Mistral
150
+
151
+ **Dark Footer Gradient**
152
+ - Footer transitions from warm amber to dark through a dramatic gradient
153
+ - Creates a "sunset" effect as the page ends
154
+
155
+ ## 5. Layout Principles
156
+
157
+ ### Spacing System
158
+ - Base unit: 8px
159
+ - Scale: 2px, 4px, 8px, 10px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 64px, 80px, 98px, 100px
160
+ - Button padding: 12px or 8px 0px (compact)
161
+ - Section vertical spacing: very generous (80px–100px)
162
+
163
+ ### Grid & Container
164
+ - Max container width: approximately 1280px, centered
165
+ - Hero: full-width with massive typography overlaying warm backgrounds
166
+ - Feature sections: wide-format layouts with dramatic imagery
167
+ - Card grids: 2–3 column layouts
168
+
169
+ ### Whitespace Philosophy
170
+ - **Bold declarations**: Huge headlines surrounded by generous whitespace create billboard-like impact — each statement gets its own breathing space.
171
+ - **Warm void**: Empty space itself feels warm because the backgrounds are tinted ivory/cream rather than pure white.
172
+ - **Photography as space-filler**: Large landscape images serve double duty as content and decorative whitespace.
173
+
174
+ ### Border Radius Scale
175
+ - Near-zero: The dominant radius — sharp, architectural corners on most elements
176
+ - This extreme sharpness contrasts with the warmth of the colors, creating a tension between soft color and hard geometry.
177
+
178
+ ## 6. Depth & Elevation
179
+
180
+ | Level | Treatment | Use |
181
+ |-------|-----------|-----|
182
+ | Flat (Level 0) | No shadow | Page backgrounds, text blocks |
183
+ | Golden Float (Level 1) | Multi-layer warm shadow (5 layers, 12%→0% opacity, amber-tinted) | Feature cards, product showcases, elevated content |
184
+
185
+ **Shadow Philosophy**: Mistral uses a single but extraordinarily complex shadow — **five cascading layers** of amber-tinted shadow (`rgba(127, 99, 21, ...)`) that build from a close 16px offset to a distant 400px offset. The result is a rich, warm, "golden hour" lighting effect that makes elevated elements look like they're bathed in afternoon sunlight. This is the most distinctive shadow system in any major AI brand.
186
+
187
+ ## 7. Do's and Don'ts
188
+
189
+ ### Do
190
+ - Use the warm color spectrum exclusively: ivory, cream, amber, gold, orange
191
+ - Keep display typography at 82px+ with -2.05px letter-spacing for hero sections
192
+ - Use the Mistral block gradient (yellow → amber → orange) for brand moments
193
+ - Apply warm golden shadows (amber-tinted rgba) for elevated elements
194
+ - Use Mistral Black (#1f1f1f) for text — never pure #000000
195
+ - Keep font weight at 400 throughout — let size and color carry hierarchy
196
+ - Use sharp, architectural corners — near-zero border-radius
197
+ - Apply uppercase on button labels and section markers for European formality
198
+ - Use warm landscape photography with golden color grading
199
+
200
+ ### Don't
201
+ - Don't introduce cool colors (blue, green, purple) — the palette is exclusively warm
202
+ - Don't use bold (700+) weight — 400 is the only weight
203
+ - Don't round corners — the sharp geometry is intentional
204
+ - Don't use cool-toned shadows — shadows must carry amber warmth
205
+ - Don't use pure white as a page background — always warm-tinted (#fffaeb minimum)
206
+ - Don't reduce hero text below 48px on desktop — the billboard scale is core
207
+ - Don't use more than 2 font weights — size variation replaces weight variation
208
+ - Don't add gradients outside the warm spectrum — no blue-to-purple, no cool transitions
209
+ - Don't use generic gray for text — even neutrals should be warm-tinted
210
+
211
+ ## 8. Responsive Behavior
212
+
213
+ ### Breakpoints
214
+ | Name | Width | Key Changes |
215
+ |------|-------|-------------|
216
+ | Mobile | <640px | Single column, stacked everything, hero text reduces to ~32px |
217
+ | Tablet | 640–768px | Minor layout adjustments |
218
+ | Small Desktop | 768–1024px | 2-column layouts begin |
219
+ | Desktop | 1024–1280px | Full layout with maximum typography scale |
220
+
221
+ ### Touch Targets
222
+ - Buttons use generous padding (12px minimum)
223
+ - Navigation elements adequately spaced
224
+ - Cards serve as large touch targets
225
+
226
+ ### Collapsing Strategy
227
+ - **Navigation**: Collapses to hamburger on mobile
228
+ - **Hero text**: 82px → 56px → 48px → 32px progressive scaling
229
+ - **Feature sections**: Multi-column → stacked
230
+ - **Photography**: Scales proportionally, may crop on mobile
231
+ - **Block identity**: Scales down proportionally
232
+
233
+ ### Image Behavior
234
+ - Landscape photography scales proportionally
235
+ - Warm color grading maintained at all sizes
236
+ - Block gradient elements resize fluidly
237
+ - No art direction changes — same warm composition at all sizes
238
+
239
+ ## 9. Agent Prompt Guide
240
+
241
+ ### Quick Color Reference
242
+ - Brand Orange: "Mistral Orange (#fa520f)"
243
+ - Page Background: "Warm Ivory (#fffaeb)"
244
+ - Warm Surface: "Cream (#fff0c2)"
245
+ - Primary Text: "Mistral Black (#1f1f1f)"
246
+ - Sunshine Amber: "Sunshine 700 (#ffa110)"
247
+ - Bright Gold: "Bright Yellow (#ffd900)"
248
+ - Text on Dark: "Pure White (#ffffff)"
249
+
250
+ ### Example Component Prompts
251
+ - "Create a hero section on Warm Ivory (#fffaeb) with a massive headline at 82px Arial weight 400, line-height 1.0, letter-spacing -2.05px. Mistral Black (#1f1f1f) text. Add a dark solid CTA button (#1f1f1f bg, white text, 12px padding, sharp corners) and a cream secondary button (#fff0c2 bg)."
252
+ - "Design a feature card on Cream (#fff0c2) with sharp corners (no border-radius). Apply the golden shadow system: rgba(127, 99, 21, 0.12) -8px 16px 39px as the primary layer. Title at 32px weight 400, body at 16px."
253
+ - "Build the Mistral block identity: a row of colored blocks from Bright Yellow (#ffd900) through Sunshine 700 (#ffa110) to Mistral Orange (#fa520f). Sharp corners, no gaps."
254
+ - "Create a dark footer section on Mistral Black (#1f1f1f) with Pure White (#ffffff) text. Footer links at 14px. Add a warm gradient from Sunshine 700 (#ffa110) at the top fading to Mistral Black."
255
+
256
+ ### Iteration Guide
257
+ 1. Keep the warm temperature — "shift toward amber" not "shift toward gray"
258
+ 2. Use size for hierarchy — 82px → 56px → 48px → 32px → 24px → 16px
259
+ 3. Never add border-radius — sharp corners only
260
+ 4. Shadows are always warm: "golden shadow with amber tones"
261
+ 5. Font weight is always 400 — describe emphasis through size and color
@@ -0,0 +1,266 @@
1
+ # Design System: MongoDB
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ MongoDB's website is a deep-forest-meets-terminal experience — a design system rooted in the darkest teal-black (`#001e2b`) that evokes both the density of a database and the depth of a forest canopy. Against this near-black canvas, a striking neon green (`#00ed64`) pulses as the brand accent — bright enough to feel electric, organic enough to feel alive. This isn't the cold neon of cyberpunk; it's the bioluminescent green of something growing in the dark.
6
+
7
+ The typography system is architecturally ambitious: MongoDB Value Serif for massive hero headlines (96px) creates an editorial, authoritative presence — serif type at database-company scale is a bold choice that says "we're not just another tech company." Euclid Circular A handles the heavy lifting of body and UI text with an unusually wide weight range (300–700), while Source Code Pro serves as the code and label font with distinctive uppercase treatments featuring very wide letter-spacing (1px–3px). This three-font system creates a hierarchy that spans editorial elegance → geometric professionalism → engineering precision.
8
+
9
+ What makes MongoDB distinctive is its dual-mode design: a dark hero/feature section world (`#001e2b` with neon green accents) and a light content world (white with teal-gray borders `#b8c4c2`). The transition between these modes creates dramatic contrast. The shadow system uses teal-tinted dark shadows (`rgba(0, 30, 43, 0.12)`) that maintain the forest-dark atmosphere even on light surfaces. Buttons use pill shapes (100px–999px radius) with MongoDB Green borders (`#00684a`), and the entire component system references the LeafyGreen design system.
10
+
11
+ **Key Characteristics:**
12
+ - Deep teal-black backgrounds (`#001e2b`) — forest-dark, not space-dark
13
+ - Neon MongoDB Green (`#00ed64`) as the singular brand accent — electric and organic
14
+ - MongoDB Value Serif for hero headlines — editorial authority at tech scale
15
+ - Euclid Circular A for body with weight 300 (light) as a distinctive body weight
16
+ - Source Code Pro with wide uppercase letter-spacing (1px–3px) for technical labels
17
+ - Teal-tinted shadows: `rgba(0, 30, 43, 0.12)` — shadows carry the forest color
18
+ - Dual-mode: dark teal hero sections + light white content sections
19
+ - Pill buttons (100px radius) with green borders (`#00684a`)
20
+ - Link Blue (`#006cfa`) and hover transition to `#3860be`
21
+
22
+ ## 2. Color Palette & Roles
23
+
24
+ ### Primary Brand
25
+ - **Forest Black** (`#001e2b`): Primary dark background — the deepest teal-black
26
+ - **MongoDB Green** (`#00ed64`): Primary brand accent — neon green for highlights, underlines, gradients
27
+ - **Dark Green** (`#00684a`): Button borders, link text on light — muted green for functional use
28
+
29
+ ### Interactive
30
+ - **Action Blue** (`#006cfa`): Secondary accent — links, interactive highlights
31
+ - **Hover Blue** (`#3860be`): All link hover states transition to this blue
32
+ - **Teal Active** (`#1eaedb`): Button hover background — bright teal
33
+
34
+ ### Neutral Scale
35
+ - **Deep Teal** (`#1c2d38`): Dark button backgrounds, secondary dark surfaces
36
+ - **Teal Gray** (`#3d4f58`): Dark borders on dark surfaces
37
+ - **Dark Slate** (`#21313c`): Dark link text variant
38
+ - **Cool Gray** (`#5c6c75`): Muted text on dark, secondary button text
39
+ - **Silver Teal** (`#b8c4c2`): Borders on light surfaces, dividers
40
+ - **Light Input** (`#e8edeb`): Input text on dark surfaces
41
+ - **Pure White** (`#ffffff`): Light section background, button text on dark
42
+ - **Black** (`#000000`): Text on light surfaces, darkest elements
43
+
44
+ ### Shadows
45
+ - **Forest Shadow** (`rgba(0, 30, 43, 0.12) 0px 26px 44px, rgba(0, 0, 0, 0.13) 0px 7px 13px`): Primary card elevation — teal-tinted
46
+ - **Standard Shadow** (`rgba(0, 0, 0, 0.15) 0px 3px 20px`): General elevation
47
+ - **Subtle Shadow** (`rgba(0, 0, 0, 0.1) 0px 2px 4px`): Light card lift
48
+
49
+ ## 3. Typography Rules
50
+
51
+ ### Font Families
52
+ - **Display Serif**: `MongoDB Value Serif` — editorial hero headlines
53
+ - **Body / UI**: `Euclid Circular A` — geometric sans-serif workhorse
54
+ - **Code / Labels**: `Source Code Pro` — monospace with uppercase label treatments
55
+ - **Fallbacks**: `Akzidenz-Grotesk Std` (with CJK: Noto Sans KR/SC/JP), `Times`, `Arial`, `system-ui`
56
+
57
+ ### Hierarchy
58
+
59
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
60
+ |------|------|------|--------|-------------|----------------|-------|
61
+ | Display Hero | MongoDB Value Serif | 96px (6.00rem) | 400 | 1.20 (tight) | normal | Serif authority |
62
+ | Display Secondary | MongoDB Value Serif | 64px (4.00rem) | 400 | 1.00 (tight) | normal | Serif sub-hero |
63
+ | Section Heading | Euclid Circular A | 36px (2.25rem) | 500 | 1.33 | normal | Geometric precision |
64
+ | Sub-heading | Euclid Circular A | 24px (1.50rem) | 500 | 1.33 | normal | Feature titles |
65
+ | Body Large | Euclid Circular A | 20px (1.25rem) | 400 | 1.60 (relaxed) | normal | Introductions |
66
+ | Body | Euclid Circular A | 18px (1.13rem) | 400 | 1.33 | normal | Standard body |
67
+ | Body Light | Euclid Circular A | 16px (1.00rem) | 300 | 1.50–2.00 | normal | Light-weight reading text |
68
+ | Nav / UI | Euclid Circular A | 16px (1.00rem) | 500 | 1.00–1.88 | 0.16px | Navigation, emphasized |
69
+ | Body Bold | Euclid Circular A | 15px (0.94rem) | 700 | 1.50 | normal | Strong emphasis |
70
+ | Button | Euclid Circular A | 13.5px–16px | 500–700 | 1.00 | 0.135px–0.9px | CTA labels |
71
+ | Caption | Euclid Circular A | 14px (0.88rem) | 400 | 1.71 (relaxed) | normal | Metadata |
72
+ | Small | Euclid Circular A | 11px (0.69rem) | 600 | 1.82 (relaxed) | 0.2px | Tags, annotations |
73
+ | Code Heading | Source Code Pro | 40px (2.50rem) | 400 | 1.60 (relaxed) | normal | Code showcase titles |
74
+ | Code Body | Source Code Pro | 16px (1.00rem) | 400 | 1.50 | normal | Code blocks |
75
+ | Code Label | Source Code Pro | 14px (0.88rem) | 400–500 | 1.14 (tight) | 1px–2px | `text-transform: uppercase` |
76
+ | Code Micro | Source Code Pro | 9px (0.56rem) | 600 | 2.67 (relaxed) | 2.5px | `text-transform: uppercase` |
77
+
78
+ ### Principles
79
+ - **Serif for authority**: MongoDB Value Serif at hero scale creates an editorial presence unusual in tech — it communicates that MongoDB is an institution, not a startup.
80
+ - **Weight 300 as body default**: Euclid Circular A uses light (300) for body text, creating an airy reading experience that contrasts with the dense, dark backgrounds.
81
+ - **Wide-tracked monospace labels**: Source Code Pro uppercase at 1px–3px letter-spacing creates technical signposts that feel like database field labels — systematic, structured, classified.
82
+ - **Four-weight range**: 300 (light body) → 400 (standard) → 500 (UI/nav) → 700 (bold CTA) — a wider range than most systems, enabling fine-grained hierarchy.
83
+
84
+ ## 4. Component Stylings
85
+
86
+ ### Buttons
87
+
88
+ **Primary Green (Dark Surface)**
89
+ - Background: `#00684a` (muted MongoDB green)
90
+ - Text: `#000000`
91
+ - Radius: 50% (circular) or 100px (pill)
92
+ - Border: `1px solid #00684a`
93
+ - Shadow: `rgba(0,0,0,0.06) 0px 1px 6px`
94
+ - Hover: scale 1.1
95
+ - Active: scale 0.85
96
+
97
+ **Dark Teal Button**
98
+ - Background: `#1c2d38`
99
+ - Text: `#5c6c75`
100
+ - Radius: 100px (pill)
101
+ - Border: `1px solid #3d4f58`
102
+ - Hover: background `#1eaedb`, text white, translateX(5px)
103
+
104
+ **Outlined Button (Light Surface)**
105
+ - Background: transparent
106
+ - Text: `#001e2b`
107
+ - Border: `1px solid #b8c4c2`
108
+ - Radius: 4px–8px
109
+ - Hover: background tint
110
+
111
+ ### Cards & Containers
112
+ - Light mode: white background with `1px solid #b8c4c2` border
113
+ - Dark mode: `#001e2b` or `#1c2d38` background with `1px solid #3d4f58`
114
+ - Radius: 16px (standard), 24px (medium), 48px (large/hero)
115
+ - Shadow: `rgba(0,30,43,0.12) 0px 26px 44px` (forest-tinted)
116
+ - Image containers: 30px–32px radius
117
+
118
+ ### Inputs & Forms
119
+ - Textarea: text `#e8edeb`, padding 12px 12px 12px 8px
120
+ - Borders: `1px solid #b8c4c2` on light, `1px solid #3d4f58` on dark
121
+ - Input radius: 4px
122
+
123
+ ### Navigation
124
+ - Dark header on forest-black background
125
+ - Euclid Circular A 16px weight 500 for nav links
126
+ - MongoDB logo (leaf icon + wordmark) left-aligned
127
+ - Green CTA pill buttons right-aligned
128
+ - Mega-menu dropdowns with product categories
129
+
130
+ ### Image Treatment
131
+ - Dashboard screenshots on dark backgrounds
132
+ - Green-accented UI elements in screenshots
133
+ - 30px–32px radius on image containers
134
+ - Full-width dark sections for product showcases
135
+
136
+ ### Distinctive Components
137
+
138
+ **Neon Green Accent Underlines**
139
+ - `0px 2px 2px 0px solid #00ed64` — bottom + right border creating accent underlines
140
+ - Used on feature headings and highlighted text
141
+ - Also appears as `#006cfa` (blue) variant
142
+
143
+ **Source Code Label System**
144
+ - 14px uppercase Source Code Pro with 1px–2px letter-spacing
145
+ - Used as section category markers above headings
146
+ - Creates a "database field label" aesthetic
147
+
148
+ ## 5. Layout Principles
149
+
150
+ ### Spacing System
151
+ - Base unit: 8px
152
+ - Scale: 1px, 4px, 7px, 8px, 10px, 12px, 14px, 15px, 16px, 18px, 20px, 24px, 32px
153
+
154
+ ### Grid & Container
155
+ - Max content width centered
156
+ - Dark hero section with contained content
157
+ - Light content sections below
158
+ - Card grids: 2–3 columns
159
+ - Full-width dark footer
160
+
161
+ ### Whitespace Philosophy
162
+ - **Dramatic mode transitions**: The shift from dark teal sections to white content creates built-in visual breathing through contrast, not just space.
163
+ - **Generous dark sections**: Dark hero and feature areas use extra vertical padding (80px+) to let the forest-dark background breathe.
164
+ - **Compact light sections**: White content areas are denser, with tighter card grids and less vertical spacing.
165
+
166
+ ### Border Radius Scale
167
+ - Minimal (1px–2px): Small spans, badges
168
+ - Subtle (4px): Inputs, small buttons
169
+ - Standard (8px): Cards, links
170
+ - Card (16px): Standard cards, containers
171
+ - Toggle (20px): Switch elements
172
+ - Large (24px): Large panels
173
+ - Image (30px–32px): Image containers
174
+ - Hero (48px): Hero cards
175
+ - Pill (100px–999px): Buttons, navigation pills
176
+ - Full (9999px): Maximum pill
177
+
178
+ ## 6. Depth & Elevation
179
+
180
+ | Level | Treatment | Use |
181
+ |-------|-----------|-----|
182
+ | Flat (Level 0) | No shadow | Default surfaces |
183
+ | Subtle (Level 1) | `rgba(0,0,0,0.1) 0px 2px 4px` | Light card lift |
184
+ | Standard (Level 2) | `rgba(0,0,0,0.15) 0px 3px 9px` | Standard cards |
185
+ | Prominent (Level 3) | `rgba(0,0,0,0.15) 0px 3px 20px` | Elevated panels |
186
+ | Forest (Level 4) | `rgba(0,30,43,0.12) 0px 26px 44px, rgba(0,0,0,0.13) 0px 7px 13px` | Hero cards — teal-tinted |
187
+
188
+ **Shadow Philosophy**: MongoDB's shadow system is unique in that the primary elevation shadow uses `rgba(0, 30, 43, 0.12)` — a teal-tinted shadow that carries the forest-dark brand color into the depth system. This means even on white surfaces, shadows feel like they belong to the MongoDB color world rather than being generic neutral black.
189
+
190
+ ## 7. Do's and Don'ts
191
+
192
+ ### Do
193
+ - Use `#001e2b` (forest-black) for dark sections — not pure black
194
+ - Apply MongoDB Green (`#00ed64`) sparingly for maximum electric impact
195
+ - Use MongoDB Value Serif ONLY for hero/display headings — Euclid Circular A for everything else
196
+ - Apply Source Code Pro uppercase with wide tracking (1px–3px) for technical labels
197
+ - Use teal-tinted shadows (`rgba(0,30,43,0.12)`) for primary card elevation
198
+ - Maintain the dark/light section duality — dramatic contrast between modes
199
+ - Use weight 300 for body text — the light weight is the readable voice
200
+ - Apply pill radius (100px) to primary action buttons
201
+
202
+ ### Don't
203
+ - Don't use pure black (`#000000`) for dark backgrounds — always use teal-black (`#001e2b`)
204
+ - Don't use MongoDB Green (`#00ed64`) on backgrounds — it's an accent for text, underlines, and small highlights
205
+ - Don't use standard gray shadows — always use teal-tinted (`rgba(0,30,43,...)`)
206
+ - Don't apply serif font to body text — MongoDB Value Serif is hero-only
207
+ - Don't use narrow letter-spacing on Source Code Pro labels — the wide tracking IS the identity
208
+ - Don't mix dark and light section treatments within the same section
209
+ - Don't use warm colors — the palette is strictly cool (teal, green, blue)
210
+ - Don't forget the green accent underlines — they're the signature decorative element
211
+
212
+ ## 8. Responsive Behavior
213
+
214
+ ### Breakpoints
215
+ | Name | Width | Key Changes |
216
+ |------|-------|-------------|
217
+ | Mobile Small | <425px | Tight single column |
218
+ | Mobile | 425–768px | Standard mobile |
219
+ | Tablet | 768–1024px | 2-column grids begin |
220
+ | Desktop | 1024–1280px | Standard layout |
221
+ | Large Desktop | 1280–1440px | Expanded layout |
222
+ | Ultra-wide | >1440px | Maximum width, generous margins |
223
+
224
+ ### Touch Targets
225
+ - Pill buttons with generous padding
226
+ - Navigation links at 16px with adequate spacing
227
+ - Card surfaces as full-area touch targets
228
+
229
+ ### Collapsing Strategy
230
+ - Hero: MongoDB Value Serif 96px → 64px → scales further
231
+ - Navigation: horizontal mega-menu → hamburger
232
+ - Feature cards: multi-column → stacked
233
+ - Dark/light sections maintain their mode at all sizes
234
+ - Source Code Pro labels maintain uppercase treatment
235
+
236
+ ### Image Behavior
237
+ - Dashboard screenshots scale proportionally
238
+ - Dark section backgrounds maintained full-width
239
+ - Image radius maintained across breakpoints
240
+
241
+ ## 9. Agent Prompt Guide
242
+
243
+ ### Quick Color Reference
244
+ - Dark background: Forest Black (`#001e2b`)
245
+ - Brand accent: MongoDB Green (`#00ed64`)
246
+ - Functional green: Dark Green (`#00684a`)
247
+ - Link blue: Action Blue (`#006cfa`)
248
+ - Text on light: Black (`#000000`)
249
+ - Text on dark: White (`#ffffff`) or Light Input (`#e8edeb`)
250
+ - Border light: Silver Teal (`#b8c4c2`)
251
+ - Border dark: Teal Gray (`#3d4f58`)
252
+
253
+ ### Example Component Prompts
254
+ - "Create a hero on forest-black (#001e2b) background. Headline at 96px MongoDB Value Serif weight 400, line-height 1.20, white text with 'potential' highlighted in MongoDB Green (#00ed64). Subtitle at 18px Euclid Circular A weight 400. Green pill CTA (#00684a, 100px radius). Neon green gradient glow behind product screenshot."
255
+ - "Design a card on white background: 1px solid #b8c4c2 border, 16px radius, shadow rgba(0,30,43,0.12) 0px 26px 44px. Title at 24px Euclid Circular A weight 500. Body at 16px weight 300. Source Code Pro 14px uppercase label above title with 2px letter-spacing."
256
+ - "Build a dark section: #001e2b background, 1px solid #3d4f58 border on cards. White text. MongoDB Green (#00ed64) accent underlines on headings using bottom-border 2px solid."
257
+ - "Create technical label: Source Code Pro 14px, text-transform uppercase, letter-spacing 2px, weight 500, #00ed64 color on dark background."
258
+ - "Design a pill button: #1c2d38 background, 1px solid #3d4f58 border, 100px radius, #5c6c75 text. Hover: #1eaedb background, white text, translateX(5px)."
259
+
260
+ ### Iteration Guide
261
+ 1. Start with the mode decision: dark (#001e2b) for hero/features, white for content
262
+ 2. MongoDB Green (#00ed64) is electric — use once per section for maximum impact
263
+ 3. Serif headlines (MongoDB Value Serif) create the editorial authority — never use for body
264
+ 4. Weight 300 body text creates the airy reading experience — don't default to 400
265
+ 5. Source Code Pro uppercase with wide tracking for technical labels — the database voice
266
+ 6. Teal-tinted shadows keep everything in the MongoDB color world