@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,136 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>Paper - reference components</title>
|
|
7
|
+
<meta name="description" content="Reference fixture for design-systems/paper: paper design language with warm document surfaces, soft texture, and readable hierarchy." />
|
|
8
|
+
<style>
|
|
9
|
+
:root {
|
|
10
|
+
--bg: #faf3df;
|
|
11
|
+
--surface: #fffaf0;
|
|
12
|
+
--surface-warm: #efe0bd;
|
|
13
|
+
--fg: #211b12;
|
|
14
|
+
--fg-2: #504737;
|
|
15
|
+
--muted: #7c7160;
|
|
16
|
+
--meta: #8f5d24;
|
|
17
|
+
--border: #ddd0b4;
|
|
18
|
+
--border-soft: #eee3cd;
|
|
19
|
+
--accent: #8f5d24;
|
|
20
|
+
--accent-on: #ffffff;
|
|
21
|
+
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
22
|
+
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
23
|
+
--success: #5b8d42;
|
|
24
|
+
--warn: #c27b22;
|
|
25
|
+
--danger: #a64036;
|
|
26
|
+
--font-display: Georgia, "Times New Roman", serif;
|
|
27
|
+
--font-body: Inter, system-ui, sans-serif;
|
|
28
|
+
--font-mono: "SF Mono", ui-monospace, Menlo, monospace;
|
|
29
|
+
--text-xs: 12px;
|
|
30
|
+
--text-sm: 14px;
|
|
31
|
+
--text-base: 17px;
|
|
32
|
+
--text-lg: 20px;
|
|
33
|
+
--text-xl: 28px;
|
|
34
|
+
--text-2xl: 42px;
|
|
35
|
+
--text-3xl: 64px;
|
|
36
|
+
--text-4xl: 88px;
|
|
37
|
+
--leading-body: 1.62;
|
|
38
|
+
--leading-tight: 1;
|
|
39
|
+
--tracking-display: -0.025em;
|
|
40
|
+
--space-1: 4px;
|
|
41
|
+
--space-2: 8px;
|
|
42
|
+
--space-3: 12px;
|
|
43
|
+
--space-4: 16px;
|
|
44
|
+
--space-5: 20px;
|
|
45
|
+
--space-6: 24px;
|
|
46
|
+
--space-8: 32px;
|
|
47
|
+
--space-12: 48px;
|
|
48
|
+
--section-y-desktop: 112px;
|
|
49
|
+
--section-y-tablet: 80px;
|
|
50
|
+
--section-y-phone: 56px;
|
|
51
|
+
--radius-sm: 10px;
|
|
52
|
+
--radius-md: 16px;
|
|
53
|
+
--radius-lg: 24px;
|
|
54
|
+
--radius-pill: 9999px;
|
|
55
|
+
--elev-flat: none;
|
|
56
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
57
|
+
--elev-raised: 0 18px 42px rgba(33, 27, 18, 0.12);
|
|
58
|
+
--focus-ring: 0 0 0 4px rgba(143, 93, 36, 0.24);
|
|
59
|
+
--motion-fast: 150ms;
|
|
60
|
+
--motion-base: 240ms;
|
|
61
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
62
|
+
--container-max: 1180px;
|
|
63
|
+
--container-gutter-desktop: 36px;
|
|
64
|
+
--container-gutter-tablet: 24px;
|
|
65
|
+
--container-gutter-phone: 16px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
69
|
+
html, body { margin: 0; padding: 0; }
|
|
70
|
+
body { min-height: 100vh; background: var(--bg); color: var(--fg); font-family: var(--font-body); font-size: var(--text-base); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
|
|
71
|
+
.page { min-height: 100vh; background: linear-gradient(135deg, #faf3df 0%, #fffaf0 100%); }
|
|
72
|
+
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-gutter-desktop); }
|
|
73
|
+
section { padding-block: var(--section-y-desktop); }
|
|
74
|
+
@media (max-width: 1023px) { .container { padding-inline: var(--container-gutter-tablet); } section { padding-block: var(--section-y-tablet); } }
|
|
75
|
+
@media (max-width: 639px) { .container { padding-inline: var(--container-gutter-phone); } section { padding-block: var(--section-y-phone); } }
|
|
76
|
+
h1, h2, h3, p { margin: 0; }
|
|
77
|
+
h1, h2, h3 { font-family: var(--font-display); line-height: var(--leading-tight); letter-spacing: var(--tracking-display); }
|
|
78
|
+
h1 { max-width: 840px; font-size: var(--text-4xl); font-weight: 760; }
|
|
79
|
+
h2 { font-size: var(--text-3xl); font-weight: 700; }
|
|
80
|
+
h3 { font-size: var(--text-xl); font-weight: 700; }
|
|
81
|
+
.eyebrow { color: var(--meta); font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
|
|
82
|
+
.lead { max-width: 640px; color: var(--fg-2); font-size: var(--text-lg); }
|
|
83
|
+
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr); gap: var(--space-8); align-items: center; }
|
|
84
|
+
.stack > * + * { margin-block-start: var(--space-4); }
|
|
85
|
+
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-block-start: var(--space-6); }
|
|
86
|
+
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 var(--space-5); border: 1px solid transparent; border-radius: var(--radius-md); font: 700 var(--text-sm) / 1 var(--font-body); color: inherit; text-decoration: none; cursor: pointer; transition: background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard), transform var(--motion-fast) var(--ease-standard), box-shadow var(--motion-fast) var(--ease-standard); }
|
|
87
|
+
.btn:focus-visible { outline: none; box-shadow: var(--focus-ring); }
|
|
88
|
+
.btn-primary { background: var(--accent); color: var(--accent-on); }
|
|
89
|
+
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
|
|
90
|
+
.btn-secondary { background: var(--surface); color: var(--fg); border-color: var(--border); box-shadow: var(--elev-ring); }
|
|
91
|
+
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
|
|
92
|
+
.panel { background: color-mix(in oklab, var(--surface), transparent 4%); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--elev-raised); overflow: hidden; }
|
|
93
|
+
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: var(--space-5); border-bottom: 1px solid var(--border-soft); }
|
|
94
|
+
.status { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--meta); font: 700 var(--text-xs) / 1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
|
|
95
|
+
.status::before { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--success); content: ""; }
|
|
96
|
+
.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--border-soft); }
|
|
97
|
+
.metric { padding: var(--space-5); border-right: 1px solid var(--border-soft); }
|
|
98
|
+
.metric:last-child { border-right: 0; }
|
|
99
|
+
.metric strong { display: block; font-family: var(--font-display); font-size: var(--text-2xl); line-height: var(--leading-tight); }
|
|
100
|
+
.metric span { color: var(--muted); font-size: var(--text-sm); }
|
|
101
|
+
.card-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); padding: var(--space-5); }
|
|
102
|
+
.mini-card { min-height: 148px; padding: var(--space-5); border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--surface-warm); }
|
|
103
|
+
.mini-card p, .tile p { color: var(--muted); font-size: var(--text-sm); margin-block-start: var(--space-3); }
|
|
104
|
+
.swatches { display: flex; gap: var(--space-2); margin-block-start: var(--space-4); }
|
|
105
|
+
.swatch { width: 32px; height: 32px; border-radius: var(--radius-sm); border: 1px solid var(--border); }
|
|
106
|
+
.swatch.accent { background: var(--accent); } .swatch.surface { background: var(--surface); } .swatch.warm { background: var(--surface-warm); } .swatch.fg { background: var(--fg); }
|
|
107
|
+
.field { display: grid; gap: var(--space-2); margin-block-start: var(--space-5); }
|
|
108
|
+
label { color: var(--fg-2); font-size: var(--text-sm); font-weight: 700; }
|
|
109
|
+
input { width: 100%; min-height: 46px; padding: 0 var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); color: var(--fg); font: inherit; }
|
|
110
|
+
input:focus { outline: none; box-shadow: var(--focus-ring); border-color: var(--accent); }
|
|
111
|
+
.lower { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
|
|
112
|
+
.tile { padding: var(--space-5); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
|
|
113
|
+
@media (max-width: 860px) { .hero, .lower { grid-template-columns: 1fr; } .metric-grid, .card-row { grid-template-columns: 1fr; } .metric { border-right: 0; border-bottom: 1px solid var(--border-soft); } .metric:last-child { border-bottom: 0; } }
|
|
114
|
+
</style>
|
|
115
|
+
</head>
|
|
116
|
+
<body>
|
|
117
|
+
<main class="page">
|
|
118
|
+
<section>
|
|
119
|
+
<div class="container hero">
|
|
120
|
+
<div class="stack">
|
|
121
|
+
<p class="eyebrow">Paper design system</p>
|
|
122
|
+
<h1>Paper document system</h1>
|
|
123
|
+
<p class="lead">Paper-like panels, document cards, and low-glare editorial reading surfaces.</p>
|
|
124
|
+
<div class="actions" aria-label="Reference actions"><a class="btn btn-primary" href="#">Primary action</a><a class="btn btn-secondary" href="#">Secondary action</a></div>
|
|
125
|
+
</div>
|
|
126
|
+
<article class="panel" aria-label="Paper component preview">
|
|
127
|
+
<div class="panel-head"><div><p class="eyebrow">Live module</p><h3>Reference component</h3></div><span class="status">online</span></div>
|
|
128
|
+
<div class="metric-grid"><div class="metric"><strong>98%</strong><span>Signal quality</span></div><div class="metric"><strong>24</strong><span>Active flows</span></div><div class="metric"><strong>3.2s</strong><span>Response time</span></div></div>
|
|
129
|
+
<div class="card-row"><div class="mini-card"><h3>Palette</h3><p>paper design language with warm document surfaces, soft texture, and readable hierarchy.</p><div class="swatches" aria-label="Token swatches"><span class="swatch accent"></span><span class="swatch surface"></span><span class="swatch warm"></span><span class="swatch fg"></span></div></div><div class="mini-card"><h3>Control</h3><p>Focus, hover, and status states share the same system signal.</p><div class="field"><label for="paper-input">Reference input</label><input id="paper-input" value="Paper system token" /></div></div></div>
|
|
130
|
+
</article>
|
|
131
|
+
</div>
|
|
132
|
+
</section>
|
|
133
|
+
<section><div class="container lower"><article class="tile"><p class="eyebrow">Typography</p><h2>Display rhythm</h2><p>Headlines use the display stack with the declared scale and leading.</p></article><article class="tile"><p class="eyebrow">Surface</p><h2>Layer system</h2><p>Cards, warm panels, borders, and raised states resolve through shared tokens.</p></article><article class="tile"><p class="eyebrow">Interaction</p><h2>Motion states</h2><p>Buttons, inputs, and panels use system-specific focus rings and easing.</p></article></div></section>
|
|
134
|
+
</main>
|
|
135
|
+
</body>
|
|
136
|
+
</html>
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* design-systems/paper/tokens.css
|
|
2
|
+
* Structured token bindings for Paper.
|
|
3
|
+
* paper design language with warm document surfaces, soft texture, and readable hierarchy.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
:root {
|
|
7
|
+
--bg: #faf3df;
|
|
8
|
+
--surface: #fffaf0;
|
|
9
|
+
--surface-warm: #efe0bd;
|
|
10
|
+
--fg: #211b12;
|
|
11
|
+
--fg-2: #504737;
|
|
12
|
+
--muted: #7c7160;
|
|
13
|
+
--meta: #8f5d24;
|
|
14
|
+
--border: #ddd0b4;
|
|
15
|
+
--border-soft: #eee3cd;
|
|
16
|
+
--accent: #8f5d24;
|
|
17
|
+
--accent-on: #ffffff;
|
|
18
|
+
--accent-hover: color-mix(in oklab, var(--accent), black 8%);
|
|
19
|
+
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
20
|
+
--success: #5b8d42;
|
|
21
|
+
--warn: #c27b22;
|
|
22
|
+
--danger: #a64036;
|
|
23
|
+
--font-display: Georgia, "Times New Roman", serif;
|
|
24
|
+
--font-body: Inter, system-ui, sans-serif;
|
|
25
|
+
--font-mono: "SF Mono", ui-monospace, Menlo, monospace;
|
|
26
|
+
--text-xs: 12px;
|
|
27
|
+
--text-sm: 14px;
|
|
28
|
+
--text-base: 17px;
|
|
29
|
+
--text-lg: 20px;
|
|
30
|
+
--text-xl: 28px;
|
|
31
|
+
--text-2xl: 42px;
|
|
32
|
+
--text-3xl: 64px;
|
|
33
|
+
--text-4xl: 88px;
|
|
34
|
+
--leading-body: 1.62;
|
|
35
|
+
--leading-tight: 1;
|
|
36
|
+
--tracking-display: -0.025em;
|
|
37
|
+
--space-1: 4px;
|
|
38
|
+
--space-2: 8px;
|
|
39
|
+
--space-3: 12px;
|
|
40
|
+
--space-4: 16px;
|
|
41
|
+
--space-5: 20px;
|
|
42
|
+
--space-6: 24px;
|
|
43
|
+
--space-8: 32px;
|
|
44
|
+
--space-12: 48px;
|
|
45
|
+
--section-y-desktop: 112px;
|
|
46
|
+
--section-y-tablet: 80px;
|
|
47
|
+
--section-y-phone: 56px;
|
|
48
|
+
--radius-sm: 10px;
|
|
49
|
+
--radius-md: 16px;
|
|
50
|
+
--radius-lg: 24px;
|
|
51
|
+
--radius-pill: 9999px;
|
|
52
|
+
--elev-flat: none;
|
|
53
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
54
|
+
--elev-raised: 0 18px 42px rgba(33, 27, 18, 0.12);
|
|
55
|
+
--focus-ring: 0 0 0 4px rgba(143, 93, 36, 0.24);
|
|
56
|
+
--motion-fast: 150ms;
|
|
57
|
+
--motion-base: 240ms;
|
|
58
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
59
|
+
--container-max: 1180px;
|
|
60
|
+
--container-gutter-desktop: 36px;
|
|
61
|
+
--container-gutter-tablet: 24px;
|
|
62
|
+
--container-gutter-phone: 16px;
|
|
63
|
+
}
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
# Design System Inspired by Perplexity AI
|
|
2
|
+
|
|
3
|
+
> Category: AI & LLM
|
|
4
|
+
> Conversational AI search engine. Deep-dark canvas, sharp typography, single violet accent, dense information hierarchy.
|
|
5
|
+
|
|
6
|
+
## 1. Visual Theme & Atmosphere
|
|
7
|
+
|
|
8
|
+
Perplexity reads like a research terminal: unhurried, precise, and confident. The dark surface is not decorative — it reduces visual noise so citations, sources, and answers can breathe. There is no gradient hero, no animated blob, no hero illustration. The chrome disappears and the content leads. Light mode exists but the dark variant is the brand-defining surface.
|
|
9
|
+
|
|
10
|
+
Core atmosphere words: **grounded, sharp, credible, quiet**. Every layout decision serves legibility over aesthetics.
|
|
11
|
+
|
|
12
|
+
## 2. Color
|
|
13
|
+
|
|
14
|
+
All values are sampled from Perplexity's production interface and marketing site (May 2025).
|
|
15
|
+
|
|
16
|
+
### Dark surface (default)
|
|
17
|
+
|
|
18
|
+
| Token | Hex | OKLch | Role |
|
|
19
|
+
|---|---|---|---|
|
|
20
|
+
| `--bg-base` | `#0f0f10` | `oklch(8% 0.004 280)` | Page background |
|
|
21
|
+
| `--bg-surface` | `#19191a` | `oklch(12% 0.004 280)` | Card / sidebar surface |
|
|
22
|
+
| `--bg-elevated` | `#232325` | `oklch(16% 0.005 280)` | Tooltip, popover, hover state |
|
|
23
|
+
| `--border` | `#2e2e30` | `oklch(21% 0.005 280)` | Divider, input border |
|
|
24
|
+
| `--text-primary` | `#f0f0f0` | `oklch(95% 0 0)` | Body copy, headings |
|
|
25
|
+
| `--text-secondary` | `#9b9b9b` | `oklch(64% 0 0)` | Meta, captions, labels |
|
|
26
|
+
| `--text-tertiary` | `#5c5c5e` | `oklch(42% 0 0)` | Placeholder, disabled |
|
|
27
|
+
| `--accent` | `#a855f7` | `oklch(62% 0.22 307)` | Primary CTA, focus ring, active tab |
|
|
28
|
+
| `--accent-hover` | `#c084fc` | `oklch(72% 0.20 307)` | Hover state on accent |
|
|
29
|
+
| `--accent-subtle` | `#3b1f5e` | `oklch(22% 0.14 307)` | Accent tint background |
|
|
30
|
+
| `--success` | `#22c55e` | `oklch(72% 0.19 145)` | Verified source badge |
|
|
31
|
+
| `--warning` | `#f59e0b` | `oklch(74% 0.17 72)` | Caution |
|
|
32
|
+
| `--error` | `#ef4444` | `oklch(63% 0.21 27)` | Error state |
|
|
33
|
+
|
|
34
|
+
### Light surface
|
|
35
|
+
|
|
36
|
+
| Token | Hex | Role |
|
|
37
|
+
|---|---|---|
|
|
38
|
+
| `--bg-base` | `#ffffff` | Page background |
|
|
39
|
+
| `--bg-surface` | `#f8f8f8` | Card surface |
|
|
40
|
+
| `--bg-elevated` | `#f0f0f0` | Hover / elevated |
|
|
41
|
+
| `--border` | `#e0e0e0` | Divider |
|
|
42
|
+
| `--text-primary` | `#0f0f10` | Body copy |
|
|
43
|
+
| `--text-secondary` | `#5c5c5e` | Meta |
|
|
44
|
+
| `--accent` | `#7c3aed` | Primary CTA, focus ring, active tab |
|
|
45
|
+
|
|
46
|
+
### Usage rules
|
|
47
|
+
|
|
48
|
+
- Accent (`#a855f7`) is reserved for a single interactive element per view — the primary action. Do not use it decoratively.
|
|
49
|
+
- Never use white text on the accent color in body copy; reserve that combination for buttons and badges only.
|
|
50
|
+
- Backgrounds stack in exactly three levels: base → surface → elevated. Do not invent a fourth.
|
|
51
|
+
|
|
52
|
+
## 3. Typography
|
|
53
|
+
|
|
54
|
+
Perplexity uses a system-default sans-serif stack for UI elements and a clean geometric monospace for code blocks. No custom display face is licensed for third-party use.
|
|
55
|
+
|
|
56
|
+
### Families
|
|
57
|
+
|
|
58
|
+
| Role | Family | Fallback |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| UI / body | `"Inter"` | `ui-sans-serif, system-ui, -apple-system, sans-serif` |
|
|
61
|
+
| Code / citations | `"JetBrains Mono"` | `ui-monospace, "Cascadia Code", monospace` |
|
|
62
|
+
| Numeric data | `"Inter"` with tabular nums | feature: `tnum`, `ss01` |
|
|
63
|
+
|
|
64
|
+
### Scale
|
|
65
|
+
|
|
66
|
+
| Label | Size | Line height | Weight | Usage |
|
|
67
|
+
|---|---|---|---|---|
|
|
68
|
+
| `display` | 2rem / 32px | 1.2 | 600 | Page title, hero answer headline |
|
|
69
|
+
| `heading-l` | 1.375rem / 22px | 1.3 | 600 | Section heading |
|
|
70
|
+
| `heading-m` | 1.125rem / 18px | 1.4 | 600 | Sub-section heading |
|
|
71
|
+
| `body` | 0.9375rem / 15px | 1.65 | 400 | Primary reading copy |
|
|
72
|
+
| `body-sm` | 0.8125rem / 13px | 1.55 | 400 | Secondary, meta |
|
|
73
|
+
| `caption` | 0.6875rem / 11px | 1.4 | 400 | Source labels, timestamps |
|
|
74
|
+
| `code` | 0.875rem / 14px | 1.6 | 400 | Inline code, citations |
|
|
75
|
+
|
|
76
|
+
### Rules
|
|
77
|
+
|
|
78
|
+
- Line length: 55–70 characters for body copy. Wider than 80 chars in dense reading layouts breaks comprehension.
|
|
79
|
+
- Inter is loaded from Google Fonts or self-hosted; do not use Helvetica or Arial as a substitute — the weight rendering differs.
|
|
80
|
+
- Bold (700) is used for answer headings only, never for emphasis within body paragraphs; use color change or size for inline emphasis.
|
|
81
|
+
|
|
82
|
+
## 4. Spacing & Grid
|
|
83
|
+
|
|
84
|
+
Perplexity uses an **8px base unit** throughout.
|
|
85
|
+
|
|
86
|
+
| Token | Value | Usage |
|
|
87
|
+
|---|---|---|
|
|
88
|
+
| `--space-1` | 4px | Icon gap, tight label padding |
|
|
89
|
+
| `--space-2` | 8px | Inline padding, small element gap |
|
|
90
|
+
| `--space-3` | 12px | Component internal padding |
|
|
91
|
+
| `--space-4` | 16px | Card padding, section gap |
|
|
92
|
+
| `--space-5` | 24px | Between-component spacing |
|
|
93
|
+
| `--space-6` | 32px | Section divider gap |
|
|
94
|
+
| `--space-7` | 48px | Page-level vertical rhythm |
|
|
95
|
+
| `--space-8` | 64px | Hero / above-fold padding |
|
|
96
|
+
|
|
97
|
+
### Layout grid
|
|
98
|
+
|
|
99
|
+
- **Max content width:** 720px for the answer column (reading context); 1100px for the full-page shell.
|
|
100
|
+
- **Sidebar:** 280px fixed; collapses under 900px viewport.
|
|
101
|
+
- **Columns:** 12-column, 16px gutter.
|
|
102
|
+
- Mobile: single column, 16px side margin.
|
|
103
|
+
|
|
104
|
+
### Border radius
|
|
105
|
+
|
|
106
|
+
| Token | Value | Usage |
|
|
107
|
+
|---|---|---|
|
|
108
|
+
| `--radius-sm` | 4px | Inline badge, tag |
|
|
109
|
+
| `--radius-md` | 8px | Input field, card |
|
|
110
|
+
| `--radius-lg` | 12px | Modal, popover |
|
|
111
|
+
| `--radius-xl` | 16px | Bottom sheet, floating panel |
|
|
112
|
+
| `--radius-full` | 9999px | Pill button, avatar |
|
|
113
|
+
|
|
114
|
+
## 5. Layout & Composition
|
|
115
|
+
|
|
116
|
+
### The answer-first pattern
|
|
117
|
+
|
|
118
|
+
The primary layout is a centered single-column answer, flanked by a source sidebar on the right. Nothing competes for attention above the fold. The question appears as a `heading-l` immediately followed by the answer body — no hero image, no decorative element.
|
|
119
|
+
|
|
120
|
+
### Source cards
|
|
121
|
+
|
|
122
|
+
Sources appear as compact horizontal chips (favicon + domain + excerpt) stacked below the answer or in a right rail. Each chip has:
|
|
123
|
+
- `--bg-surface` background
|
|
124
|
+
- `--border` 1px stroke
|
|
125
|
+
- `--radius-md` corners
|
|
126
|
+
- Favicon 16×16, clipped to circle
|
|
127
|
+
- Domain text in `body-sm`, secondary color
|
|
128
|
+
- Hover: `--bg-elevated`, no transition (instant)
|
|
129
|
+
|
|
130
|
+
### Search bar
|
|
131
|
+
|
|
132
|
+
- Full-width, `--bg-surface` fill, `--border` 1px stroke, `--radius-xl`
|
|
133
|
+
- Inner padding: 14px horizontal, 12px vertical
|
|
134
|
+
- Placeholder in `--text-tertiary`
|
|
135
|
+
- Focus: `--accent` 2px outline, no box-shadow
|
|
136
|
+
- Submit icon: right-aligned, accent color on focus
|
|
137
|
+
|
|
138
|
+
### Iconography
|
|
139
|
+
|
|
140
|
+
16×16 and 20×20 only. Stroke-based, 1.5px stroke weight, square caps, miter joins. Never fill-based icons in the UI chrome. Heroicons (MIT) is the closest open-source match.
|
|
141
|
+
|
|
142
|
+
## 6. Components
|
|
143
|
+
|
|
144
|
+
### Primary button
|
|
145
|
+
|
|
146
|
+
```css
|
|
147
|
+
background: var(--accent);
|
|
148
|
+
color: #fff;
|
|
149
|
+
border-radius: var(--radius-md);
|
|
150
|
+
padding: 10px 20px;
|
|
151
|
+
font-size: 0.9375rem;
|
|
152
|
+
font-weight: 500;
|
|
153
|
+
border: none;
|
|
154
|
+
cursor: pointer;
|
|
155
|
+
transition: background 120ms ease;
|
|
156
|
+
|
|
157
|
+
&:hover { background: var(--accent-hover); }
|
|
158
|
+
&:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
159
|
+
&:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Ghost button
|
|
163
|
+
|
|
164
|
+
```css
|
|
165
|
+
background: transparent;
|
|
166
|
+
color: var(--text-primary);
|
|
167
|
+
border: 1px solid var(--border);
|
|
168
|
+
border-radius: var(--radius-md);
|
|
169
|
+
padding: 9px 20px;
|
|
170
|
+
|
|
171
|
+
&:hover { background: var(--bg-elevated); }
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Source badge
|
|
175
|
+
|
|
176
|
+
```css
|
|
177
|
+
display: inline-flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
gap: 6px;
|
|
180
|
+
background: var(--bg-surface);
|
|
181
|
+
border: 1px solid var(--border);
|
|
182
|
+
border-radius: var(--radius-sm);
|
|
183
|
+
padding: 3px 8px;
|
|
184
|
+
font-size: 0.6875rem;
|
|
185
|
+
color: var(--text-secondary);
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Answer card
|
|
189
|
+
|
|
190
|
+
```css
|
|
191
|
+
background: var(--bg-surface);
|
|
192
|
+
border: 1px solid var(--border);
|
|
193
|
+
border-radius: var(--radius-lg);
|
|
194
|
+
padding: var(--space-5);
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
No drop shadow. Elevation is communicated through border contrast, not shadow.
|
|
198
|
+
|
|
199
|
+
### Input / search field
|
|
200
|
+
|
|
201
|
+
```css
|
|
202
|
+
background: var(--bg-surface);
|
|
203
|
+
border: 1px solid var(--border);
|
|
204
|
+
border-radius: var(--radius-xl);
|
|
205
|
+
padding: 12px 16px;
|
|
206
|
+
font-size: 0.9375rem;
|
|
207
|
+
color: var(--text-primary);
|
|
208
|
+
outline: none;
|
|
209
|
+
|
|
210
|
+
&:focus { border-color: var(--accent); }
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Tab bar
|
|
214
|
+
|
|
215
|
+
Tabs use `--text-secondary` by default. Active tab: `--text-primary` + 2px bottom border in `--accent`. No background highlight on the active tab.
|
|
216
|
+
|
|
217
|
+
### Skeleton loader
|
|
218
|
+
|
|
219
|
+
```css
|
|
220
|
+
background: linear-gradient(
|
|
221
|
+
90deg,
|
|
222
|
+
var(--bg-elevated) 25%,
|
|
223
|
+
var(--bg-surface) 50%,
|
|
224
|
+
var(--bg-elevated) 75%
|
|
225
|
+
);
|
|
226
|
+
background-size: 400% 100%;
|
|
227
|
+
animation: skeleton-shimmer 1.4s ease infinite;
|
|
228
|
+
border-radius: var(--radius-sm);
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
## 7. Motion & Interaction
|
|
232
|
+
|
|
233
|
+
Perplexity's interactions are nearly imperceptible — the brand is anti-animation. Every transition exists to prevent jarring state jumps, not to delight.
|
|
234
|
+
|
|
235
|
+
| Action | Duration | Easing |
|
|
236
|
+
|---|---|---|
|
|
237
|
+
| Hover state change | 120ms | `ease` |
|
|
238
|
+
| Panel / sidebar open | 160ms | `ease-out` |
|
|
239
|
+
| Modal appear | 200ms | `ease-out` |
|
|
240
|
+
| Skeleton shimmer | 1400ms | `ease` infinite |
|
|
241
|
+
| Accordion expand | 180ms | `ease-in-out` |
|
|
242
|
+
|
|
243
|
+
Rules:
|
|
244
|
+
- No spring physics, no bounce, no overshoot.
|
|
245
|
+
- `prefers-reduced-motion: reduce` → all transitions collapse to 0ms instant.
|
|
246
|
+
- No entrance animations for content — the answer appears immediately, not with a fade-in sequence.
|
|
247
|
+
- The streaming answer text appears character-by-character via the model stream, not via CSS animation.
|
|
248
|
+
|
|
249
|
+
## 8. Voice & Brand
|
|
250
|
+
|
|
251
|
+
### Tone
|
|
252
|
+
|
|
253
|
+
- **Precise:** Say the thing directly. No throat-clearing ("Great question!"), no filler phrases.
|
|
254
|
+
- **Cited:** Every factual claim is attributed. Hedging language ("according to", "reportedly") is preferred over assertions.
|
|
255
|
+
- **Neutral:** No personality performance. Perplexity is a tool, not a friend. The interface does not compliment the user.
|
|
256
|
+
- **Dense:** Short paragraphs, numbered lists for steps, bullet lists for options. Wall-of-text answers are a bug.
|
|
257
|
+
|
|
258
|
+
### UI copy patterns
|
|
259
|
+
|
|
260
|
+
| Context | Pattern |
|
|
261
|
+
|---|---|
|
|
262
|
+
| Empty state | `Ask anything.` — no emoji, no exclamation mark |
|
|
263
|
+
| Loading | `Searching…` — ellipsis, no spinner label |
|
|
264
|
+
| Error | `Something went wrong. Try again.` — direct, no apology |
|
|
265
|
+
| Success | No toast — the result is the confirmation |
|
|
266
|
+
| CTA | `Search`, `Ask`, `Summarize` — verb-only, no "Click to …" |
|
|
267
|
+
|
|
268
|
+
### What Perplexity is not
|
|
269
|
+
|
|
270
|
+
- Not playful (no winking emoji, no casual slang in UI copy)
|
|
271
|
+
- Not enterprise-formal (no "leverage", no "synergy")
|
|
272
|
+
- Not a news outlet (no editorial headlines, no opinionated framing)
|
|
273
|
+
|
|
274
|
+
## 9. Anti-patterns
|
|
275
|
+
|
|
276
|
+
These patterns are inconsistent with the Perplexity visual language and should be avoided in any artifact using this design system.
|
|
277
|
+
|
|
278
|
+
- **Gradient backgrounds.** `--bg-base` is a flat near-black. No hero gradients, no mesh gradients, no color blobs.
|
|
279
|
+
- **Drop shadows.** Elevation is expressed through background color steps (`base → surface → elevated`), never box-shadow.
|
|
280
|
+
- **Colorful icons.** All UI icons are monochrome at `--text-secondary`. No multi-color icon sets.
|
|
281
|
+
- **Rounded pill cards.** Cards use `--radius-lg` (12px), not full-pill radii. Pill shapes are reserved for tags and avatars only.
|
|
282
|
+
- **Decorative illustration.** No isometric 3D, no blob characters, no abstract art in the UI chrome. If an image is shown, it is a source thumbnail or user-uploaded content.
|
|
283
|
+
- **Accent overuse.** Purple (`--accent`) appears once per view: the primary button or the active focus state. Using it for headings, dividers, or backgrounds breaks the hierarchy.
|
|
284
|
+
- **Modal overload.** Perplexity resolves choices inline (inline pickers, inline follow-ups) rather than spawning a blocking modal dialog.
|
|
285
|
+
- **Capitalized section labels.** Section labels are sentence case, not ALL CAPS or Title Case.
|
|
286
|
+
- **Inter at display size as a display face.** Inter at 2rem+ looks thin. Use weight 600, not 700, for display headings, and never stretch or condense it.
|