@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,363 @@
|
|
|
1
|
+
# Design System Inspired by Slack
|
|
2
|
+
|
|
3
|
+
> Category: Productivity & SaaS
|
|
4
|
+
> Workplace communication platform. Aubergine-primary, multi-accent logo palette, light surfaces with dark sidebar, warm and approachable.
|
|
5
|
+
|
|
6
|
+
## 1. Visual Theme & Atmosphere
|
|
7
|
+
|
|
8
|
+
Slack's identity is built around the idea that work should feel human and even a little fun. The canonical surface is **light** — white content areas with a deep aubergine (`#4A154B`) sidebar — the inverse of dark-first tools. This contrast is intentional: the sidebar is a calm, always-present navigation anchor, while the content area is bright and open.
|
|
9
|
+
|
|
10
|
+
The logo palette — blue, green, yellow, red — appears primarily in the hashtag icon and marketing contexts, not scattered through the UI. In the product itself, Slack uses a restrained, professional color system with aubergine as the sole brand anchor.
|
|
11
|
+
|
|
12
|
+
**Key Characteristics:**
|
|
13
|
+
- Light-first content surfaces: white `#FFFFFF` and near-white `#F8F8F8`
|
|
14
|
+
- Deep aubergine `#4A154B` sidebar — the brand's most recognizable UI element
|
|
15
|
+
- Four logo accent colors (blue, green, yellow, red) used sparingly as highlights only
|
|
16
|
+
- Larsseit for headings (marketing), system sans-serif for UI
|
|
17
|
+
- Rounded but not cartoonish: 4–8px radius on most components
|
|
18
|
+
- Dense but breathable: compact message rows with clear thread hierarchy
|
|
19
|
+
- Warm and conversational tone — emojis, reactions, and illustrations are first-class
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## 2. Color Palette & Roles
|
|
24
|
+
|
|
25
|
+
### Brand Primary
|
|
26
|
+
| Token | Hex | Role |
|
|
27
|
+
|---|---|---|
|
|
28
|
+
| `--color-aubergine` | `#4A154B` | Sidebar background, primary brand color |
|
|
29
|
+
| `--color-aubergine-dark` | `#350d36` | Hover states on aubergine surfaces |
|
|
30
|
+
| `--color-aubergine-light` | `#611f69` | Active item highlight in sidebar |
|
|
31
|
+
|
|
32
|
+
### Logo Accent Colors (use sparingly — highlights, icons, marketing only)
|
|
33
|
+
| Token | Hex | Name | Role |
|
|
34
|
+
|---|---|---|---|
|
|
35
|
+
| `--color-blue` | `#36C5F0` | Sky Blue | Channel icons, links, info states |
|
|
36
|
+
| `--color-green` | `#2EB67D` | Teal Green | Online status, success states |
|
|
37
|
+
| `--color-yellow` | `#ECB22E` | Gold | Away status, warnings, highlights |
|
|
38
|
+
| `--color-red` | `#E01E5A` | Ruby | Notifications, errors, mentions badge |
|
|
39
|
+
|
|
40
|
+
### Surface & Background
|
|
41
|
+
| Token | Hex | Role |
|
|
42
|
+
|---|---|---|
|
|
43
|
+
| `--bg-primary` | `#FFFFFF` | Main message area, modals |
|
|
44
|
+
| `--bg-secondary` | `#F8F8F8` | Thread panels, secondary surfaces |
|
|
45
|
+
| `--bg-tertiary` | `#F1F1F1` | Input backgrounds, hover states |
|
|
46
|
+
| `--bg-sidebar` | `#4A154B` | Left sidebar (aubergine) |
|
|
47
|
+
| `--bg-sidebar-hover` | `rgba(255,255,255,0.1)` | Sidebar item hover |
|
|
48
|
+
| `--bg-sidebar-active` | `rgba(255,255,255,0.2)` | Active sidebar item |
|
|
49
|
+
| `--bg-message-hover` | `#F8F8F8` | Message row hover |
|
|
50
|
+
|
|
51
|
+
### Text Colors
|
|
52
|
+
| Token | Hex | Role |
|
|
53
|
+
|---|---|---|
|
|
54
|
+
| `--text-primary` | `#1D1C1D` | Primary body text (near-black) |
|
|
55
|
+
| `--text-secondary` | `#616061` | Timestamps, muted labels |
|
|
56
|
+
| `--text-sidebar` | `rgba(255,255,255,0.9)` | Sidebar channel names |
|
|
57
|
+
| `--text-sidebar-muted` | `rgba(255,255,255,0.6)` | Sidebar inactive items |
|
|
58
|
+
| `--text-link` | `#1264A3` | Inline links in messages |
|
|
59
|
+
| `--text-mention` | `#1264A3` | @mention text color |
|
|
60
|
+
|
|
61
|
+
### Semantic Colors
|
|
62
|
+
| Token | Hex | Role |
|
|
63
|
+
|---|---|---|
|
|
64
|
+
| `--color-success` | `#2EB67D` | Success toasts, positive states |
|
|
65
|
+
| `--color-warning` | `#ECB22E` | Warning states |
|
|
66
|
+
| `--color-danger` | `#E01E5A` | Error states, destructive actions |
|
|
67
|
+
| `--color-info` | `#36C5F0` | Informational highlights |
|
|
68
|
+
|
|
69
|
+
### Border & Divider
|
|
70
|
+
| Token | Hex | Role |
|
|
71
|
+
|---|---|---|
|
|
72
|
+
| `--border-default` | `#DDDDDD` | Standard dividers, card borders |
|
|
73
|
+
| `--border-subtle` | `#F1F1F1` | Subtle separators between rows |
|
|
74
|
+
| `--border-focus` | `#1264A3` | Focus ring color |
|
|
75
|
+
|
|
76
|
+
---
|
|
77
|
+
|
|
78
|
+
## 3. Typography Rules
|
|
79
|
+
|
|
80
|
+
### Typefaces
|
|
81
|
+
| Role | Official | Web Fallback |
|
|
82
|
+
|---|---|---|
|
|
83
|
+
| Display / Marketing Headings | Larsseit | `'Larsseit', 'Helvetica Neue', Arial, sans-serif` |
|
|
84
|
+
| UI / Body / Chrome | Slack Lato (custom) | `system-ui, -apple-system, BlinkMacSystemFont, sans-serif` |
|
|
85
|
+
| Code / Monospace | — | `'Monaco', 'Menlo', 'Courier New', monospace` |
|
|
86
|
+
|
|
87
|
+
> Slack uses **Larsseit** for marketing headlines and a custom Lato variant for in-product UI. For web use, `system-ui` is the safest fallback.
|
|
88
|
+
|
|
89
|
+
### Type Scale
|
|
90
|
+
|
|
91
|
+
| Level | Size | Weight | Line Height | Letter Spacing | Usage |
|
|
92
|
+
|---|---|---|---|---|---|
|
|
93
|
+
| Display XL | 48px | 800 | 1.1 | -1px | Marketing hero headlines |
|
|
94
|
+
| Display L | 36px | 700 | 1.15 | -0.5px | Section heroes |
|
|
95
|
+
| Heading 1 | 28px | 700 | 1.25 | normal | Modal titles, page headers |
|
|
96
|
+
| Heading 2 | 22px | 700 | 1.3 | normal | Card titles, settings sections |
|
|
97
|
+
| Heading 3 | 18px | 700 | 1.35 | normal | Sub-section headers |
|
|
98
|
+
| Body L | 16px | 400 | 1.5 | normal | Message text, descriptions |
|
|
99
|
+
| Body | 15px | 400 | 1.46667 | normal | Default UI text (Slack's base size) |
|
|
100
|
+
| Body SM | 13px | 400 | 1.38462 | normal | Secondary metadata |
|
|
101
|
+
| Caption | 12px | 400 | 1.33 | normal | Timestamps, hints |
|
|
102
|
+
| Code | 12px | 400 | 1.5 | normal | Inline code, code blocks |
|
|
103
|
+
|
|
104
|
+
### Type Rules
|
|
105
|
+
- Slack's base body size is **15px** — slightly smaller than 16px for density
|
|
106
|
+
- Unread channels: weight 700 — bold is the primary unread indicator
|
|
107
|
+
- Timestamps: 12px `--text-secondary`, show on hover only
|
|
108
|
+
- Code blocks: background `#F8F8F8`, border `1px solid #DDDDDD`, border-radius 4px
|
|
109
|
+
- Never use font sizes below 12px
|
|
110
|
+
- Marketing headings: letter-spacing `-1px` for large display sizes
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 4. Component Stylings
|
|
115
|
+
|
|
116
|
+
### Buttons
|
|
117
|
+
|
|
118
|
+
```css
|
|
119
|
+
/* Primary */
|
|
120
|
+
.btn-primary {
|
|
121
|
+
background: #4A154B;
|
|
122
|
+
color: #FFFFFF;
|
|
123
|
+
border-radius: 4px;
|
|
124
|
+
padding: 0 16px;
|
|
125
|
+
height: 36px;
|
|
126
|
+
font-size: 15px;
|
|
127
|
+
font-weight: 700;
|
|
128
|
+
border: none;
|
|
129
|
+
}
|
|
130
|
+
.btn-primary:hover { background: #611f69; }
|
|
131
|
+
|
|
132
|
+
/* Secondary */
|
|
133
|
+
.btn-secondary {
|
|
134
|
+
background: #FFFFFF;
|
|
135
|
+
color: #1D1C1D;
|
|
136
|
+
border: 1px solid #DDDDDD;
|
|
137
|
+
border-radius: 4px;
|
|
138
|
+
padding: 0 16px;
|
|
139
|
+
height: 36px;
|
|
140
|
+
font-size: 15px;
|
|
141
|
+
font-weight: 700;
|
|
142
|
+
}
|
|
143
|
+
.btn-secondary:hover { background: #F8F8F8; }
|
|
144
|
+
|
|
145
|
+
/* Danger */
|
|
146
|
+
.btn-danger {
|
|
147
|
+
background: #E01E5A;
|
|
148
|
+
color: #FFFFFF;
|
|
149
|
+
border-radius: 4px;
|
|
150
|
+
}
|
|
151
|
+
.btn-danger:hover { background: #B3114A; }
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
### Input Fields
|
|
155
|
+
```css
|
|
156
|
+
.input {
|
|
157
|
+
background: #FFFFFF;
|
|
158
|
+
border: 1px solid #DDDDDD;
|
|
159
|
+
border-radius: 4px;
|
|
160
|
+
color: #1D1C1D;
|
|
161
|
+
font-size: 15px;
|
|
162
|
+
padding: 8px 12px;
|
|
163
|
+
height: 36px;
|
|
164
|
+
}
|
|
165
|
+
.input:focus {
|
|
166
|
+
border-color: #1264A3;
|
|
167
|
+
box-shadow: 0 0 0 2px rgba(18,100,163,0.25);
|
|
168
|
+
outline: none;
|
|
169
|
+
}
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### Sidebar Channel Item
|
|
173
|
+
```css
|
|
174
|
+
.channel-item {
|
|
175
|
+
height: 28px;
|
|
176
|
+
padding: 0 16px;
|
|
177
|
+
border-radius: 6px;
|
|
178
|
+
color: rgba(255,255,255,0.7);
|
|
179
|
+
font-size: 15px;
|
|
180
|
+
font-weight: 400;
|
|
181
|
+
}
|
|
182
|
+
.channel-item:hover {
|
|
183
|
+
background: rgba(255,255,255,0.1);
|
|
184
|
+
color: #FFFFFF;
|
|
185
|
+
}
|
|
186
|
+
.channel-item.active {
|
|
187
|
+
background: rgba(255,255,255,0.2);
|
|
188
|
+
color: #FFFFFF;
|
|
189
|
+
}
|
|
190
|
+
.channel-item.unread {
|
|
191
|
+
color: #FFFFFF;
|
|
192
|
+
font-weight: 700;
|
|
193
|
+
}
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Unread Badge
|
|
197
|
+
```css
|
|
198
|
+
.badge {
|
|
199
|
+
background: #E01E5A;
|
|
200
|
+
color: #FFFFFF;
|
|
201
|
+
border-radius: 8px;
|
|
202
|
+
font-size: 11px;
|
|
203
|
+
font-weight: 700;
|
|
204
|
+
padding: 1px 6px;
|
|
205
|
+
min-width: 18px;
|
|
206
|
+
}
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
### Message Attachments / Cards
|
|
210
|
+
```css
|
|
211
|
+
.attachment {
|
|
212
|
+
border-left: 4px solid #DDDDDD;
|
|
213
|
+
background: #F8F8F8;
|
|
214
|
+
border-radius: 0 4px 4px 0;
|
|
215
|
+
padding: 8px 12px;
|
|
216
|
+
margin: 4px 0;
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### Reactions
|
|
221
|
+
```css
|
|
222
|
+
.reaction {
|
|
223
|
+
border: 1px solid #DDDDDD;
|
|
224
|
+
border-radius: 24px;
|
|
225
|
+
background: #F8F8F8;
|
|
226
|
+
padding: 2px 8px;
|
|
227
|
+
font-size: 13px;
|
|
228
|
+
cursor: pointer;
|
|
229
|
+
}
|
|
230
|
+
.reaction:hover { background: #F1F1F1; }
|
|
231
|
+
.reaction.active {
|
|
232
|
+
background: rgba(18,100,163,0.1);
|
|
233
|
+
border-color: #1264A3;
|
|
234
|
+
}
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## 5. Layout Principles
|
|
240
|
+
|
|
241
|
+
### Three-Column Layout
|
|
242
|
+
```
|
|
243
|
+
┌──────────────┬──────────────────────────────┬─────────────┐
|
|
244
|
+
│ Sidebar │ Message Area │ Thread │
|
|
245
|
+
│ (240px) │ (flex: 1) │ (400px) │
|
|
246
|
+
│ #4A154B │ #FFFFFF │ optional │
|
|
247
|
+
└──────────────┴──────────────────────────────┴─────────────┘
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
### Spacing System (4px base)
|
|
251
|
+
| Token | Value | Usage |
|
|
252
|
+
|---|---|---|
|
|
253
|
+
| `--space-1` | 4px | Tight gaps |
|
|
254
|
+
| `--space-2` | 8px | Component padding |
|
|
255
|
+
| `--space-3` | 12px | Input padding |
|
|
256
|
+
| `--space-4` | 16px | Standard padding |
|
|
257
|
+
| `--space-6` | 24px | Card padding |
|
|
258
|
+
| `--space-8` | 32px | Section gaps |
|
|
259
|
+
|
|
260
|
+
### Sidebar Structure
|
|
261
|
+
```
|
|
262
|
+
[Workspace Name ▼]
|
|
263
|
+
────────────────────
|
|
264
|
+
Threads
|
|
265
|
+
All DMs
|
|
266
|
+
Drafts & Sent
|
|
267
|
+
────────────────────
|
|
268
|
+
▼ Channels
|
|
269
|
+
# general
|
|
270
|
+
# random
|
|
271
|
+
# design ● (unread)
|
|
272
|
+
────────────────────
|
|
273
|
+
▼ Direct Messages
|
|
274
|
+
John Doe
|
|
275
|
+
Jane Smith
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### Message Composer
|
|
279
|
+
- Pinned to bottom of message area
|
|
280
|
+
- `border: 1px solid #DDDDDD`, `border-radius: 8px`, `margin: 0 16px 16px`
|
|
281
|
+
- Toolbar: emoji, attach, format, send button
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 6. Depth & Elevation
|
|
286
|
+
|
|
287
|
+
Slack uses light shadows on a light surface:
|
|
288
|
+
|
|
289
|
+
| Level | Usage | Shadow |
|
|
290
|
+
|---|---|---|
|
|
291
|
+
| Flat | Message rows, sidebar items | none |
|
|
292
|
+
| Low | Cards, inputs | `0 1px 3px rgba(0,0,0,0.08)` |
|
|
293
|
+
| Medium | Dropdowns, popovers | `0 4px 12px rgba(0,0,0,0.12)` |
|
|
294
|
+
| High | Modals, dialogs | `0 8px 24px rgba(0,0,0,0.15)` |
|
|
295
|
+
| Overlay | Modal backdrops | `rgba(0,0,0,0.5)` |
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
## 7. Do's and Don'ts
|
|
300
|
+
|
|
301
|
+
### ✅ Do
|
|
302
|
+
- Use aubergine `#4A154B` for the sidebar — it is Slack's most iconic UI element
|
|
303
|
+
- Keep the main content area white and light
|
|
304
|
+
- Use `#1D1C1D` (near-black) for all body text, not pure black
|
|
305
|
+
- Bold channel names to show unread status — weight is the indicator
|
|
306
|
+
- Use the four accent colors only for semantic roles (success, warning, danger, info)
|
|
307
|
+
- Apply `border-left: 4px` on message attachments and embeds
|
|
308
|
+
- Show timestamps on hover only
|
|
309
|
+
- Use `#1264A3` for links and focus states
|
|
310
|
+
- Keep sidebar items compact: 28px height, 6px border-radius
|
|
311
|
+
|
|
312
|
+
### ❌ Don't
|
|
313
|
+
- Don't use a dark main content area — Slack is light-first
|
|
314
|
+
- Don't scatter blue/green/yellow/red as decorative accents
|
|
315
|
+
- Don't use pure black `#000000` for text
|
|
316
|
+
- Don't use speech bubbles — messages are flat rows
|
|
317
|
+
- Don't make buttons large-radius — 4px is standard
|
|
318
|
+
- Don't show timestamps permanently
|
|
319
|
+
- Don't use ALL CAPS for channel names
|
|
320
|
+
- Don't use font sizes below 12px
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
## 8. Responsive Behavior
|
|
325
|
+
|
|
326
|
+
### Breakpoints
|
|
327
|
+
| Breakpoint | Width | Layout |
|
|
328
|
+
|---|---|---|
|
|
329
|
+
| Mobile | < 768px | Single panel, sidebar as left drawer |
|
|
330
|
+
| Tablet | 768–1024px | Sidebar + message area only |
|
|
331
|
+
| Desktop | > 1024px | Full three-column layout |
|
|
332
|
+
|
|
333
|
+
### Mobile Adaptations
|
|
334
|
+
- Sidebar: left drawer, swipe right to open
|
|
335
|
+
- Bottom tab bar: Home, DMs, Activity, You
|
|
336
|
+
- Thread panel: full-screen overlay
|
|
337
|
+
- Composer: pinned above keyboard
|
|
338
|
+
- Channel list items: 44px touch target height
|
|
339
|
+
- Aubergine top header bar retained on mobile
|
|
340
|
+
|
|
341
|
+
---
|
|
342
|
+
|
|
343
|
+
## 9. Agent Prompt Guide
|
|
344
|
+
|
|
345
|
+
When generating Slack-styled designs, follow this approach:
|
|
346
|
+
|
|
347
|
+
**Color application:**
|
|
348
|
+
> Set `background: #FFFFFF` as the main canvas. Use `#4A154B` (aubergine) for the sidebar. All primary text is `#1D1C1D`. Links and focus rings use `#1264A3`. The four logo colors — `#36C5F0`, `#2EB67D`, `#ECB22E`, `#E01E5A` — are semantic only: info, success, warning, danger.
|
|
349
|
+
|
|
350
|
+
**Typography:**
|
|
351
|
+
> Use `system-ui, -apple-system, sans-serif` for all UI. Base size is 15px. Unread channels: weight 700. Body text: weight 400. Timestamps: 12px `#616061`, hover-only. Code: `Monaco, Menlo, monospace`, 12px, `#F8F8F8` background.
|
|
352
|
+
|
|
353
|
+
**Layout:**
|
|
354
|
+
> Three columns: 240px aubergine sidebar + flex white message area + optional 400px thread panel. Sidebar items: 28px height, 6px radius, bold when unread. Composer: pinned bottom, `border: 1px solid #DDDDDD`, `border-radius: 8px`.
|
|
355
|
+
|
|
356
|
+
**Components:**
|
|
357
|
+
> Buttons: 4px radius, 36px height, aubergine primary. Inputs: `1px solid #DDDDDD` border, `#1264A3` focus ring. Message rows: flat, no bubbles, 36px circle avatar. Reactions: pill `border: 1px solid #DDDDDD`, `border-radius: 24px`.
|
|
358
|
+
|
|
359
|
+
**Tone:**
|
|
360
|
+
> Slack is warm, professional, and human. Empty states use friendly illustrations. CTAs are direct: "Send message", "Get started". Error messages are clear and helpful. Never alarming.
|
|
361
|
+
|
|
362
|
+
**Anti-patterns to avoid:**
|
|
363
|
+
> No dark content area. No speech bubbles. No pure black text. No scattered multi-color accents. No ALL CAPS channel names. No font below 12px. No large button radius.
|