@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,285 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────────────
|
|
2
|
+
* design-systems/tesla/tokens.css
|
|
3
|
+
*
|
|
4
|
+
* Structured token bindings for "Design System Inspired by Tesla" —
|
|
5
|
+
* radical subtraction, full-viewport photography, near-zero UI. This
|
|
6
|
+
* file is the *machine-readable* form of the values described in
|
|
7
|
+
* `DESIGN.md`. Agents are expected to paste the `:root { … }` block
|
|
8
|
+
* verbatim into the first `<style>` of every artifact they generate
|
|
9
|
+
* against this design system, then reference everything via
|
|
10
|
+
* var(--name) from then on.
|
|
11
|
+
*
|
|
12
|
+
* Why this file exists:
|
|
13
|
+
* DESIGN.md tells humans that Tesla uses "Pure White (#FFFFFF) as the
|
|
14
|
+
* canvas that lets photography breathe" and "Electric Blue (#3E6AE1)
|
|
15
|
+
* as the only chromatic color in the entire interface", but agents
|
|
16
|
+
* have to translate those prose names into the standard token names
|
|
17
|
+
* the lint enforces (`--bg`, `--accent`). That translation step is
|
|
18
|
+
* where token misuse happens. This file pre-translates the brand
|
|
19
|
+
* once, so agents copy structure instead of inventing it.
|
|
20
|
+
*
|
|
21
|
+
* Brand-specific schema decisions (non-obvious bindings worth flagging
|
|
22
|
+
* for reviewers and downstream brand authors):
|
|
23
|
+
* 1. --bg is pure #ffffff and --surface is Light Ash #f4f4f4 — the
|
|
24
|
+
* "barely perceptible shift from pure white" Tesla uses to
|
|
25
|
+
* differentiate alternate feature bands. --surface-warm aliases
|
|
26
|
+
* to var(--surface): Tesla deliberately has only two light tiers
|
|
27
|
+
* because photography (not surface) carries the visual richness.
|
|
28
|
+
* 2. The four-stop foreground ramp is real and worth keeping
|
|
29
|
+
* independent — Carbon Dark → Graphite → Pewter → Silver Fog map
|
|
30
|
+
* cleanly onto --fg / --fg-2 / --muted / --meta. DESIGN.md §2
|
|
31
|
+
* names every stop; collapsing any of them would flatten the
|
|
32
|
+
* hierarchy of headings → body → tertiary links → placeholders.
|
|
33
|
+
* 3. --border is bound to Pale Silver (#d0d1d2) for the rare strong
|
|
34
|
+
* border, --border-soft to Cloud Gray (#eeeeee) for the more
|
|
35
|
+
* common hairline divider. Tesla uses borders sparingly but the
|
|
36
|
+
* two-stop split exists in DESIGN.md §2.
|
|
37
|
+
* 4. --accent-hover / --accent-active use the schema black-mix
|
|
38
|
+
* formulas. DESIGN.md §4 says "subtle darkening of blue
|
|
39
|
+
* background" without pinning a hex; the schema defaults satisfy
|
|
40
|
+
* "subtle" without inventing a brand-specific value.
|
|
41
|
+
* 5. Semantic --success / --warn / --danger inherit schema defaults
|
|
42
|
+
* verbatim. DESIGN.md §2: "Tesla's marketing site avoids semantic
|
|
43
|
+
* color coding... Error, success, and warning states follow
|
|
44
|
+
* standard browser defaults in form contexts."
|
|
45
|
+
* 6. --font-display and --font-body are split across the Universal
|
|
46
|
+
* Sans Display / Universal Sans Text families with -apple-system
|
|
47
|
+
* and Arial as the published Tesla fallback chain (DESIGN.md §3).
|
|
48
|
+
* 7. --text-base is 14px (NOT the 16px web norm). Tesla's UI
|
|
49
|
+
* explicitly clusters at 14 for nav, body, button, and link —
|
|
50
|
+
* DESIGN.md §3 lists six rows at 14px and only two breakaway
|
|
51
|
+
* tiers (22px promo, 40px hero). Rebinding --text-base to 16
|
|
52
|
+
* would lose the brand's engineered uniformity.
|
|
53
|
+
* 8. --text-4xl is 40px — Tesla's hard display ceiling. DESIGN.md §7
|
|
54
|
+
* ("Don't use text larger than 40px on the web") makes this not
|
|
55
|
+
* a soft cap but an identity rule.
|
|
56
|
+
* 9. --tracking-display is `normal`. DESIGN.md §3 Principles:
|
|
57
|
+
* "'Normal' letter-spacing everywhere... Unlike most modern tech
|
|
58
|
+
* brands that use negative tracking for headlines, Tesla uses
|
|
59
|
+
* default letter-spacing at every level." Most brands in the
|
|
60
|
+
* schema bind a negative em value here; Tesla deliberately does
|
|
61
|
+
* not.
|
|
62
|
+
* 10. --section-y-desktop is 120px (vs schema default 80, Apple 100).
|
|
63
|
+
* DESIGN.md §1 + §5 — "viewport-height sections" and "whitespace
|
|
64
|
+
* as a luxury signal" mean Tesla's chapter breathing room is the
|
|
65
|
+
* most generous in the schema after the dedicated print brands.
|
|
66
|
+
* 11. --radius-sm / --radius-md / --radius-lg are 4 / 12 / 12 (vs
|
|
67
|
+
* schema 8 / 12 / 16). DESIGN.md §5 defines a deliberate Tesla
|
|
68
|
+
* radius scale: 0 default, 4 buttons, 12 category cards, and
|
|
69
|
+
* "no larger tier" — we bind --radius-lg to the same 12 because
|
|
70
|
+
* Tesla has no softer card silhouette to address.
|
|
71
|
+
* 12. --elev-raised is the lightest in the schema (rgba 0.05).
|
|
72
|
+
* DESIGN.md §6: "Tesla's approach to elevation is essentially
|
|
73
|
+
* 'none.'... Subtle shadow hints on rare hover states use
|
|
74
|
+
* rgba(0,0,0,0.05)." The schema default (oklab fg-mix) reads as
|
|
75
|
+
* Material weight by comparison; we hand-pick a flatter value.
|
|
76
|
+
* 13. --motion-fast / --motion-base / --ease-standard override the
|
|
77
|
+
* schema. DESIGN.md §1 + §4 — "0.33s cubic-bezier transitions as
|
|
78
|
+
* the universal timing for all interactive state changes" and a
|
|
79
|
+
* documented `box-shadow 0.33s cubic-bezier(0.5, 0, 0, 0.75)`
|
|
80
|
+
* curve. We bind base to 330ms (Tesla's universal duration),
|
|
81
|
+
* fast to 250ms (the box-shadow micro-state), and easing to the
|
|
82
|
+
* published Tesla text-link curve.
|
|
83
|
+
* 14. --container-max is 1383px. DESIGN.md §5: "Max width:
|
|
84
|
+
* approximately 1383px". The number itself is a brand-specific
|
|
85
|
+
* detail (most marketing sites round to 1280 / 1440); we keep
|
|
86
|
+
* the literal value rather than collapse to the nearest round
|
|
87
|
+
* number.
|
|
88
|
+
*
|
|
89
|
+
* Contract sources:
|
|
90
|
+
* - Standard token names: design-systems/_schema/tokens.schema.ts
|
|
91
|
+
* (TOKEN_SCHEMA — every name below appears there or as an
|
|
92
|
+
* explicit B-slot alias.)
|
|
93
|
+
* - A2 fallback values: design-systems/_schema/defaults.css
|
|
94
|
+
* (We override --motion-fast, --motion-base, --ease-standard,
|
|
95
|
+
* --elev-raised, --radius-sm, --radius-lg; the rest match
|
|
96
|
+
* defaults.)
|
|
97
|
+
*
|
|
98
|
+
* Keep this file additive: never invent token names not also documented
|
|
99
|
+
* in DESIGN.md or the shared schema.
|
|
100
|
+
* ─────────────────────────────────────────────────────────────────── */
|
|
101
|
+
|
|
102
|
+
:root {
|
|
103
|
+
/* ─── Surface (2 levels) ──────────────────────────────────────────
|
|
104
|
+
* Pure white retail canvas with a single "barely perceptible" Light
|
|
105
|
+
* Ash tier for alternate bands. --surface-warm aliases to surface
|
|
106
|
+
* because Tesla has no third light tier — photography, not surface,
|
|
107
|
+
* carries the visual richness. */
|
|
108
|
+
--bg: #ffffff; /* Pure White — the canvas that lets photography breathe */
|
|
109
|
+
--surface: #f4f4f4; /* Light Ash — alternate feature band, barely a shift */
|
|
110
|
+
--surface-warm: var(--surface); /* alias — Tesla has only two light tiers */
|
|
111
|
+
|
|
112
|
+
/* ─── Foreground ramp (4 levels) ─────────────────────────────────
|
|
113
|
+
* Tesla's neutrals are explicitly named in DESIGN.md §2: Carbon Dark
|
|
114
|
+
* → Graphite → Pewter → Silver Fog. We bind all four — the ramp is
|
|
115
|
+
* genuinely walked across model names (Carbon Dark), body copy
|
|
116
|
+
* (Graphite), tertiary "Learn / Order" links (Pewter), and form
|
|
117
|
+
* placeholders / disabled (Silver Fog). Collapsing any stop would
|
|
118
|
+
* flatten the hierarchy. */
|
|
119
|
+
--fg: #171a20; /* Carbon Dark — headings, nav, model names */
|
|
120
|
+
--fg-2: #393c41; /* Graphite — default body / paragraph color */
|
|
121
|
+
--muted: #5c5e62; /* Pewter — tertiary links (Learn, Order, Experience) */
|
|
122
|
+
--meta: #8e8e8e; /* Silver Fog — placeholders, disabled states */
|
|
123
|
+
|
|
124
|
+
/* ─── Border (2 levels) ──────────────────────────────────────────
|
|
125
|
+
* Tesla uses borders sparingly — containers are usually defined by
|
|
126
|
+
* spacing, not lines (DESIGN.md §7: "Don't add borders to cards or
|
|
127
|
+
* containers"). When borders appear, --border is the stronger
|
|
128
|
+
* delineation (Pale Silver, used on rare hairlines and field
|
|
129
|
+
* outlines) and --border-soft is the lighter divider (Cloud Gray,
|
|
130
|
+
* used between dense rows). */
|
|
131
|
+
--border: #d0d1d2; /* Pale Silver — strong border, field outline */
|
|
132
|
+
--border-soft: #eeeeee; /* Cloud Gray — light divider between rows */
|
|
133
|
+
|
|
134
|
+
/* ─── Accent ──────────────────────────────────────────────────────
|
|
135
|
+
* Electric Blue — Tesla's only chromatic move. DESIGN.md §2: "stands
|
|
136
|
+
* alone as the only chromatic color in the entire interface" and §7
|
|
137
|
+
* "Don't use more than one chromatic color besides the blue CTA"
|
|
138
|
+
* make this a strict one-color brand. The schema's ≤2-visible-uses
|
|
139
|
+
* cap aligns naturally with Tesla's "Use Electric Blue exclusively
|
|
140
|
+
* for primary CTAs". */
|
|
141
|
+
--accent: #3e6ae1; /* Electric Blue — sole CTA color, sole accent */
|
|
142
|
+
--accent-on: #ffffff; /* white label on the blue fill */
|
|
143
|
+
|
|
144
|
+
/* ─── Accent states ───────────────────────────────────────────────
|
|
145
|
+
* DESIGN.md §4 documents "subtle darkening of blue background" on
|
|
146
|
+
* hover without pinning specific hex values. We inherit the schema
|
|
147
|
+
* black-mix formulas — subtle darkening is exactly what these
|
|
148
|
+
* formulas produce. */
|
|
149
|
+
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
150
|
+
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
151
|
+
|
|
152
|
+
/* ─── Semantic ────────────────────────────────────────────────────
|
|
153
|
+
* DESIGN.md §2: "Tesla's marketing site avoids semantic color coding
|
|
154
|
+
* (no green/red/yellow status indicators). Error, success, and
|
|
155
|
+
* warning states follow standard browser defaults in form contexts."
|
|
156
|
+
* Inherit the schema defaults; reserve under 5% of any surface area
|
|
157
|
+
* regardless. */
|
|
158
|
+
--success: #16a34a;
|
|
159
|
+
--warn: #eab308;
|
|
160
|
+
--danger: #dc2626;
|
|
161
|
+
|
|
162
|
+
/* ─── Typography ──────────────────────────────────────────────────
|
|
163
|
+
* Universal Sans Display / Universal Sans Text — the custom family
|
|
164
|
+
* that replaced Gotham to unify Tesla's website, mobile app, and
|
|
165
|
+
* vehicle interface. We mirror the published Tesla fallback chain
|
|
166
|
+
* (-apple-system, Arial) so artifacts rendered on non-Tesla clients
|
|
167
|
+
* land on the closest practical substitute. */
|
|
168
|
+
--font-display: "Universal Sans Display", -apple-system, Arial, sans-serif;
|
|
169
|
+
--font-body: "Universal Sans Text", -apple-system, Arial, sans-serif;
|
|
170
|
+
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
171
|
+
|
|
172
|
+
/* Type scale (px) — derived from DESIGN.md §3 hierarchy table.
|
|
173
|
+
* Tesla's reading baseline is 14px (NOT the 16px web norm); nav,
|
|
174
|
+
* body, button, sub-link all sit at 14. Only two tiers break away
|
|
175
|
+
* upward — 22px promo and 40px hero — and DESIGN.md §7 hard-caps
|
|
176
|
+
* web text at 40px ("Don't use text larger than 40px on the web").
|
|
177
|
+
* The 28px mid-display tier honors the §8 mobile hero scale
|
|
178
|
+
* ("hero text scales to ~28px"). */
|
|
179
|
+
--text-xs: 11px; /* micro — fine print below the 14px baseline */
|
|
180
|
+
--text-sm: 12px; /* small UI labels */
|
|
181
|
+
--text-base: 14px; /* Tesla's reading baseline (nav, body, button, link) */
|
|
182
|
+
--text-lg: 16px; /* Category Label — white text on category cards */
|
|
183
|
+
--text-xl: 17px; /* Product Name — model names in nav panel and cards */
|
|
184
|
+
--text-2xl: 22px; /* Promo Text — "0% APR Available" on hero */
|
|
185
|
+
--text-3xl: 28px; /* mid display — mobile hero scale */
|
|
186
|
+
--text-4xl: 40px; /* Hero Title — Tesla's hard display ceiling */
|
|
187
|
+
|
|
188
|
+
/* DESIGN.md §3 hierarchy table: hero 40/48 (1.20), body 14/20
|
|
189
|
+
* (1.43). Two values for the whole system — Tesla's leading
|
|
190
|
+
* envelope is as restrained as its weight set. */
|
|
191
|
+
--leading-body: 1.43; /* SF Pro Text body, 17px */
|
|
192
|
+
--leading-tight: 1.20; /* Hero Title 40/48 */
|
|
193
|
+
|
|
194
|
+
/* DESIGN.md §3 Principles: "'Normal' letter-spacing everywhere.
|
|
195
|
+
* Unlike most modern tech brands that use negative tracking for
|
|
196
|
+
* headlines, Tesla uses default letter-spacing at every level."
|
|
197
|
+
* Most schema brands bind a negative em value here; Tesla
|
|
198
|
+
* deliberately does not. */
|
|
199
|
+
--tracking-display: normal;
|
|
200
|
+
|
|
201
|
+
/* ─── Spacing ─────────────────────────────────────────────────────
|
|
202
|
+
* 8px base grid (DESIGN.md §5). Schema defaults match Tesla's scale
|
|
203
|
+
* exactly — no overrides needed. */
|
|
204
|
+
--space-1: 4px;
|
|
205
|
+
--space-2: 8px;
|
|
206
|
+
--space-3: 12px;
|
|
207
|
+
--space-4: 16px;
|
|
208
|
+
--space-5: 20px;
|
|
209
|
+
--space-6: 24px;
|
|
210
|
+
--space-8: 32px;
|
|
211
|
+
--space-12: 48px;
|
|
212
|
+
|
|
213
|
+
/* ─── Section rhythm ──────────────────────────────────────────────
|
|
214
|
+
* Tesla uses viewport-height sections (DESIGN.md §1 §5) and
|
|
215
|
+
* whitespace as a luxury signal. Token-level padding is the most
|
|
216
|
+
* generous in the schema — 120 desktop is 50% wider than the schema
|
|
217
|
+
* default (80) and 20% wider than Apple's 100. The full-viewport
|
|
218
|
+
* 100vh rhythm itself lives in components. */
|
|
219
|
+
--section-y-desktop: 120px;
|
|
220
|
+
--section-y-tablet: 72px;
|
|
221
|
+
--section-y-phone: 48px;
|
|
222
|
+
|
|
223
|
+
/* ─── Radius ──────────────────────────────────────────────────────
|
|
224
|
+
* DESIGN.md §5 documents Tesla's deliberate three-stop scale:
|
|
225
|
+
* 0px most elements (sharp default)
|
|
226
|
+
* 4px buttons (primary, secondary, nav items)
|
|
227
|
+
* ~12px category cards (the largest sanctioned rounding)
|
|
228
|
+
* 50% carousel dots
|
|
229
|
+
*
|
|
230
|
+
* We bind --radius-sm to 4 (buttons), --radius-md to 12 (category
|
|
231
|
+
* cards), and --radius-lg to 12 as well — Tesla has no softer card
|
|
232
|
+
* tier beyond category. The schema's 16px lg default would invent a
|
|
233
|
+
* silhouette Tesla never uses. Pill stays at 9999 for dots / chips. */
|
|
234
|
+
--radius-sm: 4px; /* buttons — "barely perceptible rounding" */
|
|
235
|
+
--radius-md: 12px; /* category cards — the largest sanctioned */
|
|
236
|
+
--radius-lg: 12px; /* same — Tesla has no third radius tier */
|
|
237
|
+
--radius-pill: 9999px; /* carousel dots, badges */
|
|
238
|
+
|
|
239
|
+
/* ─── Elevation ───────────────────────────────────────────────────
|
|
240
|
+
* DESIGN.md §6: "Tesla's approach to elevation is essentially
|
|
241
|
+
* 'none.'" Three sanctioned levels but flatter than any other
|
|
242
|
+
* schema brand:
|
|
243
|
+
* - flat → none (the default; photography carries depth)
|
|
244
|
+
* - ring → 0 0 0 1px var(--border) (rare border-led containment)
|
|
245
|
+
* - raised → 0 2px 8px rgba(0,0,0,0.05) (DESIGN.md §6 Level 3
|
|
246
|
+
* "Subtle" — minimal shadow hints on rare hover states)
|
|
247
|
+
*
|
|
248
|
+
* The schema default oklab-mix raised reads as Material weight by
|
|
249
|
+
* comparison; Tesla flattens it to the lightest credible value. */
|
|
250
|
+
--elev-flat: none;
|
|
251
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
252
|
+
--elev-raised: 0 2px 8px rgba(0, 0, 0, 0.05);
|
|
253
|
+
|
|
254
|
+
/* ─── Focus ring ──────────────────────────────────────────────────
|
|
255
|
+
* Electric Blue ring at the accent — Tesla's single chromatic
|
|
256
|
+
* signal doubles as the focus halo. Schema default formula is
|
|
257
|
+
* already the correct color through var(--accent). */
|
|
258
|
+
--focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
|
|
259
|
+
|
|
260
|
+
/* ─── Motion ──────────────────────────────────────────────────────
|
|
261
|
+
* DESIGN.md §1 §4 — "0.33s cubic-bezier transitions as the
|
|
262
|
+
* universal timing for all interactive state changes." The
|
|
263
|
+
* documented Tesla Text Link curve is cubic-bezier(0.5, 0, 0,
|
|
264
|
+
* 0.75); we bind that as --ease-standard.
|
|
265
|
+
* - fast → 250ms (the box-shadow micro-state from §4)
|
|
266
|
+
* - base → 330ms (Tesla's universal 0.33s)
|
|
267
|
+
*
|
|
268
|
+
* No brand in the schema runs base this slow; Tesla's "consistency
|
|
269
|
+
* in motion is as important as consistency in color" (DESIGN.md §7)
|
|
270
|
+
* earns the override. */
|
|
271
|
+
--motion-fast: 250ms;
|
|
272
|
+
--motion-base: 330ms;
|
|
273
|
+
--ease-standard: cubic-bezier(0.5, 0, 0, 0.75);
|
|
274
|
+
|
|
275
|
+
/* ─── Layout ──────────────────────────────────────────────────────
|
|
276
|
+
* DESIGN.md §5: "Max width: approximately 1383px (full viewport
|
|
277
|
+
* width used for most content)." We keep the literal value rather
|
|
278
|
+
* than collapse to a rounder number — the figure itself is a Tesla
|
|
279
|
+
* artifact. Gutters step 24 → 16 → 12 on a clean 8px scale; mobile
|
|
280
|
+
* keeps horizontal padding tight so photography stays full-bleed. */
|
|
281
|
+
--container-max: 1383px;
|
|
282
|
+
--container-gutter-desktop: 24px;
|
|
283
|
+
--container-gutter-tablet: 16px;
|
|
284
|
+
--container-gutter-phone: 12px;
|
|
285
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# Design System Inspired by Tetris
|
|
2
|
+
|
|
3
|
+
> Category: Themed & Unique
|
|
4
|
+
> Classic block-game inspired design with playful colors, bold display fonts, and compact, high-energy layouts.
|
|
5
|
+
|
|
6
|
+
## 1. Visual Theme & Atmosphere
|
|
7
|
+
|
|
8
|
+
Classic block-game inspired design with playful colors, bold display fonts, and compact, high-energy layouts.
|
|
9
|
+
|
|
10
|
+
- **Visual style:** high-contrast, playful, premium
|
|
11
|
+
- **Color stance:** primary, secondary, success, warning, danger, info
|
|
12
|
+
- **Design intent:** Keep outputs recognizable to this style family while preserving usability and readability.
|
|
13
|
+
|
|
14
|
+
## 2. Color
|
|
15
|
+
|
|
16
|
+
- **Primary:** `#1C202B` — Token from style foundations.
|
|
17
|
+
- **Secondary:** `#7107E7` — Token from style foundations.
|
|
18
|
+
- **Success:** `#16A34A` — Token from style foundations.
|
|
19
|
+
- **Warning:** `#D97706` — Token from style foundations.
|
|
20
|
+
- **Danger:** `#DC2626` — Token from style foundations.
|
|
21
|
+
- **Surface:** `#DFE7FF` — Token from style foundations.
|
|
22
|
+
- **Text:** `#1C398E` — Token from style foundations.
|
|
23
|
+
- **Neutral:** `#DFE7FF` — Derived from the surface token for official format compatibility.
|
|
24
|
+
|
|
25
|
+
- Favor Primary (#1C202B) for CTA emphasis.
|
|
26
|
+
- Use Surface (#DFE7FF) for large backgrounds and cards.
|
|
27
|
+
- Keep body copy on Text (#1C398E) for legibility.
|
|
28
|
+
|
|
29
|
+
## 3. Typography
|
|
30
|
+
|
|
31
|
+
- **Scale:** desktop-first expressive scale
|
|
32
|
+
- **Families:** primary=Bangers, display=Bangers, mono=JetBrains Mono
|
|
33
|
+
- **Weights:** 100, 200, 300, 400, 500, 600, 700, 800, 900
|
|
34
|
+
- Headings should carry the style personality; body text should optimize scanability and contrast.
|
|
35
|
+
|
|
36
|
+
## 4. Spacing & Grid
|
|
37
|
+
|
|
38
|
+
- **Spacing scale:** compact density mode
|
|
39
|
+
- Keep vertical rhythm consistent across sections and components.
|
|
40
|
+
- Align columns and modules to a predictable grid; avoid ad-hoc offsets.
|
|
41
|
+
|
|
42
|
+
## 5. Layout & Composition
|
|
43
|
+
|
|
44
|
+
- Prefer clear content blocks with consistent internal padding.
|
|
45
|
+
- Keep hierarchy obvious: headline → support text → primary action.
|
|
46
|
+
- Use whitespace to separate concerns before adding borders or shadows.
|
|
47
|
+
|
|
48
|
+
## 6. Components
|
|
49
|
+
|
|
50
|
+
- Buttons: primary action uses `#1C202B`; secondary actions stay neutral.
|
|
51
|
+
- Inputs: strong focus-visible states, clear labels, and predictable error messaging.
|
|
52
|
+
- Cards/sections: use consistent radii, spacing, and elevation strategy across the page.
|
|
53
|
+
|
|
54
|
+
## 7. Motion & Interaction
|
|
55
|
+
|
|
56
|
+
- Use subtle transitions that emphasize Primary (#1C202B) as the interaction signal.
|
|
57
|
+
- Default to short, purposeful transitions (150–250ms) with stable easing.
|
|
58
|
+
- Ensure hover, focus-visible, active, disabled, and loading states are explicit.
|
|
59
|
+
|
|
60
|
+
## 8. Voice & Brand
|
|
61
|
+
|
|
62
|
+
- Tone should reflect the visual style: concise, confident, and product-specific.
|
|
63
|
+
- Keep microcopy action-oriented and avoid generic filler language.
|
|
64
|
+
- Preserve the style identity in headlines while keeping UI labels literal and clear.
|
|
65
|
+
|
|
66
|
+
## 9. Anti-patterns
|
|
67
|
+
|
|
68
|
+
- Do not introduce off-palette colors when an existing token can solve the problem.
|
|
69
|
+
- Do not flatten hierarchy by using the same type size/weight for all text.
|
|
70
|
+
- Do not add decorative effects that reduce readability or accessibility.
|
|
71
|
+
- Do not mix unrelated visual metaphors in the same interface.
|