@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,191 @@
|
|
|
1
|
+
/* ─────────────────────────────────────────────────────────────────────────
|
|
2
|
+
* design-systems/webflow/tokens.css
|
|
3
|
+
*
|
|
4
|
+
* Structured token bindings for "Design System Inspired by Webflow".
|
|
5
|
+
* The visual web builder: a white marketing-grade canvas, near-black
|
|
6
|
+
* ink, the signature Webflow Blue (#146ef5), conservative 4px corners,
|
|
7
|
+
* and a five-layer cascading shadow that gives every card a built-not-
|
|
8
|
+
* floating quality.
|
|
9
|
+
*
|
|
10
|
+
* Key brand decisions encoded here:
|
|
11
|
+
* - White canvas with near-black (#080808) text — DESIGN.md §1 / §9.
|
|
12
|
+
* The marketing site does NOT shift surfaces warm; section variation
|
|
13
|
+
* comes from borders + the 5-layer shadow stack, not from tinting.
|
|
14
|
+
* - Webflow Blue (#146ef5) as the single accent, with the documented
|
|
15
|
+
* darker Button Hover Blue (#0055d4) as `--accent-hover` (not a
|
|
16
|
+
* formulaic black-mix — Webflow's docs specify the hover value).
|
|
17
|
+
* - Four-tier foreground ramp: #080808 → #363636 → #5a5a5a → #ababab,
|
|
18
|
+
* matching the Near Black / Gray 700 / Mid Gray / Gray 300 scale
|
|
19
|
+
* from DESIGN.md §2 so cross-brand components targeting --fg-2 and
|
|
20
|
+
* --meta resolve to Webflow's actual gray ramp.
|
|
21
|
+
* - Conservative radius (4px–8px). DESIGN.md §7 forbids rounding
|
|
22
|
+
* beyond 8px for functional elements — sharp, precise, tool-like.
|
|
23
|
+
* - Five-layer cascading shadow on --elev-raised, reproduced verbatim
|
|
24
|
+
* from DESIGN.md §2 / §6: the stack is the depth signature and
|
|
25
|
+
* should never be flattened to a single blur.
|
|
26
|
+
* - WF Visual Sans Variable display + body, Inconsolata for code —
|
|
27
|
+
* the dual identity DESIGN.md §3 calls out (design + code).
|
|
28
|
+
* - Webflow Green / Yellow / Red bound to semantic tokens (DESIGN.md
|
|
29
|
+
* §2 Secondary Accents) so semantic state stays inside the brand
|
|
30
|
+
* palette rather than borrowing the schema's generic hues.
|
|
31
|
+
*
|
|
32
|
+
* Source contracts:
|
|
33
|
+
* - Standard token names: design-systems/_schema/tokens.schema.ts
|
|
34
|
+
* - A2 fallback parity: design-systems/_schema/defaults.css
|
|
35
|
+
* - Lint enforcement: apps/daemon/src/lint-artifact.ts
|
|
36
|
+
* ─────────────────────────────────────────────────────────────────── */
|
|
37
|
+
|
|
38
|
+
:root {
|
|
39
|
+
/* ─── Surface (no warm tier) ───────────────────────────────────────
|
|
40
|
+
* Webflow's marketing canvas is pure white. Sections do not shift
|
|
41
|
+
* background color — depth comes from the 5-layer shadow stack and
|
|
42
|
+
* 1px borders, not from tinted surfaces. `--surface-warm` aliases
|
|
43
|
+
* to surface because the brand has no warmer tier. */
|
|
44
|
+
--bg: #ffffff; /* White — the page canvas */
|
|
45
|
+
--surface: #ffffff; /* White — cards stay flush with the canvas */
|
|
46
|
+
--surface-warm: var(--surface); /* alias — Webflow has no warm tier */
|
|
47
|
+
|
|
48
|
+
/* ─── Foreground ramp (4 levels) ──────────────────────────────────
|
|
49
|
+
* Near Black → Gray 700 → Mid Gray → Gray 300, the four documented
|
|
50
|
+
* text tiers from DESIGN.md §2 (headings / body / captions / muted).
|
|
51
|
+
* `#080808` instead of `#000000` matters — DESIGN.md §1 / §9 names
|
|
52
|
+
* the near-black explicitly. The four tiers are independently bound
|
|
53
|
+
* (not aliased) because Webflow's marketing site genuinely uses all
|
|
54
|
+
* four: H1 black, body Gray 700, captions Mid Gray, placeholder /
|
|
55
|
+
* disabled Gray 300. */
|
|
56
|
+
--fg: #080808; /* Near Black — primary text */
|
|
57
|
+
--fg-2: #363636; /* Gray 700 — body description */
|
|
58
|
+
--muted: #5a5a5a; /* Mid Gray — captions, link text */
|
|
59
|
+
--meta: #ababab; /* Gray 300 — placeholder, disabled */
|
|
60
|
+
|
|
61
|
+
/* ─── Border (2 levels) ──────────────────────────────────────────
|
|
62
|
+
* Borders are visible and structural in Webflow — `1px solid #d8d8d8`
|
|
63
|
+
* is the documented card edge (DESIGN.md §4). `--border-soft` drops
|
|
64
|
+
* to a paler tint for inner row separators that must not visually
|
|
65
|
+
* compete with the card outline. */
|
|
66
|
+
--border: #d8d8d8; /* Border Gray — card / divider edge */
|
|
67
|
+
--border-soft: #ebebeb; /* paler tint — inner row separator */
|
|
68
|
+
|
|
69
|
+
/* ─── Accent ─────────────────────────────────────────────────────
|
|
70
|
+
* Webflow Blue (#146ef5): primary CTA, link, focus ring, badge tint.
|
|
71
|
+
* `--accent-hover` is the documented Button Hover Blue (#0055d4),
|
|
72
|
+
* NOT a formulaic black-mix — Webflow's brand spec names the darker
|
|
73
|
+
* value, so we honor it verbatim instead of computing one. Hard cap
|
|
74
|
+
* of ≤2 visible uses per screen (schema lint). */
|
|
75
|
+
--accent: #146ef5; /* Webflow Blue — primary brand signal */
|
|
76
|
+
--accent-on: #ffffff; /* white label on saturated blue */
|
|
77
|
+
--accent-hover: #0055d4; /* Button Hover Blue — documented value */
|
|
78
|
+
--accent-active: color-mix(in oklab, var(--accent), black 14%);
|
|
79
|
+
|
|
80
|
+
/* ─── Semantic ───────────────────────────────────────────────────
|
|
81
|
+
* Bound to Webflow's secondary palette (DESIGN.md §2) so state
|
|
82
|
+
* colors live inside the brand instead of borrowing the schema's
|
|
83
|
+
* generic semantic hues. Webflow Green / Yellow / Red are vivid
|
|
84
|
+
* enough to read as state without falling out of the system. */
|
|
85
|
+
--success: #00d722; /* Webflow Green */
|
|
86
|
+
--warn: #ffae13; /* Webflow Yellow */
|
|
87
|
+
--danger: #ee1d36; /* Webflow Red */
|
|
88
|
+
|
|
89
|
+
/* ─── Typography — fonts ─────────────────────────────────────────
|
|
90
|
+
* WF Visual Sans Variable is Webflow's custom variable face used at
|
|
91
|
+
* weight 500–600 throughout. Inter/Arial fall back so artifacts
|
|
92
|
+
* render legibly when the brand face is not loaded. Inconsolata is
|
|
93
|
+
* the companion monospace from DESIGN.md §3 — the "design + code"
|
|
94
|
+
* dual identity is part of the brand voice. */
|
|
95
|
+
--font-display: "WF Visual Sans Variable", "Inter", Arial, system-ui, sans-serif;
|
|
96
|
+
--font-body: "WF Visual Sans Variable", "Inter", Arial, system-ui, sans-serif;
|
|
97
|
+
--font-mono: "Inconsolata", ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
|
|
98
|
+
|
|
99
|
+
/* Type scale (px) — DESIGN.md §3 hierarchy table. Display hero is
|
|
100
|
+
* 80px (the big marketing-page number), section heading is 56px,
|
|
101
|
+
* sub-heading 32px, feature 24px, body 20px, body-standard 16px,
|
|
102
|
+
* caption 14px. The schema's 8 tiers map directly onto Webflow's
|
|
103
|
+
* documented sizes. */
|
|
104
|
+
--text-xs: 12px; /* badge uppercase / micro */
|
|
105
|
+
--text-sm: 14px; /* caption */
|
|
106
|
+
--text-base: 16px; /* body standard / button */
|
|
107
|
+
--text-lg: 20px; /* body */
|
|
108
|
+
--text-xl: 24px; /* feature title */
|
|
109
|
+
--text-2xl: 32px; /* sub-heading */
|
|
110
|
+
--text-3xl: 56px; /* section heading */
|
|
111
|
+
--text-4xl: 80px; /* display hero */
|
|
112
|
+
|
|
113
|
+
/* `--leading-tight` is 1.04 (DESIGN.md §3 display + section line-
|
|
114
|
+
* height). `--leading-body` is 1.6 (the documented body-standard
|
|
115
|
+
* ratio). `--tracking-display` is `-0.01em`, the em-relative form
|
|
116
|
+
* of Webflow's `-0.8px at 80px` display tracking — scales correctly
|
|
117
|
+
* with size. */
|
|
118
|
+
--leading-body: 1.6;
|
|
119
|
+
--leading-tight: 1.04;
|
|
120
|
+
--tracking-display: -0.01em;
|
|
121
|
+
|
|
122
|
+
/* ─── Spacing ────────────────────────────────────────────────────
|
|
123
|
+
* 4px-grid base. DESIGN.md §5's fractional scale (2.4 / 3.2 / 5.6 /
|
|
124
|
+
* 7.2 / 9.6) is component-internal micro-padding and is inlined
|
|
125
|
+
* per-component; the 4/8/12/16/20/24/32/48 tier carries the
|
|
126
|
+
* structural rhythm. */
|
|
127
|
+
--space-1: 4px;
|
|
128
|
+
--space-2: 8px;
|
|
129
|
+
--space-3: 12px;
|
|
130
|
+
--space-4: 16px;
|
|
131
|
+
--space-5: 20px;
|
|
132
|
+
--space-6: 24px;
|
|
133
|
+
--space-8: 32px;
|
|
134
|
+
--space-12: 48px;
|
|
135
|
+
|
|
136
|
+
/* Section rhythm — Webflow's marketing sections breathe but stay
|
|
137
|
+
* tighter than a gallery: 96px desktop, 64px tablet, 48px phone
|
|
138
|
+
* (matching the documented 992 / 768 / 479 breakpoints in §8). */
|
|
139
|
+
--section-y-desktop: 96px;
|
|
140
|
+
--section-y-tablet: 64px;
|
|
141
|
+
--section-y-phone: 48px;
|
|
142
|
+
|
|
143
|
+
/* ─── Radius ─────────────────────────────────────────────────────
|
|
144
|
+
* DESIGN.md §5: 2 / 4 / 8 / 50%. The "Do" list (§7) is explicit:
|
|
145
|
+
* 4px is the default, do NOT round beyond 8px for functional
|
|
146
|
+
* elements. We bind sm/md to 4px (buttons, inputs, cards), lg to
|
|
147
|
+
* 8px (featured containers), pill to 9999px (badges, avatars). */
|
|
148
|
+
--radius-sm: 4px; /* buttons, inputs, chips */
|
|
149
|
+
--radius-md: 4px; /* cards, modals — same conservative 4px */
|
|
150
|
+
--radius-lg: 8px; /* featured containers — the soft cap */
|
|
151
|
+
--radius-pill: 9999px; /* badges, avatars */
|
|
152
|
+
|
|
153
|
+
/* ─── Elevation (3 levels, raised = 5-layer cascade) ─────────────
|
|
154
|
+
* The 5-layer shadow stack from DESIGN.md §2 / §6 is the depth
|
|
155
|
+
* signature. The outer layer at 84px is a "presence" cushion (alpha
|
|
156
|
+
* 0), the inner 3px layer is the contact shadow, and three middle
|
|
157
|
+
* layers create the smooth falloff. Never flatten this stack to a
|
|
158
|
+
* single blur — the cascade is what makes Webflow cards feel
|
|
159
|
+
* physically built rather than digitally floating. */
|
|
160
|
+
--elev-flat: none;
|
|
161
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
162
|
+
--elev-raised:
|
|
163
|
+
0px 84px 24px rgba(0, 0, 0, 0),
|
|
164
|
+
0px 54px 22px rgba(0, 0, 0, 0.01),
|
|
165
|
+
0px 30px 18px rgba(0, 0, 0, 0.04),
|
|
166
|
+
0px 13px 13px rgba(0, 0, 0, 0.08),
|
|
167
|
+
0px 3px 7px rgba(0, 0, 0, 0.09);
|
|
168
|
+
|
|
169
|
+
/* ─── Focus ring ─────────────────────────────────────────────────
|
|
170
|
+
* Webflow Blue at 30% — the accent is already the brand's focus
|
|
171
|
+
* color in product, so the schema default (alpha glow of accent)
|
|
172
|
+
* matches without override. */
|
|
173
|
+
--focus-ring: 0 0 0 3px color-mix(in oklab, var(--accent), transparent 70%);
|
|
174
|
+
|
|
175
|
+
/* ─── Motion ─────────────────────────────────────────────────────
|
|
176
|
+
* 150 / 200ms with standard easing. Webflow's marketing site uses a
|
|
177
|
+
* 6px translate hover on buttons (DESIGN.md §4) — that micro-move
|
|
178
|
+
* runs at --motion-fast. */
|
|
179
|
+
--motion-fast: 150ms;
|
|
180
|
+
--motion-base: 200ms;
|
|
181
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
182
|
+
|
|
183
|
+
/* ─── Layout ─────────────────────────────────────────────────────
|
|
184
|
+
* 1200px max content width — Webflow's marketing pages cap around
|
|
185
|
+
* this width to keep line lengths readable. Breakpoints from
|
|
186
|
+
* DESIGN.md §8 (992 / 768 / 479) gate the gutter scale. */
|
|
187
|
+
--container-max: 1200px;
|
|
188
|
+
--container-gutter-desktop: 24px;
|
|
189
|
+
--container-gutter-tablet: 16px;
|
|
190
|
+
--container-gutter-phone: 12px;
|
|
191
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
# WeChat Design System
|
|
2
|
+
|
|
3
|
+
> Category: Social & Messaging
|
|
4
|
+
> Brand visual language for WeChat Mini Programs, official accounts, and open ecosystem extensions.
|
|
5
|
+
|
|
6
|
+
## Brand Identity
|
|
7
|
+
|
|
8
|
+
WeChat's identity is built on simplicity, cleanness, and trust — reflecting its role as a super-app that connects people, services, and businesses.
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## Color Palette
|
|
13
|
+
|
|
14
|
+
### Brand Colors
|
|
15
|
+
|
|
16
|
+
| Token | Hex | Usage |
|
|
17
|
+
|---|----|----|
|
|
18
|
+
| `--wechat-green` | `#07C160` | Primary brand, CTA buttons, active states |
|
|
19
|
+
| `--wechat-green-light` | `#10B160` | Hover state for primary actions |
|
|
20
|
+
| `--wechat-green-dark` | `#059050` | Pressed/active state |
|
|
21
|
+
|
|
22
|
+
### Chat Bubble Colors
|
|
23
|
+
|
|
24
|
+
| Token | Hex | Usage |
|
|
25
|
+
|---|----|----|
|
|
26
|
+
| `--wechat-bubble-self` | `#95EC69` | Outgoing message bubbles |
|
|
27
|
+
| `--wechat-bubble-other` | `#FFFFFF` | Incoming message bubbles |
|
|
28
|
+
| `--wechat-bubble-text` | `#1A1A1A` | Primary text in bubbles |
|
|
29
|
+
|
|
30
|
+
### UI Neutrals
|
|
31
|
+
|
|
32
|
+
| Token | Hex | Usage |
|
|
33
|
+
|---|----|----|
|
|
34
|
+
| `--wechat-bg` | `#EDEDED` | Page/app background |
|
|
35
|
+
| `--wechat-surface` | `#F7F7F7` | Card, modal surfaces |
|
|
36
|
+
| `--wechat-border` | `#E0E0E0` | Dividers, borders |
|
|
37
|
+
| `--wechat-ink` | `#1A1A1A` | Primary text |
|
|
38
|
+
| `--wechat-muted` | `#888888` | Secondary text, timestamps |
|
|
39
|
+
|
|
40
|
+
### Functional Colors
|
|
41
|
+
|
|
42
|
+
| Token | Hex | Usage |
|
|
43
|
+
|---|----|----|
|
|
44
|
+
| `--wechat-red` | `#FA5151` | Errors, destructive actions |
|
|
45
|
+
| `--wechat-orange` | `#FAB702` | Warnings |
|
|
46
|
+
| `--wechat-blue` | `#576B95` | Links, info states |
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## Typography
|
|
51
|
+
|
|
52
|
+
### Font Stack
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### Type Scale
|
|
59
|
+
|
|
60
|
+
| Role | Size | Weight | Line Height |
|
|
61
|
+
|---|---|---|---|
|
|
62
|
+
| Page Title | 18px | 600 | 1.3 |
|
|
63
|
+
| Section Header | 16px | 600 | 1.4 |
|
|
64
|
+
| Body Text | 15px | 400 | 1.6 |
|
|
65
|
+
| Secondary Text | 13px | 400 | 1.5 |
|
|
66
|
+
| Caption/Timestamp | 11px | 400 | 1.4 |
|
|
67
|
+
| Button Label | 16px | 500 | 1.0 |
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## Spacing System
|
|
72
|
+
|
|
73
|
+
4px base unit.
|
|
74
|
+
|
|
75
|
+
| Token | Value |
|
|
76
|
+
|---|-----|
|
|
77
|
+
| `--space-xs` | 4px |
|
|
78
|
+
| `--space-sm` | 8px |
|
|
79
|
+
| `--space-md` | 12px |
|
|
80
|
+
| `--space-lg` | 16px |
|
|
81
|
+
| `--space-xl` | 24px |
|
|
82
|
+
| `--space-2xl` | 32px |
|
|
83
|
+
|
|
84
|
+
### Border Radius
|
|
85
|
+
|
|
86
|
+
| Token | Value |
|
|
87
|
+
|---|-----|
|
|
88
|
+
| `--radius-sm` | 4px |
|
|
89
|
+
| `--radius-md` | 8px |
|
|
90
|
+
| `--radius-lg` | 16px |
|
|
91
|
+
| `--radius-bubble` | 16px (with directional corner clip) |
|
|
92
|
+
| `--radius-full` | 9999px (avatars, pills) |
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Components
|
|
97
|
+
|
|
98
|
+
### Chat Bubble
|
|
99
|
+
|
|
100
|
+
```css
|
|
101
|
+
.wechat-bubble {
|
|
102
|
+
max-width: 70%;
|
|
103
|
+
padding: 10px 14px;
|
|
104
|
+
border-radius: var(--radius-bubble);
|
|
105
|
+
font-size: 15px;
|
|
106
|
+
line-height: 1.6;
|
|
107
|
+
position: relative;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.wechat-bubble.self {
|
|
111
|
+
background: var(--wechat-bubble-self);
|
|
112
|
+
color: var(--wechat-bubble-text);
|
|
113
|
+
border-top-right-radius: 4px;
|
|
114
|
+
margin-left: auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.wechat-bubble.other {
|
|
118
|
+
background: var(--wechat-bubble-other);
|
|
119
|
+
color: var(--wechat-bubble-text);
|
|
120
|
+
border-top-left-radius: 4px;
|
|
121
|
+
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
### Primary Button (Send / Confirm)
|
|
126
|
+
|
|
127
|
+
```css
|
|
128
|
+
.btn-wechat-primary {
|
|
129
|
+
background: var(--wechat-green);
|
|
130
|
+
color: #fff;
|
|
131
|
+
border: none;
|
|
132
|
+
border-radius: var(--radius-md);
|
|
133
|
+
padding: 12px 32px;
|
|
134
|
+
font-size: 16px;
|
|
135
|
+
font-weight: 500;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
transition: background 0.15s;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.btn-wechat-primary:hover {
|
|
141
|
+
background: var(--wechat-green-light);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.btn-wechat-primary:active {
|
|
145
|
+
background: var(--wechat-green-dark);
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Tab Bar
|
|
150
|
+
|
|
151
|
+
```css
|
|
152
|
+
.tab-bar {
|
|
153
|
+
display: flex;
|
|
154
|
+
background: var(--wechat-surface);
|
|
155
|
+
border-top: 1px solid var(--wechat-border);
|
|
156
|
+
padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.tab-bar-item {
|
|
160
|
+
flex: 1;
|
|
161
|
+
display: flex;
|
|
162
|
+
flex-direction: column;
|
|
163
|
+
align-items: center;
|
|
164
|
+
gap: 4px;
|
|
165
|
+
color: var(--wechat-muted);
|
|
166
|
+
font-size: 10px;
|
|
167
|
+
cursor: pointer;
|
|
168
|
+
transition: color 0.15s;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.tab-bar-item.active {
|
|
172
|
+
color: var(--wechat-green);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.tab-bar-item svg {
|
|
176
|
+
width: 24px;
|
|
177
|
+
height: 24px;
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
### Message Input Bar
|
|
182
|
+
|
|
183
|
+
```css
|
|
184
|
+
.input-bar {
|
|
185
|
+
display: flex;
|
|
186
|
+
align-items: flex-end;
|
|
187
|
+
gap: 8px;
|
|
188
|
+
padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
|
|
189
|
+
background: var(--wechat-surface);
|
|
190
|
+
border-top: 1px solid var(--wechat-border);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.input-bar textarea {
|
|
194
|
+
flex: 1;
|
|
195
|
+
min-height: 36px;
|
|
196
|
+
max-height: 100px;
|
|
197
|
+
padding: 8px 12px;
|
|
198
|
+
background: var(--wechat-bg);
|
|
199
|
+
border: 1px solid var(--wechat-border);
|
|
200
|
+
border-radius: var(--radius-lg);
|
|
201
|
+
font-size: 15px;
|
|
202
|
+
line-height: 1.5;
|
|
203
|
+
resize: none;
|
|
204
|
+
outline: none;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.input-bar textarea:focus {
|
|
208
|
+
border-color: var(--wechat-green);
|
|
209
|
+
}
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Avatar
|
|
213
|
+
|
|
214
|
+
```css
|
|
215
|
+
.avatar {
|
|
216
|
+
width: 40px;
|
|
217
|
+
height: 40px;
|
|
218
|
+
border-radius: var(--radius-full);
|
|
219
|
+
object-fit: cover;
|
|
220
|
+
background: var(--wechat-border);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.avatar.sm { width: 32px; height: 32px; }
|
|
224
|
+
.avatar.lg { width: 56px; height: 56px; }
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### Timestamp Badge
|
|
228
|
+
|
|
229
|
+
```css
|
|
230
|
+
.timestamp {
|
|
231
|
+
display: inline-block;
|
|
232
|
+
padding: 4px 8px;
|
|
233
|
+
background: rgba(0, 0, 0, 0.08);
|
|
234
|
+
border-radius: var(--radius-sm);
|
|
235
|
+
font-size: 11px;
|
|
236
|
+
color: var(--wechat-muted);
|
|
237
|
+
text-align: center;
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## Motion & Animation
|
|
244
|
+
|
|
245
|
+
| Token | Value |
|
|
246
|
+
|---|-----|
|
|
247
|
+
| `--duration-instant` | 100ms |
|
|
248
|
+
| `--duration-fast` | 200ms |
|
|
249
|
+
| `--duration-normal` | 300ms |
|
|
250
|
+
| `--ease-default` | cubic-bezier(0.25, 0.1, 0.25, 1) |
|
|
251
|
+
|
|
252
|
+
Chat message entry: fade-in + slight slide up, 200ms.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## Dark Mode
|
|
257
|
+
|
|
258
|
+
| Token | Light | Dark |
|
|
259
|
+
|---|---|---|
|
|
260
|
+
| `--wechat-bg` | `#EDEDED` | `#1A1A1A` |
|
|
261
|
+
| `--wechat-surface` | `#F7F7F7` | `#2C2C2C` |
|
|
262
|
+
| `--wechat-ink` | `#1A1A1A` | `#F7F7F7` |
|
|
263
|
+
| `--wechat-bubble-self` | `#95EC69` | `#4CAF50` |
|
|
264
|
+
| `--wechat-bubble-other` | `#FFFFFF` | `#2C2C2C` |
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Usage
|
|
269
|
+
|
|
270
|
+
```css
|
|
271
|
+
:root {
|
|
272
|
+
--wechat-green: #07C160;
|
|
273
|
+
--wechat-green-light: #10B160;
|
|
274
|
+
--wechat-green-dark: #059050;
|
|
275
|
+
--wechat-bubble-self: #95EC69;
|
|
276
|
+
--wechat-bubble-other: #FFFFFF;
|
|
277
|
+
--wechat-bubble-text: #1A1A1A;
|
|
278
|
+
--wechat-bg: #EDEDED;
|
|
279
|
+
--wechat-surface: #F7F7F7;
|
|
280
|
+
--wechat-border: #E0E0E0;
|
|
281
|
+
--wechat-ink: #1A1A1A;
|
|
282
|
+
--wechat-muted: #888888;
|
|
283
|
+
--wechat-red: #FA5151;
|
|
284
|
+
--wechat-orange: #FAB702;
|
|
285
|
+
--wechat-blue: #576B95;
|
|
286
|
+
--space-xs: 4px;
|
|
287
|
+
--space-sm: 8px;
|
|
288
|
+
--space-md: 12px;
|
|
289
|
+
--space-lg: 16px;
|
|
290
|
+
--space-xl: 24px;
|
|
291
|
+
--space-2xl: 32px;
|
|
292
|
+
--radius-sm: 4px;
|
|
293
|
+
--radius-md: 8px;
|
|
294
|
+
--radius-lg: 16px;
|
|
295
|
+
--radius-bubble: 16px;
|
|
296
|
+
--radius-full: 9999px;
|
|
297
|
+
--duration-instant: 100ms;
|
|
298
|
+
--duration-fast: 200ms;
|
|
299
|
+
--duration-normal: 300ms;
|
|
300
|
+
--ease-default: cubic-bezier(0.25, 0.1, 0.25, 1);
|
|
301
|
+
}
|
|
302
|
+
```
|