@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,732 @@
|
|
|
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>shadcn — reference components</title>
|
|
7
|
+
<meta
|
|
8
|
+
name="description"
|
|
9
|
+
content="Reference fixture for design-systems/shadcn. Every visible
|
|
10
|
+
value comes from tokens.css; the page itself follows shadcn's
|
|
11
|
+
rules — pure white canvas, slate-900 body text, black reserved
|
|
12
|
+
for the decisive CTA, 1px borders, 8px default radius, focus
|
|
13
|
+
rings with 2px offset, Geist Sans with restrained tracking."
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
<style>
|
|
17
|
+
/* :root paste — sourced verbatim from design-systems/shadcn/tokens.css. */
|
|
18
|
+
:root {
|
|
19
|
+
--bg: #ffffff;
|
|
20
|
+
--surface: #ffffff;
|
|
21
|
+
--surface-warm: var(--surface);
|
|
22
|
+
|
|
23
|
+
--fg: #111827;
|
|
24
|
+
--fg-2: var(--fg);
|
|
25
|
+
--muted: #64748b;
|
|
26
|
+
--meta: var(--muted);
|
|
27
|
+
|
|
28
|
+
--border: #e5e7eb;
|
|
29
|
+
--border-soft: var(--border);
|
|
30
|
+
|
|
31
|
+
--accent: #000000;
|
|
32
|
+
--accent-on: #ffffff;
|
|
33
|
+
--accent-hover: color-mix(in oklab, var(--accent), white 10%);
|
|
34
|
+
--accent-active: color-mix(in oklab, var(--accent), white 18%);
|
|
35
|
+
|
|
36
|
+
--success: #16a34a;
|
|
37
|
+
--warn: #d97706;
|
|
38
|
+
--danger: #dc2626;
|
|
39
|
+
|
|
40
|
+
--font-display: "Geist", "Geist Sans", -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
|
|
41
|
+
--font-body: "Geist", "Geist Sans", -apple-system, system-ui, "Segoe UI", Arial, sans-serif;
|
|
42
|
+
--font-mono: "Fira Code", ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, 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.2;
|
|
55
|
+
--tracking-display: -0.02em;
|
|
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 1px 2px 0 color-mix(in oklab, var(--fg), transparent 92%),
|
|
79
|
+
0 1px 3px 0 color-mix(in oklab, var(--fg), transparent 88%);
|
|
80
|
+
|
|
81
|
+
--focus-ring: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent);
|
|
82
|
+
|
|
83
|
+
--motion-fast: 150ms;
|
|
84
|
+
--motion-base: 200ms;
|
|
85
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
86
|
+
|
|
87
|
+
--container-max: 1280px;
|
|
88
|
+
--container-gutter-desktop: 24px;
|
|
89
|
+
--container-gutter-tablet: 16px;
|
|
90
|
+
--container-gutter-phone: 16px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* ─── Reset (minimal) ─────────────────────────────────────── */
|
|
94
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
95
|
+
html, body { margin: 0; padding: 0; }
|
|
96
|
+
body {
|
|
97
|
+
background: var(--bg);
|
|
98
|
+
color: var(--fg);
|
|
99
|
+
font-family: var(--font-body);
|
|
100
|
+
font-size: var(--text-base);
|
|
101
|
+
line-height: var(--leading-body);
|
|
102
|
+
font-weight: 400;
|
|
103
|
+
-webkit-font-smoothing: antialiased;
|
|
104
|
+
text-rendering: optimizeLegibility;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/* ─── Layout primitives ─────────────────────────────────── */
|
|
108
|
+
.container {
|
|
109
|
+
max-width: var(--container-max);
|
|
110
|
+
margin-inline: auto;
|
|
111
|
+
padding-inline: var(--container-gutter-desktop);
|
|
112
|
+
}
|
|
113
|
+
section {
|
|
114
|
+
padding-block: var(--section-y-desktop);
|
|
115
|
+
}
|
|
116
|
+
section + section {
|
|
117
|
+
border-top: 1px solid var(--border);
|
|
118
|
+
}
|
|
119
|
+
@media (max-width: 1023px) {
|
|
120
|
+
.container { padding-inline: var(--container-gutter-tablet); }
|
|
121
|
+
section { padding-block: var(--section-y-tablet); }
|
|
122
|
+
}
|
|
123
|
+
@media (max-width: 639px) {
|
|
124
|
+
.container { padding-inline: var(--container-gutter-phone); }
|
|
125
|
+
section { padding-block: var(--section-y-phone); }
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* ─── Typography ───────────────────────────────────────────
|
|
129
|
+
* Hierarchy comes from size + weight + tracking — never from
|
|
130
|
+
* color. shadcn headings stay on --fg; the accent color is
|
|
131
|
+
* reserved for the decisive CTA. */
|
|
132
|
+
h1, h2, h3, h4 {
|
|
133
|
+
font-family: var(--font-display);
|
|
134
|
+
line-height: var(--leading-tight);
|
|
135
|
+
letter-spacing: var(--tracking-display);
|
|
136
|
+
margin: 0;
|
|
137
|
+
color: var(--fg);
|
|
138
|
+
}
|
|
139
|
+
h1 { font-size: var(--text-4xl); font-weight: 600; }
|
|
140
|
+
h2 { font-size: var(--text-2xl); font-weight: 600; }
|
|
141
|
+
h3 { font-size: var(--text-xl); font-weight: 600; letter-spacing: -0.01em; }
|
|
142
|
+
h4 { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.01em; }
|
|
143
|
+
p { margin: 0; }
|
|
144
|
+
|
|
145
|
+
.lede {
|
|
146
|
+
font-size: var(--text-lg);
|
|
147
|
+
line-height: 1.6;
|
|
148
|
+
color: var(--muted);
|
|
149
|
+
}
|
|
150
|
+
.body-muted { color: var(--muted); }
|
|
151
|
+
.body-sm { font-size: var(--text-sm); }
|
|
152
|
+
.body-meta { color: var(--muted); font-size: var(--text-sm); }
|
|
153
|
+
|
|
154
|
+
/* shadcn-style eyebrow: small uppercase mono, muted color,
|
|
155
|
+
tracked open — the "section signpost" pattern visible in
|
|
156
|
+
the shadcn/ui docs nav and primitive index. */
|
|
157
|
+
.eyebrow {
|
|
158
|
+
font-family: var(--font-mono);
|
|
159
|
+
font-size: var(--text-xs);
|
|
160
|
+
font-weight: 500;
|
|
161
|
+
line-height: 1;
|
|
162
|
+
color: var(--muted);
|
|
163
|
+
text-transform: uppercase;
|
|
164
|
+
letter-spacing: 0.08em;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.stack-2 > * + * { margin-block-start: var(--space-2); }
|
|
168
|
+
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
|
169
|
+
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
|
170
|
+
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
|
171
|
+
|
|
172
|
+
/* ─── Buttons ───────────────────────────────────────────────
|
|
173
|
+
* Primary is black-on-white (the shadcn default Button). Hover
|
|
174
|
+
* lifts the fill toward gray (--accent-hover mixes white in)
|
|
175
|
+
* because pure black cannot darken visibly. Secondary uses a
|
|
176
|
+
* real 1px border — shadcn's "outline" variant — and the
|
|
177
|
+
* "ghost" variant is borderless with a subtle hover wash. */
|
|
178
|
+
.btn {
|
|
179
|
+
display: inline-flex;
|
|
180
|
+
align-items: center;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
gap: var(--space-2);
|
|
183
|
+
padding: 8px 16px;
|
|
184
|
+
border: 1px solid transparent;
|
|
185
|
+
border-radius: var(--radius-sm);
|
|
186
|
+
font-family: var(--font-display);
|
|
187
|
+
font-size: var(--text-sm);
|
|
188
|
+
font-weight: 500;
|
|
189
|
+
line-height: 1.43;
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
text-decoration: none;
|
|
192
|
+
background: transparent;
|
|
193
|
+
color: inherit;
|
|
194
|
+
transition:
|
|
195
|
+
background-color var(--motion-fast) var(--ease-standard),
|
|
196
|
+
border-color var(--motion-fast) var(--ease-standard),
|
|
197
|
+
color var(--motion-fast) var(--ease-standard),
|
|
198
|
+
box-shadow var(--motion-fast) var(--ease-standard);
|
|
199
|
+
}
|
|
200
|
+
.btn:focus-visible {
|
|
201
|
+
outline: none;
|
|
202
|
+
box-shadow: var(--focus-ring);
|
|
203
|
+
}
|
|
204
|
+
.btn-primary {
|
|
205
|
+
background: var(--accent);
|
|
206
|
+
color: var(--accent-on);
|
|
207
|
+
border-color: var(--accent);
|
|
208
|
+
}
|
|
209
|
+
.btn-primary:hover {
|
|
210
|
+
background: var(--accent-hover);
|
|
211
|
+
border-color: var(--accent-hover);
|
|
212
|
+
}
|
|
213
|
+
.btn-primary:active {
|
|
214
|
+
background: var(--accent-active);
|
|
215
|
+
border-color: var(--accent-active);
|
|
216
|
+
}
|
|
217
|
+
.btn-secondary {
|
|
218
|
+
background: var(--surface);
|
|
219
|
+
color: var(--fg);
|
|
220
|
+
border-color: var(--border);
|
|
221
|
+
}
|
|
222
|
+
.btn-secondary:hover {
|
|
223
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 4%);
|
|
224
|
+
}
|
|
225
|
+
.btn-ghost {
|
|
226
|
+
background: transparent;
|
|
227
|
+
color: var(--fg);
|
|
228
|
+
padding-inline: var(--space-3);
|
|
229
|
+
}
|
|
230
|
+
.btn-ghost:hover {
|
|
231
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 6%);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
/* ─── Inputs ───────────────────────────────────────────────
|
|
235
|
+
* 1px border (shadcn never hides input edges in shadow). On
|
|
236
|
+
* focus the ring expands to the full --focus-ring stack and
|
|
237
|
+
* the border collapses into the inner halo. */
|
|
238
|
+
.field {
|
|
239
|
+
display: flex;
|
|
240
|
+
flex-direction: column;
|
|
241
|
+
gap: var(--space-2);
|
|
242
|
+
}
|
|
243
|
+
.field label {
|
|
244
|
+
font-size: var(--text-sm);
|
|
245
|
+
font-weight: 500;
|
|
246
|
+
color: var(--fg);
|
|
247
|
+
}
|
|
248
|
+
.field input {
|
|
249
|
+
padding: 8px 12px;
|
|
250
|
+
border: 1px solid var(--border);
|
|
251
|
+
border-radius: var(--radius-sm);
|
|
252
|
+
background: var(--surface);
|
|
253
|
+
color: var(--fg);
|
|
254
|
+
font-family: inherit;
|
|
255
|
+
font-size: var(--text-sm);
|
|
256
|
+
line-height: 1.43;
|
|
257
|
+
outline: none;
|
|
258
|
+
transition:
|
|
259
|
+
border-color var(--motion-fast) var(--ease-standard),
|
|
260
|
+
box-shadow var(--motion-fast) var(--ease-standard);
|
|
261
|
+
}
|
|
262
|
+
.field input::placeholder { color: var(--muted); }
|
|
263
|
+
.field input:hover { border-color: color-mix(in oklab, var(--fg), transparent 70%); }
|
|
264
|
+
.field input:focus-visible {
|
|
265
|
+
border-color: var(--accent);
|
|
266
|
+
box-shadow: var(--focus-ring);
|
|
267
|
+
}
|
|
268
|
+
.field-help {
|
|
269
|
+
font-size: var(--text-xs);
|
|
270
|
+
color: var(--muted);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* ─── Cards ───────────────────────────────────────────────
|
|
274
|
+
* shadcn Card primitive: 1px border, 8px radius, padding 24px,
|
|
275
|
+
* whisper-soft elevation. The border carries the edge; the
|
|
276
|
+
* shadow only adds a hint of lift. No multi-layer glow. */
|
|
277
|
+
.card {
|
|
278
|
+
background: var(--surface);
|
|
279
|
+
border: 1px solid var(--border);
|
|
280
|
+
border-radius: var(--radius-md);
|
|
281
|
+
padding: var(--space-6);
|
|
282
|
+
display: flex;
|
|
283
|
+
flex-direction: column;
|
|
284
|
+
gap: var(--space-3);
|
|
285
|
+
box-shadow: var(--elev-raised);
|
|
286
|
+
transition:
|
|
287
|
+
border-color var(--motion-base) var(--ease-standard),
|
|
288
|
+
box-shadow var(--motion-base) var(--ease-standard);
|
|
289
|
+
}
|
|
290
|
+
.card:hover {
|
|
291
|
+
border-color: color-mix(in oklab, var(--fg), transparent 75%);
|
|
292
|
+
box-shadow:
|
|
293
|
+
0 1px 3px 0 color-mix(in oklab, var(--fg), transparent 88%),
|
|
294
|
+
0 4px 10px -2px color-mix(in oklab, var(--fg), transparent 88%);
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/* ─── Badges ───────────────────────────────────────────────
|
|
298
|
+
* shadcn Badge variants — default (filled accent), secondary
|
|
299
|
+
* (muted surface), outline (1px border), and state (success).
|
|
300
|
+
* Pill shape; small mono-uppercase optional label. */
|
|
301
|
+
.badge {
|
|
302
|
+
display: inline-flex;
|
|
303
|
+
align-items: center;
|
|
304
|
+
gap: var(--space-1);
|
|
305
|
+
padding: 2px 10px;
|
|
306
|
+
border: 1px solid transparent;
|
|
307
|
+
border-radius: var(--radius-pill);
|
|
308
|
+
font-size: var(--text-xs);
|
|
309
|
+
font-weight: 500;
|
|
310
|
+
line-height: 1.5;
|
|
311
|
+
font-family: var(--font-display);
|
|
312
|
+
}
|
|
313
|
+
.badge-default {
|
|
314
|
+
background: var(--accent);
|
|
315
|
+
color: var(--accent-on);
|
|
316
|
+
}
|
|
317
|
+
.badge-secondary {
|
|
318
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 5%);
|
|
319
|
+
color: var(--fg);
|
|
320
|
+
}
|
|
321
|
+
.badge-outline {
|
|
322
|
+
background: transparent;
|
|
323
|
+
color: var(--fg);
|
|
324
|
+
border-color: var(--border);
|
|
325
|
+
}
|
|
326
|
+
.badge-success {
|
|
327
|
+
color: var(--success);
|
|
328
|
+
background: color-mix(in oklab, var(--success), white 88%);
|
|
329
|
+
}
|
|
330
|
+
.badge-dot {
|
|
331
|
+
width: 6px;
|
|
332
|
+
height: 6px;
|
|
333
|
+
border-radius: 50%;
|
|
334
|
+
background: currentColor;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/* ─── Links ───────────────────────────────────────────────
|
|
338
|
+
* shadcn links are underlined for accessibility; underline
|
|
339
|
+
* thickness lifts on hover. Color stays --fg (the docs voice
|
|
340
|
+
* — no chromatic distraction in body copy). */
|
|
341
|
+
a {
|
|
342
|
+
color: var(--fg);
|
|
343
|
+
text-decoration: underline;
|
|
344
|
+
text-underline-offset: 3px;
|
|
345
|
+
text-decoration-thickness: 1px;
|
|
346
|
+
transition: text-decoration-thickness var(--motion-fast) var(--ease-standard);
|
|
347
|
+
}
|
|
348
|
+
a:hover { text-decoration-thickness: 2px; }
|
|
349
|
+
a:focus-visible {
|
|
350
|
+
outline: none;
|
|
351
|
+
border-radius: 2px;
|
|
352
|
+
box-shadow: var(--focus-ring);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
/* ─── Kbd ────────────────────────────────────────────────── */
|
|
356
|
+
kbd {
|
|
357
|
+
font-family: var(--font-mono);
|
|
358
|
+
font-size: var(--text-xs);
|
|
359
|
+
padding: 2px 6px;
|
|
360
|
+
border: 1px solid var(--border);
|
|
361
|
+
border-radius: var(--radius-sm);
|
|
362
|
+
background: var(--surface);
|
|
363
|
+
color: var(--fg);
|
|
364
|
+
box-shadow: 0 1px 0 var(--border);
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
/* ─── Distinctive: Install command block ─────────────────────
|
|
368
|
+
* The single most recognizable shadcn surface — a terminal-
|
|
369
|
+
* voiced CLI command with the `$` prompt and the package name
|
|
370
|
+
* highlighted. Uses Fira Code for the technical typeface, the
|
|
371
|
+
* surface tier for the panel, and a clickable copy affordance. */
|
|
372
|
+
.install-block {
|
|
373
|
+
margin-block-start: var(--space-8);
|
|
374
|
+
display: flex;
|
|
375
|
+
align-items: center;
|
|
376
|
+
justify-content: space-between;
|
|
377
|
+
gap: var(--space-4);
|
|
378
|
+
padding: var(--space-4) var(--space-5);
|
|
379
|
+
background: var(--surface);
|
|
380
|
+
border: 1px solid var(--border);
|
|
381
|
+
border-radius: var(--radius-md);
|
|
382
|
+
font-family: var(--font-mono);
|
|
383
|
+
font-size: var(--text-sm);
|
|
384
|
+
line-height: 1.5;
|
|
385
|
+
color: var(--fg);
|
|
386
|
+
box-shadow: var(--elev-raised);
|
|
387
|
+
}
|
|
388
|
+
.install-block .prompt {
|
|
389
|
+
color: var(--muted);
|
|
390
|
+
user-select: none;
|
|
391
|
+
margin-inline-end: var(--space-2);
|
|
392
|
+
}
|
|
393
|
+
.install-block .copy {
|
|
394
|
+
appearance: none;
|
|
395
|
+
background: transparent;
|
|
396
|
+
border: 1px solid var(--border);
|
|
397
|
+
border-radius: var(--radius-sm);
|
|
398
|
+
padding: 4px 10px;
|
|
399
|
+
font-family: var(--font-display);
|
|
400
|
+
font-size: var(--text-xs);
|
|
401
|
+
font-weight: 500;
|
|
402
|
+
color: var(--muted);
|
|
403
|
+
cursor: pointer;
|
|
404
|
+
transition:
|
|
405
|
+
background-color var(--motion-fast) var(--ease-standard),
|
|
406
|
+
color var(--motion-fast) var(--ease-standard),
|
|
407
|
+
border-color var(--motion-fast) var(--ease-standard);
|
|
408
|
+
}
|
|
409
|
+
.install-block .copy:hover {
|
|
410
|
+
color: var(--fg);
|
|
411
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 4%);
|
|
412
|
+
}
|
|
413
|
+
.install-block .copy:focus-visible {
|
|
414
|
+
outline: none;
|
|
415
|
+
box-shadow: var(--focus-ring);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
/* ─── Section-specific layout ─────────────────────────────── */
|
|
419
|
+
.hero {
|
|
420
|
+
text-align: left;
|
|
421
|
+
}
|
|
422
|
+
.hero .eyebrow { margin-block-end: var(--space-4); }
|
|
423
|
+
.hero h1 { max-width: 22ch; }
|
|
424
|
+
.hero .lede {
|
|
425
|
+
max-width: 56ch;
|
|
426
|
+
margin-block-start: var(--space-5);
|
|
427
|
+
}
|
|
428
|
+
.hero-actions {
|
|
429
|
+
display: flex;
|
|
430
|
+
gap: var(--space-3);
|
|
431
|
+
margin-block-start: var(--space-8);
|
|
432
|
+
align-items: center;
|
|
433
|
+
flex-wrap: wrap;
|
|
434
|
+
}
|
|
435
|
+
.hero-meta {
|
|
436
|
+
display: inline-flex;
|
|
437
|
+
align-items: center;
|
|
438
|
+
gap: var(--space-3);
|
|
439
|
+
margin-block-start: var(--space-6);
|
|
440
|
+
color: var(--muted);
|
|
441
|
+
font-size: var(--text-sm);
|
|
442
|
+
flex-wrap: wrap;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.features-grid {
|
|
446
|
+
display: grid;
|
|
447
|
+
grid-template-columns: repeat(3, 1fr);
|
|
448
|
+
gap: var(--space-5);
|
|
449
|
+
margin-block-start: var(--space-8);
|
|
450
|
+
}
|
|
451
|
+
@media (max-width: 1023px) {
|
|
452
|
+
.features-grid { grid-template-columns: 1fr 1fr; }
|
|
453
|
+
}
|
|
454
|
+
@media (max-width: 639px) {
|
|
455
|
+
.features-grid { grid-template-columns: 1fr; }
|
|
456
|
+
}
|
|
457
|
+
.feature-icon {
|
|
458
|
+
width: 36px;
|
|
459
|
+
height: 36px;
|
|
460
|
+
display: inline-flex;
|
|
461
|
+
align-items: center;
|
|
462
|
+
justify-content: center;
|
|
463
|
+
border: 1px solid var(--border);
|
|
464
|
+
border-radius: var(--radius-sm);
|
|
465
|
+
color: var(--fg);
|
|
466
|
+
background: color-mix(in oklab, var(--bg), var(--fg) 3%);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.form-row {
|
|
470
|
+
display: grid;
|
|
471
|
+
grid-template-columns: 1.2fr 1fr;
|
|
472
|
+
gap: var(--space-12);
|
|
473
|
+
align-items: start;
|
|
474
|
+
margin-block-start: var(--space-8);
|
|
475
|
+
}
|
|
476
|
+
@media (max-width: 1023px) {
|
|
477
|
+
.form-row { grid-template-columns: 1fr; }
|
|
478
|
+
}
|
|
479
|
+
.form {
|
|
480
|
+
display: flex;
|
|
481
|
+
flex-direction: column;
|
|
482
|
+
gap: var(--space-4);
|
|
483
|
+
max-width: 440px;
|
|
484
|
+
padding: var(--space-6);
|
|
485
|
+
background: var(--surface);
|
|
486
|
+
border: 1px solid var(--border);
|
|
487
|
+
border-radius: var(--radius-md);
|
|
488
|
+
box-shadow: var(--elev-raised);
|
|
489
|
+
}
|
|
490
|
+
.form-actions {
|
|
491
|
+
display: flex;
|
|
492
|
+
gap: var(--space-3);
|
|
493
|
+
margin-block-start: var(--space-2);
|
|
494
|
+
align-items: center;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.row-between {
|
|
498
|
+
display: flex;
|
|
499
|
+
align-items: center;
|
|
500
|
+
justify-content: space-between;
|
|
501
|
+
gap: var(--space-3);
|
|
502
|
+
}
|
|
503
|
+
.icon { width: 16px; height: 16px; flex-shrink: 0; }
|
|
504
|
+
</style>
|
|
505
|
+
</head>
|
|
506
|
+
<body>
|
|
507
|
+
<main class="container">
|
|
508
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
509
|
+
HERO — exercises: --text-4xl Geist W600 with -0.02em
|
|
510
|
+
tracking, .lede in --muted, .btn-primary (black-on-white),
|
|
511
|
+
.btn-secondary (1px border outline), .btn-ghost, the
|
|
512
|
+
install-block CLI panel (Fira Code voice), .badge-secondary,
|
|
513
|
+
kbd. Single-column layout — shadcn heroes don't asymmetric-
|
|
514
|
+
split; the page IS the column.
|
|
515
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
516
|
+
<section class="hero" data-od-id="hero">
|
|
517
|
+
<p class="eyebrow">v0.1 · reference fixture · shadcn</p>
|
|
518
|
+
<h1>Build your own component library.</h1>
|
|
519
|
+
<p class="lede">
|
|
520
|
+
Beautifully-designed, accessible components you copy and paste
|
|
521
|
+
into your apps. Open source, customizable, and yours to extend —
|
|
522
|
+
this fixture paints from the same
|
|
523
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">:root</code>
|
|
524
|
+
block every shadcn artifact inlines into its first
|
|
525
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em"><style></code>.
|
|
526
|
+
</p>
|
|
527
|
+
<div class="hero-actions">
|
|
528
|
+
<a href="./tokens.css" class="btn btn-primary">
|
|
529
|
+
Get started
|
|
530
|
+
<svg
|
|
531
|
+
class="icon"
|
|
532
|
+
viewBox="0 0 24 24"
|
|
533
|
+
fill="none"
|
|
534
|
+
stroke="currentColor"
|
|
535
|
+
stroke-width="1.75"
|
|
536
|
+
stroke-linecap="round"
|
|
537
|
+
stroke-linejoin="round"
|
|
538
|
+
aria-hidden="true"
|
|
539
|
+
>
|
|
540
|
+
<path d="M5 12h14M13 6l6 6-6 6" />
|
|
541
|
+
</svg>
|
|
542
|
+
</a>
|
|
543
|
+
<a href="./DESIGN.md" class="btn btn-secondary">Browse components</a>
|
|
544
|
+
<a href="#install" class="btn btn-ghost">npx shadcn add</a>
|
|
545
|
+
</div>
|
|
546
|
+
<p class="hero-meta">
|
|
547
|
+
<span class="badge badge-secondary">
|
|
548
|
+
<span class="badge-dot" aria-hidden="true" style="color: var(--success)"></span>
|
|
549
|
+
56 tokens · open source · MIT
|
|
550
|
+
</span>
|
|
551
|
+
<span>Press <kbd>⌘</kbd> <kbd>K</kbd> to search the registry.</span>
|
|
552
|
+
</p>
|
|
553
|
+
|
|
554
|
+
<div class="install-block" id="install">
|
|
555
|
+
<span>
|
|
556
|
+
<span class="prompt" aria-hidden="true">$</span>npx shadcn@latest add button
|
|
557
|
+
</span>
|
|
558
|
+
<button type="button" class="copy" aria-label="Copy install command">Copy</button>
|
|
559
|
+
</div>
|
|
560
|
+
</section>
|
|
561
|
+
|
|
562
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
563
|
+
FEATURE CARDS — exercises: .card (1px border + whisper-soft
|
|
564
|
+
--elev-raised), h3 with -0.01em tracking, .body-muted,
|
|
565
|
+
inline link, .feature-icon, .features-grid. Three cards
|
|
566
|
+
per row at desktop, collapses on mobile. Voice mirrors the
|
|
567
|
+
shadcn pitch: copy/paste, accessibility, your code not ours.
|
|
568
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
569
|
+
<section data-od-id="features">
|
|
570
|
+
<div class="stack-3">
|
|
571
|
+
<p class="eyebrow">Why teams reach for it</p>
|
|
572
|
+
<h2 style="max-width: 28ch">
|
|
573
|
+
Primitives that read like your own code, not a dependency.
|
|
574
|
+
</h2>
|
|
575
|
+
<p class="lede" style="max-width: 60ch">
|
|
576
|
+
Every component lives in your project — fully typed, fully
|
|
577
|
+
owned. Tokens here, JSX in your repo, no version pinning,
|
|
578
|
+
no transitive surprises.
|
|
579
|
+
</p>
|
|
580
|
+
</div>
|
|
581
|
+
|
|
582
|
+
<div class="features-grid">
|
|
583
|
+
<article class="card">
|
|
584
|
+
<span class="feature-icon" aria-hidden="true">
|
|
585
|
+
<svg
|
|
586
|
+
class="icon"
|
|
587
|
+
viewBox="0 0 24 24"
|
|
588
|
+
fill="none"
|
|
589
|
+
stroke="currentColor"
|
|
590
|
+
stroke-width="1.75"
|
|
591
|
+
stroke-linecap="round"
|
|
592
|
+
stroke-linejoin="round"
|
|
593
|
+
>
|
|
594
|
+
<rect x="3" y="3" width="7" height="7" rx="1.5" />
|
|
595
|
+
<rect x="14" y="3" width="7" height="7" rx="1.5" />
|
|
596
|
+
<rect x="3" y="14" width="7" height="7" rx="1.5" />
|
|
597
|
+
<rect x="14" y="14" width="7" height="7" rx="1.5" />
|
|
598
|
+
</svg>
|
|
599
|
+
</span>
|
|
600
|
+
<h3>Copy & paste.</h3>
|
|
601
|
+
<p class="body-muted body-sm">
|
|
602
|
+
The CLI drops every primitive's source into your repo as
|
|
603
|
+
plain TSX. No bundle, no abstraction layer — what you see
|
|
604
|
+
is what ships.
|
|
605
|
+
</p>
|
|
606
|
+
<a href="./tokens.css" class="body-sm">Inspect the tokens →</a>
|
|
607
|
+
</article>
|
|
608
|
+
|
|
609
|
+
<article class="card">
|
|
610
|
+
<span class="feature-icon" aria-hidden="true">
|
|
611
|
+
<svg
|
|
612
|
+
class="icon"
|
|
613
|
+
viewBox="0 0 24 24"
|
|
614
|
+
fill="none"
|
|
615
|
+
stroke="currentColor"
|
|
616
|
+
stroke-width="1.75"
|
|
617
|
+
stroke-linecap="round"
|
|
618
|
+
stroke-linejoin="round"
|
|
619
|
+
>
|
|
620
|
+
<circle cx="12" cy="12" r="9" />
|
|
621
|
+
<path d="M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18" />
|
|
622
|
+
</svg>
|
|
623
|
+
</span>
|
|
624
|
+
<h3>Accessible by default.</h3>
|
|
625
|
+
<p class="body-muted body-sm">
|
|
626
|
+
Built on Radix primitives. Keyboard navigation, focus
|
|
627
|
+
management, ARIA wiring — the boring-correct foundation
|
|
628
|
+
is included so you can ship the brand layer.
|
|
629
|
+
</p>
|
|
630
|
+
<a href="./DESIGN.md" class="body-sm">Read the spec →</a>
|
|
631
|
+
</article>
|
|
632
|
+
|
|
633
|
+
<article class="card">
|
|
634
|
+
<span class="feature-icon" aria-hidden="true">
|
|
635
|
+
<svg
|
|
636
|
+
class="icon"
|
|
637
|
+
viewBox="0 0 24 24"
|
|
638
|
+
fill="none"
|
|
639
|
+
stroke="currentColor"
|
|
640
|
+
stroke-width="1.75"
|
|
641
|
+
stroke-linecap="round"
|
|
642
|
+
stroke-linejoin="round"
|
|
643
|
+
>
|
|
644
|
+
<path d="M12 3v18M3 12h18" />
|
|
645
|
+
<circle cx="12" cy="12" r="3" />
|
|
646
|
+
</svg>
|
|
647
|
+
</span>
|
|
648
|
+
<h3>Themeable to the token.</h3>
|
|
649
|
+
<p class="body-muted body-sm">
|
|
650
|
+
Rebind
|
|
651
|
+
<code style="font-family: var(--font-mono); font-size: 0.92em">--accent</code>,
|
|
652
|
+
<code style="font-family: var(--font-mono); font-size: 0.92em">--radius-md</code>,
|
|
653
|
+
and the foreground ramp once — every primitive across
|
|
654
|
+
the page restyles with no per-component overrides.
|
|
655
|
+
</p>
|
|
656
|
+
<a href="./tokens.css" class="body-sm">See the token map →</a>
|
|
657
|
+
</article>
|
|
658
|
+
</div>
|
|
659
|
+
</section>
|
|
660
|
+
|
|
661
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
662
|
+
FORM — exercises: .field with 1px-border inputs, focus-visible
|
|
663
|
+
swap to the --focus-ring (the 2px-offset shadcn signature),
|
|
664
|
+
.btn-primary and .btn-secondary reuse. Form sits inside its
|
|
665
|
+
own bordered card so the input edges read as recessed
|
|
666
|
+
beneath the form surface.
|
|
667
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
668
|
+
<section data-od-id="form">
|
|
669
|
+
<p class="eyebrow">Form primitives</p>
|
|
670
|
+
<h2 style="margin-block-start: var(--space-3); max-width: 28ch">
|
|
671
|
+
Inputs inherit the same tokens.
|
|
672
|
+
</h2>
|
|
673
|
+
|
|
674
|
+
<div class="form-row">
|
|
675
|
+
<div class="stack-4">
|
|
676
|
+
<p class="body-muted" style="max-width: 50ch">
|
|
677
|
+
Focus rings, edges, placeholder color — all derive from
|
|
678
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">--accent</code>,
|
|
679
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">--border</code>,
|
|
680
|
+
and <code style="font-family: var(--font-mono); font-size: 0.95em">--muted</code>.
|
|
681
|
+
The submit button reuses
|
|
682
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">.btn-primary</code>
|
|
683
|
+
unchanged — black fill, white label, 6px radius.
|
|
684
|
+
</p>
|
|
685
|
+
<p class="body-muted body-sm">
|
|
686
|
+
No new token is introduced for this section. The form
|
|
687
|
+
card uses
|
|
688
|
+
<code style="font-family: var(--font-mono); font-size: 0.95em">--elev-raised</code>
|
|
689
|
+
directly so the focused input's ring reads as a clean
|
|
690
|
+
halo over the bordered surface.
|
|
691
|
+
</p>
|
|
692
|
+
<p class="body-meta">
|
|
693
|
+
Full reference at <a href="./tokens.css">tokens.css</a> ·
|
|
694
|
+
spec at <a href="./DESIGN.md">DESIGN.md</a>.
|
|
695
|
+
</p>
|
|
696
|
+
</div>
|
|
697
|
+
|
|
698
|
+
<form class="form" onsubmit="event.preventDefault();">
|
|
699
|
+
<div class="row-between">
|
|
700
|
+
<p class="eyebrow">Join the registry preview</p>
|
|
701
|
+
<span class="badge badge-success">
|
|
702
|
+
<span class="badge-dot" aria-hidden="true"></span>
|
|
703
|
+
Open
|
|
704
|
+
</span>
|
|
705
|
+
</div>
|
|
706
|
+
<div class="field">
|
|
707
|
+
<label for="email">Work email</label>
|
|
708
|
+
<input
|
|
709
|
+
id="email"
|
|
710
|
+
type="email"
|
|
711
|
+
placeholder="you@team.dev"
|
|
712
|
+
autocomplete="email"
|
|
713
|
+
required
|
|
714
|
+
/>
|
|
715
|
+
<p class="field-help">
|
|
716
|
+
We'll send the registry preview link and nothing else.
|
|
717
|
+
</p>
|
|
718
|
+
</div>
|
|
719
|
+
<div class="form-actions">
|
|
720
|
+
<button type="submit" class="btn btn-primary">
|
|
721
|
+
Get the preview
|
|
722
|
+
</button>
|
|
723
|
+
<button type="button" class="btn btn-secondary">
|
|
724
|
+
Maybe later
|
|
725
|
+
</button>
|
|
726
|
+
</div>
|
|
727
|
+
</form>
|
|
728
|
+
</div>
|
|
729
|
+
</section>
|
|
730
|
+
</main>
|
|
731
|
+
</body>
|
|
732
|
+
</html>
|