cdragon 0.1.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 (91) hide show
  1. package/README.md +110 -0
  2. package/bin/cdragon.js +170 -0
  3. package/package.json +31 -0
  4. package/skills/agent-browser/SKILL.md +50 -0
  5. package/skills/grill-me/SKILL.md +7 -0
  6. package/skills/herdr-agent/SKILL.md +142 -0
  7. package/skills/herdr-cli/SKILL.md +388 -0
  8. package/skills/herdr-cli/scripts/herdr-agent-run-and-wait +203 -0
  9. package/skills/herdr-cli/scripts/herdr-agent-wait-complete +168 -0
  10. package/skills/notion-presentation/SKILL.md +170 -0
  11. package/skills/notion-presentation/references/example-redis-deck.md +97 -0
  12. package/skills/setup-matt-pocock-skills/SKILL.md +127 -0
  13. package/skills/setup-matt-pocock-skills/domain.md +51 -0
  14. package/skills/setup-matt-pocock-skills/issue-tracker-github.md +34 -0
  15. package/skills/setup-matt-pocock-skills/issue-tracker-gitlab.md +35 -0
  16. package/skills/setup-matt-pocock-skills/issue-tracker-local.md +19 -0
  17. package/skills/setup-matt-pocock-skills/triage-labels.md +15 -0
  18. package/skills/tdd/SKILL.md +108 -0
  19. package/skills/tdd/mocking.md +59 -0
  20. package/skills/tdd/refactoring.md +10 -0
  21. package/skills/tdd/tests.md +61 -0
  22. package/skills/to-html/SKILL.md +83 -0
  23. package/skills/to-html/designs/INDEX.md +74 -0
  24. package/skills/to-html/designs/airbnb.DESIGN.md +581 -0
  25. package/skills/to-html/designs/airtable.DESIGN.md +275 -0
  26. package/skills/to-html/designs/alipay.DESIGN.md +456 -0
  27. package/skills/to-html/designs/apple.DESIGN.md +566 -0
  28. package/skills/to-html/designs/banksalad.DESIGN.md +621 -0
  29. package/skills/to-html/designs/channeltalk.DESIGN.md +374 -0
  30. package/skills/to-html/designs/clay.DESIGN.md +398 -0
  31. package/skills/to-html/designs/clickhouse.DESIGN.md +374 -0
  32. package/skills/to-html/designs/cohere.DESIGN.md +361 -0
  33. package/skills/to-html/designs/coinone.DESIGN.md +218 -0
  34. package/skills/to-html/designs/coupang.DESIGN.md +502 -0
  35. package/skills/to-html/designs/cursor.DESIGN.md +416 -0
  36. package/skills/to-html/designs/elevenlabs.DESIGN.md +376 -0
  37. package/skills/to-html/designs/expo.DESIGN.md +373 -0
  38. package/skills/to-html/designs/figma.DESIGN.md +490 -0
  39. package/skills/to-html/designs/framer.DESIGN.md +393 -0
  40. package/skills/to-html/designs/freee.DESIGN.md +572 -0
  41. package/skills/to-html/designs/gangnamunni.DESIGN.md +621 -0
  42. package/skills/to-html/designs/gmarket.DESIGN.md +483 -0
  43. package/skills/to-html/designs/gogolook.DESIGN.md +131 -0
  44. package/skills/to-html/designs/hahow.DESIGN.md +158 -0
  45. package/skills/to-html/designs/hashicorp.DESIGN.md +369 -0
  46. package/skills/to-html/designs/hyundaicard.DESIGN.md +177 -0
  47. package/skills/to-html/designs/ibm.DESIGN.md +420 -0
  48. package/skills/to-html/designs/kakaobank.DESIGN.md +548 -0
  49. package/skills/to-html/designs/kakaopay.DESIGN.md +544 -0
  50. package/skills/to-html/designs/karrot.DESIGN.md +445 -0
  51. package/skills/to-html/designs/kdan.DESIGN.md +160 -0
  52. package/skills/to-html/designs/krds.DESIGN.md +997 -0
  53. package/skills/to-html/designs/line.DESIGN.md +431 -0
  54. package/skills/to-html/designs/linear.app.DESIGN.md +548 -0
  55. package/skills/to-html/designs/miro.DESIGN.md +272 -0
  56. package/skills/to-html/designs/mistral.ai.DESIGN.md +353 -0
  57. package/skills/to-html/designs/money-forward.DESIGN.md +401 -0
  58. package/skills/to-html/designs/mongodb.DESIGN.md +357 -0
  59. package/skills/to-html/designs/naver.DESIGN.md +533 -0
  60. package/skills/to-html/designs/nhncloud.DESIGN.md +174 -0
  61. package/skills/to-html/designs/opencode.ai.DESIGN.md +388 -0
  62. package/skills/to-html/designs/pinterest.DESIGN.md +322 -0
  63. package/skills/to-html/designs/posthog.DESIGN.md +430 -0
  64. package/skills/to-html/designs/raycast.DESIGN.md +422 -0
  65. package/skills/to-html/designs/remember.DESIGN.md +460 -0
  66. package/skills/to-html/designs/resend.DESIGN.md +396 -0
  67. package/skills/to-html/designs/sanity.DESIGN.md +449 -0
  68. package/skills/to-html/designs/sendbird.DESIGN.md +285 -0
  69. package/skills/to-html/designs/smarthr.DESIGN.md +404 -0
  70. package/skills/to-html/designs/socar.DESIGN.md +403 -0
  71. package/skills/to-html/designs/spotify.DESIGN.md +265 -0
  72. package/skills/to-html/designs/supabase.DESIGN.md +348 -0
  73. package/skills/to-html/designs/superhuman.DESIGN.md +414 -0
  74. package/skills/to-html/designs/together.ai.DESIGN.md +356 -0
  75. package/skills/to-html/designs/toss.DESIGN.md +655 -0
  76. package/skills/to-html/designs/uber.DESIGN.md +387 -0
  77. package/skills/to-html/designs/upstage.DESIGN.md +232 -0
  78. package/skills/to-html/designs/velog.DESIGN.md +168 -0
  79. package/skills/to-html/designs/vercel.DESIGN.md +479 -0
  80. package/skills/to-html/designs/wanted.DESIGN.md +529 -0
  81. package/skills/to-html/designs/wise.DESIGN.md +276 -0
  82. package/skills/to-html/designs/yanolja.DESIGN.md +463 -0
  83. package/skills/to-html/designs/yeogiotte.DESIGN.md +459 -0
  84. package/skills/to-html/designs/zapier.DESIGN.md +433 -0
  85. package/skills/to-html/designs/zigzag.DESIGN.md +633 -0
  86. package/skills/to-issues/SKILL.md +84 -0
  87. package/skills/to-prd/SKILL.md +75 -0
  88. package/src/colors.js +15 -0
  89. package/src/link.js +47 -0
  90. package/src/prompt.js +137 -0
  91. package/src/skills.js +75 -0
