@aexol/spectral 0.7.0 → 0.7.1
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.
- package/dist/agent/index.js +76 -301
- package/dist/cli.js +11 -0
- package/dist/designer/data/systems/agentic/DESIGN.md +71 -0
- package/dist/designer/data/systems/agentic/components.html +154 -0
- package/dist/designer/data/systems/agentic/tokens.css +63 -0
- package/dist/designer/data/systems/airbnb/DESIGN.md +393 -0
- package/dist/designer/data/systems/airbnb/components.html +1373 -0
- package/dist/designer/data/systems/airbnb/tokens.css +261 -0
- package/dist/designer/data/systems/airtable/DESIGN.md +92 -0
- package/dist/designer/data/systems/airtable/components.html +489 -0
- package/dist/designer/data/systems/airtable/tokens.css +261 -0
- package/dist/designer/data/systems/ant/DESIGN.md +71 -0
- package/dist/designer/data/systems/ant/components.html +154 -0
- package/dist/designer/data/systems/ant/tokens.css +63 -0
- package/dist/designer/data/systems/apple/DESIGN.md +250 -0
- package/dist/designer/data/systems/apple/components.html +749 -0
- package/dist/designer/data/systems/apple/tokens.css +286 -0
- package/dist/designer/data/systems/application/DESIGN.md +71 -0
- package/dist/designer/data/systems/application/components.html +154 -0
- package/dist/designer/data/systems/application/tokens.css +63 -0
- package/dist/designer/data/systems/arc/DESIGN.md +152 -0
- package/dist/designer/data/systems/arc/components.html +432 -0
- package/dist/designer/data/systems/arc/tokens.css +137 -0
- package/dist/designer/data/systems/artistic/DESIGN.md +71 -0
- package/dist/designer/data/systems/artistic/components.html +136 -0
- package/dist/designer/data/systems/artistic/tokens.css +63 -0
- package/dist/designer/data/systems/atelier-zero/DESIGN.md +316 -0
- package/dist/designer/data/systems/atelier-zero/components.html +136 -0
- package/dist/designer/data/systems/atelier-zero/tokens.css +63 -0
- package/dist/designer/data/systems/bento/DESIGN.md +71 -0
- package/dist/designer/data/systems/bento/components.html +136 -0
- package/dist/designer/data/systems/bento/tokens.css +63 -0
- package/dist/designer/data/systems/binance/DESIGN.md +348 -0
- package/dist/designer/data/systems/binance/components.html +550 -0
- package/dist/designer/data/systems/binance/tokens.css +255 -0
- package/dist/designer/data/systems/bmw/DESIGN.md +183 -0
- package/dist/designer/data/systems/bmw/components.html +551 -0
- package/dist/designer/data/systems/bmw/tokens.css +179 -0
- package/dist/designer/data/systems/bmw-m/DESIGN.md +246 -0
- package/dist/designer/data/systems/bmw-m/components.html +342 -0
- package/dist/designer/data/systems/bmw-m/tokens.css +64 -0
- package/dist/designer/data/systems/bold/DESIGN.md +71 -0
- package/dist/designer/data/systems/bold/components.html +136 -0
- package/dist/designer/data/systems/bold/tokens.css +63 -0
- package/dist/designer/data/systems/brutalism/DESIGN.md +71 -0
- package/dist/designer/data/systems/brutalism/components.html +154 -0
- package/dist/designer/data/systems/brutalism/tokens.css +63 -0
- package/dist/designer/data/systems/bugatti/DESIGN.md +271 -0
- package/dist/designer/data/systems/bugatti/components.html +342 -0
- package/dist/designer/data/systems/bugatti/tokens.css +64 -0
- package/dist/designer/data/systems/cafe/DESIGN.md +71 -0
- package/dist/designer/data/systems/cafe/components.html +136 -0
- package/dist/designer/data/systems/cafe/tokens.css +63 -0
- package/dist/designer/data/systems/cal/DESIGN.md +262 -0
- package/dist/designer/data/systems/cal/components.html +376 -0
- package/dist/designer/data/systems/cal/tokens.css +265 -0
- package/dist/designer/data/systems/canva/DESIGN.md +157 -0
- package/dist/designer/data/systems/canva/components.html +461 -0
- package/dist/designer/data/systems/canva/tokens.css +147 -0
- package/dist/designer/data/systems/cisco/DESIGN.md +201 -0
- package/dist/designer/data/systems/cisco/components.html +342 -0
- package/dist/designer/data/systems/cisco/tokens.css +64 -0
- package/dist/designer/data/systems/claude/DESIGN.md +315 -0
- package/dist/designer/data/systems/claude/components.html +483 -0
- package/dist/designer/data/systems/claude/tokens.css +130 -0
- package/dist/designer/data/systems/clay/DESIGN.md +307 -0
- package/dist/designer/data/systems/clay/components.html +136 -0
- package/dist/designer/data/systems/clay/tokens.css +63 -0
- package/dist/designer/data/systems/claymorphism/DESIGN.md +71 -0
- package/dist/designer/data/systems/claymorphism/components.html +136 -0
- package/dist/designer/data/systems/claymorphism/tokens.css +63 -0
- package/dist/designer/data/systems/clean/DESIGN.md +71 -0
- package/dist/designer/data/systems/clean/components.html +136 -0
- package/dist/designer/data/systems/clean/tokens.css +63 -0
- package/dist/designer/data/systems/clickhouse/DESIGN.md +284 -0
- package/dist/designer/data/systems/clickhouse/components.html +506 -0
- package/dist/designer/data/systems/clickhouse/tokens.css +135 -0
- package/dist/designer/data/systems/cohere/DESIGN.md +269 -0
- package/dist/designer/data/systems/cohere/components.html +353 -0
- package/dist/designer/data/systems/cohere/tokens.css +126 -0
- package/dist/designer/data/systems/coinbase/DESIGN.md +132 -0
- package/dist/designer/data/systems/coinbase/components.html +501 -0
- package/dist/designer/data/systems/coinbase/tokens.css +257 -0
- package/dist/designer/data/systems/colorful/DESIGN.md +71 -0
- package/dist/designer/data/systems/colorful/components.html +136 -0
- package/dist/designer/data/systems/colorful/tokens.css +63 -0
- package/dist/designer/data/systems/composio/DESIGN.md +310 -0
- package/dist/designer/data/systems/composio/components.html +342 -0
- package/dist/designer/data/systems/composio/tokens.css +64 -0
- package/dist/designer/data/systems/contemporary/DESIGN.md +71 -0
- package/dist/designer/data/systems/contemporary/components.html +136 -0
- package/dist/designer/data/systems/contemporary/tokens.css +63 -0
- package/dist/designer/data/systems/corporate/DESIGN.md +71 -0
- package/dist/designer/data/systems/corporate/components.html +136 -0
- package/dist/designer/data/systems/corporate/tokens.css +63 -0
- package/dist/designer/data/systems/cosmic/DESIGN.md +71 -0
- package/dist/designer/data/systems/cosmic/components.html +136 -0
- package/dist/designer/data/systems/cosmic/tokens.css +63 -0
- package/dist/designer/data/systems/creative/DESIGN.md +71 -0
- package/dist/designer/data/systems/creative/components.html +136 -0
- package/dist/designer/data/systems/creative/tokens.css +63 -0
- package/dist/designer/data/systems/cursor/DESIGN.md +312 -0
- package/dist/designer/data/systems/cursor/components.html +654 -0
- package/dist/designer/data/systems/cursor/tokens.css +218 -0
- package/dist/designer/data/systems/dashboard/DESIGN.md +71 -0
- package/dist/designer/data/systems/dashboard/components.html +154 -0
- package/dist/designer/data/systems/dashboard/tokens.css +63 -0
- package/dist/designer/data/systems/default/DESIGN.md +62 -0
- package/dist/designer/data/systems/default/components.html +523 -0
- package/dist/designer/data/systems/default/tokens.css +200 -0
- package/dist/designer/data/systems/discord/DESIGN.md +162 -0
- package/dist/designer/data/systems/discord/components.html +359 -0
- package/dist/designer/data/systems/discord/tokens.css +125 -0
- package/dist/designer/data/systems/dithered/DESIGN.md +71 -0
- package/dist/designer/data/systems/dithered/components.html +136 -0
- package/dist/designer/data/systems/dithered/tokens.css +63 -0
- package/dist/designer/data/systems/doodle/DESIGN.md +71 -0
- package/dist/designer/data/systems/doodle/components.html +136 -0
- package/dist/designer/data/systems/doodle/tokens.css +63 -0
- package/dist/designer/data/systems/dramatic/DESIGN.md +71 -0
- package/dist/designer/data/systems/dramatic/components.html +136 -0
- package/dist/designer/data/systems/dramatic/tokens.css +63 -0
- package/dist/designer/data/systems/duolingo/DESIGN.md +154 -0
- package/dist/designer/data/systems/duolingo/components.html +532 -0
- package/dist/designer/data/systems/duolingo/tokens.css +130 -0
- package/dist/designer/data/systems/editorial/DESIGN.md +71 -0
- package/dist/designer/data/systems/editorial/components.html +154 -0
- package/dist/designer/data/systems/editorial/tokens.css +63 -0
- package/dist/designer/data/systems/elegant/DESIGN.md +71 -0
- package/dist/designer/data/systems/elegant/components.html +136 -0
- package/dist/designer/data/systems/elegant/tokens.css +63 -0
- package/dist/designer/data/systems/elevenlabs/DESIGN.md +268 -0
- package/dist/designer/data/systems/elevenlabs/components.html +342 -0
- package/dist/designer/data/systems/elevenlabs/tokens.css +127 -0
- package/dist/designer/data/systems/energetic/DESIGN.md +72 -0
- package/dist/designer/data/systems/energetic/components.html +136 -0
- package/dist/designer/data/systems/energetic/tokens.css +63 -0
- package/dist/designer/data/systems/enterprise/DESIGN.md +71 -0
- package/dist/designer/data/systems/enterprise/components.html +154 -0
- package/dist/designer/data/systems/enterprise/tokens.css +63 -0
- package/dist/designer/data/systems/expo/DESIGN.md +284 -0
- package/dist/designer/data/systems/expo/components.html +342 -0
- package/dist/designer/data/systems/expo/tokens.css +64 -0
- package/dist/designer/data/systems/expressive/DESIGN.md +71 -0
- package/dist/designer/data/systems/expressive/components.html +136 -0
- package/dist/designer/data/systems/expressive/tokens.css +63 -0
- package/dist/designer/data/systems/fantasy/DESIGN.md +71 -0
- package/dist/designer/data/systems/fantasy/components.html +136 -0
- package/dist/designer/data/systems/fantasy/tokens.css +63 -0
- package/dist/designer/data/systems/ferrari/DESIGN.md +317 -0
- package/dist/designer/data/systems/ferrari/components.html +342 -0
- package/dist/designer/data/systems/ferrari/tokens.css +64 -0
- package/dist/designer/data/systems/figma/DESIGN.md +223 -0
- package/dist/designer/data/systems/figma/components.html +344 -0
- package/dist/designer/data/systems/figma/tokens.css +126 -0
- package/dist/designer/data/systems/flat/DESIGN.md +71 -0
- package/dist/designer/data/systems/flat/components.html +136 -0
- package/dist/designer/data/systems/flat/tokens.css +63 -0
- package/dist/designer/data/systems/framer/DESIGN.md +249 -0
- package/dist/designer/data/systems/framer/components.html +438 -0
- package/dist/designer/data/systems/framer/tokens.css +238 -0
- package/dist/designer/data/systems/friendly/DESIGN.md +71 -0
- package/dist/designer/data/systems/friendly/components.html +136 -0
- package/dist/designer/data/systems/friendly/tokens.css +63 -0
- package/dist/designer/data/systems/futuristic/DESIGN.md +71 -0
- package/dist/designer/data/systems/futuristic/components.html +136 -0
- package/dist/designer/data/systems/futuristic/tokens.css +63 -0
- package/dist/designer/data/systems/github/DESIGN.md +155 -0
- package/dist/designer/data/systems/github/components.html +383 -0
- package/dist/designer/data/systems/github/tokens.css +125 -0
- package/dist/designer/data/systems/glassmorphism/DESIGN.md +71 -0
- package/dist/designer/data/systems/glassmorphism/components.html +154 -0
- package/dist/designer/data/systems/glassmorphism/tokens.css +63 -0
- package/dist/designer/data/systems/gradient/DESIGN.md +71 -0
- package/dist/designer/data/systems/gradient/components.html +154 -0
- package/dist/designer/data/systems/gradient/tokens.css +63 -0
- package/dist/designer/data/systems/hashicorp/DESIGN.md +281 -0
- package/dist/designer/data/systems/hashicorp/components.html +502 -0
- package/dist/designer/data/systems/hashicorp/tokens.css +272 -0
- package/dist/designer/data/systems/hud/DESIGN.md +173 -0
- package/dist/designer/data/systems/hud/components.html +136 -0
- package/dist/designer/data/systems/hud/tokens.css +63 -0
- package/dist/designer/data/systems/huggingface/DESIGN.md +149 -0
- package/dist/designer/data/systems/huggingface/components.html +346 -0
- package/dist/designer/data/systems/huggingface/tokens.css +125 -0
- package/dist/designer/data/systems/ibm/DESIGN.md +335 -0
- package/dist/designer/data/systems/ibm/components.html +342 -0
- package/dist/designer/data/systems/ibm/tokens.css +64 -0
- package/dist/designer/data/systems/intercom/DESIGN.md +149 -0
- package/dist/designer/data/systems/intercom/components.html +557 -0
- package/dist/designer/data/systems/intercom/tokens.css +150 -0
- package/dist/designer/data/systems/kami/DESIGN.md +410 -0
- package/dist/designer/data/systems/kami/components.html +601 -0
- package/dist/designer/data/systems/kami/tokens.css +272 -0
- package/dist/designer/data/systems/kraken/DESIGN.md +128 -0
- package/dist/designer/data/systems/kraken/components.html +342 -0
- package/dist/designer/data/systems/kraken/tokens.css +64 -0
- package/dist/designer/data/systems/lamborghini/DESIGN.md +291 -0
- package/dist/designer/data/systems/lamborghini/components.html +342 -0
- package/dist/designer/data/systems/lamborghini/tokens.css +64 -0
- package/dist/designer/data/systems/levels/DESIGN.md +71 -0
- package/dist/designer/data/systems/levels/components.html +154 -0
- package/dist/designer/data/systems/levels/tokens.css +63 -0
- package/dist/designer/data/systems/linear-app/DESIGN.md +370 -0
- package/dist/designer/data/systems/linear-app/components.html +370 -0
- package/dist/designer/data/systems/linear-app/tokens.css +130 -0
- package/dist/designer/data/systems/lingo/DESIGN.md +71 -0
- package/dist/designer/data/systems/lingo/components.html +154 -0
- package/dist/designer/data/systems/lingo/tokens.css +63 -0
- package/dist/designer/data/systems/loom/DESIGN.md +201 -0
- package/dist/designer/data/systems/loom/components.html +446 -0
- package/dist/designer/data/systems/loom/tokens.css +138 -0
- package/dist/designer/data/systems/lovable/DESIGN.md +301 -0
- package/dist/designer/data/systems/lovable/components.html +441 -0
- package/dist/designer/data/systems/lovable/tokens.css +258 -0
- package/dist/designer/data/systems/luxury/DESIGN.md +71 -0
- package/dist/designer/data/systems/luxury/components.html +154 -0
- package/dist/designer/data/systems/luxury/tokens.css +63 -0
- package/dist/designer/data/systems/mastercard/DESIGN.md +368 -0
- package/dist/designer/data/systems/mastercard/components.html +342 -0
- package/dist/designer/data/systems/mastercard/tokens.css +64 -0
- package/dist/designer/data/systems/material/DESIGN.md +71 -0
- package/dist/designer/data/systems/material/components.html +154 -0
- package/dist/designer/data/systems/material/tokens.css +63 -0
- package/dist/designer/data/systems/meta/DESIGN.md +369 -0
- package/dist/designer/data/systems/meta/components.html +398 -0
- package/dist/designer/data/systems/meta/tokens.css +263 -0
- package/dist/designer/data/systems/minimal/DESIGN.md +71 -0
- package/dist/designer/data/systems/minimal/components.html +154 -0
- package/dist/designer/data/systems/minimal/tokens.css +63 -0
- package/dist/designer/data/systems/minimax/DESIGN.md +260 -0
- package/dist/designer/data/systems/minimax/components.html +590 -0
- package/dist/designer/data/systems/minimax/tokens.css +148 -0
- package/dist/designer/data/systems/mintlify/DESIGN.md +329 -0
- package/dist/designer/data/systems/mintlify/components.html +737 -0
- package/dist/designer/data/systems/mintlify/tokens.css +256 -0
- package/dist/designer/data/systems/miro/DESIGN.md +111 -0
- package/dist/designer/data/systems/miro/components.html +342 -0
- package/dist/designer/data/systems/miro/tokens.css +64 -0
- package/dist/designer/data/systems/mission-control/DESIGN.md +474 -0
- package/dist/designer/data/systems/mission-control/components.html +136 -0
- package/dist/designer/data/systems/mission-control/tokens.css +63 -0
- package/dist/designer/data/systems/mistral-ai/DESIGN.md +264 -0
- package/dist/designer/data/systems/mistral-ai/components.html +338 -0
- package/dist/designer/data/systems/mistral-ai/tokens.css +125 -0
- package/dist/designer/data/systems/modern/DESIGN.md +71 -0
- package/dist/designer/data/systems/modern/components.html +154 -0
- package/dist/designer/data/systems/modern/tokens.css +63 -0
- package/dist/designer/data/systems/mongodb/DESIGN.md +269 -0
- package/dist/designer/data/systems/mongodb/components.html +462 -0
- package/dist/designer/data/systems/mongodb/tokens.css +176 -0
- package/dist/designer/data/systems/mono/DESIGN.md +71 -0
- package/dist/designer/data/systems/mono/components.html +136 -0
- package/dist/designer/data/systems/mono/tokens.css +63 -0
- package/dist/designer/data/systems/neobrutalism/DESIGN.md +71 -0
- package/dist/designer/data/systems/neobrutalism/components.html +136 -0
- package/dist/designer/data/systems/neobrutalism/tokens.css +63 -0
- package/dist/designer/data/systems/neon/DESIGN.md +71 -0
- package/dist/designer/data/systems/neon/components.html +136 -0
- package/dist/designer/data/systems/neon/tokens.css +63 -0
- package/dist/designer/data/systems/neumorphism/DESIGN.md +71 -0
- package/dist/designer/data/systems/neumorphism/components.html +136 -0
- package/dist/designer/data/systems/neumorphism/tokens.css +63 -0
- package/dist/designer/data/systems/nike/DESIGN.md +366 -0
- package/dist/designer/data/systems/nike/components.html +512 -0
- package/dist/designer/data/systems/nike/tokens.css +304 -0
- package/dist/designer/data/systems/notion/DESIGN.md +312 -0
- package/dist/designer/data/systems/notion/components.html +413 -0
- package/dist/designer/data/systems/notion/tokens.css +130 -0
- package/dist/designer/data/systems/nvidia/DESIGN.md +296 -0
- package/dist/designer/data/systems/nvidia/components.html +414 -0
- package/dist/designer/data/systems/nvidia/tokens.css +133 -0
- package/dist/designer/data/systems/ollama/DESIGN.md +270 -0
- package/dist/designer/data/systems/ollama/components.html +700 -0
- package/dist/designer/data/systems/ollama/tokens.css +242 -0
- package/dist/designer/data/systems/openai/DESIGN.md +140 -0
- package/dist/designer/data/systems/openai/components.html +382 -0
- package/dist/designer/data/systems/openai/tokens.css +133 -0
- package/dist/designer/data/systems/opencode-ai/DESIGN.md +284 -0
- package/dist/designer/data/systems/opencode-ai/components.html +389 -0
- package/dist/designer/data/systems/opencode-ai/tokens.css +126 -0
- package/dist/designer/data/systems/pacman/DESIGN.md +71 -0
- package/dist/designer/data/systems/pacman/components.html +342 -0
- package/dist/designer/data/systems/pacman/tokens.css +64 -0
- package/dist/designer/data/systems/paper/DESIGN.md +71 -0
- package/dist/designer/data/systems/paper/components.html +136 -0
- package/dist/designer/data/systems/paper/tokens.css +63 -0
- package/dist/designer/data/systems/perplexity/DESIGN.md +286 -0
- package/dist/designer/data/systems/perplexity/components.html +455 -0
- package/dist/designer/data/systems/perplexity/tokens.css +151 -0
- package/dist/designer/data/systems/perspective/DESIGN.md +71 -0
- package/dist/designer/data/systems/perspective/components.html +136 -0
- package/dist/designer/data/systems/perspective/tokens.css +63 -0
- package/dist/designer/data/systems/pinterest/DESIGN.md +233 -0
- package/dist/designer/data/systems/pinterest/components.html +865 -0
- package/dist/designer/data/systems/pinterest/tokens.css +262 -0
- package/dist/designer/data/systems/playstation/DESIGN.md +367 -0
- package/dist/designer/data/systems/playstation/components.html +414 -0
- package/dist/designer/data/systems/playstation/tokens.css +150 -0
- package/dist/designer/data/systems/posthog/DESIGN.md +259 -0
- package/dist/designer/data/systems/posthog/components.html +827 -0
- package/dist/designer/data/systems/posthog/tokens.css +272 -0
- package/dist/designer/data/systems/premium/DESIGN.md +71 -0
- package/dist/designer/data/systems/premium/components.html +154 -0
- package/dist/designer/data/systems/premium/tokens.css +63 -0
- package/dist/designer/data/systems/professional/DESIGN.md +71 -0
- package/dist/designer/data/systems/professional/components.html +136 -0
- package/dist/designer/data/systems/professional/tokens.css +63 -0
- package/dist/designer/data/systems/publication/DESIGN.md +71 -0
- package/dist/designer/data/systems/publication/components.html +154 -0
- package/dist/designer/data/systems/publication/tokens.css +63 -0
- package/dist/designer/data/systems/raycast/DESIGN.md +271 -0
- package/dist/designer/data/systems/raycast/components.html +507 -0
- package/dist/designer/data/systems/raycast/tokens.css +143 -0
- package/dist/designer/data/systems/refined/DESIGN.md +71 -0
- package/dist/designer/data/systems/refined/components.html +136 -0
- package/dist/designer/data/systems/refined/tokens.css +63 -0
- package/dist/designer/data/systems/renault/DESIGN.md +314 -0
- package/dist/designer/data/systems/renault/components.html +154 -0
- package/dist/designer/data/systems/renault/tokens.css +63 -0
- package/dist/designer/data/systems/replicate/DESIGN.md +264 -0
- package/dist/designer/data/systems/replicate/components.html +340 -0
- package/dist/designer/data/systems/replicate/tokens.css +125 -0
- package/dist/designer/data/systems/resend/DESIGN.md +306 -0
- package/dist/designer/data/systems/resend/components.html +839 -0
- package/dist/designer/data/systems/resend/tokens.css +353 -0
- package/dist/designer/data/systems/retro/DESIGN.md +71 -0
- package/dist/designer/data/systems/retro/components.html +136 -0
- package/dist/designer/data/systems/retro/tokens.css +63 -0
- package/dist/designer/data/systems/revolut/DESIGN.md +188 -0
- package/dist/designer/data/systems/revolut/components.html +342 -0
- package/dist/designer/data/systems/revolut/tokens.css +64 -0
- package/dist/designer/data/systems/runwayml/DESIGN.md +247 -0
- package/dist/designer/data/systems/runwayml/components.html +638 -0
- package/dist/designer/data/systems/runwayml/tokens.css +204 -0
- package/dist/designer/data/systems/sanity/DESIGN.md +360 -0
- package/dist/designer/data/systems/sanity/components.html +342 -0
- package/dist/designer/data/systems/sanity/tokens.css +64 -0
- package/dist/designer/data/systems/sentry/DESIGN.md +265 -0
- package/dist/designer/data/systems/sentry/components.html +387 -0
- package/dist/designer/data/systems/sentry/tokens.css +219 -0
- package/dist/designer/data/systems/shadcn/DESIGN.md +71 -0
- package/dist/designer/data/systems/shadcn/components.html +732 -0
- package/dist/designer/data/systems/shadcn/tokens.css +255 -0
- package/dist/designer/data/systems/shopify/DESIGN.md +353 -0
- package/dist/designer/data/systems/shopify/components.html +342 -0
- package/dist/designer/data/systems/shopify/tokens.css +141 -0
- package/dist/designer/data/systems/simple/DESIGN.md +71 -0
- package/dist/designer/data/systems/simple/components.html +136 -0
- package/dist/designer/data/systems/simple/tokens.css +63 -0
- package/dist/designer/data/systems/skeumorphism/DESIGN.md +71 -0
- package/dist/designer/data/systems/skeumorphism/components.html +136 -0
- package/dist/designer/data/systems/skeumorphism/tokens.css +63 -0
- package/dist/designer/data/systems/slack/DESIGN.md +363 -0
- package/dist/designer/data/systems/slack/components.html +387 -0
- package/dist/designer/data/systems/slack/tokens.css +127 -0
- package/dist/designer/data/systems/sleek/DESIGN.md +71 -0
- package/dist/designer/data/systems/sleek/components.html +136 -0
- package/dist/designer/data/systems/sleek/tokens.css +63 -0
- package/dist/designer/data/systems/spacex/DESIGN.md +197 -0
- package/dist/designer/data/systems/spacex/components.html +496 -0
- package/dist/designer/data/systems/spacex/tokens.css +154 -0
- package/dist/designer/data/systems/spacious/DESIGN.md +71 -0
- package/dist/designer/data/systems/spacious/components.html +136 -0
- package/dist/designer/data/systems/spacious/tokens.css +63 -0
- package/dist/designer/data/systems/spotify/DESIGN.md +249 -0
- package/dist/designer/data/systems/spotify/components.html +365 -0
- package/dist/designer/data/systems/spotify/tokens.css +127 -0
- package/dist/designer/data/systems/starbucks/DESIGN.md +583 -0
- package/dist/designer/data/systems/starbucks/components.html +493 -0
- package/dist/designer/data/systems/starbucks/tokens.css +182 -0
- package/dist/designer/data/systems/storytelling/DESIGN.md +71 -0
- package/dist/designer/data/systems/storytelling/components.html +136 -0
- package/dist/designer/data/systems/storytelling/tokens.css +63 -0
- package/dist/designer/data/systems/stripe/DESIGN.md +325 -0
- package/dist/designer/data/systems/stripe/components.html +1018 -0
- package/dist/designer/data/systems/stripe/tokens.css +295 -0
- package/dist/designer/data/systems/supabase/DESIGN.md +258 -0
- package/dist/designer/data/systems/supabase/components.html +741 -0
- package/dist/designer/data/systems/supabase/tokens.css +294 -0
- package/dist/designer/data/systems/superhuman/DESIGN.md +255 -0
- package/dist/designer/data/systems/superhuman/components.html +537 -0
- package/dist/designer/data/systems/superhuman/tokens.css +160 -0
- package/dist/designer/data/systems/tesla/DESIGN.md +289 -0
- package/dist/designer/data/systems/tesla/components.html +724 -0
- package/dist/designer/data/systems/tesla/tokens.css +285 -0
- package/dist/designer/data/systems/tetris/DESIGN.md +71 -0
- package/dist/designer/data/systems/tetris/components.html +342 -0
- package/dist/designer/data/systems/tetris/tokens.css +64 -0
- package/dist/designer/data/systems/theverge/DESIGN.md +342 -0
- package/dist/designer/data/systems/theverge/components.html +342 -0
- package/dist/designer/data/systems/theverge/tokens.css +64 -0
- package/dist/designer/data/systems/together-ai/DESIGN.md +266 -0
- package/dist/designer/data/systems/together-ai/components.html +422 -0
- package/dist/designer/data/systems/together-ai/tokens.css +127 -0
- package/dist/designer/data/systems/totality-festival/DESIGN.md +206 -0
- package/dist/designer/data/systems/totality-festival/components.html +136 -0
- package/dist/designer/data/systems/totality-festival/tokens.css +63 -0
- package/dist/designer/data/systems/trading-terminal/DESIGN.md +178 -0
- package/dist/designer/data/systems/trading-terminal/components.html +154 -0
- package/dist/designer/data/systems/trading-terminal/tokens.css +63 -0
- package/dist/designer/data/systems/uber/DESIGN.md +298 -0
- package/dist/designer/data/systems/uber/components.html +347 -0
- package/dist/designer/data/systems/uber/tokens.css +131 -0
- package/dist/designer/data/systems/urdu/DESIGN.md +1002 -0
- package/dist/designer/data/systems/urdu/components.html +136 -0
- package/dist/designer/data/systems/urdu/tokens.css +63 -0
- package/dist/designer/data/systems/vercel/DESIGN.md +313 -0
- package/dist/designer/data/systems/vercel/components.html +839 -0
- package/dist/designer/data/systems/vercel/tokens.css +270 -0
- package/dist/designer/data/systems/vibrant/DESIGN.md +71 -0
- package/dist/designer/data/systems/vibrant/components.html +136 -0
- package/dist/designer/data/systems/vibrant/tokens.css +63 -0
- package/dist/designer/data/systems/vintage/DESIGN.md +71 -0
- package/dist/designer/data/systems/vintage/components.html +136 -0
- package/dist/designer/data/systems/vintage/tokens.css +63 -0
- package/dist/designer/data/systems/vodafone/DESIGN.md +426 -0
- package/dist/designer/data/systems/vodafone/components.html +342 -0
- package/dist/designer/data/systems/vodafone/tokens.css +64 -0
- package/dist/designer/data/systems/voltagent/DESIGN.md +326 -0
- package/dist/designer/data/systems/voltagent/components.html +154 -0
- package/dist/designer/data/systems/voltagent/tokens.css +63 -0
- package/dist/designer/data/systems/warm-editorial/DESIGN.md +65 -0
- package/dist/designer/data/systems/warm-editorial/components.html +136 -0
- package/dist/designer/data/systems/warm-editorial/tokens.css +63 -0
- package/dist/designer/data/systems/warp/DESIGN.md +256 -0
- package/dist/designer/data/systems/warp/components.html +411 -0
- package/dist/designer/data/systems/warp/tokens.css +156 -0
- package/dist/designer/data/systems/webex/DESIGN.md +207 -0
- package/dist/designer/data/systems/webex/components.html +342 -0
- package/dist/designer/data/systems/webex/tokens.css +64 -0
- package/dist/designer/data/systems/webflow/DESIGN.md +95 -0
- package/dist/designer/data/systems/webflow/components.html +413 -0
- package/dist/designer/data/systems/webflow/tokens.css +191 -0
- package/dist/designer/data/systems/wechat/DESIGN.md +302 -0
- package/dist/designer/data/systems/wechat/components.html +507 -0
- package/dist/designer/data/systems/wechat/tokens.css +176 -0
- package/dist/designer/data/systems/wired/DESIGN.md +281 -0
- package/dist/designer/data/systems/wired/components.html +342 -0
- package/dist/designer/data/systems/wired/tokens.css +64 -0
- package/dist/designer/data/systems/wise/DESIGN.md +176 -0
- package/dist/designer/data/systems/wise/components.html +365 -0
- package/dist/designer/data/systems/wise/tokens.css +141 -0
- package/dist/designer/data/systems/x-ai/DESIGN.md +260 -0
- package/dist/designer/data/systems/x-ai/components.html +460 -0
- package/dist/designer/data/systems/x-ai/tokens.css +268 -0
- package/dist/designer/data/systems/xiaohongshu/DESIGN.md +402 -0
- package/dist/designer/data/systems/xiaohongshu/components.html +865 -0
- package/dist/designer/data/systems/xiaohongshu/tokens.css +193 -0
- package/dist/designer/data/systems/zapier/DESIGN.md +331 -0
- package/dist/designer/data/systems/zapier/components.html +342 -0
- package/dist/designer/data/systems/zapier/tokens.css +64 -0
- package/dist/designer/guidelines.js +176 -0
- package/dist/designer/index.js +236 -0
- package/dist/designer/skills.js +1675 -0
- package/dist/designer/systems.js +216 -0
- package/dist/server/pi-bridge.js +155 -5
- package/dist/server/session-stream.js +45 -1
- package/package.json +1 -1
|
@@ -0,0 +1,839 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Vercel — reference components</title>
|
|
7
|
+
<meta
|
|
8
|
+
name="description"
|
|
9
|
+
content="Reference fixture for design-systems/vercel. Every visible
|
|
10
|
+
value comes from tokens.css; the page itself follows Vercel's
|
|
11
|
+
rules — near-white canvas, near-black text, blue reserved for
|
|
12
|
+
the chromatic moments, shadow-as-border instead of CSS border,
|
|
13
|
+
Geist with tight negative tracking on display."
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
<style>
|
|
17
|
+
/* :root paste — sourced verbatim from design-systems/vercel/tokens.css. */
|
|
18
|
+
:root {
|
|
19
|
+
--bg: #ffffff;
|
|
20
|
+
--surface: #ffffff;
|
|
21
|
+
--surface-warm: var(--surface);
|
|
22
|
+
|
|
23
|
+
--fg: #171717;
|
|
24
|
+
--fg-2: #4d4d4d;
|
|
25
|
+
--muted: #666666;
|
|
26
|
+
--meta: #808080;
|
|
27
|
+
|
|
28
|
+
--border: rgba(0, 0, 0, 0.08);
|
|
29
|
+
--border-soft: rgba(0, 0, 0, 0.04);
|
|
30
|
+
|
|
31
|
+
--accent: #0070f3;
|
|
32
|
+
--accent-on: #ffffff;
|
|
33
|
+
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
34
|
+
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
35
|
+
|
|
36
|
+
--success: #16a34a;
|
|
37
|
+
--warn: #eab308;
|
|
38
|
+
--danger: #dc2626;
|
|
39
|
+
|
|
40
|
+
--font-display: "Geist", "Geist Sans", -apple-system, "Segoe UI", Arial, sans-serif;
|
|
41
|
+
--font-body: "Geist", "Geist Sans", -apple-system, "Segoe UI", Arial, sans-serif;
|
|
42
|
+
--font-mono: "Geist Mono", ui-monospace, "SF Mono", "Roboto Mono", Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
|
|
43
|
+
|
|
44
|
+
--text-xs: 12px;
|
|
45
|
+
--text-sm: 14px;
|
|
46
|
+
--text-base: 16px;
|
|
47
|
+
--text-lg: 20px;
|
|
48
|
+
--text-xl: 24px;
|
|
49
|
+
--text-2xl: 32px;
|
|
50
|
+
--text-3xl: 40px;
|
|
51
|
+
--text-4xl: 48px;
|
|
52
|
+
|
|
53
|
+
--leading-body: 1.5;
|
|
54
|
+
--leading-tight: 1.1;
|
|
55
|
+
--tracking-display: -0.05em;
|
|
56
|
+
|
|
57
|
+
--space-1: 4px;
|
|
58
|
+
--space-2: 8px;
|
|
59
|
+
--space-3: 12px;
|
|
60
|
+
--space-4: 16px;
|
|
61
|
+
--space-5: 20px;
|
|
62
|
+
--space-6: 24px;
|
|
63
|
+
--space-8: 32px;
|
|
64
|
+
--space-12: 48px;
|
|
65
|
+
|
|
66
|
+
--section-y-desktop: 96px;
|
|
67
|
+
--section-y-tablet: 64px;
|
|
68
|
+
--section-y-phone: 48px;
|
|
69
|
+
|
|
70
|
+
--radius-sm: 6px;
|
|
71
|
+
--radius-md: 8px;
|
|
72
|
+
--radius-lg: 12px;
|
|
73
|
+
--radius-pill: 9999px;
|
|
74
|
+
|
|
75
|
+
--elev-flat: none;
|
|
76
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
77
|
+
--elev-raised:
|
|
78
|
+
0 0 0 1px rgba(0, 0, 0, 0.08),
|
|
79
|
+
0 2px 2px rgba(0, 0, 0, 0.04),
|
|
80
|
+
0 8px 8px -8px rgba(0, 0, 0, 0.04),
|
|
81
|
+
0 0 0 1px #fafafa;
|
|
82
|
+
|
|
83
|
+
--focus-ring: 0 0 0 2px var(--accent);
|
|
84
|
+
|
|
85
|
+
--motion-fast: 150ms;
|
|
86
|
+
--motion-base: 200ms;
|
|
87
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
88
|
+
|
|
89
|
+
--container-max: 1200px;
|
|
90
|
+
--container-gutter-desktop: 24px;
|
|
91
|
+
--container-gutter-tablet: 16px;
|
|
92
|
+
--container-gutter-phone: 12px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* ─── Reset (minimal) ─────────────────────────────────────── */
|
|
96
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
97
|
+
html, body { margin: 0; padding: 0; }
|
|
98
|
+
body {
|
|
99
|
+
background: var(--bg);
|
|
100
|
+
color: var(--fg);
|
|
101
|
+
font-family: var(--font-body);
|
|
102
|
+
font-size: var(--text-base);
|
|
103
|
+
line-height: var(--leading-body);
|
|
104
|
+
font-weight: 400;
|
|
105
|
+
/* OpenType ligatures globally — DESIGN.md §3: "Every Geist
|
|
106
|
+
text element enables `liga`. Ligatures aren't decorative —
|
|
107
|
+
they're structural." */
|
|
108
|
+
font-feature-settings: "liga" 1;
|
|
109
|
+
-webkit-font-smoothing: antialiased;
|
|
110
|
+
text-rendering: optimizeLegibility;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* ─── Layout primitives ─────────────────────────────────── */
|
|
114
|
+
.container {
|
|
115
|
+
max-width: var(--container-max);
|
|
116
|
+
margin-inline: auto;
|
|
117
|
+
padding-inline: var(--container-gutter-desktop);
|
|
118
|
+
}
|
|
119
|
+
section {
|
|
120
|
+
padding-block: var(--section-y-desktop);
|
|
121
|
+
}
|
|
122
|
+
section + section {
|
|
123
|
+
/* DESIGN.md §5: full-dark divider between major sections —
|
|
124
|
+
a "1px solid #171717" line. Modeled as a single-pixel top
|
|
125
|
+
border via the foreground token so the brand voice
|
|
126
|
+
(engineered hairline, no fade) survives token rebinding. */
|
|
127
|
+
border-top: 1px solid var(--fg);
|
|
128
|
+
}
|
|
129
|
+
@media (max-width: 1023px) {
|
|
130
|
+
.container { padding-inline: var(--container-gutter-tablet); }
|
|
131
|
+
section { padding-block: var(--section-y-tablet); }
|
|
132
|
+
}
|
|
133
|
+
@media (max-width: 639px) {
|
|
134
|
+
.container { padding-inline: var(--container-gutter-phone); }
|
|
135
|
+
section { padding-block: var(--section-y-phone); }
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/* ─── Typography ────────────────────────────────────────────
|
|
139
|
+
* The Geist principle: hierarchy comes from size + tracking,
|
|
140
|
+
* not weight. Three weights only — 400 (read), 500 (interact),
|
|
141
|
+
* 600 (announce). Display sizes use the negative em tracking
|
|
142
|
+
* from `--tracking-display`; smaller scales relax toward 0. */
|
|
143
|
+
h1, h2, h3, h4 {
|
|
144
|
+
font-family: var(--font-display);
|
|
145
|
+
line-height: var(--leading-tight);
|
|
146
|
+
margin: 0;
|
|
147
|
+
color: var(--fg);
|
|
148
|
+
}
|
|
149
|
+
h1 {
|
|
150
|
+
font-size: var(--text-4xl);
|
|
151
|
+
font-weight: 600;
|
|
152
|
+
letter-spacing: var(--tracking-display);
|
|
153
|
+
}
|
|
154
|
+
h2 {
|
|
155
|
+
font-size: var(--text-3xl);
|
|
156
|
+
font-weight: 600;
|
|
157
|
+
/* 40px Section Heading: line-height 1.20 per DESIGN.md §Typography.
|
|
158
|
+
Overrides the shared 1.10 (--leading-tight) set on h1/h2/h3 above. */
|
|
159
|
+
line-height: 1.20;
|
|
160
|
+
letter-spacing: var(--tracking-display);
|
|
161
|
+
}
|
|
162
|
+
h3 {
|
|
163
|
+
font-size: var(--text-xl);
|
|
164
|
+
font-weight: 600;
|
|
165
|
+
/* 24px Card Title: line-height 1.33 per DESIGN.md §Typography.
|
|
166
|
+
Overrides the shared 1.10 (--leading-tight) set on h1/h2/h3 above. */
|
|
167
|
+
line-height: 1.33;
|
|
168
|
+
/* Card title tracking from DESIGN.md §3: -0.96px at 24px ≈ -0.04em */
|
|
169
|
+
letter-spacing: -0.04em;
|
|
170
|
+
}
|
|
171
|
+
h4 {
|
|
172
|
+
font-size: var(--text-lg);
|
|
173
|
+
font-weight: 600;
|
|
174
|
+
letter-spacing: -0.02em;
|
|
175
|
+
}
|
|
176
|
+
p { margin: 0; }
|
|
177
|
+
|
|
178
|
+
.lede {
|
|
179
|
+
font-size: var(--text-lg);
|
|
180
|
+
line-height: 1.6;
|
|
181
|
+
color: var(--fg-2);
|
|
182
|
+
}
|
|
183
|
+
.body-muted { color: var(--fg-2); }
|
|
184
|
+
.body-meta { color: var(--muted); font-size: var(--text-sm); }
|
|
185
|
+
.body-sm { font-size: var(--text-sm); }
|
|
186
|
+
|
|
187
|
+
/* Eyebrow uses Geist Mono uppercase — DESIGN.md §3: "Geist
|
|
188
|
+
Mono in uppercase with tnum or liga serves as the developer
|
|
189
|
+
console voice — compact technical labels that connect the
|
|
190
|
+
marketing site to the product." */
|
|
191
|
+
.eyebrow {
|
|
192
|
+
font-family: var(--font-mono);
|
|
193
|
+
font-size: var(--text-xs);
|
|
194
|
+
font-weight: 500;
|
|
195
|
+
line-height: 1;
|
|
196
|
+
color: var(--muted);
|
|
197
|
+
text-transform: uppercase;
|
|
198
|
+
letter-spacing: 0.08em;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
|
202
|
+
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
|
203
|
+
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
|
204
|
+
|
|
205
|
+
/* ─── Buttons ───────────────────────────────────────────────
|
|
206
|
+
* Vercel's primary CTA is BLACK, not the accent color — the
|
|
207
|
+
* brand voice is monochrome-with-blue-restraint, so the
|
|
208
|
+
* primary button uses `--fg` as background and the accent
|
|
209
|
+
* stays reserved for links and focus. Secondary buttons use
|
|
210
|
+
* the shadow-as-border technique (`box-shadow` edge) instead
|
|
211
|
+
* of a CSS border so the rectangle aligns with the fill at
|
|
212
|
+
* any radius. */
|
|
213
|
+
.btn {
|
|
214
|
+
display: inline-flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
gap: var(--space-2);
|
|
217
|
+
padding: 8px 16px;
|
|
218
|
+
border: none;
|
|
219
|
+
border-radius: var(--radius-sm);
|
|
220
|
+
font-family: var(--font-display);
|
|
221
|
+
font-size: var(--text-sm);
|
|
222
|
+
font-weight: 500;
|
|
223
|
+
line-height: 1.43;
|
|
224
|
+
cursor: pointer;
|
|
225
|
+
text-decoration: none;
|
|
226
|
+
background: transparent;
|
|
227
|
+
color: inherit;
|
|
228
|
+
transition:
|
|
229
|
+
background-color var(--motion-fast) var(--ease-standard),
|
|
230
|
+
color var(--motion-fast) var(--ease-standard),
|
|
231
|
+
box-shadow var(--motion-fast) var(--ease-standard);
|
|
232
|
+
}
|
|
233
|
+
.btn:focus-visible {
|
|
234
|
+
outline: none;
|
|
235
|
+
box-shadow: var(--focus-ring);
|
|
236
|
+
}
|
|
237
|
+
.btn-primary {
|
|
238
|
+
background: var(--fg);
|
|
239
|
+
color: var(--bg);
|
|
240
|
+
}
|
|
241
|
+
.btn-primary:hover {
|
|
242
|
+
background: color-mix(in oklab, var(--fg), white 14%);
|
|
243
|
+
}
|
|
244
|
+
.btn-primary:focus-visible {
|
|
245
|
+
/* Layered: keep the dark fill, lay the accent ring outside. */
|
|
246
|
+
box-shadow: var(--focus-ring);
|
|
247
|
+
}
|
|
248
|
+
.btn-secondary {
|
|
249
|
+
background: var(--surface);
|
|
250
|
+
color: var(--fg);
|
|
251
|
+
box-shadow: 0 0 0 1px var(--border);
|
|
252
|
+
}
|
|
253
|
+
.btn-secondary:hover {
|
|
254
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 2%);
|
|
255
|
+
box-shadow: 0 0 0 1px color-mix(in oklab, var(--fg), transparent 84%);
|
|
256
|
+
}
|
|
257
|
+
.btn-ghost {
|
|
258
|
+
background: transparent;
|
|
259
|
+
color: var(--fg-2);
|
|
260
|
+
padding-inline: var(--space-3);
|
|
261
|
+
}
|
|
262
|
+
.btn-ghost:hover {
|
|
263
|
+
color: var(--fg);
|
|
264
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 2%);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
/* ─── Inputs ────────────────────────────────────────────────
|
|
268
|
+
* Border via shadow technique — DESIGN.md §4: "Border: via
|
|
269
|
+
* shadow technique, not traditional border." On focus the
|
|
270
|
+
* shadow ring intensifies into the 2px accent ring. */
|
|
271
|
+
.field {
|
|
272
|
+
display: flex;
|
|
273
|
+
flex-direction: column;
|
|
274
|
+
gap: var(--space-2);
|
|
275
|
+
}
|
|
276
|
+
.field label {
|
|
277
|
+
font-size: var(--text-sm);
|
|
278
|
+
font-weight: 500;
|
|
279
|
+
color: var(--fg);
|
|
280
|
+
}
|
|
281
|
+
.field input {
|
|
282
|
+
padding: 8px 12px;
|
|
283
|
+
border: none;
|
|
284
|
+
border-radius: var(--radius-sm);
|
|
285
|
+
background: var(--surface);
|
|
286
|
+
color: var(--fg);
|
|
287
|
+
font-family: inherit;
|
|
288
|
+
font-size: var(--text-sm);
|
|
289
|
+
line-height: 1.43;
|
|
290
|
+
outline: none;
|
|
291
|
+
box-shadow: 0 0 0 1px var(--border);
|
|
292
|
+
transition: box-shadow var(--motion-fast) var(--ease-standard);
|
|
293
|
+
}
|
|
294
|
+
.field input::placeholder { color: var(--meta); }
|
|
295
|
+
.field input:hover { box-shadow: 0 0 0 1px color-mix(in oklab, var(--fg), transparent 84%); }
|
|
296
|
+
.field input:focus-visible {
|
|
297
|
+
box-shadow: var(--focus-ring);
|
|
298
|
+
}
|
|
299
|
+
.field-help {
|
|
300
|
+
font-size: var(--text-xs);
|
|
301
|
+
color: var(--muted);
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/* ─── Cards ─────────────────────────────────────────────────
|
|
305
|
+
* The multi-layer shadow card — DESIGN.md §6 Level 3 — uses
|
|
306
|
+
* `--elev-raised` directly. No `border:` rule; the shadow
|
|
307
|
+
* stack carries every edge AND the inner `#fafafa` glow.
|
|
308
|
+
* Image cards (`.card-image`) use a real 1px border because
|
|
309
|
+
* the top corners clip the image and need a clean edge. */
|
|
310
|
+
.card {
|
|
311
|
+
background: var(--surface);
|
|
312
|
+
border-radius: var(--radius-md);
|
|
313
|
+
padding: var(--space-6);
|
|
314
|
+
display: flex;
|
|
315
|
+
flex-direction: column;
|
|
316
|
+
gap: var(--space-3);
|
|
317
|
+
box-shadow: var(--elev-raised);
|
|
318
|
+
transition: box-shadow var(--motion-base) var(--ease-standard);
|
|
319
|
+
}
|
|
320
|
+
.card:hover {
|
|
321
|
+
/* Layered: keep the elev-raised stack, lift the ring tier. */
|
|
322
|
+
box-shadow:
|
|
323
|
+
0 0 0 1px color-mix(in oklab, var(--fg), transparent 84%),
|
|
324
|
+
0 4px 12px color-mix(in oklab, var(--fg), transparent 94%),
|
|
325
|
+
0 12px 24px -12px color-mix(in oklab, var(--fg), transparent 94%),
|
|
326
|
+
0 0 0 1px color-mix(in oklab, var(--bg), var(--fg) 2%);
|
|
327
|
+
}
|
|
328
|
+
.card-image {
|
|
329
|
+
background: var(--surface);
|
|
330
|
+
border: 1px solid var(--border);
|
|
331
|
+
border-radius: var(--radius-lg) var(--radius-lg) 0 0;
|
|
332
|
+
overflow: hidden;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
/* ─── Badges ────────────────────────────────────────────────
|
|
336
|
+
* Pill badges — DESIGN.md §4: "Background #ebf5ff, text
|
|
337
|
+
* #0068d6, 9999px radius". We tint the accent over white at
|
|
338
|
+
* ~92% transparency to land near #ebf5ff, and use a slightly
|
|
339
|
+
* darker accent for the label so it reads against the tint. */
|
|
340
|
+
.badge {
|
|
341
|
+
display: inline-flex;
|
|
342
|
+
align-items: center;
|
|
343
|
+
gap: var(--space-1);
|
|
344
|
+
padding: 2px 10px;
|
|
345
|
+
border-radius: var(--radius-pill);
|
|
346
|
+
font-size: var(--text-xs);
|
|
347
|
+
font-weight: 500;
|
|
348
|
+
line-height: 1.5;
|
|
349
|
+
font-family: var(--font-display);
|
|
350
|
+
}
|
|
351
|
+
.badge-accent {
|
|
352
|
+
color: color-mix(in oklab, var(--accent), black 14%);
|
|
353
|
+
background: color-mix(in oklab, var(--accent), white 92%);
|
|
354
|
+
}
|
|
355
|
+
.badge-muted {
|
|
356
|
+
color: var(--fg-2);
|
|
357
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 2%);
|
|
358
|
+
box-shadow: 0 0 0 1px var(--border);
|
|
359
|
+
}
|
|
360
|
+
.badge-success {
|
|
361
|
+
color: var(--success);
|
|
362
|
+
background: color-mix(in oklab, var(--success), white 92%);
|
|
363
|
+
}
|
|
364
|
+
.badge-dot {
|
|
365
|
+
width: 6px;
|
|
366
|
+
height: 6px;
|
|
367
|
+
border-radius: 50%;
|
|
368
|
+
background: currentColor;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
/* ─── Links ─────────────────────────────────────────────────
|
|
372
|
+
* Underlined by default — DESIGN.md §2: "Primary link color
|
|
373
|
+
* with underline decoration." Underline offset relaxes the
|
|
374
|
+
* line away from the descenders so it doesn't crowd Geist's
|
|
375
|
+
* compressed forms. */
|
|
376
|
+
a {
|
|
377
|
+
color: var(--accent);
|
|
378
|
+
text-decoration: underline;
|
|
379
|
+
text-underline-offset: 3px;
|
|
380
|
+
text-decoration-thickness: 1px;
|
|
381
|
+
}
|
|
382
|
+
a:hover { text-decoration-thickness: 2px; }
|
|
383
|
+
a:focus-visible {
|
|
384
|
+
outline: none;
|
|
385
|
+
border-radius: 2px;
|
|
386
|
+
box-shadow: var(--focus-ring);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
/* ─── Kbd ───────────────────────────────────────────────────
|
|
390
|
+
* Geist Mono, hairline shadow-border edge. Vercel uses kbd
|
|
391
|
+
* forms in docs and product tooltips with the same restraint. */
|
|
392
|
+
kbd {
|
|
393
|
+
font-family: var(--font-mono);
|
|
394
|
+
font-size: var(--text-xs);
|
|
395
|
+
padding: 2px 6px;
|
|
396
|
+
border-radius: 4px;
|
|
397
|
+
background: var(--surface);
|
|
398
|
+
color: var(--fg-2);
|
|
399
|
+
box-shadow: 0 0 0 1px var(--border);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/* ─── Distinctive: Workflow pipeline ────────────────────────
|
|
403
|
+
* Vercel's signature three-step pipeline (Develop → Preview
|
|
404
|
+
* → Ship). DESIGN.md §4 documents each step with a brand-
|
|
405
|
+
* specific accent color (Develop Blue, Preview Pink, Ship
|
|
406
|
+
* Red); those colors are NOT part of the shared token schema
|
|
407
|
+
* and would each need to be promoted to a C-extension before
|
|
408
|
+
* we could express them here. This fixture renders the
|
|
409
|
+
* pipeline LAYOUT — three shadow-bordered cards, separated by
|
|
410
|
+
* mono arrow glyphs, with mono uppercase eyebrows — and
|
|
411
|
+
* leaves the chromatic stage labels to brand-specific
|
|
412
|
+
* extensions that ship later. The numbered tag in each
|
|
413
|
+
* eyebrow still communicates ordering. */
|
|
414
|
+
.pipeline {
|
|
415
|
+
display: grid;
|
|
416
|
+
grid-template-columns: 1fr auto 1fr auto 1fr;
|
|
417
|
+
align-items: stretch;
|
|
418
|
+
gap: var(--space-4);
|
|
419
|
+
margin-block-start: var(--space-8);
|
|
420
|
+
}
|
|
421
|
+
.pipeline-step {
|
|
422
|
+
background: var(--surface);
|
|
423
|
+
border-radius: var(--radius-md);
|
|
424
|
+
padding: var(--space-5) var(--space-5) var(--space-4);
|
|
425
|
+
display: flex;
|
|
426
|
+
flex-direction: column;
|
|
427
|
+
gap: var(--space-2);
|
|
428
|
+
box-shadow: var(--elev-raised);
|
|
429
|
+
}
|
|
430
|
+
.pipeline-step .eyebrow {
|
|
431
|
+
letter-spacing: 0.1em;
|
|
432
|
+
color: var(--accent);
|
|
433
|
+
}
|
|
434
|
+
.pipeline-step .step-title {
|
|
435
|
+
font-family: var(--font-display);
|
|
436
|
+
font-size: var(--text-xl);
|
|
437
|
+
font-weight: 600;
|
|
438
|
+
line-height: 1.33;
|
|
439
|
+
letter-spacing: -0.04em;
|
|
440
|
+
color: var(--fg);
|
|
441
|
+
}
|
|
442
|
+
.pipeline-step .step-body {
|
|
443
|
+
font-size: var(--text-sm);
|
|
444
|
+
color: var(--fg-2);
|
|
445
|
+
line-height: 1.5;
|
|
446
|
+
}
|
|
447
|
+
.pipeline-arrow {
|
|
448
|
+
align-self: center;
|
|
449
|
+
font-family: var(--font-mono);
|
|
450
|
+
font-size: var(--text-base);
|
|
451
|
+
color: var(--meta);
|
|
452
|
+
line-height: 1;
|
|
453
|
+
}
|
|
454
|
+
@media (max-width: 1023px) {
|
|
455
|
+
.pipeline {
|
|
456
|
+
grid-template-columns: 1fr;
|
|
457
|
+
gap: var(--space-3);
|
|
458
|
+
}
|
|
459
|
+
.pipeline-arrow { display: none; }
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/* ─── Distinctive: Metric row ───────────────────────────────
|
|
463
|
+
* DESIGN.md §4 "Metric Cards": large display number at
|
|
464
|
+
* Geist W600, description below in --fg-2. Tabular-nums so
|
|
465
|
+
* columns of metrics align across the row. The metric IS the
|
|
466
|
+
* marker — no eyebrow, no icon, no decoration. */
|
|
467
|
+
.metric-row {
|
|
468
|
+
display: grid;
|
|
469
|
+
grid-template-columns: repeat(3, 1fr);
|
|
470
|
+
gap: var(--space-8);
|
|
471
|
+
margin-block-start: var(--space-8);
|
|
472
|
+
}
|
|
473
|
+
@media (max-width: 639px) {
|
|
474
|
+
.metric-row { grid-template-columns: 1fr; gap: var(--space-6); }
|
|
475
|
+
}
|
|
476
|
+
.metric {
|
|
477
|
+
display: flex;
|
|
478
|
+
flex-direction: column;
|
|
479
|
+
gap: var(--space-2);
|
|
480
|
+
}
|
|
481
|
+
.metric-value {
|
|
482
|
+
font-family: var(--font-display);
|
|
483
|
+
font-size: var(--text-4xl);
|
|
484
|
+
font-weight: 600;
|
|
485
|
+
line-height: 1;
|
|
486
|
+
letter-spacing: var(--tracking-display);
|
|
487
|
+
color: var(--fg);
|
|
488
|
+
font-variant-numeric: tabular-nums;
|
|
489
|
+
}
|
|
490
|
+
.metric-label {
|
|
491
|
+
font-size: var(--text-base);
|
|
492
|
+
color: var(--fg-2);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
/* ─── Section-specific layout ─────────────────────────────── */
|
|
496
|
+
.hero {
|
|
497
|
+
text-align: left;
|
|
498
|
+
position: relative;
|
|
499
|
+
overflow: hidden;
|
|
500
|
+
}
|
|
501
|
+
/* Atmospheric hero gradient — DESIGN.md §1: "Conic gradients
|
|
502
|
+
are a Vercel signature". A monochromatic conic of accent
|
|
503
|
+
tints layered behind the headline at low opacity reads as
|
|
504
|
+
an atmospheric wash rather than a decoration. We stay
|
|
505
|
+
token-clean by mixing `var(--accent)` over `var(--bg)` at
|
|
506
|
+
five intensities; agents extending the brand can swap in
|
|
507
|
+
workflow C-extensions once those promote into the schema. */
|
|
508
|
+
.hero::before {
|
|
509
|
+
content: "";
|
|
510
|
+
position: absolute;
|
|
511
|
+
inset: -40% -10% auto -10%;
|
|
512
|
+
height: 70%;
|
|
513
|
+
background: conic-gradient(
|
|
514
|
+
from 220deg at 50% 50%,
|
|
515
|
+
color-mix(in oklab, var(--accent), var(--bg) 30%) 0deg,
|
|
516
|
+
color-mix(in oklab, var(--accent), var(--bg) 60%) 90deg,
|
|
517
|
+
color-mix(in oklab, var(--accent), var(--bg) 85%) 180deg,
|
|
518
|
+
var(--bg) 270deg,
|
|
519
|
+
color-mix(in oklab, var(--accent), var(--bg) 30%) 360deg
|
|
520
|
+
);
|
|
521
|
+
filter: blur(120px);
|
|
522
|
+
opacity: 0.18;
|
|
523
|
+
z-index: 0;
|
|
524
|
+
pointer-events: none;
|
|
525
|
+
}
|
|
526
|
+
.hero > * { position: relative; z-index: 1; }
|
|
527
|
+
.hero .eyebrow { margin-block-end: var(--space-4); }
|
|
528
|
+
.hero h1 { max-width: 18ch; }
|
|
529
|
+
.hero .lede {
|
|
530
|
+
max-width: 56ch;
|
|
531
|
+
margin-block-start: var(--space-5);
|
|
532
|
+
}
|
|
533
|
+
.hero-actions {
|
|
534
|
+
display: flex;
|
|
535
|
+
gap: var(--space-3);
|
|
536
|
+
margin-block-start: var(--space-8);
|
|
537
|
+
align-items: center;
|
|
538
|
+
flex-wrap: wrap;
|
|
539
|
+
}
|
|
540
|
+
.hero-meta {
|
|
541
|
+
display: inline-flex;
|
|
542
|
+
align-items: center;
|
|
543
|
+
gap: var(--space-2);
|
|
544
|
+
margin-block-start: var(--space-6);
|
|
545
|
+
color: var(--muted);
|
|
546
|
+
font-size: var(--text-sm);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.features-grid {
|
|
550
|
+
display: grid;
|
|
551
|
+
grid-template-columns: repeat(3, 1fr);
|
|
552
|
+
gap: var(--space-5);
|
|
553
|
+
margin-block-start: var(--space-8);
|
|
554
|
+
}
|
|
555
|
+
@media (max-width: 1023px) {
|
|
556
|
+
.features-grid { grid-template-columns: 1fr 1fr; }
|
|
557
|
+
}
|
|
558
|
+
@media (max-width: 639px) {
|
|
559
|
+
.features-grid { grid-template-columns: 1fr; }
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.form-row {
|
|
563
|
+
display: grid;
|
|
564
|
+
grid-template-columns: 1.2fr 1fr;
|
|
565
|
+
gap: var(--space-12);
|
|
566
|
+
align-items: start;
|
|
567
|
+
margin-block-start: var(--space-8);
|
|
568
|
+
}
|
|
569
|
+
@media (max-width: 1023px) {
|
|
570
|
+
.form-row { grid-template-columns: 1fr; }
|
|
571
|
+
}
|
|
572
|
+
.form {
|
|
573
|
+
display: flex;
|
|
574
|
+
flex-direction: column;
|
|
575
|
+
gap: var(--space-4);
|
|
576
|
+
max-width: 440px;
|
|
577
|
+
padding: var(--space-6);
|
|
578
|
+
background: var(--surface);
|
|
579
|
+
border-radius: var(--radius-md);
|
|
580
|
+
box-shadow: var(--elev-raised);
|
|
581
|
+
}
|
|
582
|
+
.form-actions {
|
|
583
|
+
display: flex;
|
|
584
|
+
gap: var(--space-3);
|
|
585
|
+
margin-block-start: var(--space-2);
|
|
586
|
+
align-items: center;
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
.row-between {
|
|
590
|
+
display: flex;
|
|
591
|
+
align-items: center;
|
|
592
|
+
justify-content: space-between;
|
|
593
|
+
gap: var(--space-3);
|
|
594
|
+
}
|
|
595
|
+
.icon { width: 16px; height: 16px; flex-shrink: 0; }
|
|
596
|
+
</style>
|
|
597
|
+
</head>
|
|
598
|
+
<body>
|
|
599
|
+
<main class="container">
|
|
600
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
601
|
+
HERO — exercises: conic-gradient atmospheric wash (the
|
|
602
|
+
Vercel signature on hero), h1 at 48px Geist W600 with
|
|
603
|
+
-0.05em tracking, .lede in --fg-2, .btn-primary (black-on-
|
|
604
|
+
white), .btn-secondary (shadow-as-border edge), .badge-
|
|
605
|
+
muted (status pill), kbd (hairline shadow). Single-column
|
|
606
|
+
layout — Vercel heroes don't asymmetric-split; the page IS
|
|
607
|
+
the column.
|
|
608
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
609
|
+
<section class="hero" data-od-id="hero">
|
|
610
|
+
<p class="eyebrow">Reference fixture · Vercel</p>
|
|
611
|
+
<h1>Build, preview, and ship without rebuilding the platform underneath.</h1>
|
|
612
|
+
<p class="lede">
|
|
613
|
+
A token block distilled from Vercel's published design
|
|
614
|
+
system — Geist Sans with -0.05em display tracking, shadow-
|
|
615
|
+
as-border throughout, blue reserved for the chromatic
|
|
616
|
+
moments. The fixture you are reading paints from the same
|
|
617
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">:root</code>
|
|
618
|
+
block agents inline into every Vercel artifact.
|
|
619
|
+
</p>
|
|
620
|
+
<div class="hero-actions">
|
|
621
|
+
<a href="./tokens.css" class="btn btn-primary">
|
|
622
|
+
View tokens
|
|
623
|
+
<svg
|
|
624
|
+
class="icon"
|
|
625
|
+
viewBox="0 0 24 24"
|
|
626
|
+
fill="none"
|
|
627
|
+
stroke="currentColor"
|
|
628
|
+
stroke-width="1.75"
|
|
629
|
+
stroke-linecap="round"
|
|
630
|
+
stroke-linejoin="round"
|
|
631
|
+
aria-hidden="true"
|
|
632
|
+
>
|
|
633
|
+
<path d="M5 12h14M13 6l6 6-6 6" />
|
|
634
|
+
</svg>
|
|
635
|
+
</a>
|
|
636
|
+
<a href="./DESIGN.md" class="btn btn-secondary">Read the spec</a>
|
|
637
|
+
<a href="#pipeline" class="btn btn-ghost">See the pipeline</a>
|
|
638
|
+
</div>
|
|
639
|
+
<p class="hero-meta">
|
|
640
|
+
<span class="badge badge-muted">
|
|
641
|
+
<span class="badge-dot" aria-hidden="true" style="color: var(--success)"></span>
|
|
642
|
+
v0.1 · stable
|
|
643
|
+
</span>
|
|
644
|
+
<span>Press <kbd>⌘</kbd> <kbd>K</kbd> to search tokens.</span>
|
|
645
|
+
</p>
|
|
646
|
+
</section>
|
|
647
|
+
|
|
648
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
649
|
+
PIPELINE + METRICS — Vercel's distinctive three-step
|
|
650
|
+
workflow (Develop → Preview → Ship) rendered as token-
|
|
651
|
+
pure cards with shadow-as-border arrows in Geist Mono.
|
|
652
|
+
Workflow accents (Develop Blue, Preview Pink, Ship Red)
|
|
653
|
+
are deliberately deferred — they would each become C-
|
|
654
|
+
extensions in this brand's tokens.css, and the schema
|
|
655
|
+
rule forbids inventing C-extensions inside the fixture.
|
|
656
|
+
The metric row below uses --text-4xl + --tracking-display
|
|
657
|
+
to demonstrate Geist's compression at the display tier.
|
|
658
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
659
|
+
<section data-od-id="pipeline" id="pipeline">
|
|
660
|
+
<p class="eyebrow">The Vercel workflow</p>
|
|
661
|
+
<h2 style="max-width: 22ch; margin-block-start: var(--space-3)">
|
|
662
|
+
Three steps, one platform.
|
|
663
|
+
</h2>
|
|
664
|
+
<p class="body-muted" style="margin-block-start: var(--space-4); max-width: 56ch">
|
|
665
|
+
DESIGN.md gives each stage its own workflow accent
|
|
666
|
+
(Develop Blue, Preview Pink, Ship Red). Those colors are
|
|
667
|
+
deliberately deferred here — they are pipeline labels, not
|
|
668
|
+
brand accents, and would each promote in as a C-extension
|
|
669
|
+
rather than ride on the shared accent slot.
|
|
670
|
+
</p>
|
|
671
|
+
|
|
672
|
+
<div class="pipeline">
|
|
673
|
+
<article class="pipeline-step">
|
|
674
|
+
<p class="eyebrow">01 · Develop</p>
|
|
675
|
+
<p class="step-title">Write the code.</p>
|
|
676
|
+
<p class="step-body">
|
|
677
|
+
Local dev with hot-reload that mirrors the production
|
|
678
|
+
runtime. No surprises between localhost and the deploy.
|
|
679
|
+
</p>
|
|
680
|
+
</article>
|
|
681
|
+
<div class="pipeline-arrow" aria-hidden="true">→</div>
|
|
682
|
+
<article class="pipeline-step">
|
|
683
|
+
<p class="eyebrow">02 · Preview</p>
|
|
684
|
+
<p class="step-title">Share the branch.</p>
|
|
685
|
+
<p class="step-body">
|
|
686
|
+
Every push gets a preview URL. Stakeholders review
|
|
687
|
+
against the same runtime that will serve production.
|
|
688
|
+
</p>
|
|
689
|
+
</article>
|
|
690
|
+
<div class="pipeline-arrow" aria-hidden="true">→</div>
|
|
691
|
+
<article class="pipeline-step">
|
|
692
|
+
<p class="eyebrow">03 · Ship</p>
|
|
693
|
+
<p class="step-title">Promote, atomically.</p>
|
|
694
|
+
<p class="step-body">
|
|
695
|
+
One click promotes the previewed build. Rollback is the
|
|
696
|
+
same one click in reverse.
|
|
697
|
+
</p>
|
|
698
|
+
</article>
|
|
699
|
+
</div>
|
|
700
|
+
|
|
701
|
+
<div class="metric-row">
|
|
702
|
+
<div class="metric">
|
|
703
|
+
<div class="metric-value">10×</div>
|
|
704
|
+
<div class="metric-label">faster cold starts at the edge</div>
|
|
705
|
+
</div>
|
|
706
|
+
<div class="metric">
|
|
707
|
+
<div class="metric-value">≤2</div>
|
|
708
|
+
<div class="metric-label">accent uses per screen (lint enforced)</div>
|
|
709
|
+
</div>
|
|
710
|
+
<div class="metric">
|
|
711
|
+
<div class="metric-value">56</div>
|
|
712
|
+
<div class="metric-label">tokens declared in this :root</div>
|
|
713
|
+
</div>
|
|
714
|
+
</div>
|
|
715
|
+
</section>
|
|
716
|
+
|
|
717
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
718
|
+
FEATURE CARDS — exercises: .card (multi-layer Vercel
|
|
719
|
+
shadow stack including the inner #fafafa glow), h3 with
|
|
720
|
+
-0.04em tracking, .body-muted, link, .features-grid.
|
|
721
|
+
Three cards per row at desktop, collapses on mobile.
|
|
722
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
723
|
+
<section data-od-id="features">
|
|
724
|
+
<div class="stack-3">
|
|
725
|
+
<p class="eyebrow">What this fixture exercises</p>
|
|
726
|
+
<h2 style="max-width: 28ch">
|
|
727
|
+
Every component below pulls from <code style="font-family: var(--font-mono); font-size: 0.92em">var(--*)</code> — no raw hex, no off-token type.
|
|
728
|
+
</h2>
|
|
729
|
+
</div>
|
|
730
|
+
|
|
731
|
+
<div class="features-grid">
|
|
732
|
+
<article class="card">
|
|
733
|
+
<span class="badge badge-accent">Surface</span>
|
|
734
|
+
<h3>Achromatic canvas, one accent.</h3>
|
|
735
|
+
<p class="body-muted body-sm">
|
|
736
|
+
Pure white for the page, pure white for cards, no warm
|
|
737
|
+
tier. The whole system stays achromatic until the
|
|
738
|
+
accent moment — links, focus rings, badge tints.
|
|
739
|
+
</p>
|
|
740
|
+
<a href="./tokens.css" class="body-sm">Inspect tokens →</a>
|
|
741
|
+
</article>
|
|
742
|
+
|
|
743
|
+
<article class="card">
|
|
744
|
+
<span class="badge badge-accent">Shadows</span>
|
|
745
|
+
<h3>Edges live in the shadow layer.</h3>
|
|
746
|
+
<p class="body-muted body-sm">
|
|
747
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">box-shadow: 0 0 0 1px rgba(0,0,0,.08)</code>
|
|
748
|
+
replaces traditional borders throughout. Cards layer
|
|
749
|
+
four shadows — ring, close, far, and inner glow — into
|
|
750
|
+
a single elevation.
|
|
751
|
+
</p>
|
|
752
|
+
<a href="./DESIGN.md" class="body-sm">Read the rule →</a>
|
|
753
|
+
</article>
|
|
754
|
+
|
|
755
|
+
<article class="card">
|
|
756
|
+
<span class="badge badge-accent">Type</span>
|
|
757
|
+
<h3>Geist runs tight.</h3>
|
|
758
|
+
<p class="body-muted body-sm">
|
|
759
|
+
Display tracking is <code style="font-family: var(--font-mono); font-size: 0.95em">-0.05em</code>
|
|
760
|
+
— the most aggressive negative tracking of any major
|
|
761
|
+
design system. Three weights only: 400 reads, 500
|
|
762
|
+
interacts, 600 announces.
|
|
763
|
+
</p>
|
|
764
|
+
<a href="./tokens.css" class="body-sm">Inspect typography →</a>
|
|
765
|
+
</article>
|
|
766
|
+
</div>
|
|
767
|
+
</section>
|
|
768
|
+
|
|
769
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
770
|
+
FORM — exercises: .field with shadow-border inputs,
|
|
771
|
+
focus-visible swap to the 2px accent ring, .btn-primary
|
|
772
|
+
and .btn-secondary reuse. Form sits inside its own
|
|
773
|
+
multi-layer-shadow card so the input edges read as
|
|
774
|
+
recessed beneath the form surface.
|
|
775
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
776
|
+
<section data-od-id="form">
|
|
777
|
+
<p class="eyebrow">Form components</p>
|
|
778
|
+
<h2 style="margin-block-start: var(--space-3); max-width: 28ch">
|
|
779
|
+
Inputs inherit the same tokens.
|
|
780
|
+
</h2>
|
|
781
|
+
|
|
782
|
+
<div class="form-row">
|
|
783
|
+
<div class="stack-4">
|
|
784
|
+
<p class="body-muted" style="max-width: 48ch">
|
|
785
|
+
Focus rings, edges, placeholder color — all derive from
|
|
786
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">--accent</code>
|
|
787
|
+
and <code style="font-family: var(--font-mono); font-size: 0.95em">--border</code>.
|
|
788
|
+
The submit button reuses
|
|
789
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">.btn-primary</code>
|
|
790
|
+
unchanged — black fill, white label, 6px radius.
|
|
791
|
+
</p>
|
|
792
|
+
<p class="body-muted body-sm">
|
|
793
|
+
No new token is introduced for this section. The form
|
|
794
|
+
card uses
|
|
795
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">--elev-raised</code>
|
|
796
|
+
directly so the input shadow-borders read as recessed
|
|
797
|
+
beneath the form's outer ring.
|
|
798
|
+
</p>
|
|
799
|
+
<p class="body-meta">
|
|
800
|
+
Full reference at <a href="./tokens.css">tokens.css</a> ·
|
|
801
|
+
spec at <a href="./DESIGN.md">DESIGN.md</a>.
|
|
802
|
+
</p>
|
|
803
|
+
</div>
|
|
804
|
+
|
|
805
|
+
<form class="form" onsubmit="event.preventDefault();">
|
|
806
|
+
<div class="row-between">
|
|
807
|
+
<p class="eyebrow">Get the spec</p>
|
|
808
|
+
<span class="badge badge-success">
|
|
809
|
+
<span class="badge-dot" aria-hidden="true"></span>
|
|
810
|
+
Open
|
|
811
|
+
</span>
|
|
812
|
+
</div>
|
|
813
|
+
<div class="field">
|
|
814
|
+
<label for="email">Work email</label>
|
|
815
|
+
<input
|
|
816
|
+
id="email"
|
|
817
|
+
type="email"
|
|
818
|
+
placeholder="you@team.dev"
|
|
819
|
+
autocomplete="email"
|
|
820
|
+
required
|
|
821
|
+
/>
|
|
822
|
+
<p class="field-help">
|
|
823
|
+
We'll send the spec PDF and nothing else.
|
|
824
|
+
</p>
|
|
825
|
+
</div>
|
|
826
|
+
<div class="form-actions">
|
|
827
|
+
<button type="submit" class="btn btn-primary">
|
|
828
|
+
Send the spec
|
|
829
|
+
</button>
|
|
830
|
+
<button type="button" class="btn btn-secondary">
|
|
831
|
+
Skip for now
|
|
832
|
+
</button>
|
|
833
|
+
</div>
|
|
834
|
+
</form>
|
|
835
|
+
</div>
|
|
836
|
+
</section>
|
|
837
|
+
</main>
|
|
838
|
+
</body>
|
|
839
|
+
</html>
|