@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,268 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────────────
|
|
2
|
+
* design-systems/x-ai/tokens.css
|
|
3
|
+
*
|
|
4
|
+
* Structured token bindings for "x-ai" — the dark-first, monospace-driven
|
|
5
|
+
* brutalist minimalism of Elon Musk's AI lab. A design system that
|
|
6
|
+
* communicates through absence: pure white on warm near-black, GeistMono
|
|
7
|
+
* as the display voice, zero shadows, zero gradients, zero accent color.
|
|
8
|
+
* Restraint as sophistication.
|
|
9
|
+
*
|
|
10
|
+
* Brand identity in three sentences:
|
|
11
|
+
* 1. Dark-first canvas at #1f2228 (warm near-black with a subtle blue
|
|
12
|
+
* undertone, NEVER pure #000000) carries pure-white text as "the
|
|
13
|
+
* voice", with hierarchy expressed through opacity (100 / 70 / 50 / 30)
|
|
14
|
+
* rather than hue. There is no gray middle ground.
|
|
15
|
+
* 2. GeistMono runs at display sizes (up to a hero-only 320px at weight
|
|
16
|
+
* 300) and as the uppercase, letter-spaced button face. universalSans
|
|
17
|
+
* handles body and section headings. The monospace-as-display choice
|
|
18
|
+
* is the brand: terminal aesthetic as luxury.
|
|
19
|
+
* 3. Zero box-shadows, zero gradients, near-zero radii (0px default,
|
|
20
|
+
* 4px occasional softening). Depth comes from opacity-based borders
|
|
21
|
+
* and surface tints, not from simulated light. The single chromatic
|
|
22
|
+
* exception is the keyboard focus ring (Tailwind's default blue).
|
|
23
|
+
*
|
|
24
|
+
* Brand-specific schema decisions (each bends a schema convention to
|
|
25
|
+
* match xAI's voice rather than the cross-brand default):
|
|
26
|
+
*
|
|
27
|
+
* 1. `--bg` is `#1f2228`, NOT `#000000`. DESIGN.md §2 names this hue
|
|
28
|
+
* explicitly: "This specific hue prevents the harsh eye strain of
|
|
29
|
+
* `#000000` while maintaining deep darkness." Pure black is
|
|
30
|
+
* forbidden by the brand.
|
|
31
|
+
*
|
|
32
|
+
* 2. `--accent` is `#ffffff`, not a chromatic color. xAI has no
|
|
33
|
+
* accent palette — white IS the chromatic move. Primary CTAs render
|
|
34
|
+
* with `var(--accent)` as background and `var(--accent-on)` as
|
|
35
|
+
* foreground, producing the signature white-on-dark button. The
|
|
36
|
+
* "≤2 accent uses per screen" lint still holds; the primary CTA and
|
|
37
|
+
* the focus indicator are the only places white reverses against
|
|
38
|
+
* the canvas.
|
|
39
|
+
*
|
|
40
|
+
* 3. `--font-display` is a GeistMono stack. Monospace AS the display
|
|
41
|
+
* face is the defining aesthetic decision (DESIGN.md §3) — it
|
|
42
|
+
* positions xAI not as a consumer product but as infrastructure,
|
|
43
|
+
* as something built by people who live in terminals. `--font-mono`
|
|
44
|
+
* aliases the same stack because GeistMono IS the monospace face
|
|
45
|
+
* used for code, kbd, and tabular metrics.
|
|
46
|
+
*
|
|
47
|
+
* 4. The four-level foreground ramp is opacity-based (rgba 1.0 / 0.7
|
|
48
|
+
* / 0.5 / 0.3), NOT a grayscale hex ramp. DESIGN.md §2 documents
|
|
49
|
+
* the system literally as "white at α". Binding `--fg-2`, `--muted`,
|
|
50
|
+
* and `--meta` as `rgba(255,255,255,α)` preserves the "white over
|
|
51
|
+
* canvas" voice and keeps the tiers chromatically locked to the
|
|
52
|
+
* single foreground color.
|
|
53
|
+
*
|
|
54
|
+
* 5. `--border` is `rgba(255, 255, 255, 0.1)` — DESIGN.md §2's default
|
|
55
|
+
* "Border Default" alpha, NOT a solid hex. `--border-soft` drops to
|
|
56
|
+
* 0.05 for inner-row separators. The 0.2 "Border Strong" tier from
|
|
57
|
+
* DESIGN.md lives inline per-component (hover/active state edges).
|
|
58
|
+
*
|
|
59
|
+
* 6. Radii are aggressively small: 0 / 0 / 4 / 9999. DESIGN.md §5:
|
|
60
|
+
* "The near-zero radius philosophy is core to the brand's brutalist
|
|
61
|
+
* identity." Buttons, inputs, and cards all default to 0px;
|
|
62
|
+
* `--radius-lg` softens to 4px for the rare secondary container
|
|
63
|
+
* (DESIGN.md's "Subtle (4px) occasional"). `--radius-pill` stays at
|
|
64
|
+
* 9999px because the schema slot requires a pill value, even though
|
|
65
|
+
* xAI rarely renders one.
|
|
66
|
+
*
|
|
67
|
+
* 7. `--elev-raised` is literally `none`. DESIGN.md §6: "xAI rejects
|
|
68
|
+
* the conventional shadow-based elevation system entirely. There
|
|
69
|
+
* are no box-shadows anywhere on the site." Depth is communicated
|
|
70
|
+
* through three other mechanisms documented in the same section:
|
|
71
|
+
* opacity-based borders that brighten on interaction, subtle
|
|
72
|
+
* background-opacity shifts (0.03 → 0.08), and the massive
|
|
73
|
+
* typographic scale contrast. `--elev-ring` is kept as a hairline
|
|
74
|
+
* border-as-shadow so components that target the elevation token
|
|
75
|
+
* still get a visible edge.
|
|
76
|
+
*
|
|
77
|
+
* 8. `--focus-ring` is the ONLY chromatic exception to the otherwise
|
|
78
|
+
* strictly monochromatic palette. DESIGN.md §2 names Tailwind's
|
|
79
|
+
* default `--tw-ring-color` (`rgb(59, 130, 246) / 0.5`) as the
|
|
80
|
+
* keyboard focus indicator. We reproduce it as a 3px halo
|
|
81
|
+
* (Tailwind's `ring-2` shape) — the blue is intentional and
|
|
82
|
+
* non-negotiable for a11y, even though the rest of the system is
|
|
83
|
+
* achromatic.
|
|
84
|
+
*
|
|
85
|
+
* 9. The type scale tops out at 64px (`--text-4xl`), NOT the 320px
|
|
86
|
+
* hero display DESIGN.md §3 names. 320px is a hero-only treatment,
|
|
87
|
+
* not a token tier — components.html overrides `font-size` inline
|
|
88
|
+
* for that one cinematic moment. Reserving `--text-4xl` at 64px
|
|
89
|
+
* keeps the slot useful as the H1-equivalent ceiling for cards,
|
|
90
|
+
* sections, and modals across the system. (See vercel/tokens.css
|
|
91
|
+
* §6 for the same reasoning: tokens encode reusable tiers, not
|
|
92
|
+
* one-off hero crops.)
|
|
93
|
+
*
|
|
94
|
+
* 10. `--tracking-display` stays `normal`. GeistMono at display scale
|
|
95
|
+
* does NOT compress letter-spacing — the monospace grid is part of
|
|
96
|
+
* the aesthetic and tightening would collapse it. The uppercase
|
|
97
|
+
* button tracking (`1.4px`, DESIGN.md §4) is an interaction-specific
|
|
98
|
+
* value that lives inline on `.btn` since it applies only to
|
|
99
|
+
* command-line-styled labels, not display headlines.
|
|
100
|
+
*
|
|
101
|
+
* Source contracts:
|
|
102
|
+
* - Standard token names: design-systems/_schema/tokens.schema.ts
|
|
103
|
+
* - A2 fallback parity: design-systems/_schema/defaults.css
|
|
104
|
+
* - Lint enforcement: apps/daemon/src/lint-artifact.ts
|
|
105
|
+
*
|
|
106
|
+
* Keep this file additive: never invent token names not also documented
|
|
107
|
+
* in DESIGN.md or the shared schema. The GeistMono and universalSans
|
|
108
|
+
* faces are referenced by name only — artifacts that render acceptably
|
|
109
|
+
* fall back to the OS monospace and sans-serif stacks listed inside the
|
|
110
|
+
* font-family declarations.
|
|
111
|
+
* ─────────────────────────────────────────────────────────────── */
|
|
112
|
+
|
|
113
|
+
:root {
|
|
114
|
+
/* ─── Surface ─────────────────────────────────────────────────────
|
|
115
|
+
* #1f2228 is the singular canvas — warm near-black with a subtle
|
|
116
|
+
* blue undertone. `--surface` is the barely-visible 0.03 white tint
|
|
117
|
+
* that cards sit on; `--surface-warm` rises to 0.05 for hover and
|
|
118
|
+
* elevated rows. DESIGN.md §6's elevation ramp uses both values
|
|
119
|
+
* verbatim as "Surface (Level 1)" and "Surface Hover". */
|
|
120
|
+
--bg: #1f2228; /* warm near-black canvas — NEVER #000 */
|
|
121
|
+
--surface: rgba(255, 255, 255, 0.03); /* subtle card surface */
|
|
122
|
+
--surface-warm: rgba(255, 255, 255, 0.05); /* hover / elevated tier */
|
|
123
|
+
|
|
124
|
+
/* ─── Foreground ──────────────────────────────────────────────────
|
|
125
|
+
* Four-level opacity ramp per DESIGN.md §2. Pure white is "the
|
|
126
|
+
* voice"; subsequent tiers express hierarchy by dimming rather
|
|
127
|
+
* than by hue. Binding as rgba (not hex) keeps the ramp locked
|
|
128
|
+
* chromatically to the single foreground color. */
|
|
129
|
+
--fg: #ffffff; /* primary — headings, links, body */
|
|
130
|
+
--fg-2: rgba(255, 255, 255, 0.7); /* secondary — descriptions */
|
|
131
|
+
--muted: rgba(255, 255, 255, 0.5); /* tertiary — captions, timestamps */
|
|
132
|
+
--meta: rgba(255, 255, 255, 0.3); /* quaternary — disabled, annotations */
|
|
133
|
+
|
|
134
|
+
/* ─── Border ──────────────────────────────────────────────────────
|
|
135
|
+
* Opacity-based borders — barely visible, never absent. 0.1 is the
|
|
136
|
+
* default card / divider edge; 0.05 is the inner-row separator
|
|
137
|
+
* that should not visually compete. The 0.2 "strong" tier from
|
|
138
|
+
* DESIGN.md §2 lives inline per-component (hover/active states). */
|
|
139
|
+
--border: rgba(255, 255, 255, 0.1); /* default card / divider */
|
|
140
|
+
--border-soft: rgba(255, 255, 255, 0.05); /* inner row separator */
|
|
141
|
+
|
|
142
|
+
/* ─── Accent ──────────────────────────────────────────────────────
|
|
143
|
+
* White IS the accent. There is no chromatic color in xAI's
|
|
144
|
+
* monochromatic palette — primary CTAs are white-on-dark.
|
|
145
|
+
* `--accent-hover` dims to 0.9 alpha per DESIGN.md §4 (primary
|
|
146
|
+
* button hover); `--accent-active` drops a further step. The
|
|
147
|
+
* convention is REVERSED from most systems: hover dims, it does
|
|
148
|
+
* not brighten. */
|
|
149
|
+
--accent: #ffffff; /* the voice as bg */
|
|
150
|
+
--accent-on: #1f2228; /* canvas as fg on accent */
|
|
151
|
+
--accent-hover: rgba(255, 255, 255, 0.9); /* slight dimming on hover (DESIGN.md §4) */
|
|
152
|
+
--accent-active: rgba(255, 255, 255, 0.8); /* deeper dim on press */
|
|
153
|
+
|
|
154
|
+
/* ─── Semantic ────────────────────────────────────────────────────
|
|
155
|
+
* DESIGN.md §7 actively discourages colored status indicators
|
|
156
|
+
* ("Don't use colored status indicators unless absolutely
|
|
157
|
+
* necessary — keep everything in the white/dark spectrum"). We
|
|
158
|
+
* inherit schema defaults so the slots remain useful for the rare
|
|
159
|
+
* cases where status truly must render chromatically — but
|
|
160
|
+
* components should prefer monochrome cues (opacity, weight). */
|
|
161
|
+
--success: #16a34a;
|
|
162
|
+
--warn: #eab308;
|
|
163
|
+
--danger: #dc2626;
|
|
164
|
+
|
|
165
|
+
/* ─── Typography — fonts ──────────────────────────────────────────
|
|
166
|
+
* GeistMono is the brand's defining typographic decision: a
|
|
167
|
+
* monospace face used at display sizes. universalSans handles
|
|
168
|
+
* body and section headings. `--font-mono` aliases the display
|
|
169
|
+
* stack because GeistMono IS the monospace face — there is no
|
|
170
|
+
* separate code typeface. */
|
|
171
|
+
--font-display: "GeistMono", ui-monospace, "SF Mono", "Roboto Mono", Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
|
|
172
|
+
--font-body: "universalSans", "universalSans Fallback", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
173
|
+
--font-mono: "GeistMono", ui-monospace, "SF Mono", "Roboto Mono", Menlo, Monaco, "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;
|
|
174
|
+
|
|
175
|
+
/* Type scale — DESIGN.md §3 hierarchy table.
|
|
176
|
+
* The 320px display hero is intentionally NOT a token tier;
|
|
177
|
+
* components.html overrides `font-size` inline for that one
|
|
178
|
+
* cinematic treatment. `--text-4xl` instead caps at 64px, the
|
|
179
|
+
* realistic ceiling for marketing H1s across cards/sections.
|
|
180
|
+
* `--text-2xl` (30px) matches DESIGN.md's "Section Heading" tier. */
|
|
181
|
+
--text-xs: 12px; /* small / meta — timestamps, footnotes */
|
|
182
|
+
--text-sm: 14px; /* button label / caption */
|
|
183
|
+
--text-base: 16px; /* body — universalSans 1.5 */
|
|
184
|
+
--text-lg: 20px; /* body large / introductions */
|
|
185
|
+
--text-xl: 24px; /* card title */
|
|
186
|
+
--text-2xl: 30px; /* section heading — DESIGN.md §3 */
|
|
187
|
+
--text-3xl: 40px; /* H1 */
|
|
188
|
+
--text-4xl: 64px; /* display ceiling (320px hero is inline-only) */
|
|
189
|
+
|
|
190
|
+
/* Leading + tracking.
|
|
191
|
+
* `--leading-body: 1.5` is universalSans body (DESIGN.md §3).
|
|
192
|
+
* `--leading-tight: 1.2` matches the 30px section heading.
|
|
193
|
+
* `--tracking-display: normal` because GeistMono at scale does
|
|
194
|
+
* NOT compress letter-spacing — the monospace grid is the
|
|
195
|
+
* aesthetic and tightening would collapse it. */
|
|
196
|
+
--leading-body: 1.5;
|
|
197
|
+
--leading-tight: 1.2;
|
|
198
|
+
--tracking-display: normal;
|
|
199
|
+
|
|
200
|
+
/* ─── Spacing ─────────────────────────────────────────────────────
|
|
201
|
+
* DESIGN.md §5 documents a deliberately sparse scale concentrated
|
|
202
|
+
* at the small end: 4 / 8 / 24 / 48. We bind the full schema slot
|
|
203
|
+
* range — components reach for 1/2/6/12 most often; the
|
|
204
|
+
* intermediate tiers are preserved for edge cases where a
|
|
205
|
+
* narrower step is structurally required. */
|
|
206
|
+
--space-1: 4px;
|
|
207
|
+
--space-2: 8px;
|
|
208
|
+
--space-3: 12px;
|
|
209
|
+
--space-4: 16px;
|
|
210
|
+
--space-5: 20px;
|
|
211
|
+
--space-6: 24px;
|
|
212
|
+
--space-8: 32px;
|
|
213
|
+
--space-12: 48px;
|
|
214
|
+
|
|
215
|
+
/* Section rhythm — DESIGN.md §5: "generous section padding 48px–
|
|
216
|
+
* 96px". 96 desktop / 64 tablet / 48 phone preserves the
|
|
217
|
+
* cinematic emptiness that is itself a design statement; the
|
|
218
|
+
* absence of decoration means whitespace is the primary structural
|
|
219
|
+
* tool. */
|
|
220
|
+
--section-y-desktop: 96px;
|
|
221
|
+
--section-y-tablet: 64px;
|
|
222
|
+
--section-y-phone: 48px;
|
|
223
|
+
|
|
224
|
+
/* ─── Radius ──────────────────────────────────────────────────────
|
|
225
|
+
* Brutalist precision. DESIGN.md §5: "Sharp (0px) primary
|
|
226
|
+
* treatment for buttons, cards, inputs — the default. Subtle (4px)
|
|
227
|
+
* occasional softening on secondary containers." `--radius-pill`
|
|
228
|
+
* stays at 9999px because the schema slot requires a pill value,
|
|
229
|
+
* even though xAI rarely renders one. */
|
|
230
|
+
--radius-sm: 0px; /* buttons, inputs — sharp */
|
|
231
|
+
--radius-md: 0px; /* cards — sharp */
|
|
232
|
+
--radius-lg: 4px; /* occasional secondary softening */
|
|
233
|
+
--radius-pill: 9999px; /* schema-required slot */
|
|
234
|
+
|
|
235
|
+
/* ─── Elevation ───────────────────────────────────────────────────
|
|
236
|
+
* Shadow-free system per DESIGN.md §6: "xAI rejects the
|
|
237
|
+
* conventional shadow-based elevation system entirely. There are
|
|
238
|
+
* no box-shadows anywhere on the site." `--elev-raised` is
|
|
239
|
+
* literally `none`; depth comes from opacity-based borders and
|
|
240
|
+
* background tints. `--elev-ring` preserves the hairline edge for
|
|
241
|
+
* components that read the elevation token. */
|
|
242
|
+
--elev-flat: none;
|
|
243
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
244
|
+
--elev-raised: none;
|
|
245
|
+
|
|
246
|
+
/* ─── Focus ───────────────────────────────────────────────────────
|
|
247
|
+
* The single chromatic exception. Tailwind's default
|
|
248
|
+
* `--tw-ring-color` (DESIGN.md §2 "Ring Blue") at 50% opacity, as
|
|
249
|
+
* a 3px halo matching the `ring-2` shape xAI uses for keyboard
|
|
250
|
+
* accessibility focus states. Non-negotiable for a11y. */
|
|
251
|
+
--focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.5);
|
|
252
|
+
|
|
253
|
+
/* ─── Motion ──────────────────────────────────────────────────────
|
|
254
|
+
* Schema defaults. xAI does not choreograph — transitions are
|
|
255
|
+
* short, purposeful, utilitarian. No long-form entrances. */
|
|
256
|
+
--motion-fast: 150ms;
|
|
257
|
+
--motion-base: 200ms;
|
|
258
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
259
|
+
|
|
260
|
+
/* ─── Layout ──────────────────────────────────────────────────────
|
|
261
|
+
* DESIGN.md §5: "Max content width: approximately 1200px." Gutters
|
|
262
|
+
* narrow on mobile so the dense-but-deliberate vertical rhythm
|
|
263
|
+
* keeps reading even when the dark canvas reaches the edge. */
|
|
264
|
+
--container-max: 1200px;
|
|
265
|
+
--container-gutter-desktop: 24px;
|
|
266
|
+
--container-gutter-tablet: 16px;
|
|
267
|
+
--container-gutter-phone: 12px;
|
|
268
|
+
}
|