awesome-design-md 1.0.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 (220) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +172 -0
  3. package/bin/cli.mjs +126 -0
  4. package/design-md/airbnb/DESIGN.md +246 -0
  5. package/design-md/airbnb/README.md +23 -0
  6. package/design-md/airbnb/preview-dark.html +234 -0
  7. package/design-md/airbnb/preview.html +233 -0
  8. package/design-md/airtable/DESIGN.md +89 -0
  9. package/design-md/airtable/README.md +23 -0
  10. package/design-md/airtable/preview-dark.html +165 -0
  11. package/design-md/airtable/preview.html +164 -0
  12. package/design-md/apple/DESIGN.md +313 -0
  13. package/design-md/apple/README.md +24 -0
  14. package/design-md/apple/preview-dark.html +422 -0
  15. package/design-md/apple/preview.html +416 -0
  16. package/design-md/bmw/DESIGN.md +180 -0
  17. package/design-md/bmw/README.md +23 -0
  18. package/design-md/bmw/preview-dark.html +211 -0
  19. package/design-md/bmw/preview.html +210 -0
  20. package/design-md/cal/DESIGN.md +259 -0
  21. package/design-md/cal/README.md +23 -0
  22. package/design-md/cal/preview-dark.html +449 -0
  23. package/design-md/cal/preview.html +575 -0
  24. package/design-md/claude/DESIGN.md +312 -0
  25. package/design-md/claude/README.md +24 -0
  26. package/design-md/claude/preview-dark.html +803 -0
  27. package/design-md/claude/preview.html +826 -0
  28. package/design-md/clay/DESIGN.md +304 -0
  29. package/design-md/clay/README.md +23 -0
  30. package/design-md/clay/preview-dark.html +318 -0
  31. package/design-md/clay/preview.html +317 -0
  32. package/design-md/clickhouse/DESIGN.md +281 -0
  33. package/design-md/clickhouse/README.md +24 -0
  34. package/design-md/clickhouse/preview-dark.html +834 -0
  35. package/design-md/clickhouse/preview.html +786 -0
  36. package/design-md/cohere/DESIGN.md +266 -0
  37. package/design-md/cohere/README.md +24 -0
  38. package/design-md/cohere/preview-dark.html +810 -0
  39. package/design-md/cohere/preview.html +814 -0
  40. package/design-md/coinbase/DESIGN.md +129 -0
  41. package/design-md/coinbase/README.md +23 -0
  42. package/design-md/coinbase/preview-dark.html +164 -0
  43. package/design-md/coinbase/preview.html +163 -0
  44. package/design-md/composio/DESIGN.md +307 -0
  45. package/design-md/composio/README.md +24 -0
  46. package/design-md/composio/preview-dark.html +958 -0
  47. package/design-md/composio/preview.html +933 -0
  48. package/design-md/cursor/DESIGN.md +309 -0
  49. package/design-md/cursor/README.md +24 -0
  50. package/design-md/cursor/preview-dark.html +395 -0
  51. package/design-md/cursor/preview.html +385 -0
  52. package/design-md/elevenlabs/DESIGN.md +265 -0
  53. package/design-md/elevenlabs/README.md +23 -0
  54. package/design-md/elevenlabs/preview-dark.html +254 -0
  55. package/design-md/elevenlabs/preview.html +253 -0
  56. package/design-md/expo/DESIGN.md +281 -0
  57. package/design-md/expo/README.md +24 -0
  58. package/design-md/expo/preview-dark.html +536 -0
  59. package/design-md/expo/preview.html +536 -0
  60. package/design-md/figma/DESIGN.md +220 -0
  61. package/design-md/figma/README.md +24 -0
  62. package/design-md/figma/preview-dark.html +831 -0
  63. package/design-md/figma/preview.html +841 -0
  64. package/design-md/framer/DESIGN.md +246 -0
  65. package/design-md/framer/README.md +23 -0
  66. package/design-md/framer/preview-dark.html +904 -0
  67. package/design-md/framer/preview.html +885 -0
  68. package/design-md/hashicorp/DESIGN.md +278 -0
  69. package/design-md/hashicorp/README.md +24 -0
  70. package/design-md/hashicorp/preview-dark.html +1206 -0
  71. package/design-md/hashicorp/preview.html +1195 -0
  72. package/design-md/ibm/DESIGN.md +332 -0
  73. package/design-md/ibm/README.md +24 -0
  74. package/design-md/ibm/preview-dark.html +445 -0
  75. package/design-md/ibm/preview.html +430 -0
  76. package/design-md/intercom/DESIGN.md +146 -0
  77. package/design-md/intercom/README.md +23 -0
  78. package/design-md/intercom/preview-dark.html +185 -0
  79. package/design-md/intercom/preview.html +184 -0
  80. package/design-md/kraken/DESIGN.md +125 -0
  81. package/design-md/kraken/README.md +23 -0
  82. package/design-md/kraken/preview-dark.html +169 -0
  83. package/design-md/kraken/preview.html +168 -0
  84. package/design-md/linear.app/DESIGN.md +367 -0
  85. package/design-md/linear.app/README.md +24 -0
  86. package/design-md/linear.app/preview-dark.html +385 -0
  87. package/design-md/linear.app/preview.html +375 -0
  88. package/design-md/lovable/DESIGN.md +298 -0
  89. package/design-md/lovable/README.md +24 -0
  90. package/design-md/lovable/preview-dark.html +351 -0
  91. package/design-md/lovable/preview.html +350 -0
  92. package/design-md/minimax/DESIGN.md +257 -0
  93. package/design-md/minimax/README.md +24 -0
  94. package/design-md/minimax/preview-dark.html +1267 -0
  95. package/design-md/minimax/preview.html +1253 -0
  96. package/design-md/mintlify/DESIGN.md +326 -0
  97. package/design-md/mintlify/README.md +24 -0
  98. package/design-md/mintlify/preview-dark.html +411 -0
  99. package/design-md/mintlify/preview.html +400 -0
  100. package/design-md/miro/DESIGN.md +108 -0
  101. package/design-md/miro/README.md +23 -0
  102. package/design-md/miro/preview-dark.html +174 -0
  103. package/design-md/miro/preview.html +173 -0
  104. package/design-md/mistral.ai/DESIGN.md +261 -0
  105. package/design-md/mistral.ai/README.md +24 -0
  106. package/design-md/mistral.ai/preview-dark.html +813 -0
  107. package/design-md/mistral.ai/preview.html +812 -0
  108. package/design-md/mongodb/DESIGN.md +266 -0
  109. package/design-md/mongodb/README.md +23 -0
  110. package/design-md/mongodb/preview-dark.html +262 -0
  111. package/design-md/mongodb/preview.html +261 -0
  112. package/design-md/notion/DESIGN.md +309 -0
  113. package/design-md/notion/README.md +24 -0
  114. package/design-md/notion/preview-dark.html +374 -0
  115. package/design-md/notion/preview.html +366 -0
  116. package/design-md/nvidia/DESIGN.md +293 -0
  117. package/design-md/nvidia/README.md +24 -0
  118. package/design-md/nvidia/preview-dark.html +376 -0
  119. package/design-md/nvidia/preview.html +368 -0
  120. package/design-md/ollama/DESIGN.md +267 -0
  121. package/design-md/ollama/README.md +24 -0
  122. package/design-md/ollama/preview-dark.html +678 -0
  123. package/design-md/ollama/preview.html +678 -0
  124. package/design-md/opencode.ai/DESIGN.md +281 -0
  125. package/design-md/opencode.ai/README.md +24 -0
  126. package/design-md/opencode.ai/preview-dark.html +368 -0
  127. package/design-md/opencode.ai/preview.html +359 -0
  128. package/design-md/pinterest/DESIGN.md +230 -0
  129. package/design-md/pinterest/README.md +23 -0
  130. package/design-md/pinterest/preview-dark.html +233 -0
  131. package/design-md/pinterest/preview.html +232 -0
  132. package/design-md/posthog/DESIGN.md +256 -0
  133. package/design-md/posthog/README.md +23 -0
  134. package/design-md/posthog/preview-dark.html +701 -0
  135. package/design-md/posthog/preview.html +751 -0
  136. package/design-md/raycast/DESIGN.md +268 -0
  137. package/design-md/raycast/README.md +23 -0
  138. package/design-md/raycast/preview-dark.html +608 -0
  139. package/design-md/raycast/preview.html +690 -0
  140. package/design-md/replicate/DESIGN.md +261 -0
  141. package/design-md/replicate/README.md +24 -0
  142. package/design-md/replicate/preview-dark.html +828 -0
  143. package/design-md/replicate/preview.html +831 -0
  144. package/design-md/resend/DESIGN.md +303 -0
  145. package/design-md/resend/README.md +23 -0
  146. package/design-md/resend/preview-dark.html +357 -0
  147. package/design-md/resend/preview.html +356 -0
  148. package/design-md/revolut/DESIGN.md +185 -0
  149. package/design-md/revolut/README.md +23 -0
  150. package/design-md/revolut/preview-dark.html +234 -0
  151. package/design-md/revolut/preview.html +233 -0
  152. package/design-md/runwayml/DESIGN.md +244 -0
  153. package/design-md/runwayml/README.md +24 -0
  154. package/design-md/runwayml/preview-dark.html +664 -0
  155. package/design-md/runwayml/preview.html +665 -0
  156. package/design-md/sanity/DESIGN.md +357 -0
  157. package/design-md/sanity/README.md +24 -0
  158. package/design-md/sanity/preview-dark.html +995 -0
  159. package/design-md/sanity/preview.html +1140 -0
  160. package/design-md/sentry/DESIGN.md +262 -0
  161. package/design-md/sentry/README.md +24 -0
  162. package/design-md/sentry/preview-dark.html +628 -0
  163. package/design-md/sentry/preview.html +953 -0
  164. package/design-md/spacex/DESIGN.md +194 -0
  165. package/design-md/spacex/README.md +23 -0
  166. package/design-md/spacex/preview-dark.html +223 -0
  167. package/design-md/spacex/preview.html +222 -0
  168. package/design-md/spotify/DESIGN.md +246 -0
  169. package/design-md/spotify/README.md +23 -0
  170. package/design-md/spotify/preview-dark.html +231 -0
  171. package/design-md/spotify/preview.html +230 -0
  172. package/design-md/stripe/DESIGN.md +322 -0
  173. package/design-md/stripe/README.md +24 -0
  174. package/design-md/stripe/preview-dark.html +430 -0
  175. package/design-md/stripe/preview.html +421 -0
  176. package/design-md/supabase/DESIGN.md +255 -0
  177. package/design-md/supabase/README.md +24 -0
  178. package/design-md/supabase/preview-dark.html +977 -0
  179. package/design-md/supabase/preview.html +955 -0
  180. package/design-md/superhuman/DESIGN.md +252 -0
  181. package/design-md/superhuman/README.md +23 -0
  182. package/design-md/superhuman/preview-dark.html +975 -0
  183. package/design-md/superhuman/preview.html +953 -0
  184. package/design-md/together.ai/DESIGN.md +263 -0
  185. package/design-md/together.ai/README.md +24 -0
  186. package/design-md/together.ai/preview-dark.html +892 -0
  187. package/design-md/together.ai/preview.html +897 -0
  188. package/design-md/uber/DESIGN.md +295 -0
  189. package/design-md/uber/README.md +24 -0
  190. package/design-md/uber/preview-dark.html +1164 -0
  191. package/design-md/uber/preview.html +1163 -0
  192. package/design-md/vercel/DESIGN.md +310 -0
  193. package/design-md/vercel/README.md +24 -0
  194. package/design-md/vercel/preview-dark.html +370 -0
  195. package/design-md/vercel/preview.html +369 -0
  196. package/design-md/voltagent/DESIGN.md +323 -0
  197. package/design-md/voltagent/README.md +24 -0
  198. package/design-md/voltagent/preview-dark.html +487 -0
  199. package/design-md/voltagent/preview.html +766 -0
  200. package/design-md/warp/DESIGN.md +253 -0
  201. package/design-md/warp/README.md +23 -0
  202. package/design-md/warp/preview-dark.html +502 -0
  203. package/design-md/warp/preview.html +535 -0
  204. package/design-md/webflow/DESIGN.md +92 -0
  205. package/design-md/webflow/README.md +23 -0
  206. package/design-md/webflow/preview-dark.html +147 -0
  207. package/design-md/webflow/preview.html +146 -0
  208. package/design-md/wise/DESIGN.md +173 -0
  209. package/design-md/wise/README.md +23 -0
  210. package/design-md/wise/preview-dark.html +230 -0
  211. package/design-md/wise/preview.html +229 -0
  212. package/design-md/x.ai/DESIGN.md +257 -0
  213. package/design-md/x.ai/README.md +24 -0
  214. package/design-md/x.ai/preview-dark.html +358 -0
  215. package/design-md/x.ai/preview.html +409 -0
  216. package/design-md/zapier/DESIGN.md +328 -0
  217. package/design-md/zapier/README.md +24 -0
  218. package/design-md/zapier/preview-dark.html +382 -0
  219. package/design-md/zapier/preview.html +374 -0
  220. package/package.json +33 -0
