2.3 KiB
2.3 KiB
name: design-sanity
description: Apply the Sanity design system to UI code. Use when the user wants their interface to look like Sanity, says "make it look like Sanity", "sanity design", or references the Sanity aesthetic. Category: Backend & DB. Vibe: Nocturnal command center, red accent, deeply structured.
Sanity Design System
Apply the Sanity brand design system to generate pixel-perfect UI that matches the Sanity aesthetic.
When to Use
- User says "make it look like Sanity" or "sanity style"
- User wants the Sanity design language applied to their project
- User references Sanity's visual aesthetic, colors, or typography
How to Use
- Read the full design system: Open
references/DESIGN.mdin this skill directory — it contains the complete Sanity design specification with 9 sections - Apply exactly: Use the exact hex codes, font stacks, spacing values, shadow systems, and component specs from the reference
- Follow the Do's and Don'ts: Section 7 contains brand-specific guardrails
- Use the Agent Prompt Guide: Section 9 has quick color references and ready-to-use component prompts
Quick Reference
- Category: Backend & DB
- Aesthetic: Nocturnal command center, red accent, deeply structured
Design System Sections
The references/DESIGN.md file contains:
- Visual Theme & Atmosphere — mood, density, design philosophy
- Color Palette & Roles — every color with semantic name, hex code, and function
- Typography Rules — font families, full hierarchy table with sizes, weights, line-heights
- Component Stylings — buttons, cards, inputs, badges, navigation with exact values
- Layout Principles — spacing system, grid, containers, whitespace philosophy
- Depth & Elevation — shadow levels, surface hierarchy
- Do's and Don'ts — brand-specific design guardrails
- Responsive Behavior — breakpoints, touch targets, collapse strategy
- Agent Prompt Guide — quick color reference and ready-to-use prompts
Precedence
When this skill is active, the Sanity design system overrides generic design rules for colors, typography, spacing, shadows, and component patterns. Generic rules still apply for motion choreography, performance guardrails, and anti-patterns not covered by this design system.