@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,255 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────────────
|
|
2
|
+
* design-systems/binance/tokens.css
|
|
3
|
+
*
|
|
4
|
+
* Structured token bindings for "Design System Inspired by Binance.US"
|
|
5
|
+
* — the polished urgency of a crypto trading floor: white surfaces and
|
|
6
|
+
* deep near-black `#222126` panels alternating in rhythm, Binance Yellow
|
|
7
|
+
* `#F0B90B` cutting through the monochrome as the single brand signal,
|
|
8
|
+
* BinancePlex headlines that carry proprietary gravitas, pill-shaped CTAs
|
|
9
|
+
* (50px+ radius) demanding attention, and whisper-light 5%-opacity card
|
|
10
|
+
* shadows that ground floating surfaces without ever feeling decorative.
|
|
11
|
+
*
|
|
12
|
+
* This file pre-compiles the values described in `DESIGN.md` into the
|
|
13
|
+
* shared schema. Agents generating a Binance-flavored artifact should
|
|
14
|
+
* paste the `:root { … }` block verbatim into the first `<style>` of
|
|
15
|
+
* the artifact, then reference every value through `var(--name)`.
|
|
16
|
+
*
|
|
17
|
+
* Brand-specific schema decisions (each one bends a schema convention
|
|
18
|
+
* to match Binance's voice rather than the cross-brand default):
|
|
19
|
+
*
|
|
20
|
+
* 1. `--accent` is Binance Yellow (`#F0B90B`) — the singular point
|
|
21
|
+
* of brand color. DESIGN.md §7 is unambiguous: "Don't introduce
|
|
22
|
+
* additional brand colors — Binance Yellow is the only accent;
|
|
23
|
+
* all other color is data-driven (green up, red down)". The
|
|
24
|
+
* yellow lives inside a system of cold neutrals on purpose;
|
|
25
|
+
* every CTA, link, and active state resolves to this one value.
|
|
26
|
+
*
|
|
27
|
+
* 2. `--accent-on` is Ink (`#1E2026`), not white. Yellow on white
|
|
28
|
+
* text would smear; yellow on near-black text is the high-contrast
|
|
29
|
+
* pairing DESIGN.md §4 documents for every primary button.
|
|
30
|
+
*
|
|
31
|
+
* 3. `--accent-hover` is Focus Blue (`#1EAEDB`), NOT a darker yellow.
|
|
32
|
+
* DESIGN.md §4 explicitly defines the hover for every interactive
|
|
33
|
+
* yellow surface as "shifts to Focus Blue with white text" — the
|
|
34
|
+
* hue change IS the brand interaction. The hovered button's text
|
|
35
|
+
* becomes white (component-level override), not Ink. This is the
|
|
36
|
+
* single most counter-intuitive token in the file; rebinding to
|
|
37
|
+
* a yellow-darken mix erases Binance's signature hover.
|
|
38
|
+
*
|
|
39
|
+
* 4. `--accent-active` is Active Yellow (`#D0980B`) — the documented
|
|
40
|
+
* "clicked" gold from DESIGN.md §2, hand-picked rather than
|
|
41
|
+
* formula-derived so the pressed state stays warm rather than
|
|
42
|
+
* shifting cool with the hover.
|
|
43
|
+
*
|
|
44
|
+
* 5. Foreground ramp binds the full four-tier neutral scale from
|
|
45
|
+
* DESIGN.md §2: Ink `#1E2026` (primary), Secondary `#32313A`
|
|
46
|
+
* (nav links / descriptive copy), Slate `#848E9C` (the workhorse
|
|
47
|
+
* grey for metadata / timestamps), Muted `#777E90` (secondary
|
|
48
|
+
* nav / less-prominent footer text). Binance genuinely uses four
|
|
49
|
+
* distinct text tiers across trading dashboards, so `--fg-2` and
|
|
50
|
+
* `--meta` are independently bound, not aliased.
|
|
51
|
+
*
|
|
52
|
+
* 6. `--surface-warm` is Snow (`#F5F5F5`) — DESIGN.md §2 calls it
|
|
53
|
+
* out as the "subtle surface differentiation, input backgrounds,
|
|
54
|
+
* alternating row fills" tier. Bound independently (not aliased
|
|
55
|
+
* to `--surface`) because dense data tables use it to visually
|
|
56
|
+
* stripe rows without introducing a border weight.
|
|
57
|
+
*
|
|
58
|
+
* 7. `--success` is Crypto Green (`#0ECB81`) and `--danger` is
|
|
59
|
+
* Crypto Red (`#F6465D`) — these are not generic semantic
|
|
60
|
+
* colors, they are the bull/bear price-movement signals that
|
|
61
|
+
* define the entire crypto-trading visual language. Binding the
|
|
62
|
+
* schema slots to the documented brand values keeps semantic
|
|
63
|
+
* pills, badges, and tickers on-brand without per-component
|
|
64
|
+
* overrides.
|
|
65
|
+
*
|
|
66
|
+
* 8. Type scale tops out at 60px (`--text-4xl`). DESIGN.md §3
|
|
67
|
+
* caps Display Hero at 60px / 700 with line-height 1.08 — the
|
|
68
|
+
* ceiling expresses authority through weight, not size. Smaller
|
|
69
|
+
* tiers map directly to the documented hierarchy table:
|
|
70
|
+
* 11 / 14 / 16 / 20 / 24 / 28 / 34 / 60.
|
|
71
|
+
*
|
|
72
|
+
* 9. `--leading-tight` is `1.0`, not the schema's 1.2. DESIGN.md §3
|
|
73
|
+
* explicitly sets headings 1–4 to line-height 1.00 ("stacked,
|
|
74
|
+
* compressed feel that mirrors the density of trading
|
|
75
|
+
* dashboards"). `--tracking-display` is `0` — the brand uses
|
|
76
|
+
* weight (600–700) and size, not negative letter-spacing.
|
|
77
|
+
*
|
|
78
|
+
* 10. `--radius-pill` is `9999px`, not the literal 50px DESIGN.md
|
|
79
|
+
* cites for CTAs. 9999 is the schema convention for "always
|
|
80
|
+
* fully rounded"; both values render identically at any button
|
|
81
|
+
* height below 4998px tall, and 9999 is what other brands ship.
|
|
82
|
+
*
|
|
83
|
+
* 11. `--elev-raised` is the literal "whisper" card shadow from
|
|
84
|
+
* DESIGN.md §6 — `0 3px 5px 0 rgba(32, 32, 37, 0.05)`. At 5%
|
|
85
|
+
* opacity the shadow is barely perceptible by design; DESIGN.md
|
|
86
|
+
* §6 calls heavier shadows "frivolous" for a financial platform.
|
|
87
|
+
* Components that hover-elevate (per DESIGN.md §4) inline the
|
|
88
|
+
* richer `rgba(8, 8, 8, 0.05) 0 3px 5px 5px` variant.
|
|
89
|
+
*
|
|
90
|
+
* 12. `--focus-ring` is a SOLID 2px Focus Blue (`#1EAEDB`) ring, NOT
|
|
91
|
+
* the schema's accent-tinted alpha glow. DESIGN.md §2 specifies
|
|
92
|
+
* Focus Blue as the universal "Accessibility focus state" color
|
|
93
|
+
* for all interactive elements — reproducing it as a sharp 2px
|
|
94
|
+
* box-shadow keeps keyboard focus razor-legible against either
|
|
95
|
+
* white or `#222126` surfaces.
|
|
96
|
+
*
|
|
97
|
+
* 13. Section rhythm is 80 / 48 / 32 (`--section-y-*`). DESIGN.md §5
|
|
98
|
+
* lists `space-10: 80px` as "Large section spacing" and `space-8:
|
|
99
|
+
* 48px` as "Major section padding" — the desktop hero gets the
|
|
100
|
+
* 80px tier, tablet collapses to 48px, phone tightens to 32px.
|
|
101
|
+
* Container caps at 1200px per DESIGN.md §5; gutters compress
|
|
102
|
+
* 32 → 16 → 16 (DESIGN.md mobile = 16, no separate tablet step).
|
|
103
|
+
*
|
|
104
|
+
* Brand-specific extensions (Layer C): none. Crypto Green / Red /
|
|
105
|
+
* Focus Blue / Dark Card `#2B2F36` / Binance Dark `#222126` are used
|
|
106
|
+
* as inline expressions in components.html where dark sections and
|
|
107
|
+
* price-ticker tints are rendered. They are not promoted to shared
|
|
108
|
+
* tokens because no cross-brand component needs to reference them by
|
|
109
|
+
* name — DESIGN.md §7 forbids dark-section colorization in shared
|
|
110
|
+
* components anyway.
|
|
111
|
+
* ─────────────────────────────────────────────────────────────────── */
|
|
112
|
+
|
|
113
|
+
:root {
|
|
114
|
+
/* ─── Surface (3 levels) ──────────────────────────────────────────
|
|
115
|
+
* Pure white canvas for trust, Snow for input fields and alternating
|
|
116
|
+
* data-table rows. Dark sections (`#222126`) are component-scoped:
|
|
117
|
+
* shared components stay light-canvas; sections that flip dark
|
|
118
|
+
* carry their own inline backgrounds. */
|
|
119
|
+
--bg: #ffffff; /* Pure White — primary page canvas */
|
|
120
|
+
--surface: #ffffff; /* White cards on light sections */
|
|
121
|
+
--surface-warm: #f5f5f5; /* Snow — input bg, alternating rows */
|
|
122
|
+
|
|
123
|
+
/* ─── Foreground ramp (4 tiers) ──────────────────────────────────
|
|
124
|
+
* Four distinct text tiers from DESIGN.md §2 — Ink for headings,
|
|
125
|
+
* Secondary for nav links, Slate for metadata (the workhorse grey),
|
|
126
|
+
* Muted for tertiary nav and quiet footer text. */
|
|
127
|
+
--fg: #1e2026; /* Ink — primary text, headings */
|
|
128
|
+
--fg-2: #32313a; /* Secondary — nav links, descriptive copy */
|
|
129
|
+
--muted: #848e9c; /* Slate — metadata, timestamps, captions */
|
|
130
|
+
--meta: #777e90; /* Muted — tertiary nav, footer text */
|
|
131
|
+
|
|
132
|
+
/* ─── Border (2 levels) ──────────────────────────────────────────
|
|
133
|
+
* One light border tier for cards and forms; a softer inner tier
|
|
134
|
+
* for row separators in dense data tables that must not compete
|
|
135
|
+
* with the card edge. */
|
|
136
|
+
--border: #e6e8ea; /* Border Light — cards, inputs, sections */
|
|
137
|
+
--border-soft: #f0f1f2; /* Softer inner row separator */
|
|
138
|
+
|
|
139
|
+
/* ─── Accent ─────────────────────────────────────────────────────
|
|
140
|
+
* The signature. Binance Yellow is the ONE non-neutral color in
|
|
141
|
+
* the system — every primary CTA, every brand accent, every active
|
|
142
|
+
* state resolves here. DESIGN.md §7 forbids introducing additional
|
|
143
|
+
* brand colors. */
|
|
144
|
+
--accent: #f0b90b; /* Binance Yellow */
|
|
145
|
+
--accent-on: #1e2026; /* Ink — high-contrast label on yellow */
|
|
146
|
+
--accent-hover: #1eaedb; /* Focus Blue — DESIGN.md §4 hover hue-shift */
|
|
147
|
+
--accent-active: #d0980b; /* Active Yellow — pressed state */
|
|
148
|
+
|
|
149
|
+
/* ─── Semantic ───────────────────────────────────────────────────
|
|
150
|
+
* Crypto-native semantics: green is "up", red is "down". These are
|
|
151
|
+
* the bull/bear price-movement signals, not generic status colors,
|
|
152
|
+
* and they bind directly to the shared semantic slots so tickers
|
|
153
|
+
* and badges resolve on-brand without overrides. */
|
|
154
|
+
--success: #0ecb81; /* Crypto Green — up indicators */
|
|
155
|
+
--warn: #eab308; /* schema default — DESIGN.md has no warn tier */
|
|
156
|
+
--danger: #f6465d; /* Crypto Red — down indicators */
|
|
157
|
+
|
|
158
|
+
/* ─── Typography ─────────────────────────────────────────────────
|
|
159
|
+
* BinancePlex is the custom proprietary face; Arial is the
|
|
160
|
+
* documented fallback (DESIGN.md §3 — "replaced DIN Next to solve
|
|
161
|
+
* multi-language spacing issues"). Display and body share the
|
|
162
|
+
* stack; weight (500–700) and size carry the entire hierarchy. */
|
|
163
|
+
--font-display: BinancePlex, Arial, sans-serif;
|
|
164
|
+
--font-body: BinancePlex, Arial, sans-serif;
|
|
165
|
+
--font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
166
|
+
|
|
167
|
+
/* Type scale (px) — direct mapping of DESIGN.md §3 hierarchy:
|
|
168
|
+
* 11 (Tiny) / 14 (Caption) / 16 (Body) / 20 (H4, Body Large) /
|
|
169
|
+
* 24 (H2/H3) / 28 (H1) / 34 (Display Secondary) / 60 (Display Hero).
|
|
170
|
+
* The 12px Small tier is collapsed into 11px (--text-xs); the 14.4px
|
|
171
|
+
* Button Small variant is inlined per-component. */
|
|
172
|
+
--text-xs: 11px; /* Tiny — micro-labels, chart annotations */
|
|
173
|
+
--text-sm: 14px; /* Caption — metadata, prices, button-small */
|
|
174
|
+
--text-base: 16px; /* Body — standard reading text, buttons */
|
|
175
|
+
--text-lg: 20px; /* Body Large / Heading 4 — card titles */
|
|
176
|
+
--text-xl: 24px; /* Heading 2 / Heading 3 — feature headings */
|
|
177
|
+
--text-2xl: 28px; /* Heading 1 — major section headings */
|
|
178
|
+
--text-3xl: 34px; /* Display Secondary — section titles on dark */
|
|
179
|
+
--text-4xl: 60px; /* Display Hero — maximum impact */
|
|
180
|
+
|
|
181
|
+
/* Leading & tracking — DESIGN.md §3 sets headings at 1.00 line-height
|
|
182
|
+
* (the "stacked, compressed feel that mirrors trading-dashboard
|
|
183
|
+
* density"). Body opens to 1.5 for reading. No letter-spacing on
|
|
184
|
+
* display — weight and size carry authority, not tracking. */
|
|
185
|
+
--leading-body: 1.5;
|
|
186
|
+
--leading-tight: 1.0;
|
|
187
|
+
--tracking-display: 0;
|
|
188
|
+
|
|
189
|
+
/* ─── Spacing ────────────────────────────────────────────────────
|
|
190
|
+
* 8px base unit per DESIGN.md §5. 4/8/12/16/20/24/32/48 covers the
|
|
191
|
+
* structural ladder; the 64px/80px hero/section tiers live in
|
|
192
|
+
* --section-y-* below. */
|
|
193
|
+
--space-1: 4px;
|
|
194
|
+
--space-2: 8px;
|
|
195
|
+
--space-3: 12px;
|
|
196
|
+
--space-4: 16px;
|
|
197
|
+
--space-5: 20px;
|
|
198
|
+
--space-6: 24px;
|
|
199
|
+
--space-8: 32px;
|
|
200
|
+
--space-12: 48px;
|
|
201
|
+
|
|
202
|
+
/* Section rhythm — DESIGN.md §5 "Large section spacing" 80px desktop,
|
|
203
|
+
* "Major section padding" 48px tablet, "Section breaks" 32px phone.
|
|
204
|
+
* The alternating light/dark rhythm DESIGN.md §1 calls out is handled
|
|
205
|
+
* per-section in components.html, not at the token level. */
|
|
206
|
+
--section-y-desktop: 80px;
|
|
207
|
+
--section-y-tablet: 48px;
|
|
208
|
+
--section-y-phone: 32px;
|
|
209
|
+
|
|
210
|
+
/* ─── Radius ─────────────────────────────────────────────────────
|
|
211
|
+
* DESIGN.md §5 scale: 1/2/6/8/10/12/24/50. We bind: 8 (form inputs,
|
|
212
|
+
* data cards), 12 (content cards — the polished-but-not-overly-
|
|
213
|
+
* rounded middle), 24 (hero/video containers), 9999 (pill CTAs —
|
|
214
|
+
* DESIGN.md cites 50px but 9999 is the schema's "always full"
|
|
215
|
+
* convention and renders identically). */
|
|
216
|
+
--radius-sm: 8px; /* Form inputs, data cards */
|
|
217
|
+
--radius-md: 12px; /* Content cards, feature containers */
|
|
218
|
+
--radius-lg: 24px; /* Hero imagery, video containers */
|
|
219
|
+
--radius-pill: 9999px; /* Pill CTAs — the signature interactive shape */
|
|
220
|
+
|
|
221
|
+
/* ─── Elevation (3 levels) ───────────────────────────────────────
|
|
222
|
+
* Whisper-light: DESIGN.md §6 caps card shadows at 5% opacity ("in
|
|
223
|
+
* a financial context, heavy shadows feel frivolous"). The raised
|
|
224
|
+
* shadow is the documented resting-state card; hover-elevated and
|
|
225
|
+
* pill-CTA shadows are component-scoped because they layer on top
|
|
226
|
+
* of the base. */
|
|
227
|
+
--elev-flat: none;
|
|
228
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
229
|
+
--elev-raised: 0 3px 5px 0 rgba(32, 32, 37, 0.05);
|
|
230
|
+
|
|
231
|
+
/* ─── Focus ring ─────────────────────────────────────────────────
|
|
232
|
+
* Focus Blue (`#1EAEDB`) per DESIGN.md §2 — the universal a11y
|
|
233
|
+
* focus state for every interactive surface. Sharp 2px solid, not
|
|
234
|
+
* a soft halo; trading platforms need unambiguous keyboard focus. */
|
|
235
|
+
--focus-ring: 0 0 0 2px #1eaedb;
|
|
236
|
+
|
|
237
|
+
/* ─── Motion ─────────────────────────────────────────────────────
|
|
238
|
+
* DESIGN.md §7 Don't list: "Don't add animation beyond subtle
|
|
239
|
+
* transitions (200ms ease) — financial platforms need stability".
|
|
240
|
+
* The brand voice is precision, not choreography. */
|
|
241
|
+
--motion-fast: 150ms;
|
|
242
|
+
--motion-base: 200ms;
|
|
243
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
244
|
+
|
|
245
|
+
/* ─── Layout ─────────────────────────────────────────────────────
|
|
246
|
+
* 1200px max content width per DESIGN.md §5. Desktop gutter 32px
|
|
247
|
+
* (DESIGN.md "Horizontal padding: 32px desktop"); mobile 16px
|
|
248
|
+
* (DESIGN.md "16px mobile"); tablet sits at 16px because DESIGN.md
|
|
249
|
+
* does not define a separate tablet gutter — better to match
|
|
250
|
+
* mobile than over-extend the container on narrow screens. */
|
|
251
|
+
--container-max: 1200px;
|
|
252
|
+
--container-gutter-desktop: 32px;
|
|
253
|
+
--container-gutter-tablet: 16px;
|
|
254
|
+
--container-gutter-phone: 16px;
|
|
255
|
+
}
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
# Design System Inspired by BMW
|
|
2
|
+
|
|
3
|
+
> Category: Automotive
|
|
4
|
+
> Luxury automotive. Dark premium surfaces, precise German engineering aesthetic.
|
|
5
|
+
|
|
6
|
+
## 1. Visual Theme & Atmosphere
|
|
7
|
+
|
|
8
|
+
BMW's website is automotive engineering made visual — a design system that communicates precision, performance, and German industrial confidence. The page alternates between deep dark hero sections (featuring full-bleed automotive photography) and clean white content areas, creating a cinematic rhythm reminiscent of a luxury car showroom where vehicles are lit against darkness. The BMW CI2020 design language (their corporate identity refresh) defines every element.
|
|
9
|
+
|
|
10
|
+
The typography is built on BMWTypeNextLatin — a proprietary typeface in two variants: BMWTypeNextLatin Light (weight 300) for massive uppercase display headings, and BMWTypeNextLatin Regular for body and UI text. The 60px uppercase headline at weight 300 is the defining typographic gesture — light-weight type that whispers authority rather than shouting it. The fallback stack includes Helvetica and Japanese fonts (Hiragino, Meiryo), reflecting BMW's global presence.
|
|
11
|
+
|
|
12
|
+
What makes BMW distinctive is its CSS variable-driven theming system. Context-aware variables (`--site-context-highlight-color: #1c69d4`, `--site-context-focus-color: #0653b6`, `--site-context-metainfo-color: #757575`) suggest a design system built for multi-brand, multi-context deployment where colors can be swapped globally. The blue highlight color (`#1c69d4`) is BMW's signature blue — used sparingly for interactive elements and focus states, never decoratively. Zero border-radius was detected — BMW's design is angular, sharp-cornered, and uncompromisingly geometric.
|
|
13
|
+
|
|
14
|
+
**Key Characteristics:**
|
|
15
|
+
- BMWTypeNextLatin Light (weight 300) uppercase for display — whispered authority
|
|
16
|
+
- BMW Blue (`#1c69d4`) as singular accent — used only for interactive elements
|
|
17
|
+
- Zero border-radius detected — angular, sharp-cornered, industrial geometry
|
|
18
|
+
- Dark hero photography + white content sections — showroom lighting rhythm
|
|
19
|
+
- CSS variable-driven theming: `--site-context-*` tokens for brand flexibility
|
|
20
|
+
- Weight 900 for navigation emphasis — extreme contrast with 300 display
|
|
21
|
+
- Tight line-heights (1.15–1.30) throughout — compressed, efficient, German engineering
|
|
22
|
+
- Full-bleed automotive photography as primary visual content
|
|
23
|
+
|
|
24
|
+
## 2. Color Palette & Roles
|
|
25
|
+
|
|
26
|
+
### Primary Brand
|
|
27
|
+
- **Pure White** (`#ffffff`): `--site-context-theme-color`, primary surface, card backgrounds
|
|
28
|
+
- **BMW Blue** (`#1c69d4`): `--site-context-highlight-color`, primary interactive accent
|
|
29
|
+
- **BMW Focus Blue** (`#0653b6`): `--site-context-focus-color`, keyboard focus and active states
|
|
30
|
+
|
|
31
|
+
### Neutral Scale
|
|
32
|
+
- **Near Black** (`#262626`): Primary text on light surfaces, dark link text
|
|
33
|
+
- **Meta Gray** (`#757575`): `--site-context-metainfo-color`, secondary text, metadata
|
|
34
|
+
- **Silver** (`#bbbbbb`): Tertiary text, muted links, footer elements
|
|
35
|
+
|
|
36
|
+
### Interactive States
|
|
37
|
+
- All links hover to white (`#ffffff`) — suggesting primarily dark-surface navigation
|
|
38
|
+
- Text links use underline: none on hover — clean interaction
|
|
39
|
+
|
|
40
|
+
### Shadows
|
|
41
|
+
- Minimal shadow system — depth through photography and dark/light section contrast
|
|
42
|
+
|
|
43
|
+
## 3. Typography Rules
|
|
44
|
+
|
|
45
|
+
### Font Families
|
|
46
|
+
- **Display Light**: `BMWTypeNextLatin Light`, fallbacks: `Helvetica, Arial, Hiragino Kaku Gothic ProN, Hiragino Sans, Meiryo`
|
|
47
|
+
- **Body / UI**: `BMWTypeNextLatin`, same fallback stack
|
|
48
|
+
|
|
49
|
+
### Hierarchy
|
|
50
|
+
|
|
51
|
+
| Role | Font | Size | Weight | Line Height | Notes |
|
|
52
|
+
|------|------|------|--------|-------------|-------|
|
|
53
|
+
| Display Hero | BMWTypeNextLatin Light | 60px (3.75rem) | 300 | 1.30 (tight) | `text-transform: uppercase` |
|
|
54
|
+
| Section Heading | BMWTypeNextLatin | 32px (2.00rem) | 400 | 1.30 (tight) | Major section titles |
|
|
55
|
+
| Nav Emphasis | BMWTypeNextLatin | 18px (1.13rem) | 900 | 1.30 (tight) | Navigation bold items |
|
|
56
|
+
| Body | BMWTypeNextLatin | 16px (1.00rem) | 400 | 1.15 (tight) | Standard body text |
|
|
57
|
+
| Button Bold | BMWTypeNextLatin | 16px (1.00rem) | 700 | 1.20–2.88 | CTA buttons |
|
|
58
|
+
| Button | BMWTypeNextLatin | 16px (1.00rem) | 400 | 1.15 (tight) | Standard buttons |
|
|
59
|
+
|
|
60
|
+
### Principles
|
|
61
|
+
- **Light display, heavy navigation**: Weight 300 for hero headlines creates whispered elegance; weight 900 for navigation creates stark authority. This extreme weight contrast (300 vs 900) is the signature typographic tension.
|
|
62
|
+
- **Universal uppercase display**: The 60px hero is always uppercase — creating a monumental, architectural quality.
|
|
63
|
+
- **Tight everything**: Line-heights from 1.15 to 1.30 across the entire system. Nothing breathes — every line is compressed, efficient, German-engineered.
|
|
64
|
+
- **Single font family**: BMWTypeNextLatin handles everything from 60px display to 16px body — unity through one typeface at different weights.
|
|
65
|
+
|
|
66
|
+
## 4. Component Stylings
|
|
67
|
+
|
|
68
|
+
### Buttons
|
|
69
|
+
- Text: 16px BMWTypeNextLatin, weight 700 for primary, 400 for secondary
|
|
70
|
+
- Line-height: 1.15–2.88 (large variation suggests padding-driven sizing)
|
|
71
|
+
- Border: white bottom-border on dark surfaces (`1px solid #ffffff`)
|
|
72
|
+
- No border-radius — sharp rectangular buttons
|
|
73
|
+
|
|
74
|
+
### Cards & Containers
|
|
75
|
+
- No border-radius — all containers are sharp-cornered rectangles
|
|
76
|
+
- White backgrounds on light sections
|
|
77
|
+
- Dark backgrounds for hero/feature sections
|
|
78
|
+
- No visible borders on most elements
|
|
79
|
+
|
|
80
|
+
### Navigation
|
|
81
|
+
- BMWTypeNextLatin 18px weight 900 for primary nav links
|
|
82
|
+
- White text on dark header
|
|
83
|
+
- BMW logo 54x54px
|
|
84
|
+
- Hover: remains white, text-decoration none
|
|
85
|
+
- "Home" text link in header
|
|
86
|
+
|
|
87
|
+
### Image Treatment
|
|
88
|
+
- Full-bleed automotive photography
|
|
89
|
+
- Dark cinematic lighting
|
|
90
|
+
- Edge-to-edge hero images
|
|
91
|
+
- Car photography as primary visual content
|
|
92
|
+
|
|
93
|
+
## 5. Layout Principles
|
|
94
|
+
|
|
95
|
+
### Spacing System
|
|
96
|
+
- Base unit: 8px
|
|
97
|
+
- Scale: 1px, 5px, 8px, 10px, 12px, 15px, 16px, 20px, 24px, 30px, 32px, 40px, 45px, 56px, 60px
|
|
98
|
+
|
|
99
|
+
### Grid & Container
|
|
100
|
+
- Full-width hero photography
|
|
101
|
+
- Centered content sections
|
|
102
|
+
- Footer: multi-column link grid
|
|
103
|
+
|
|
104
|
+
### Whitespace Philosophy
|
|
105
|
+
- **Showroom pacing**: Dark hero sections with generous padding create the feeling of walking through a showroom where each vehicle is spotlit in its own space.
|
|
106
|
+
- **Compressed content**: Body text areas use tight line-heights and compact spacing — information-dense, no waste.
|
|
107
|
+
|
|
108
|
+
### Border Radius Scale
|
|
109
|
+
- **None detected.** BMW uses sharp corners exclusively — every element is a precise rectangle. This is the most angular design system analyzed.
|
|
110
|
+
|
|
111
|
+
## 6. Depth & Elevation
|
|
112
|
+
|
|
113
|
+
| Level | Treatment | Use |
|
|
114
|
+
|-------|-----------|-----|
|
|
115
|
+
| Photography (Level 0) | Full-bleed dark imagery | Hero backgrounds |
|
|
116
|
+
| Flat (Level 1) | White surface, no shadow | Content sections |
|
|
117
|
+
| Focus (Accessibility) | BMW Focus Blue (`#0653b6`) | Focus states |
|
|
118
|
+
|
|
119
|
+
**Shadow Philosophy**: BMW uses virtually no shadows. Depth is created entirely through the contrast between dark photographic sections and white content sections — the automotive lighting does the elevation work.
|
|
120
|
+
|
|
121
|
+
## 7. Do's and Don'ts
|
|
122
|
+
|
|
123
|
+
### Do
|
|
124
|
+
- Use BMWTypeNextLatin Light (300) uppercase for all display headings
|
|
125
|
+
- Keep ALL corners sharp (0px radius) — angular geometry is non-negotiable
|
|
126
|
+
- Use BMW Blue (`#1c69d4`) only for interactive elements — never decoratively
|
|
127
|
+
- Apply weight 900 for navigation emphasis — the extreme weight contrast is intentional
|
|
128
|
+
- Use full-bleed automotive photography for hero sections
|
|
129
|
+
- Keep line-heights tight (1.15–1.30) throughout
|
|
130
|
+
- Use `--site-context-*` CSS variables for theming
|
|
131
|
+
|
|
132
|
+
### Don't
|
|
133
|
+
- Don't round corners — zero radius is the BMW identity
|
|
134
|
+
- Don't use BMW Blue for backgrounds or large surfaces — it's an accent only
|
|
135
|
+
- Don't use medium font weights (500–600) — the system uses 300, 400, 700, 900 extremes
|
|
136
|
+
- Don't add decorative elements — the photography and typography carry everything
|
|
137
|
+
- Don't use relaxed line-heights — BMW text is always compressed
|
|
138
|
+
- Don't lighten the dark hero sections — the contrast with white IS the design
|
|
139
|
+
|
|
140
|
+
## 8. Responsive Behavior
|
|
141
|
+
|
|
142
|
+
### Breakpoints
|
|
143
|
+
| Name | Width | Key Changes |
|
|
144
|
+
|------|-------|-------------|
|
|
145
|
+
| Mobile Small | <375px | Minimum supported |
|
|
146
|
+
| Mobile | 375–480px | Single column |
|
|
147
|
+
| Mobile Large | 480–640px | Slight adjustments |
|
|
148
|
+
| Tablet Small | 640–768px | 2-column begins |
|
|
149
|
+
| Tablet | 768–920px | Standard tablet |
|
|
150
|
+
| Desktop Small | 920–1024px | Desktop layout begins |
|
|
151
|
+
| Desktop | 1024–1280px | Standard desktop |
|
|
152
|
+
| Large Desktop | 1280–1440px | Expanded |
|
|
153
|
+
| Ultra-wide | 1440–1600px | Maximum layout |
|
|
154
|
+
|
|
155
|
+
### Collapsing Strategy
|
|
156
|
+
- Hero: 60px → scales down, maintains uppercase
|
|
157
|
+
- Navigation: horizontal → hamburger
|
|
158
|
+
- Photography: full-bleed maintained at all sizes
|
|
159
|
+
- Content sections: stack vertically
|
|
160
|
+
- Footer: multi-column → stacked
|
|
161
|
+
|
|
162
|
+
## 9. Agent Prompt Guide
|
|
163
|
+
|
|
164
|
+
### Quick Color Reference
|
|
165
|
+
- Background: Pure White (`#ffffff`)
|
|
166
|
+
- Text: Near Black (`#262626`)
|
|
167
|
+
- Secondary text: Meta Gray (`#757575`)
|
|
168
|
+
- Accent: BMW Blue (`#1c69d4`)
|
|
169
|
+
- Focus: BMW Focus Blue (`#0653b6`)
|
|
170
|
+
- Muted: Silver (`#bbbbbb`)
|
|
171
|
+
|
|
172
|
+
### Example Component Prompts
|
|
173
|
+
- "Create a hero: full-width dark automotive photography background. Heading at 60px BMWTypeNextLatin Light weight 300, uppercase, line-height 1.30, white text. No border-radius anywhere."
|
|
174
|
+
- "Design navigation: dark background. BMWTypeNextLatin 18px weight 900 for links, white text. BMW logo 54x54. Sharp rectangular layout."
|
|
175
|
+
- "Build a button: 16px BMWTypeNextLatin weight 700, line-height 1.20. Sharp corners (0px radius). White bottom border on dark surface."
|
|
176
|
+
- "Create content section: white background. Heading at 32px weight 400, line-height 1.30, #262626. Body at 16px weight 400, line-height 1.15."
|
|
177
|
+
|
|
178
|
+
### Iteration Guide
|
|
179
|
+
1. Zero border-radius — every corner is sharp, no exceptions
|
|
180
|
+
2. Weight extremes: 300 (display), 400 (body), 700 (buttons), 900 (nav)
|
|
181
|
+
3. BMW Blue for interactive only — never as background or decoration
|
|
182
|
+
4. Photography carries emotion — the UI is pure precision
|
|
183
|
+
5. Tight line-heights everywhere — 1.15 to 1.30 is the range
|