@@ -0,0 +1,278 @@
1
+ # Design System: HashiCorp
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ HashiCorp's website is enterprise infrastructure made tangible — a design system that must communicate the complexity of cloud infrastructure management while remaining approachable. The visual language splits between two modes: a clean white light-mode for informational sections and a dramatic dark-mode (`#15181e`, `#0d0e12`) for hero areas and product showcases, creating a day/night duality that mirrors the "build in light, deploy in dark" developer workflow.
6
+
7
+ The typography is anchored by a custom brand font (HashiCorp Sans, loaded as `__hashicorpSans_96f0ca`) that carries substantial weight — literally. Headings use 600–700 weights with tight line-heights (1.17–1.19), creating dense, authoritative text blocks that communicate enterprise confidence. The hero headline at 82px weight 600 with OpenType `"kern"` enabled is not decorative — it's infrastructure-grade typography.
8
+
9
+ What distinguishes HashiCorp is its multi-product color system. Each product in the portfolio has its own brand color — Terraform purple (`#7b42bc`), Vault yellow (`#ffcf25`), Waypoint teal (`#14c6cb`), Vagrant blue (`#1868f2`) — and these colors appear throughout as accent tokens via a CSS custom property system (`--mds-color-*`). This creates a design system within a design system: the parent brand is black-and-white with blue accents, while each child product injects its own chromatic identity.
10
+
11
+ The component system uses the `mds` (Markdown Design System) prefix, indicating a systematic, token-driven approach where colors, spacing, and states are all managed through CSS variables. Shadows are remarkably subtle — dual-layer micro-shadows using `rgba(97, 104, 117, 0.05)` that are nearly invisible but provide just enough depth to separate interactive surfaces from the background.
12
+
13
+ **Key Characteristics:**
14
+ - Dual-mode: clean white sections + dramatic dark (`#15181e`) hero/product areas
15
+ - Custom HashiCorp Sans font with 600–700 weights and `"kern"` feature
16
+ - Multi-product color system via `--mds-color-*` CSS custom properties
17
+ - Product brand colors: Terraform purple, Vault yellow, Waypoint teal, Vagrant blue
18
+ - Uppercase letter-spaced captions (13px, weight 600, 1.3px letter-spacing)
19
+ - Micro-shadows: dual-layer at 0.05 opacity — depth through whisper, not shout
20
+ - Token-driven `mds` component system with semantic variable names
21
+ - Tight border radius: 2px–8px, nothing pill-shaped or circular
22
+ - System-ui fallback stack for secondary text
23
+
24
+ ## 2. Color Palette & Roles
25
+
26
+ ### Brand Primary
27
+ - **Black** (`#000000`): Primary brand color, text on light surfaces, `--mds-color-hcp-brand`
28
+ - **Dark Charcoal** (`#15181e`): Dark mode backgrounds, hero sections
29
+ - **Near Black** (`#0d0e12`): Deepest dark mode surface, form inputs on dark
30
+
31
+ ### Neutral Scale
32
+ - **Light Gray** (`#f1f2f3`): Light backgrounds, subtle surfaces
33
+ - **Mid Gray** (`#d5d7db`): Borders, button text on dark
34
+ - **Cool Gray** (`#b2b6bd`): Border accents (at 0.1–0.4 opacity)
35
+ - **Dark Gray** (`#656a76`): Helper text, secondary labels, `--mds-form-helper-text-color`
36
+ - **Charcoal** (`#3b3d45`): Secondary text on light, button borders
37
+ - **Near White** (`#efeff1`): Primary text on dark surfaces
38
+
39
+ ### Product Brand Colors
40
+ - **Terraform Purple** (`#7b42bc`): `--mds-color-terraform-button-background`
41
+ - **Vault Yellow** (`#ffcf25`): `--mds-color-vault-button-background`
42
+ - **Waypoint Teal** (`#14c6cb`): `--mds-color-waypoint-button-background-focus`
43
+ - **Waypoint Teal Hover** (`#12b6bb`): `--mds-color-waypoint-button-background-hover`
44
+ - **Vagrant Blue** (`#1868f2`): `--mds-color-vagrant-brand`
45
+ - **Purple Accent** (`#911ced`): `--mds-color-palette-purple-300`
46
+ - **Visited Purple** (`#a737ff`): `--mds-color-foreground-action-visited`
47
+
48
+ ### Semantic Colors
49
+ - **Action Blue** (`#1060ff`): Primary action links on dark
50
+ - **Link Blue** (`#2264d6`): Primary links on light
51
+ - **Bright Blue** (`#2b89ff`): Active links, hover accent
52
+ - **Amber** (`#bb5a00`): `--mds-color-palette-amber-200`, warning states
53
+ - **Amber Light** (`#fbeabf`): `--mds-color-palette-amber-100`, warning backgrounds
54
+ - **Vault Faint Yellow** (`#fff9cf`): `--mds-color-vault-radar-gradient-faint-stop`
55
+ - **Orange** (`#a9722e`): `--mds-color-unified-core-orange-6`
56
+ - **Red** (`#731e25`): `--mds-color-unified-core-red-7`, error states
57
+ - **Navy** (`#101a59`): `--mds-color-unified-core-blue-7`
58
+
59
+ ### Shadows
60
+ - **Micro Shadow** (`rgba(97, 104, 117, 0.05) 0px 1px 1px, rgba(97, 104, 117, 0.05) 0px 2px 2px`): Default card/button elevation
61
+ - **Focus Outline**: `3px solid var(--mds-color-focus-action-external)` — systematic focus ring
62
+
63
+ ## 3. Typography Rules
64
+
65
+ ### Font Families
66
+ - **Primary Brand**: `__hashicorpSans_96f0ca` (HashiCorp Sans), with fallback: `__hashicorpSans_Fallback_96f0ca`
67
+ - **System UI**: `system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial`
68
+
69
+ ### Hierarchy
70
+
71
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
72
+ |------|------|------|--------|-------------|----------------|-------|
73
+ | Display Hero | HashiCorp Sans | 82px (5.13rem) | 600 | 1.17 (tight) | normal | `"kern"` enabled |
74
+ | Section Heading | HashiCorp Sans | 52px (3.25rem) | 600 | 1.19 (tight) | normal | `"kern"` enabled |
75
+ | Feature Heading | HashiCorp Sans | 42px (2.63rem) | 700 | 1.19 (tight) | -0.42px | Negative tracking |
76
+ | Sub-heading | HashiCorp Sans | 34px (2.13rem) | 600–700 | 1.18 (tight) | normal | Feature blocks |
77
+ | Card Title | HashiCorp Sans | 26px (1.63rem) | 700 | 1.19 (tight) | normal | Card and panel headings |
78
+ | Small Title | HashiCorp Sans | 19px (1.19rem) | 700 | 1.21 (tight) | normal | Compact headings |
79
+ | Body Emphasis | HashiCorp Sans | 17px (1.06rem) | 600–700 | 1.18–1.35 | normal | Bold body text |
80
+ | Body Large | system-ui | 20px (1.25rem) | 400–600 | 1.50 | normal | Hero descriptions |
81
+ | Body | system-ui | 16px (1.00rem) | 400–500 | 1.63–1.69 (relaxed) | normal | Standard body text |
82
+ | Nav Link | system-ui | 15px (0.94rem) | 500 | 1.60 (relaxed) | normal | Navigation items |
83
+ | Small Body | system-ui | 14px (0.88rem) | 400–500 | 1.29–1.71 | normal | Secondary content |
84
+ | Caption | system-ui | 13px (0.81rem) | 400–500 | 1.23–1.69 | normal | Metadata, footer links |
85
+ | Uppercase Label | HashiCorp Sans | 13px (0.81rem) | 600 | 1.69 (relaxed) | 1.3px | `text-transform: uppercase` |
86
+
87
+ ### Principles
88
+ - **Brand/System split**: HashiCorp Sans for headings and brand-critical text; system-ui for body, navigation, and functional text. The brand font carries the weight, system-ui carries the words.
89
+ - **Kern always on**: All HashiCorp Sans text enables OpenType `"kern"` — letterfitting is non-negotiable.
90
+ - **Tight headings**: Every heading uses 1.17–1.21 line-height, creating dense, stacked text blocks that feel infrastructural — solid, load-bearing.
91
+ - **Relaxed body**: Body text uses 1.50–1.69 line-height (notably generous), creating comfortable reading rhythm beneath the dense headings.
92
+ - **Uppercase labels as wayfinding**: 13px uppercase with 1.3px letter-spacing serves as the systematic category/section marker — always HashiCorp Sans weight 600.
93
+
94
+ ## 4. Component Stylings
95
+
96
+ ### Buttons
97
+
98
+ **Primary Dark**
99
+ - Background: `#15181e`
100
+ - Text: `#d5d7db`
101
+ - Padding: 9px 9px 9px 15px (asymmetric, more left padding)
102
+ - Radius: 5px
103
+ - Border: `1px solid rgba(178, 182, 189, 0.4)`
104
+ - Shadow: `rgba(97, 104, 117, 0.05) 0px 1px 1px, rgba(97, 104, 117, 0.05) 0px 2px 2px`
105
+ - Focus: `3px solid var(--mds-color-focus-action-external)`
106
+ - Hover: uses `--mds-color-surface-interactive` token
107
+
108
+ **Secondary White**
109
+ - Background: `#ffffff`
110
+ - Text: `#3b3d45`
111
+ - Padding: 8px 12px
112
+ - Radius: 4px
113
+ - Hover: `--mds-color-surface-interactive` + low-shadow elevation
114
+ - Focus: `3px solid transparent` outline
115
+ - Clean, minimal appearance
116
+
117
+ **Product-Colored Buttons**
118
+ - Terraform: background `#7b42bc`
119
+ - Vault: background `#ffcf25` (dark text)
120
+ - Waypoint: background `#14c6cb`, hover `#12b6bb`
121
+ - Each product button follows the same structural pattern but uses its brand color
122
+
123
+ ### Badges / Pills
124
+ - Background: `#42225b` (deep purple)
125
+ - Text: `#efeff1`
126
+ - Padding: 3px 7px
127
+ - Radius: 5px
128
+ - Border: `1px solid rgb(180, 87, 255)`
129
+ - Font: 16px
130
+
131
+ ### Inputs
132
+
133
+ **Text Input (Dark Mode)**
134
+ - Background: `#0d0e12`
135
+ - Text: `#efeff1`
136
+ - Border: `1px solid rgb(97, 104, 117)`
137
+ - Padding: 11px
138
+ - Radius: 5px
139
+ - Focus: `3px solid var(--mds-color-focus-action-external)` outline
140
+
141
+ **Checkbox**
142
+ - Background: `#0d0e12`
143
+ - Border: `1px solid rgb(97, 104, 117)`
144
+ - Radius: 3px
145
+
146
+ ### Links
147
+ - **Action Blue on Light**: `#2264d6`, hover → blue-600 variable, underline on hover
148
+ - **Action Blue on Dark**: `#1060ff` or `#2b89ff`, underline on hover
149
+ - **White on Dark**: `#ffffff`, transparent underline → visible underline on hover
150
+ - **Neutral on Light**: `#3b3d45`, transparent underline → visible underline on hover
151
+ - **Light on Dark**: `#efeff1`, similar hover pattern
152
+ - All links use `var(--wpl-blue-600)` as hover color
153
+
154
+ ### Cards & Containers
155
+ - Light mode: white background, micro-shadow elevation
156
+ - Dark mode: `#15181e` or darker surfaces
157
+ - Radius: 8px for cards and containers
158
+ - Product showcase cards with gradient borders or accent lighting
159
+
160
+ ### Navigation
161
+ - Clean horizontal nav with mega-menu dropdowns
162
+ - HashiCorp logo left-aligned
163
+ - system-ui 15px weight 500 for links
164
+ - Product categories organized by lifecycle management group
165
+ - "Get started" and "Contact us" CTAs in header
166
+ - Dark mode variant for hero sections
167
+
168
+ ## 5. Layout Principles
169
+
170
+ ### Spacing System
171
+ - Base unit: 8px
172
+ - Scale: 2px, 3px, 4px, 6px, 7px, 8px, 9px, 11px, 12px, 16px, 20px, 24px, 32px, 40px, 48px
173
+
174
+ ### Grid & Container
175
+ - Max content width: ~1150px (xl breakpoint)
176
+ - Full-width dark hero sections with contained content
177
+ - Card grids: 2–3 column layouts
178
+ - Generous horizontal padding at desktop scale
179
+
180
+ ### Breakpoints
181
+ | Name | Width | Key Changes |
182
+ |------|-------|-------------|
183
+ | Mobile Small | <375px | Tight single column |
184
+ | Mobile | 375–480px | Standard mobile |
185
+ | Small Tablet | 480–600px | Minor adjustments |
186
+ | Tablet | 600–768px | 2-column grids begin |
187
+ | Small Desktop | 768–992px | Full nav visible |
188
+ | Desktop | 992–1120px | Standard layout |
189
+ | Large Desktop | 1120–1440px | Max-width content |
190
+ | Ultra-wide | >1440px | Centered, generous margins |
191
+
192
+ ### Whitespace Philosophy
193
+ - **Enterprise breathing room**: Generous vertical spacing between sections (48px–80px+) communicates stability and seriousness.
194
+ - **Dense headings, spacious body**: Tight line-height headings sit above relaxed body text, creating visual "weight at the top" of each section.
195
+ - **Dark as canvas**: Dark hero sections use extra vertical padding to let 3D illustrations and gradients breathe.
196
+
197
+ ### Border Radius Scale
198
+ - Minimal (2px): Links, small inline elements
199
+ - Subtle (3px): Checkboxes, small inputs
200
+ - Standard (4px): Secondary buttons
201
+ - Comfortable (5px): Primary buttons, badges, inputs
202
+ - Card (8px): Cards, containers, images
203
+
204
+ ## 6. Depth & Elevation
205
+
206
+ | Level | Treatment | Use |
207
+ |-------|-----------|-----|
208
+ | Flat (Level 0) | No shadow | Default surfaces, text blocks |
209
+ | Whisper (Level 1) | `rgba(97, 104, 117, 0.05) 0px 1px 1px, rgba(97, 104, 117, 0.05) 0px 2px 2px` | Cards, buttons, interactive surfaces |
210
+ | Focus (Level 2) | `3px solid var(--mds-color-focus-action-external)` outline | Focus rings — color-matched to context |
211
+
212
+ **Shadow Philosophy**: HashiCorp uses arguably the subtlest shadow system in modern web design. The dual-layer shadows at 5% opacity are nearly invisible — they exist not to create visual depth but to signal interactivity. If you can see the shadow, it's too strong. This restraint communicates the enterprise value of stability — nothing floats, nothing is uncertain.
213
+
214
+ ## 7. Do's and Don'ts
215
+
216
+ ### Do
217
+ - Use HashiCorp Sans for headings and brand text, system-ui for body and UI text
218
+ - Enable `"kern"` on all HashiCorp Sans text
219
+ - Use product brand colors ONLY for their respective products (Terraform = purple, Vault = yellow, etc.)
220
+ - Apply uppercase labels at 13px weight 600 with 1.3px letter-spacing for section markers
221
+ - Keep shadows at the "whisper" level (0.05 opacity dual-layer)
222
+ - Use the `--mds-color-*` token system for consistent color application
223
+ - Maintain the tight-heading / relaxed-body rhythm (1.17–1.21 vs 1.50–1.69 line-heights)
224
+ - Use `3px solid` focus outlines for accessibility
225
+
226
+ ### Don't
227
+ - Don't use product brand colors outside their product context (no Terraform purple on Vault content)
228
+ - Don't increase shadow opacity above 0.1 — the whisper level is intentional
229
+ - Don't use pill-shaped buttons (>8px radius) — the sharp, minimal radius is structural
230
+ - Don't skip the `"kern"` feature on headings — the font requires it
231
+ - Don't use HashiCorp Sans for small body text — it's designed for 17px+ heading use
232
+ - Don't mix product colors in the same component — each product has one color
233
+ - Don't use pure black (`#000000`) for dark backgrounds — use `#15181e` or `#0d0e12`
234
+ - Don't forget the asymmetric button padding — 9px 9px 9px 15px is intentional
235
+
236
+ ## 8. Responsive Behavior
237
+
238
+ ### Breakpoints
239
+ | Name | Width | Key Changes |
240
+ |------|-------|-------------|
241
+ | Mobile | <768px | Single column, hamburger nav, stacked CTAs |
242
+ | Tablet | 768–992px | 2-column grids, nav begins expanding |
243
+ | Desktop | 992–1150px | Full layout, mega-menu nav |
244
+ | Large | >1150px | Max-width centered, generous margins |
245
+
246
+ ### Collapsing Strategy
247
+ - Hero: 82px → 52px → 42px heading sizes
248
+ - Navigation: mega-menu → hamburger
249
+ - Product cards: 3-column → 2-column → stacked
250
+ - Dark sections maintain full-width but compress padding
251
+ - Buttons: inline → full-width stacked on mobile
252
+
253
+ ## 9. Agent Prompt Guide
254
+
255
+ ### Quick Color Reference
256
+ - Light bg: `#ffffff`, `#f1f2f3`
257
+ - Dark bg: `#15181e`, `#0d0e12`
258
+ - Text light: `#000000`, `#3b3d45`
259
+ - Text dark: `#efeff1`, `#d5d7db`
260
+ - Links: `#2264d6` (light), `#1060ff` (dark), `#2b89ff` (active)
261
+ - Helper text: `#656a76`
262
+ - Borders: `rgba(178, 182, 189, 0.4)`, `rgb(97, 104, 117)`
263
+ - Focus: `3px solid` product-appropriate color
264
+
265
+ ### Example Component Prompts
266
+ - "Create a hero on dark background (#15181e). Headline at 82px HashiCorp Sans weight 600, line-height 1.17, kern enabled, white text. Sub-text at 20px system-ui weight 400, line-height 1.50, #d5d7db text. Two buttons: primary dark (#15181e, 5px radius, 9px 15px padding) and secondary white (#ffffff, 4px radius, 8px 12px padding)."
267
+ - "Design a product card: white background, 8px radius, dual-layer shadow at rgba(97,104,117,0.05). Title at 26px HashiCorp Sans weight 700, body at 16px system-ui weight 400 line-height 1.63."
268
+ - "Build an uppercase section label: 13px HashiCorp Sans weight 600, line-height 1.69, letter-spacing 1.3px, text-transform uppercase, #656a76 color."
269
+ - "Create a product-specific CTA button: Terraform → #7b42bc background, Vault → #ffcf25 with dark text, Waypoint → #14c6cb. All: 5px radius, 500 weight text, 16px system-ui."
270
+ - "Design a dark form: #0d0e12 input background, #efeff1 text, 1px solid rgb(97,104,117) border, 5px radius, 11px padding. Focus: 3px solid accent-color outline."
271
+
272
+ ### Iteration Guide
273
+ 1. Always start with the mode decision: light (white) for informational, dark (#15181e) for hero/product
274
+ 2. HashiCorp Sans for headings only (17px+), system-ui for everything else
275
+ 3. Shadows are at whisper level (0.05 opacity) — if visible, reduce
276
+ 4. Product colors are sacred — each product owns exactly one color
277
+ 5. Focus rings are always 3px solid, color-matched to product context
278
+ 6. Uppercase labels are the systematic wayfinding pattern — 13px, 600, 1.3px tracking
@@ -0,0 +1,24 @@
1
+ # HashiCorp Inspired Design System
2
+
3
+ [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/hashicorp/DESIGN.md) extracted from the public [hashicorp](https://hashicorp.com/) website. This is not the official design system. Colors, fonts, and spacing may not be 100% accurate. But it's a good starting point for building something similar.
4
+
5
+ ## Files
6
+
7
+ | File | Description |
8
+ |------|-------------|
9
+ | `DESIGN.md` | Complete design system documentation (9 sections) |
10
+ | `preview.html` | Interactive design token catalog (light) |
11
+ | `preview-dark.html` | Interactive design token catalog (dark) |
12
+
13
+
14
+ Use [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/hashicorp/DESIGN.md) to use as a reference for AI agents (Claude, Cursor, Stitch) to generate UI that looks like the HashiCorp design language.
15
+
16
+ ## Preview
17
+
18
+ A sample landing page built with DESIGN.md. It shows the actual colors, typography, buttons, cards, spacing, and elevation, all in one page.
19
+
20
+ ### Dark Mode
21
+ ![HashiCorp Design System — Dark Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/hashicorp/preview-dark-screenshot.png)
22
+
23
+ ### Light Mode
24
+ ![HashiCorp Design System — Light Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/hashicorp/preview-screenshot.png)