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,357 @@
1
+ # Design System: Sanity
2
+
3
+ ## 1. Visual Theme & Atmosphere
4
+
5
+ Sanity's website is a developer-content platform rendered as a nocturnal command center -- dark, precise, and deeply structured. The entire experience sits on a near-black canvas (`#0b0b0b`) that reads less like a "dark mode toggle" and more like the natural state of a tool built for people who live in terminals. Where most CMS marketing pages reach for friendly pastels and soft illustration, Sanity leans into the gravity of its own product: structured content deserves a structured stage.
6
+
7
+ The signature typographic voice is waldenburgNormal -- a distinctive, slightly geometric sans-serif with tight negative letter-spacing (-0.32px to -4.48px at display sizes) that gives headlines a compressed, engineered quality. At 112px hero scale with -4.48px tracking, the type feels almost machined -- like precision-cut steel letterforms. This is paired with IBM Plex Mono for code and technical labels, creating a dual-register voice: editorial authority meets developer credibility.
8
+
9
+ What makes Sanity distinctive is the interplay between its monochromatic dark palette and vivid, saturated accent punctuation. The neutral scale runs from pure black through a tightly controlled gray ramp (`#0b0b0b` -> `#212121` -> `#353535` -> `#797979` -> `#b9b9b9` -> `#ededed` -> `#ffffff`) with no warm or cool bias -- just pure, achromatic precision. Against this disciplined backdrop, a neon green accent (display-p3 green) and electric blue (`#0052ef`) land with the impact of signal lights in a dark control room. The orange-red CTA (`#f36458`) provides the only warm touch in an otherwise cool system.
10
+
11
+ **Key Characteristics:**
12
+ - Near-black canvas (`#0b0b0b`) as the default, natural environment -- not a dark "mode" but the primary identity
13
+ - waldenburgNormal with extreme negative tracking at display sizes, creating a precision-engineered typographic voice
14
+ - Pure achromatic gray scale -- no warm or cool undertones, pure neutral discipline
15
+ - Vivid accent punctuation: neon green, electric blue (`#0052ef`), and coral-red (`#f36458`) against the dark field
16
+ - Pill-shaped primary buttons (99999px radius) contrasting with subtle rounded rectangles (3-6px) for secondary actions
17
+ - IBM Plex Mono as the technical counterweight to the editorial display face
18
+ - Full-bleed dark sections with content contained in measured max-width containers
19
+ - Hover states that shift to electric blue (`#0052ef`) across all interactive elements -- a consistent "activation" signal
20
+
21
+ ## 2. Color Palette & Roles
22
+
23
+ ### Primary Brand
24
+ - **Sanity Black** (`#0b0b0b`): The primary canvas and dominant surface color. Not pure black but close enough to feel absolute. The foundation of the entire visual identity.
25
+ - **Pure Black** (`#000000`): Used for maximum-contrast moments, deep overlays, and certain border accents.
26
+ - **Sanity Red** (`#f36458`): The primary CTA and brand accent -- a warm coral-red that serves as the main call-to-action color. Used for "Get Started" buttons and primary conversion points.
27
+
28
+ ### Accent & Interactive
29
+ - **Electric Blue** (`#0052ef`): The universal hover/active state color across the entire system. Buttons, links, and interactive elements all shift to this blue on hover. Also used as `--color-blue-700` for focus rings and active states.
30
+ - **Light Blue** (`#55beff` / `#afe3ff`): Secondary blue variants used for accent backgrounds, badges, and dimmed blue surfaces.
31
+ - **Neon Green** (`color(display-p3 .270588 1 0)`): A vivid, wide-gamut green used as `--color-fg-accent-green` for success states and premium feature highlights. Falls back to `#19d600` in sRGB.
32
+ - **Accent Magenta** (`color(display-p3 .960784 0 1)`): A vivid wide-gamut magenta for specialized accent moments.
33
+
34
+ ### Surface & Background
35
+ - **Near Black** (`#0b0b0b`): Default page background and primary surface.
36
+ - **Dark Gray** (`#212121`): Elevated surface color for cards, secondary containers, input backgrounds, and subtle layering above the base canvas.
37
+ - **Medium Dark** (`#353535`): Tertiary surface and border color for creating depth between dark layers.
38
+ - **Pure White** (`#ffffff`): Used for inverted sections, light-on-dark text, and specific button surfaces.
39
+ - **Light Gray** (`#ededed`): Light surface for inverted/light sections and subtle background tints.
40
+
41
+ ### Neutrals & Text
42
+ - **White** (`#ffffff`): Primary text color on dark surfaces, maximum legibility.
43
+ - **Silver** (`#b9b9b9`): Secondary text, body copy on dark surfaces, muted descriptions, and placeholder text.
44
+ - **Medium Gray** (`#797979`): Tertiary text, metadata, timestamps, and de-emphasized content.
45
+ - **Charcoal** (`#212121`): Text on light/inverted surfaces.
46
+ - **Near Black Text** (`#0b0b0b`): Primary text on white/light button surfaces.
47
+
48
+ ### Semantic
49
+ - **Error Red** (`#dd0000`): Destructive actions, validation errors, and critical warnings -- a pure, high-saturation red.
50
+ - **GPC Green** (`#37cd84`): Privacy/compliance indicator green.
51
+ - **Focus Ring Blue** (`#0052ef`): Focus ring color for accessibility, matching the interactive blue.
52
+
53
+ ### Border System
54
+ - **Dark Border** (`#0b0b0b`): Primary border on dark containers -- barely visible, maintaining minimal containment.
55
+ - **Subtle Border** (`#212121`): Standard border for inputs, textareas, and card edges on dark surfaces.
56
+ - **Medium Border** (`#353535`): More visible borders for emphasized containment and dividers.
57
+ - **Light Border** (`#ffffff`): Border on inverted/light elements or buttons needing contrast separation.
58
+ - **Orange Border** (`color(display-p3 1 0.3333 0)`): Special accent border for highlighted/featured elements.
59
+
60
+ ## 3. Typography Rules
61
+
62
+ ### Font Family
63
+ - **Display / Headline**: `waldenburgNormal`, fallback: `waldenburgNormal Fallback, ui-sans-serif, system-ui`
64
+ - **Body / UI**: `waldenburgNormal`, fallback: `waldenburgNormal Fallback, ui-sans-serif, system-ui`
65
+ - **Code / Technical**: `IBM Plex Mono`, fallback: `ibmPlexMono Fallback, ui-monospace`
66
+ - **Fallback / CJK**: `Helvetica`, fallback: `Arial, Hiragino Sans GB, STXihei, Microsoft YaHei, WenQuanYi Micro Hei`
67
+
68
+ *Note: waldenburgNormal is a custom typeface. For external implementations, use Inter or Space Grotesk as the sans substitute (geometric, slightly condensed feel). IBM Plex Mono is available on Google Fonts.*
69
+
70
+ ### Hierarchy
71
+
72
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
73
+ |------|------|------|--------|-------------|----------------|-------|
74
+ | Display / Hero | waldenburgNormal | 112px (7rem) | 400 | 1.00 (tight) | -4.48px | Maximum impact, compressed tracking |
75
+ | Hero Secondary | waldenburgNormal | 72px (4.5rem) | 400 | 1.05 (tight) | -2.88px | Large section headers |
76
+ | Section Heading | waldenburgNormal | 48px (3rem) | 400 | 1.08 (tight) | -1.68px | Primary section anchors |
77
+ | Heading Large | waldenburgNormal | 38px (2.38rem) | 400 | 1.10 (tight) | -1.14px | Feature section titles |
78
+ | Heading Medium | waldenburgNormal | 32px (2rem) | 425 | 1.24 (tight) | -0.32px | Card titles, subsection headers |
79
+ | Heading Small | waldenburgNormal | 24px (1.5rem) | 425 | 1.24 (tight) | -0.24px | Smaller feature headings |
80
+ | Subheading | waldenburgNormal | 20px (1.25rem) | 425 | 1.13 (tight) | -0.2px | Sub-section markers |
81
+ | Body Large | waldenburgNormal | 18px (1.13rem) | 400 | 1.50 | -0.18px | Intro paragraphs, descriptions |
82
+ | Body | waldenburgNormal | 16px (1rem) | 400 | 1.50 | normal | Standard body text |
83
+ | Body Small | waldenburgNormal | 15px (0.94rem) | 400 | 1.50 | -0.15px | Compact body text |
84
+ | Caption | waldenburgNormal | 13px (0.81rem) | 400-500 | 1.30-1.50 | -0.13px | Metadata, descriptions, tags |
85
+ | Small Caption | waldenburgNormal | 12px (0.75rem) | 400 | 1.50 | -0.12px | Footnotes, timestamps |
86
+ | Micro / Label | waldenburgNormal | 11px (0.69rem) | 500-600 | 1.00-1.50 | normal | Uppercase labels, tiny badges |
87
+ | Code Body | IBM Plex Mono | 15px (0.94rem) | 400 | 1.50 | normal | Code blocks, technical content |
88
+ | Code Caption | IBM Plex Mono | 13px (0.81rem) | 400-500 | 1.30-1.50 | normal | Inline code, small technical labels |
89
+ | Code Micro | IBM Plex Mono | 10-12px | 400 | 1.30-1.50 | normal | Tiny code labels, uppercase tags |
90
+
91
+ ### Principles
92
+ - **Extreme negative tracking at scale**: Display headings at 72px+ use aggressive negative letter-spacing (-2.88px to -4.48px), creating a tight, engineered quality that distinguishes Sanity from looser editorial typography.
93
+ - **Single font, multiple registers**: waldenburgNormal handles both editorial display and functional UI text. The weight range is narrow (400-425 for most, 500-600 only for tiny labels), keeping the voice consistent.
94
+ - **OpenType feature control**: Typography uses deliberate feature settings including `"cv01", "cv11", "cv12", "cv13", "ss07"` for display sizes and `"calt" 0` for body text, fine-tuning character alternates for different contexts.
95
+ - **Tight headings, relaxed body**: Headings use 1.00-1.24 line-height (extremely tight), while body text breathes at 1.50. This contrast creates clear visual hierarchy.
96
+ - **Uppercase for technical labels**: IBM Plex Mono captions and small labels frequently use `text-transform: uppercase` with tight line-heights, creating a "system readout" aesthetic for technical metadata.
97
+
98
+ ## 4. Component Stylings
99
+
100
+ ### Buttons
101
+
102
+ **Primary CTA (Pill)**
103
+ - Background: Sanity Red (`#f36458`)
104
+ - Text: White (`#ffffff`)
105
+ - Padding: 8px 16px
106
+ - Border Radius: 99999px (full pill)
107
+ - Border: none
108
+ - Hover: Electric Blue (`#0052ef`) background, white text
109
+ - Font: 16px waldenburgNormal, weight 400
110
+
111
+ **Secondary (Dark Pill)**
112
+ - Background: Near Black (`#0b0b0b`)
113
+ - Text: Silver (`#b9b9b9`)
114
+ - Padding: 8px 12px
115
+ - Border Radius: 99999px (full pill)
116
+ - Border: none
117
+ - Hover: Electric Blue (`#0052ef`) background, white text
118
+
119
+ **Outlined (Light Pill)**
120
+ - Background: White (`#ffffff`)
121
+ - Text: Near Black (`#0b0b0b`)
122
+ - Padding: 8px
123
+ - Border Radius: 99999px (full pill)
124
+ - Border: 1px solid `#0b0b0b`
125
+ - Hover: Electric Blue (`#0052ef`) background, white text
126
+
127
+ **Ghost / Subtle**
128
+ - Background: Dark Gray (`#212121`)
129
+ - Text: Silver (`#b9b9b9`)
130
+ - Padding: 0px 12px
131
+ - Border Radius: 5px
132
+ - Border: 1px solid `#212121`
133
+ - Hover: Electric Blue (`#0052ef`) background, white text
134
+
135
+ **Uppercase Label Button**
136
+ - Font: 11px waldenburgNormal, weight 600, uppercase
137
+ - Background: transparent or `#212121`
138
+ - Text: Silver (`#b9b9b9`)
139
+ - Letter-spacing: normal
140
+ - Used for tab-like navigation and filter controls
141
+
142
+ ### Cards
143
+
144
+ **Dark Content Card**
145
+ - Background: `#212121`
146
+ - Border: 1px solid `#353535` or `#212121`
147
+ - Border Radius: 6px
148
+ - Padding: 24px
149
+ - Text: White (`#ffffff`) for titles, Silver (`#b9b9b9`) for body
150
+ - Hover: subtle border color shift or elevation change
151
+
152
+ **Feature Card (Full-bleed)**
153
+ - Background: `#0b0b0b` or full-bleed image/gradient
154
+ - Border: none or 1px solid `#212121`
155
+ - Border Radius: 12px
156
+ - Padding: 32-48px
157
+ - Contains large imagery with overlaid text
158
+
159
+ ### Inputs
160
+
161
+ **Text Input / Textarea**
162
+ - Background: Near Black (`#0b0b0b`)
163
+ - Text: Silver (`#b9b9b9`)
164
+ - Border: 1px solid `#212121`
165
+ - Padding: 8px 12px
166
+ - Border Radius: 3px
167
+ - Focus: outline with `var(--focus-ring-color)` (blue), 2px solid
168
+ - Focus background: shifts to deep cyan (`#072227`)
169
+
170
+ **Search Input**
171
+ - Background: `#0b0b0b`
172
+ - Text: Silver (`#b9b9b9`)
173
+ - Padding: 0px 12px
174
+ - Border Radius: 3px
175
+ - Placeholder: Medium Gray (`#797979`)
176
+
177
+ ### Navigation
178
+
179
+ **Top Navigation**
180
+ - Background: Near Black (`#0b0b0b`) with backdrop blur
181
+ - Height: auto, compact padding
182
+ - Logo: left-aligned, Sanity wordmark
183
+ - Links: waldenburgNormal 16px, Silver (`#b9b9b9`)
184
+ - Link Hover: Electric Blue via `--color-fg-accent-blue`
185
+ - CTA Button: Sanity Red pill button right-aligned
186
+ - Separator: 1px border-bottom `#212121`
187
+
188
+ **Footer**
189
+ - Background: Near Black (`#0b0b0b`)
190
+ - Multi-column link layout
191
+ - Links: Silver (`#b9b9b9`), hover to blue
192
+ - Section headers: White (`#ffffff`), 13px uppercase IBM Plex Mono
193
+
194
+ ### Badges / Pills
195
+
196
+ **Neutral Subtle**
197
+ - Background: White (`#ffffff`)
198
+ - Text: Near Black (`#0b0b0b`)
199
+ - Padding: 8px
200
+ - Font: 13px
201
+ - Border Radius: 99999px
202
+
203
+ **Neutral Filled**
204
+ - Background: Near Black (`#0b0b0b`)
205
+ - Text: White (`#ffffff`)
206
+ - Padding: 8px
207
+ - Font: 13px
208
+ - Border Radius: 99999px
209
+
210
+ ## 5. Layout Principles
211
+
212
+ ### Spacing System
213
+ Base unit: **8px**
214
+
215
+ | Token | Value | Usage |
216
+ |-------|-------|-------|
217
+ | space-1 | 1px | Hairline gaps, border-like spacing |
218
+ | space-2 | 2px | Minimal internal padding |
219
+ | space-3 | 4px | Tight component internal spacing |
220
+ | space-4 | 6px | Small element gaps |
221
+ | space-5 | 8px | Base unit -- button padding, input padding, badge padding |
222
+ | space-6 | 12px | Standard component gap, button horizontal padding |
223
+ | space-7 | 16px | Section internal padding, card spacing |
224
+ | space-8 | 24px | Large component padding, card internal spacing |
225
+ | space-9 | 32px | Section padding, container gutters |
226
+ | space-10 | 48px | Large section vertical spacing |
227
+ | space-11 | 64px | Major section breaks |
228
+ | space-12 | 96-120px | Hero vertical padding, maximum section spacing |
229
+
230
+ ### Grid & Container
231
+ - Max content width: ~1440px (inferred from breakpoints)
232
+ - Page gutter: 32px on desktop, 16px on mobile
233
+ - Content sections use full-bleed backgrounds with centered, max-width content
234
+ - Multi-column layouts: 2-3 columns on desktop, single column on mobile
235
+ - Card grids: CSS Grid with consistent gaps (16-24px)
236
+
237
+ ### Whitespace Philosophy
238
+ Sanity uses aggressive vertical spacing between sections (64-120px) to create breathing room on the dark canvas. Within sections, spacing is tighter (16-32px), creating dense information clusters separated by generous voids. This rhythm gives the page a "slides" quality -- each section feels like its own focused frame.
239
+
240
+ ### Border Radius Scale
241
+
242
+ | Token | Value | Usage |
243
+ |-------|-------|-------|
244
+ | radius-xs | 3px | Inputs, textareas, subtle rounding |
245
+ | radius-sm | 4-5px | Secondary buttons, small cards, tags |
246
+ | radius-md | 6px | Standard cards, containers |
247
+ | radius-lg | 12px | Large cards, feature containers, forms |
248
+ | radius-pill | 99999px | Primary buttons, badges, nav pills |
249
+
250
+ ## 6. Depth & Elevation
251
+
252
+ ### Shadow System
253
+
254
+ | Level | Value | Usage |
255
+ |-------|-------|-------|
256
+ | Level 0 (Flat) | none | Default state for most elements -- dark surfaces create depth through color alone |
257
+ | Level 1 (Subtle) | 0px 0px 0px 1px `#212121` | Border-like shadow for minimal containment without visible borders |
258
+ | Level 2 (Focus) | 0 0 0 2px `var(--color-blue-500)` | Focus ring for inputs and interactive elements |
259
+ | Level 3 (Overlay) | Backdrop blur + semi-transparent dark | Navigation overlay, modal backgrounds |
260
+
261
+ ### Depth Philosophy
262
+ Sanity's depth system is almost entirely **colorimetric** rather than shadow-based. Elevation is communicated through surface color shifts: `#0b0b0b` (ground) -> `#212121` (elevated) -> `#353535` (prominent) -> `#ffffff` (inverted/highest). This approach is native to dark interfaces where traditional drop shadows would be invisible. The few shadows that exist are ring-based (0px 0px 0px Npx) or blur-based (backdrop-filter) rather than offset shadows, maintaining the flat, precision-engineered aesthetic.
263
+
264
+ Border-based containment (1px solid `#212121` or `#353535`) serves as the primary spatial separator, with the border darkness calibrated to be visible but not dominant. The system avoids "floating card" aesthetics -- everything feels mounted to the surface rather than hovering above it.
265
+
266
+ ## 7. Do's and Don'ts
267
+
268
+ ### Do
269
+ - Use the achromatic gray scale as the foundation -- maintain pure neutral discipline with no warm/cool tinting
270
+ - Apply Electric Blue (`#0052ef`) consistently as the universal hover/active state across all interactive elements
271
+ - Use extreme negative letter-spacing (-2px to -4.48px) on display headings 48px and above
272
+ - Keep primary CTAs as full-pill shapes (99999px radius) with the coral-red (`#f36458`)
273
+ - Use IBM Plex Mono uppercase for technical labels, tags, and system metadata
274
+ - Communicate depth through surface color (dark-to-light) rather than shadows
275
+ - Maintain generous vertical section spacing (64-120px) on the dark canvas
276
+ - Use `"cv01", "cv11", "cv12", "cv13", "ss07"` OpenType features for display typography
277
+
278
+ ### Don't
279
+ - Don't introduce warm or cool color tints to the neutral scale -- Sanity's grays are pure achromatic
280
+ - Don't use drop shadows for elevation -- dark interfaces demand colorimetric depth
281
+ - Don't apply border-radius between 13px and 99998px -- the system jumps from 12px (large card) directly to pill (99999px)
282
+ - Don't mix the coral-red CTA with the electric blue interactive color in the same element
283
+ - Don't use heavy font weights (700+) -- the system maxes out at 600 and only for 11px uppercase labels
284
+ - Don't place light text on light surfaces or dark text on dark surfaces without checking the gray-on-gray contrast ratio
285
+ - Don't use traditional offset box-shadows -- ring shadows (0 0 0 Npx) or border-based containment only
286
+ - Don't break the tight line-height on headings -- 1.00-1.24 is the range, never go to 1.5+ for display text
287
+
288
+ ## 8. Responsive Behavior
289
+
290
+ ### Breakpoints
291
+
292
+ | Name | Width | Behavior |
293
+ |------|-------|----------|
294
+ | Desktop XL | >= 1640px | Full layout, maximum content width |
295
+ | Desktop | >= 1440px | Standard desktop layout |
296
+ | Desktop Compact | >= 1200px | Slightly condensed desktop |
297
+ | Laptop | >= 1100px | Reduced column widths |
298
+ | Tablet Landscape | >= 960px | 2-column layouts begin collapsing |
299
+ | Tablet | >= 768px | Transition zone, some elements stack |
300
+ | Mobile Large | >= 720px | Near-tablet layout |
301
+ | Mobile | >= 480px | Single-column, stacked layout |
302
+ | Mobile Small | >= 376px | Minimum supported width |
303
+
304
+ ### Collapsing Strategy
305
+ - **Navigation**: Horizontal links collapse to hamburger menu below 768px
306
+ - **Hero typography**: Scales from 112px -> 72px -> 48px -> 38px across breakpoints, maintaining tight letter-spacing ratios
307
+ - **Grid layouts**: 3-column -> 2-column at ~960px, single-column below 768px
308
+ - **Card grids**: Horizontal scrolling on mobile instead of wrapping (preserving card aspect ratios)
309
+ - **Section spacing**: Vertical padding reduces by ~40% on mobile (120px -> 64px -> 48px)
310
+ - **Button sizing**: CTA pills maintain padding but reduce font size; ghost buttons stay fixed
311
+ - **Code blocks**: Horizontal scroll with preserved monospace formatting
312
+
313
+ ### Mobile-Specific Adjustments
314
+ - Full-bleed sections extend edge-to-edge with 16px internal gutters
315
+ - Touch targets: minimum 44px for all interactive elements
316
+ - Heading letter-spacing relaxes slightly at mobile sizes (less aggressive negative tracking)
317
+ - Image containers switch from fixed aspect ratios to full-width with auto height
318
+
319
+ ## 9. Agent Prompt Guide
320
+
321
+ ### Quick Color Reference
322
+ ```
323
+ Background: #0b0b0b (near-black canvas)
324
+ Surface: #212121 (elevated cards/containers)
325
+ Border: #353535 (visible) / #212121 (subtle)
326
+ Text Primary: #ffffff (white on dark)
327
+ Text Secondary: #b9b9b9 (silver on dark)
328
+ Text Tertiary: #797979 (medium gray)
329
+ CTA: #f36458 (coral-red)
330
+ Interactive: #0052ef (electric blue, all hovers)
331
+ Success: #19d600 (green, sRGB fallback)
332
+ Error: #dd0000 (pure red)
333
+ Light Surface: #ededed / #ffffff (inverted sections)
334
+ ```
335
+
336
+ ### Example Prompts
337
+
338
+ **Landing page section:**
339
+ "Create a feature section with a near-black (#0b0b0b) background. Use a 48px heading in Inter with -1.68px letter-spacing, white text. Below it, 16px body text in #b9b9b9 with 1.50 line-height. Include a coral-red (#f36458) pill button with white text and a secondary dark (#0b0b0b) pill button with #b9b9b9 text. Both buttons hover to #0052ef blue."
340
+
341
+ **Card grid:**
342
+ "Build a 3-column card grid on a #0b0b0b background. Each card has a #212121 surface, 1px solid #353535 border, 6px border-radius, and 24px padding. Card titles are 24px white with -0.24px letter-spacing. Body text is 13px #b9b9b9. Add a 13px IBM Plex Mono uppercase tag in #797979 at the top of each card."
343
+
344
+ **Form section:**
345
+ "Design a contact form on a #0b0b0b background. Inputs have #0b0b0b background, 1px solid #212121 border, 3px border-radius, 8px 12px padding, and #b9b9b9 placeholder text. Focus state shows a 2px blue (#0052ef) ring. Submit button is a full-width coral-red (#f36458) pill. Include a 13px #797979 helper text below each field."
346
+
347
+ **Navigation bar:**
348
+ "Create a sticky top navigation on #0b0b0b with backdrop blur. Left: brand text in 15px white. Center/right: nav links in 16px #b9b9b9 that hover to blue. Far right: a coral-red (#f36458) pill CTA button. Bottom border: 1px solid #212121."
349
+
350
+ ### Iteration Guide
351
+ 1. **Start dark**: Begin with `#0b0b0b` background, `#ffffff` primary text, `#b9b9b9` secondary text
352
+ 2. **Add structure**: Use `#212121` surfaces and `#353535` borders for containment -- no shadows
353
+ 3. **Apply typography**: Inter (or Space Grotesk) with tight letter-spacing on headings, 1.50 line-height on body
354
+ 4. **Color punctuation**: Add `#f36458` for CTAs and `#0052ef` for all hover/interactive states
355
+ 5. **Refine spacing**: 8px base unit, 24-32px within sections, 64-120px between sections
356
+ 6. **Technical details**: Add IBM Plex Mono uppercase labels for tags and metadata
357
+ 7. **Polish**: Ensure all interactive elements hover to `#0052ef`, all buttons are pills or subtle 5px radius, borders are hairline (1px)
@@ -0,0 +1,24 @@
1
+ # Sanity Inspired Design System
2
+
3
+ [DESIGN.md](https://github.com/VoltAgent/awesome-design-md/blob/main/design-md/sanity/DESIGN.md) extracted from the public [sanity](https://sanity.io/) 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/sanity/DESIGN.md) to use as a reference for AI agents (Claude, Cursor, Stitch) to generate UI that looks like the Sanity 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
+ ![Sanity Design System — Dark Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/sanity/preview-dark-screenshot.png)
22
+
23
+ ### Light Mode
24
+ ![Sanity Design System — Light Mode](https://pub-2e4ecbcbc9b24e7b93f1a6ab5b2bc71f.r2.dev/designs/sanity/preview-screenshot.png)