@@ -0,0 +1,449 @@
1
+ ---
2
+ id: sanity
3
+ name: Sanity
4
+ country: US
5
+ category: backend-devops
6
+ homepage: "https://www.sanity.io"
7
+ primary_color: "#f03e2f"
8
+ logo:
9
+ type: simpleicons
10
+ slug: sanity
11
+ verified: "2026-05-15"
12
+ omd: "0.1"
13
+ ds:
14
+ name: Sanity UI
15
+ url: "https://www.sanity.io/ui"
16
+ type: system
17
+ description: Sanity's accessible React toolkit for building apps with design tokens.
18
+ og_image: "https://cdn.sanity.io/images/mos42crl/production/f378d0067c1406f4e3d3ed6874cd715c72f52d2c-1920x1080.png"
19
+ ---
20
+
21
+ # Design System Inspiration of Sanity
22
+
23
+ ## 1. Visual Theme & Atmosphere
24
+
25
+ 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.
26
+
27
+ 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.
28
+
29
+ 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.
30
+
31
+ **Key Characteristics:**
32
+ - Near-black canvas (`#0b0b0b`) as the default, natural environment -- not a dark "mode" but the primary identity
33
+ - waldenburgNormal with extreme negative tracking at display sizes, creating a precision-engineered typographic voice
34
+ - Pure achromatic gray scale -- no warm or cool undertones, pure neutral discipline
35
+ - Vivid accent punctuation: neon green, electric blue (`#0052ef`), and coral-red (`#f36458`) against the dark field
36
+ - Pill-shaped primary buttons (99999px radius) contrasting with subtle rounded rectangles (3-6px) for secondary actions
37
+ - IBM Plex Mono as the technical counterweight to the editorial display face
38
+ - Full-bleed dark sections with content contained in measured max-width containers
39
+ - Hover states that shift to electric blue (`#0052ef`) across all interactive elements -- a consistent "activation" signal
40
+
41
+ ## 2. Color Palette & Roles
42
+
43
+ ### Primary Brand
44
+ - **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.
45
+ - **Pure Black** (`#000000`): Used for maximum-contrast moments, deep overlays, and certain border accents.
46
+ - **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.
47
+
48
+ ### Accent & Interactive
49
+ - **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.
50
+ - **Light Blue** (`#55beff` / `#afe3ff`): Secondary blue variants used for accent backgrounds, badges, and dimmed blue surfaces.
51
+ - **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.
52
+ - **Accent Magenta** (`color(display-p3 .960784 0 1)`): A vivid wide-gamut magenta for specialized accent moments.
53
+
54
+ ### Surface & Background
55
+ - **Near Black** (`#0b0b0b`): Default page background and primary surface.
56
+ - **Dark Gray** (`#212121`): Elevated surface color for cards, secondary containers, input backgrounds, and subtle layering above the base canvas.
57
+ - **Medium Dark** (`#353535`): Tertiary surface and border color for creating depth between dark layers.
58
+ - **Pure White** (`#ffffff`): Used for inverted sections, light-on-dark text, and specific button surfaces.
59
+ - **Light Gray** (`#ededed`): Light surface for inverted/light sections and subtle background tints.
60
+
61
+ ### Neutrals & Text
62
+ - **White** (`#ffffff`): Primary text color on dark surfaces, maximum legibility.
63
+ - **Silver** (`#b9b9b9`): Secondary text, body copy on dark surfaces, muted descriptions, and placeholder text.
64
+ - **Medium Gray** (`#797979`): Tertiary text, metadata, timestamps, and de-emphasized content.
65
+ - **Charcoal** (`#212121`): Text on light/inverted surfaces.
66
+ - **Near Black Text** (`#0b0b0b`): Primary text on white/light button surfaces.
67
+
68
+ ### Semantic
69
+ - **Error Red** (`#dd0000`): Destructive actions, validation errors, and critical warnings -- a pure, high-saturation red.
70
+ - **GPC Green** (`#37cd84`): Privacy/compliance indicator green.
71
+ - **Focus Ring Blue** (`#0052ef`): Focus ring color for accessibility, matching the interactive blue.
72
+
73
+ ### Border System
74
+ - **Dark Border** (`#0b0b0b`): Primary border on dark containers -- barely visible, maintaining minimal containment.
75
+ - **Subtle Border** (`#212121`): Standard border for inputs, textareas, and card edges on dark surfaces.
76
+ - **Medium Border** (`#353535`): More visible borders for emphasized containment and dividers.
77
+ - **Light Border** (`#ffffff`): Border on inverted/light elements or buttons needing contrast separation.
78
+ - **Orange Border** (`color(display-p3 1 0.3333 0)`): Special accent border for highlighted/featured elements.
79
+
80
+ ## 3. Typography Rules
81
+
82
+ ### Font Family
83
+ - **Display / Headline**: `waldenburgNormal`, fallback: `waldenburgNormal Fallback, ui-sans-serif, system-ui`
84
+ - **Body / UI**: `waldenburgNormal`, fallback: `waldenburgNormal Fallback, ui-sans-serif, system-ui`
85
+ - **Code / Technical**: `IBM Plex Mono`, fallback: `ibmPlexMono Fallback, ui-monospace`
86
+ - **Fallback / CJK**: `Helvetica`, fallback: `Arial, Hiragino Sans GB, STXihei, Microsoft YaHei, WenQuanYi Micro Hei`
87
+
88
+ *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.*
89
+
90
+ ### Hierarchy
91
+
92
+ | Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
93
+ |------|------|------|--------|-------------|----------------|-------|
94
+ | Display / Hero | waldenburgNormal | 112px (7rem) | 400 | 1.00 (tight) | -4.48px | Maximum impact, compressed tracking |
95
+ | Hero Secondary | waldenburgNormal | 72px (4.5rem) | 400 | 1.05 (tight) | -2.88px | Large section headers |
96
+ | Section Heading | waldenburgNormal | 48px (3rem) | 400 | 1.08 (tight) | -1.68px | Primary section anchors |
97
+ | Heading Large | waldenburgNormal | 38px (2.38rem) | 400 | 1.10 (tight) | -1.14px | Feature section titles |
98
+ | Heading Medium | waldenburgNormal | 32px (2rem) | 425 | 1.24 (tight) | -0.32px | Card titles, subsection headers |
99
+ | Heading Small | waldenburgNormal | 24px (1.5rem) | 425 | 1.24 (tight) | -0.24px | Smaller feature headings |
100
+ | Subheading | waldenburgNormal | 20px (1.25rem) | 425 | 1.13 (tight) | -0.2px | Sub-section markers |
101
+ | Body Large | waldenburgNormal | 18px (1.13rem) | 400 | 1.50 | -0.18px | Intro paragraphs, descriptions |
102
+ | Body | waldenburgNormal | 16px (1rem) | 400 | 1.50 | normal | Standard body text |
103
+ | Body Small | waldenburgNormal | 15px (0.94rem) | 400 | 1.50 | -0.15px | Compact body text |
104
+ | Caption | waldenburgNormal | 13px (0.81rem) | 400-500 | 1.30-1.50 | -0.13px | Metadata, descriptions, tags |
105
+ | Small Caption | waldenburgNormal | 12px (0.75rem) | 400 | 1.50 | -0.12px | Footnotes, timestamps |
106
+ | Micro / Label | waldenburgNormal | 11px (0.69rem) | 500-600 | 1.00-1.50 | normal | Uppercase labels, tiny badges |
107
+ | Code Body | IBM Plex Mono | 15px (0.94rem) | 400 | 1.50 | normal | Code blocks, technical content |
108
+ | Code Caption | IBM Plex Mono | 13px (0.81rem) | 400-500 | 1.30-1.50 | normal | Inline code, small technical labels |
109
+ | Code Micro | IBM Plex Mono | 10-12px | 400 | 1.30-1.50 | normal | Tiny code labels, uppercase tags |
110
+
111
+ ### Principles
112
+ - **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.
113
+ - **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.
114
+ - **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.
115
+ - **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.
116
+ - **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.
117
+
118
+ ## 4. Component Stylings
119
+
120
+ ### Buttons
121
+
122
+ **Primary CTA (Pill)**
123
+ - Background: Sanity Red (`#f36458`)
124
+ - Text: White (`#ffffff`)
125
+ - Padding: 8px 16px
126
+ - Border Radius: 99999px (full pill)
127
+ - Border: none
128
+ - Hover: Electric Blue (`#0052ef`) background, white text
129
+ - Font: 16px waldenburgNormal, weight 400
130
+
131
+ **Secondary (Dark Pill)**
132
+ - Background: Near Black (`#0b0b0b`)
133
+ - Text: Silver (`#b9b9b9`)
134
+ - Padding: 8px 12px
135
+ - Border Radius: 99999px (full pill)
136
+ - Border: none
137
+ - Hover: Electric Blue (`#0052ef`) background, white text
138
+
139
+ **Outlined (Light Pill)**
140
+ - Background: White (`#ffffff`)
141
+ - Text: Near Black (`#0b0b0b`)
142
+ - Padding: 8px
143
+ - Border Radius: 99999px (full pill)
144
+ - Border: 1px solid `#0b0b0b`
145
+ - Hover: Electric Blue (`#0052ef`) background, white text
146
+
147
+ **Ghost / Subtle**
148
+ - Background: Dark Gray (`#212121`)
149
+ - Text: Silver (`#b9b9b9`)
150
+ - Padding: 0px 12px
151
+ - Border Radius: 5px
152
+ - Border: 1px solid `#212121`
153
+ - Hover: Electric Blue (`#0052ef`) background, white text
154
+
155
+ **Uppercase Label Button**
156
+ - Font: 11px waldenburgNormal, weight 600, uppercase
157
+ - Background: transparent or `#212121`
158
+ - Text: Silver (`#b9b9b9`)
159
+ - Letter-spacing: normal
160
+ - Used for tab-like navigation and filter controls
161
+
162
+ ### Cards
163
+
164
+ **Dark Content Card**
165
+ - Background: `#212121`
166
+ - Border: 1px solid `#353535` or `#212121`
167
+ - Border Radius: 6px
168
+ - Padding: 24px
169
+ - Text: White (`#ffffff`) for titles, Silver (`#b9b9b9`) for body
170
+ - Hover: subtle border color shift or elevation change
171
+
172
+ **Feature Card (Full-bleed)**
173
+ - Background: `#0b0b0b` or full-bleed image/gradient
174
+ - Border: none or 1px solid `#212121`
175
+ - Border Radius: 12px
176
+ - Padding: 32-48px
177
+ - Contains large imagery with overlaid text
178
+
179
+ ### Inputs
180
+
181
+ **Text Input / Textarea**
182
+ - Background: Near Black (`#0b0b0b`)
183
+ - Text: Silver (`#b9b9b9`)
184
+ - Border: 1px solid `#212121`
185
+ - Padding: 8px 12px
186
+ - Border Radius: 3px
187
+ - Focus: outline with `var(--focus-ring-color)` (blue), 2px solid
188
+ - Focus background: shifts to deep cyan (`#072227`)
189
+
190
+ **Search Input**
191
+ - Background: `#0b0b0b`
192
+ - Text: Silver (`#b9b9b9`)
193
+ - Padding: 0px 12px
194
+ - Border Radius: 3px
195
+ - Placeholder: Medium Gray (`#797979`)
196
+
197
+ ### Navigation
198
+
199
+ **Top Navigation**
200
+ - Background: Near Black (`#0b0b0b`) with backdrop blur
201
+ - Height: auto, compact padding
202
+ - Logo: left-aligned, Sanity wordmark
203
+ - Links: waldenburgNormal 16px, Silver (`#b9b9b9`)
204
+ - Link Hover: Electric Blue via `--color-fg-accent-blue`
205
+ - CTA Button: Sanity Red pill button right-aligned
206
+ - Separator: 1px border-bottom `#212121`
207
+
208
+ **Footer**
209
+ - Background: Near Black (`#0b0b0b`)
210
+ - Multi-column link layout
211
+ - Links: Silver (`#b9b9b9`), hover to blue
212
+ - Section headers: White (`#ffffff`), 13px uppercase IBM Plex Mono
213
+
214
+ ### Badges / Pills
215
+
216
+ **Neutral Subtle**
217
+ - Background: White (`#ffffff`)
218
+ - Text: Near Black (`#0b0b0b`)
219
+ - Padding: 8px
220
+ - Font: 13px
221
+ - Border Radius: 99999px
222
+
223
+ **Neutral Filled**
224
+ - Background: Near Black (`#0b0b0b`)
225
+ - Text: White (`#ffffff`)
226
+ - Padding: 8px
227
+ - Font: 13px
228
+ - Border Radius: 99999px
229
+
230
+ ## 5. Layout Principles
231
+
232
+ ### Spacing System
233
+ Base unit: **8px**
234
+
235
+ | Token | Value | Usage |
236
+ |-------|-------|-------|
237
+ | space-1 | 1px | Hairline gaps, border-like spacing |
238
+ | space-2 | 2px | Minimal internal padding |
239
+ | space-3 | 4px | Tight component internal spacing |
240
+ | space-4 | 6px | Small element gaps |
241
+ | space-5 | 8px | Base unit -- button padding, input padding, badge padding |
242
+ | space-6 | 12px | Standard component gap, button horizontal padding |
243
+ | space-7 | 16px | Section internal padding, card spacing |
244
+ | space-8 | 24px | Large component padding, card internal spacing |
245
+ | space-9 | 32px | Section padding, container gutters |
246
+ | space-10 | 48px | Large section vertical spacing |
247
+ | space-11 | 64px | Major section breaks |
248
+ | space-12 | 96-120px | Hero vertical padding, maximum section spacing |
249
+
250
+ ### Grid & Container
251
+ - Max content width: ~1440px (inferred from breakpoints)
252
+ - Page gutter: 32px on desktop, 16px on mobile
253
+ - Content sections use full-bleed backgrounds with centered, max-width content
254
+ - Multi-column layouts: 2-3 columns on desktop, single column on mobile
255
+ - Card grids: CSS Grid with consistent gaps (16-24px)
256
+
257
+ ### Whitespace Philosophy
258
+ 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.
259
+
260
+ ### Border Radius Scale
261
+
262
+ | Token | Value | Usage |
263
+ |-------|-------|-------|
264
+ | radius-xs | 3px | Inputs, textareas, subtle rounding |
265
+ | radius-sm | 4-5px | Secondary buttons, small cards, tags |
266
+ | radius-md | 6px | Standard cards, containers |
267
+ | radius-lg | 12px | Large cards, feature containers, forms |
268
+ | radius-pill | 99999px | Primary buttons, badges, nav pills |
269
+
270
+ ## 6. Depth & Elevation
271
+
272
+ ### Shadow System
273
+
274
+ | Level | Value | Usage |
275
+ |-------|-------|-------|
276
+ | Level 0 (Flat) | none | Default state for most elements -- dark surfaces create depth through color alone |
277
+ | Level 1 (Subtle) | 0px 0px 0px 1px `#212121` | Border-like shadow for minimal containment without visible borders |
278
+ | Level 2 (Focus) | 0 0 0 2px `var(--color-blue-500)` | Focus ring for inputs and interactive elements |
279
+ | Level 3 (Overlay) | Backdrop blur + semi-transparent dark | Navigation overlay, modal backgrounds |
280
+
281
+ ### Depth Philosophy
282
+ 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.
283
+
284
+ 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.
285
+
286
+ ## 7. Do's and Don'ts
287
+
288
+ ### Do
289
+ - Use the achromatic gray scale as the foundation -- maintain pure neutral discipline with no warm/cool tinting
290
+ - Apply Electric Blue (`#0052ef`) consistently as the universal hover/active state across all interactive elements
291
+ - Use extreme negative letter-spacing (-2px to -4.48px) on display headings 48px and above
292
+ - Keep primary CTAs as full-pill shapes (99999px radius) with the coral-red (`#f36458`)
293
+ - Use IBM Plex Mono uppercase for technical labels, tags, and system metadata
294
+ - Communicate depth through surface color (dark-to-light) rather than shadows
295
+ - Maintain generous vertical section spacing (64-120px) on the dark canvas
296
+ - Use `"cv01", "cv11", "cv12", "cv13", "ss07"` OpenType features for display typography
297
+
298
+ ### Don't
299
+ - Don't introduce warm or cool color tints to the neutral scale -- Sanity's grays are pure achromatic
300
+ - Don't use drop shadows for elevation -- dark interfaces demand colorimetric depth
301
+ - Don't apply border-radius between 13px and 99998px -- the system jumps from 12px (large card) directly to pill (99999px)
302
+ - Don't mix the coral-red CTA with the electric blue interactive color in the same element
303
+ - Don't use heavy font weights (700+) -- the system maxes out at 600 and only for 11px uppercase labels
304
+ - Don't place light text on light surfaces or dark text on dark surfaces without checking the gray-on-gray contrast ratio
305
+ - Don't use traditional offset box-shadows -- ring shadows (0 0 0 Npx) or border-based containment only
306
+ - Don't break the tight line-height on headings -- 1.00-1.24 is the range, never go to 1.5+ for display text
307
+
308
+ ## 8. Responsive Behavior
309
+
310
+ ### Breakpoints
311
+
312
+ | Name | Width | Behavior |
313
+ |------|-------|----------|
314
+ | Desktop XL | >= 1640px | Full layout, maximum content width |
315
+ | Desktop | >= 1440px | Standard desktop layout |
316
+ | Desktop Compact | >= 1200px | Slightly condensed desktop |
317
+ | Laptop | >= 1100px | Reduced column widths |
318
+ | Tablet Landscape | >= 960px | 2-column layouts begin collapsing |
319
+ | Tablet | >= 768px | Transition zone, some elements stack |
320
+ | Mobile Large | >= 720px | Near-tablet layout |
321
+ | Mobile | >= 480px | Single-column, stacked layout |
322
+ | Mobile Small | >= 376px | Minimum supported width |
323
+
324
+ ### Collapsing Strategy
325
+ - **Navigation**: Horizontal links collapse to hamburger menu below 768px
326
+ - **Hero typography**: Scales from 112px -> 72px -> 48px -> 38px across breakpoints, maintaining tight letter-spacing ratios
327
+ - **Grid layouts**: 3-column -> 2-column at ~960px, single-column below 768px
328
+ - **Card grids**: Horizontal scrolling on mobile instead of wrapping (preserving card aspect ratios)
329
+ - **Section spacing**: Vertical padding reduces by ~40% on mobile (120px -> 64px -> 48px)
330
+ - **Button sizing**: CTA pills maintain padding but reduce font size; ghost buttons stay fixed
331
+ - **Code blocks**: Horizontal scroll with preserved monospace formatting
332
+
333
+ ### Mobile-Specific Adjustments
334
+ - Full-bleed sections extend edge-to-edge with 16px internal gutters
335
+ - Touch targets: minimum 44px for all interactive elements
336
+ - Heading letter-spacing relaxes slightly at mobile sizes (less aggressive negative tracking)
337
+ - Image containers switch from fixed aspect ratios to full-width with auto height
338
+
339
+ ## 9. Agent Prompt Guide
340
+
341
+ ### Quick Color Reference
342
+ ```
343
+ Background: #0b0b0b (near-black canvas)
344
+ Surface: #212121 (elevated cards/containers)
345
+ Border: #353535 (visible) / #212121 (subtle)
346
+ Text Primary: #ffffff (white on dark)
347
+ Text Secondary: #b9b9b9 (silver on dark)
348
+ Text Tertiary: #797979 (medium gray)
349
+ CTA: #f36458 (coral-red)
350
+ Interactive: #0052ef (electric blue, all hovers)
351
+ Success: #19d600 (green, sRGB fallback)
352
+ Error: #dd0000 (pure red)
353
+ Light Surface: #ededed / #ffffff (inverted sections)
354
+ ```
355
+
356
+ ### Example Prompts
357
+
358
+ **Landing page section:**
359
+ "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."
360
+
361
+ **Card grid:**
362
+ "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."
363
+
364
+ **Form section:**
365
+ "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."
366
+
367
+ **Navigation bar:**
368
+ "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."
369
+
370
+ ### Iteration Guide
371
+ 1. **Start dark**: Begin with `#0b0b0b` background, `#ffffff` primary text, `#b9b9b9` secondary text
372
+ 2. **Add structure**: Use `#212121` surfaces and `#353535` borders for containment -- no shadows
373
+ 3. **Apply typography**: Inter (or Space Grotesk) with tight letter-spacing on headings, 1.50 line-height on body
374
+ 4. **Color punctuation**: Add `#f36458` for CTAs and `#0052ef` for all hover/interactive states
375
+ 5. **Refine spacing**: 8px base unit, 24-32px within sections, 64-120px between sections
376
+ 6. **Technical details**: Add IBM Plex Mono uppercase labels for tags and metadata
377
+ 7. **Polish**: Ensure all interactive elements hover to `#0052ef`, all buttons are pills or subtle 5px radius, borders are hairline (1px)
378
+
379
+ ## 10. Voice & Tone
380
+
381
+ Sanity's voice is **content-platform-confident and developer-warm.** "The Content Operating System for the AI era" — confident enterprise positioning with developer-friendly chrome. Mixed type system + flat-no-shadow signals "premium content tooling."
382
+
383
+ | Context | Tone |
384
+ |---|---|
385
+ | CTA | Verb. "Get started", "Talk to sales", "Start free" |
386
+ | Marketing | Capability-list. Studio + Dataset + Content Lake naming |
387
+ | Documentation | Deep, code-block-heavy, GROQ-aware |
388
+ | Error | Specific. "Schema validation failed at field X." |
389
+
390
+ **Voice samples**
391
+ - Tagline: *"The Content Operating System for the AI era"* <!-- verified: sanity.io homepage 2026-05 -->
392
+
393
+ **Forbidden phrases.** "Revolutionary CMS". Aggressive WordPress-comparison framing.
394
+
395
+ ## 11. Brand Narrative
396
+
397
+ Sanity was **founded 2016 in Norway** with the **public launch November 2017** by four co-founders: **Magnus Kongsli Hillestad**, **Even Westvang**, **Øyvind Rostad**, and **Simen Svale Skogsrud** ([Threshold Ventures — Magnus Hillestad founder Q&A](https://medium.com/threshold-ventures/magnus-hillestad-sanity-founder-story-80b7e97952d), [Sanity — Magnus profile](https://www.sanity.io/exchange/community/magnus)). **Dual-headquartered in Oslo and San Francisco** with remote team across four continents. Headless CMS positioned as content infrastructure — **Studio** (editor) + **Dataset** (storage) + **Content Lake** (queryable). Founding insight: content must be **structured data**, easily queried + distributed across APIs (vs traditional page-bound CMS). **Series B $39M (2021)** led by **ICONIQ Growth** with **Lead Edge Capital** + existing investors — ICONIQ's portfolio includes **Datadog, Snowflake, Notion, Airtable, Zoom** ([Sanity blog — It takes a village (Series B)](https://www.sanity.io/blog/it-takes-a-village), [TechStartups — Sanity $39M Series B](https://techstartups.com/2021/06/24/norwegian-tech-startup-sanity-raises-39-million-grow-unified-content-platform-building-data-driven-content-solutions/)). Strong adoption among design-first SaaS + e-commerce. The **2024-2025 evolution to "Content Operating System for AI era"** positions Sanity as the structured-content layer for AI applications — confirmed via live `<title>` "The Content Operating System for the AI era | Sanity" 2026-05.
398
+
399
+ ## 12. Principles
400
+
401
+ 1. **Content as code.** Schemas, GROQ queries, deploys as code. *UI implication:* schema-first approach surfaces.
402
+ 2. **Studio is the canvas.** Customizable React-based editor. *UI implication:* showcase Studio screenshots as primary marketing asset.
403
+ 3. **Hairline borders, no shadow.** *UI implication:* depth via 1px borders + color contrast.
404
+ 4. **Pills + 5px subtle.** *UI implication:* primary CTAs pill; secondary 5px radius.
405
+ 5. **Hover to `#0052ef` blue.** *UI implication:* preserve hover blue across all interactive elements.
406
+
407
+ ## 13. Personas
408
+
409
+ *Personas are fictional archetypes informed by Sanity user segments (developers, content teams, e-commerce marketers), not individual people.*
410
+
411
+ **Henrik Sondergaard, 35, Copenhagen.** Senior engineer at e-commerce SaaS. Sanity Studio for product content management.
412
+
413
+ **Sofia Russo, 30, Milan.** Indie SaaS shipping editorial sites. Sanity for headless CMS + Next.js integration.
414
+
415
+ **Marcus Chen, 38, San Francisco.** Content lead at growth-stage SaaS. Owns the marketing site CMS.
416
+
417
+ ## 14. States
418
+
419
+ | State | Treatment |
420
+ |---|---|
421
+ | **Empty (no content)** | "Create your first document" CTA + schema picker |
422
+ | **Empty (no schemas)** | "Define a schema" with code example |
423
+ | **Loading (query)** | GROQ query result inline |
424
+ | **Loading (publishing)** | Per-document progress |
425
+ | **Error (schema)** | Specific. "Field X validation failed." |
426
+ | **Error (deploy)** | Token + permission diagnostic |
427
+ | **Success (published)** | Subtle confirmation + revision history |
428
+ | **Success (preview)** | Inline preview link |
429
+ | **Skeleton (document list)** | Hairline-border placeholders |
430
+ | **Disabled (no permission)** | Role tooltip |
431
+ | **Loading (long deploy)** | Persistent progress |
432
+
433
+ ## 15. Motion & Easing
434
+
435
+ | Token | Value | Use |
436
+ |---|---|---|
437
+ | `motion-instant` | 0ms | Selection |
438
+ | `motion-fast` | 150ms | Hover |
439
+ | `motion-standard` | 250ms | Modal, panel |
440
+
441
+ Standard cubic-bezier; no bounce. `prefers-reduced-motion: reduce` removes hover transitions.
442
+
443
+ ---
444
+
445
+ **Verified:** 2026-05-08 (omd:migrate run 53 — Apple-tier)
446
+ **Tier 1 sources:** sanity.io home + /pricing (live DOM via playwright — Primary **`color(display-p3 1 0.3333 0)`** Sanity Orange-Red (~`#ff5500` sRGB / wide-gamut P3) 99999px full-pill / 35px (page 13px·400 ALL CAPS) or 55px (hero 24px·400) / 4×12 or 8×32; Inverse `#0b0b0b` Near-Black; Light Secondary `#ededed`; A11y skip-nav `#0052ef` Sanity Blue. **`display-p3()` wide-gamut color-space — most advanced in corpus**).
447
+ **Tier 2 sources:** styles.refero.design / getdesign.md — no record.
448
+ **Tier 2 (Philosophy/founders/funding):** Threshold Ventures (Magnus Hillestad Q&A), Sanity profile pages (Magnus + Simen), Sanity blog (Series B "It takes a village"), TechStartups, Nordic 9, Crunchbase.
449
+ **Style ref:** `stripe`. **Conflicts unresolved:** none. **Earlier mistake reverted (significant):** prior footer claimed Primary was `#0b0b0b` 0px (announcement-banner strip) — canonical is **wide-gamut display-p3 Orange-Red 99999px full-pill**. Massive correction.