@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,601 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
+
<title>kami — reference components</title>
|
|
7
|
+
<meta
|
|
8
|
+
name="description"
|
|
9
|
+
content="Reference fixture for design-systems/kami. Every visible
|
|
10
|
+
token comes from tokens.css; the page itself follows kami's
|
|
11
|
+
print-first rules — parchment background, ink-blue accent
|
|
12
|
+
capped at ≤5%, serif at one weight, no italic, no rgba tints,
|
|
13
|
+
no hard drop shadows, no cool grays."
|
|
14
|
+
/>
|
|
15
|
+
|
|
16
|
+
<style>
|
|
17
|
+
/* :root paste — sourced verbatim from
|
|
18
|
+
design-systems/kami/tokens.css. Keep this block in sync
|
|
19
|
+
when tokens.css changes. CJK overrides (`:root[lang="zh-CN"]`,
|
|
20
|
+
`:root[lang="ja"]`) live in tokens.css and should be pasted
|
|
21
|
+
only when the artifact's <html lang="..."> matches. */
|
|
22
|
+
:root {
|
|
23
|
+
--bg: #f5f4ed;
|
|
24
|
+
--surface: #faf9f5;
|
|
25
|
+
--surface-warm: #e8e6dc;
|
|
26
|
+
|
|
27
|
+
--fg: #141413;
|
|
28
|
+
--fg-2: #3d3d3a;
|
|
29
|
+
--muted: #504e49;
|
|
30
|
+
--meta: #6b6a64;
|
|
31
|
+
|
|
32
|
+
--border: #e8e6dc;
|
|
33
|
+
--border-soft: #e5e3d8;
|
|
34
|
+
|
|
35
|
+
--accent: #1b365d;
|
|
36
|
+
--accent-on: #faf9f5;
|
|
37
|
+
--accent-light: #2d5a8a;
|
|
38
|
+
--accent-hover: var(--accent);
|
|
39
|
+
--accent-active: #142a48;
|
|
40
|
+
|
|
41
|
+
--success: #4a6b3a;
|
|
42
|
+
--warn: #8a6b1f;
|
|
43
|
+
--danger: #8a3a30;
|
|
44
|
+
|
|
45
|
+
--font-display:
|
|
46
|
+
Charter, Georgia, Palatino, "Times New Roman", serif;
|
|
47
|
+
--font-body:
|
|
48
|
+
Charter, Georgia, Palatino, "Times New Roman", serif;
|
|
49
|
+
--font-mono:
|
|
50
|
+
"JetBrains Mono", "SF Mono", "Fira Code", Consolas, Monaco,
|
|
51
|
+
"TsangerJinKai02", "Source Han Serif SC", monospace;
|
|
52
|
+
|
|
53
|
+
--text-xs: 11px;
|
|
54
|
+
--text-sm: 12px;
|
|
55
|
+
--text-base: 14px;
|
|
56
|
+
--text-md: 15px;
|
|
57
|
+
--text-lg: 17px;
|
|
58
|
+
--text-xl: 22px;
|
|
59
|
+
--text-2xl: 32px;
|
|
60
|
+
--text-3xl: 48px;
|
|
61
|
+
--text-4xl: 96px;
|
|
62
|
+
|
|
63
|
+
--leading-display: 1.1;
|
|
64
|
+
--leading-tight: 1.25;
|
|
65
|
+
--leading-body: 1.55;
|
|
66
|
+
--leading-dense: 1.4;
|
|
67
|
+
|
|
68
|
+
--tracking-display: -1.2px;
|
|
69
|
+
--tracking-eyebrow: 1.2px;
|
|
70
|
+
--tracking-label: 0.4px;
|
|
71
|
+
|
|
72
|
+
--space-1: 4px;
|
|
73
|
+
--space-2: 8px;
|
|
74
|
+
--space-3: 12px;
|
|
75
|
+
--space-4: 16px;
|
|
76
|
+
--space-5: 20px;
|
|
77
|
+
--space-6: 24px;
|
|
78
|
+
--space-7: 28px;
|
|
79
|
+
--space-8: 32px;
|
|
80
|
+
--space-12: 48px;
|
|
81
|
+
--space-18: 72px;
|
|
82
|
+
--space-22: 88px;
|
|
83
|
+
|
|
84
|
+
--section-y-desktop: 72px;
|
|
85
|
+
--section-y-tablet: 48px;
|
|
86
|
+
--section-y-phone: 32px;
|
|
87
|
+
|
|
88
|
+
--radius-xs: 2px;
|
|
89
|
+
--radius-sm: 4px;
|
|
90
|
+
--radius-md: 8px;
|
|
91
|
+
--radius-lg: 12px;
|
|
92
|
+
--radius-xl: 16px;
|
|
93
|
+
--radius-pill: 9999px;
|
|
94
|
+
|
|
95
|
+
--elev-flat: none;
|
|
96
|
+
--elev-ring: 0 0 0 1px var(--border);
|
|
97
|
+
--elev-ring-accent: 0 0 0 1px var(--accent);
|
|
98
|
+
--elev-raised: 0 4px 24px rgba(0, 0, 0, 0.05);
|
|
99
|
+
|
|
100
|
+
--focus-ring: 0 0 0 2px var(--accent-active);
|
|
101
|
+
|
|
102
|
+
--motion-fast: 150ms;
|
|
103
|
+
--motion-base: 200ms;
|
|
104
|
+
--ease-standard: cubic-bezier(0.2, 0, 0, 1);
|
|
105
|
+
|
|
106
|
+
--container-max: 1120px;
|
|
107
|
+
--container-gutter-desktop: 64px;
|
|
108
|
+
--container-gutter-tablet: 32px;
|
|
109
|
+
--container-gutter-phone: 16px;
|
|
110
|
+
|
|
111
|
+
--tag-bg-faint: #eef2f7;
|
|
112
|
+
--tag-bg-soft: #e4ecf5;
|
|
113
|
+
--tag-bg-base: #d6e1ee;
|
|
114
|
+
--tag-bg-strong: #d0dce9;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/* ─── Reset (minimal) ───────────────────────────────────────── */
|
|
118
|
+
*, *::before, *::after { box-sizing: border-box; }
|
|
119
|
+
html, body { margin: 0; padding: 0; }
|
|
120
|
+
body {
|
|
121
|
+
background: var(--bg);
|
|
122
|
+
color: var(--fg);
|
|
123
|
+
font-family: var(--font-body);
|
|
124
|
+
font-size: var(--text-base);
|
|
125
|
+
line-height: var(--leading-body);
|
|
126
|
+
font-weight: 400;
|
|
127
|
+
-webkit-font-smoothing: antialiased;
|
|
128
|
+
/* Print fidelity — kami is page-first. The on-screen render
|
|
129
|
+
still benefits from the same color-adjust hint so background
|
|
130
|
+
parchment doesn't get optimized away in print preview. */
|
|
131
|
+
-webkit-print-color-adjust: exact;
|
|
132
|
+
print-color-adjust: exact;
|
|
133
|
+
}
|
|
134
|
+
strong { font-weight: 500; } /* kami forbids synthetic bold (>500) */
|
|
135
|
+
em, i { font-style: normal; } /* kami forbids italic — keep upright */
|
|
136
|
+
|
|
137
|
+
/* ─── Layout primitives ─────────────────────────────────────── */
|
|
138
|
+
.container {
|
|
139
|
+
max-width: var(--container-max);
|
|
140
|
+
margin-inline: auto;
|
|
141
|
+
padding-inline: var(--container-gutter-desktop);
|
|
142
|
+
}
|
|
143
|
+
section {
|
|
144
|
+
padding-block: var(--section-y-desktop);
|
|
145
|
+
}
|
|
146
|
+
section + section {
|
|
147
|
+
border-top: 1px solid var(--border);
|
|
148
|
+
}
|
|
149
|
+
@media (max-width: 1023px) {
|
|
150
|
+
.container { padding-inline: var(--container-gutter-tablet); }
|
|
151
|
+
section { padding-block: var(--section-y-tablet); }
|
|
152
|
+
}
|
|
153
|
+
@media (max-width: 639px) {
|
|
154
|
+
.container { padding-inline: var(--container-gutter-phone); }
|
|
155
|
+
section { padding-block: var(--section-y-phone); }
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
/* ─── Typography ────────────────────────────────────────────── */
|
|
159
|
+
h1, h2, h3 {
|
|
160
|
+
font-family: var(--font-display);
|
|
161
|
+
font-weight: 500;
|
|
162
|
+
margin: 0;
|
|
163
|
+
}
|
|
164
|
+
h1 {
|
|
165
|
+
font-size: var(--text-4xl);
|
|
166
|
+
line-height: var(--leading-display);
|
|
167
|
+
letter-spacing: var(--tracking-display);
|
|
168
|
+
}
|
|
169
|
+
h2 {
|
|
170
|
+
font-size: var(--text-2xl);
|
|
171
|
+
line-height: var(--leading-tight);
|
|
172
|
+
letter-spacing: 0.4px;
|
|
173
|
+
}
|
|
174
|
+
h3 {
|
|
175
|
+
font-size: var(--text-lg);
|
|
176
|
+
line-height: 1.3;
|
|
177
|
+
}
|
|
178
|
+
p { margin: 0; }
|
|
179
|
+
|
|
180
|
+
.lede {
|
|
181
|
+
font-size: var(--text-md);
|
|
182
|
+
line-height: var(--leading-body);
|
|
183
|
+
color: var(--muted);
|
|
184
|
+
}
|
|
185
|
+
.body-muted { color: var(--muted); }
|
|
186
|
+
.body-meta { color: var(--meta); font-size: var(--text-sm); }
|
|
187
|
+
.body-sm { font-size: var(--text-sm); }
|
|
188
|
+
|
|
189
|
+
/* `.eyebrow` is the only place sans is used (and "sans" literally
|
|
190
|
+
equals serif here per DESIGN.md §3 — kami has no separate
|
|
191
|
+
sans family). Uppercase + tracking 1.2px — well above the
|
|
192
|
+
craft 0.06em floor. */
|
|
193
|
+
.eyebrow {
|
|
194
|
+
font-family: var(--font-display);
|
|
195
|
+
font-size: var(--text-sm);
|
|
196
|
+
font-weight: 500;
|
|
197
|
+
line-height: 1;
|
|
198
|
+
color: var(--meta);
|
|
199
|
+
text-transform: uppercase;
|
|
200
|
+
letter-spacing: var(--tracking-eyebrow);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* Section number pattern — DESIGN.md §4: the number IS the
|
|
204
|
+
marker. No underline, no left bar, no eyebrow. Same serif
|
|
205
|
+
as the title, ink-blue, 14px. */
|
|
206
|
+
.section-num {
|
|
207
|
+
font-family: var(--font-display);
|
|
208
|
+
font-weight: 500;
|
|
209
|
+
font-size: var(--text-base);
|
|
210
|
+
color: var(--accent);
|
|
211
|
+
letter-spacing: var(--tracking-label);
|
|
212
|
+
font-variant-numeric: tabular-nums;
|
|
213
|
+
margin-block-end: var(--space-3);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.stack-3 > * + * { margin-block-start: var(--space-3); }
|
|
217
|
+
.stack-4 > * + * { margin-block-start: var(--space-4); }
|
|
218
|
+
.stack-6 > * + * { margin-block-start: var(--space-6); }
|
|
219
|
+
|
|
220
|
+
/* ─── Buttons ───────────────────────────────────────────────
|
|
221
|
+
* kami buttons use `box-shadow: 0 0 0 1px ...` as the edge
|
|
222
|
+
* instead of border, so the rectangle aligns perfectly with
|
|
223
|
+
* the fill. Hover lifts via whisper shadow only — no color
|
|
224
|
+
* shift, no transform. This is kami's elevation-led
|
|
225
|
+
* interaction, encoded in tokens. */
|
|
226
|
+
.btn {
|
|
227
|
+
display: inline-flex;
|
|
228
|
+
align-items: center;
|
|
229
|
+
gap: var(--space-2);
|
|
230
|
+
padding: 8px 14px;
|
|
231
|
+
border: none;
|
|
232
|
+
border-radius: var(--radius-md);
|
|
233
|
+
font-family: var(--font-display);
|
|
234
|
+
font-weight: 500;
|
|
235
|
+
font-size: var(--text-sm);
|
|
236
|
+
line-height: 1;
|
|
237
|
+
letter-spacing: var(--tracking-label);
|
|
238
|
+
cursor: pointer;
|
|
239
|
+
text-decoration: none;
|
|
240
|
+
transition:
|
|
241
|
+
box-shadow var(--motion-base) var(--ease-standard);
|
|
242
|
+
}
|
|
243
|
+
.btn:focus-visible {
|
|
244
|
+
outline: none;
|
|
245
|
+
box-shadow: var(--focus-ring);
|
|
246
|
+
}
|
|
247
|
+
.btn-primary {
|
|
248
|
+
background: var(--accent);
|
|
249
|
+
color: var(--accent-on);
|
|
250
|
+
box-shadow: var(--elev-ring-accent);
|
|
251
|
+
}
|
|
252
|
+
.btn-primary:hover {
|
|
253
|
+
/* Layered: ring stays as edge; whisper adds lift. */
|
|
254
|
+
box-shadow: var(--elev-ring-accent), var(--elev-raised);
|
|
255
|
+
}
|
|
256
|
+
.btn-secondary {
|
|
257
|
+
background: var(--surface-warm);
|
|
258
|
+
color: var(--fg-2);
|
|
259
|
+
box-shadow: var(--elev-ring);
|
|
260
|
+
}
|
|
261
|
+
.btn-secondary:hover {
|
|
262
|
+
box-shadow: var(--elev-ring), var(--elev-raised);
|
|
263
|
+
}
|
|
264
|
+
.btn-ghost {
|
|
265
|
+
background: transparent;
|
|
266
|
+
color: var(--accent);
|
|
267
|
+
box-shadow: var(--elev-ring-accent);
|
|
268
|
+
}
|
|
269
|
+
.btn-ghost:hover {
|
|
270
|
+
box-shadow: var(--elev-ring-accent), var(--elev-raised);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* ─── Cards ─────────────────────────────────────────────────
|
|
274
|
+
* Cards lift one shade above bg (ivory on parchment). 1px
|
|
275
|
+
* hairline border + whisper shadow on hover — no transform,
|
|
276
|
+
* no brightness shift. */
|
|
277
|
+
.card {
|
|
278
|
+
background: var(--surface);
|
|
279
|
+
border: 1px solid var(--border);
|
|
280
|
+
border-radius: var(--radius-md);
|
|
281
|
+
padding: var(--space-7) var(--space-7) var(--space-6);
|
|
282
|
+
display: flex;
|
|
283
|
+
flex-direction: column;
|
|
284
|
+
gap: var(--space-3);
|
|
285
|
+
transition: box-shadow var(--motion-base) var(--ease-standard);
|
|
286
|
+
}
|
|
287
|
+
.card:hover {
|
|
288
|
+
box-shadow: var(--elev-raised);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/* ─── Tags / chips ──────────────────────────────────────────
|
|
292
|
+
* Solid hex backgrounds, NEVER rgba — print renderers double-
|
|
293
|
+
* paint alpha. The pre-blends live as --tag-bg-* tokens.
|
|
294
|
+
* radius is 2px, 4px max — kami forbids pill chips with heavy
|
|
295
|
+
* borders. */
|
|
296
|
+
.tag {
|
|
297
|
+
display: inline-flex;
|
|
298
|
+
align-items: center;
|
|
299
|
+
font-family: var(--font-display);
|
|
300
|
+
font-weight: 500;
|
|
301
|
+
font-size: var(--text-sm);
|
|
302
|
+
line-height: 1;
|
|
303
|
+
color: var(--accent);
|
|
304
|
+
letter-spacing: var(--tracking-label);
|
|
305
|
+
padding: 4px 8px;
|
|
306
|
+
border-radius: var(--radius-xs);
|
|
307
|
+
background: var(--tag-bg-soft);
|
|
308
|
+
}
|
|
309
|
+
.tag-faint { background: var(--tag-bg-faint); }
|
|
310
|
+
.tag-strong {
|
|
311
|
+
background: var(--tag-bg-strong);
|
|
312
|
+
padding: 4px 10px;
|
|
313
|
+
border-radius: var(--radius-sm);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/* ─── Quote ─────────────────────────────────────────────────
|
|
317
|
+
* Left rule in ink-blue, olive body, 1.55 line-height. The
|
|
318
|
+
* single place letter-spacing 0.05em earns its keep. */
|
|
319
|
+
.quote {
|
|
320
|
+
border-left: 2px solid var(--accent);
|
|
321
|
+
padding: var(--space-1) 0 var(--space-1) var(--space-3);
|
|
322
|
+
font-family: var(--font-display);
|
|
323
|
+
font-weight: 400;
|
|
324
|
+
font-size: var(--text-md);
|
|
325
|
+
line-height: var(--leading-body);
|
|
326
|
+
color: var(--muted);
|
|
327
|
+
letter-spacing: 0.05em;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* ─── Metric (DESIGN.md §4) ─────────────────────────────────
|
|
331
|
+
* Big ink-blue value with tabular-nums so columns of metrics
|
|
332
|
+
* align across the row; olive label below. */
|
|
333
|
+
.metric {
|
|
334
|
+
display: flex;
|
|
335
|
+
flex-direction: column;
|
|
336
|
+
gap: 2px;
|
|
337
|
+
}
|
|
338
|
+
.metric-value {
|
|
339
|
+
font-family: var(--font-display);
|
|
340
|
+
font-weight: 500;
|
|
341
|
+
font-size: var(--text-xl);
|
|
342
|
+
line-height: 1.1;
|
|
343
|
+
color: var(--accent);
|
|
344
|
+
font-variant-numeric: tabular-nums;
|
|
345
|
+
}
|
|
346
|
+
.metric-label {
|
|
347
|
+
font-family: var(--font-display);
|
|
348
|
+
font-weight: 400;
|
|
349
|
+
font-size: var(--text-sm);
|
|
350
|
+
color: var(--muted);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/* ─── Dash list (DESIGN.md §4) ──────────────────────────────
|
|
354
|
+
* Bullets are en-dashes in ink-blue. Never filled discs. */
|
|
355
|
+
ul.dash {
|
|
356
|
+
list-style: none;
|
|
357
|
+
padding: 0;
|
|
358
|
+
margin: 0;
|
|
359
|
+
display: flex;
|
|
360
|
+
flex-direction: column;
|
|
361
|
+
gap: var(--space-2);
|
|
362
|
+
}
|
|
363
|
+
ul.dash li {
|
|
364
|
+
position: relative;
|
|
365
|
+
padding-left: var(--space-4);
|
|
366
|
+
line-height: var(--leading-body);
|
|
367
|
+
}
|
|
368
|
+
ul.dash li::before {
|
|
369
|
+
content: "\2013"; /* en-dash */
|
|
370
|
+
position: absolute;
|
|
371
|
+
left: 0;
|
|
372
|
+
color: var(--accent);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
/* ─── Code block ────────────────────────────────────────────
|
|
376
|
+
* Ivory bg + hairline border + warm fg. Mono font has CJK
|
|
377
|
+
* fallback so labels in CJK code don't render as boxes. */
|
|
378
|
+
.code {
|
|
379
|
+
background: var(--surface);
|
|
380
|
+
border: 1px solid var(--border);
|
|
381
|
+
border-radius: var(--radius-sm);
|
|
382
|
+
padding: var(--space-3) var(--space-4);
|
|
383
|
+
font-family: var(--font-mono);
|
|
384
|
+
font-size: var(--text-sm);
|
|
385
|
+
line-height: var(--leading-body);
|
|
386
|
+
color: var(--fg);
|
|
387
|
+
white-space: pre;
|
|
388
|
+
overflow-x: auto;
|
|
389
|
+
}
|
|
390
|
+
.code .k { color: var(--accent); } /* keyword */
|
|
391
|
+
.code .c { color: var(--meta); } /* comment */
|
|
392
|
+
|
|
393
|
+
/* ─── Links ─────────────────────────────────────────────────
|
|
394
|
+
* Default link color is ink-blue. Underline on hover at
|
|
395
|
+
* generous offset so the rule reads as a deliberate gesture,
|
|
396
|
+
* not a default. */
|
|
397
|
+
a {
|
|
398
|
+
color: var(--accent);
|
|
399
|
+
text-decoration: none;
|
|
400
|
+
}
|
|
401
|
+
a:hover {
|
|
402
|
+
text-decoration: underline;
|
|
403
|
+
text-underline-offset: 3px;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/* ─── Section-specific layout ───────────────────────────── */
|
|
407
|
+
.hero {
|
|
408
|
+
padding-block: var(--space-22) var(--space-18);
|
|
409
|
+
}
|
|
410
|
+
.hero h1 { margin-block-end: var(--space-6); max-width: 14ch; }
|
|
411
|
+
.hero .lede { max-width: 56ch; }
|
|
412
|
+
.hero-actions {
|
|
413
|
+
display: flex;
|
|
414
|
+
gap: var(--space-3);
|
|
415
|
+
margin-block-start: var(--space-8);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.metric-row {
|
|
419
|
+
display: grid;
|
|
420
|
+
grid-template-columns: repeat(3, 1fr);
|
|
421
|
+
gap: var(--space-12);
|
|
422
|
+
}
|
|
423
|
+
@media (max-width: 639px) {
|
|
424
|
+
.metric-row { grid-template-columns: 1fr 1fr; }
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
.features-grid {
|
|
428
|
+
display: grid;
|
|
429
|
+
grid-template-columns: 1fr 1fr;
|
|
430
|
+
gap: var(--space-5);
|
|
431
|
+
margin-block-start: var(--space-8);
|
|
432
|
+
}
|
|
433
|
+
@media (max-width: 767px) {
|
|
434
|
+
.features-grid { grid-template-columns: 1fr; }
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.quote-block {
|
|
438
|
+
max-width: 56ch;
|
|
439
|
+
margin-block-start: var(--space-6);
|
|
440
|
+
}
|
|
441
|
+
</style>
|
|
442
|
+
</head>
|
|
443
|
+
<body>
|
|
444
|
+
<main class="container">
|
|
445
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
446
|
+
HERO — exercises: section-num pattern, h1 (96px serif at
|
|
447
|
+
tracking -1.2px), .lede, .btn-primary (ring-shadow edge),
|
|
448
|
+
.btn-secondary (warm-sand bg), .tag (solid hex). The grid
|
|
449
|
+
is single-column intentionally — kami heroes don't use
|
|
450
|
+
asymmetric two-column layouts; the page IS the column.
|
|
451
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
452
|
+
<section class="hero" data-od-id="hero">
|
|
453
|
+
<p class="section-num">00 · Reference</p>
|
|
454
|
+
<h1>One paper, set carefully, can hold every brand decision.</h1>
|
|
455
|
+
<p class="lede">
|
|
456
|
+
A token system distilled from the kami print rules: warm
|
|
457
|
+
parchment canvas, single ink-blue accent capped under five
|
|
458
|
+
percent of the page, serif at one weight. The fixture you
|
|
459
|
+
are reading uses the same token block agents paste into
|
|
460
|
+
every artifact.
|
|
461
|
+
</p>
|
|
462
|
+
<div class="hero-actions">
|
|
463
|
+
<a href="./tokens.css" class="btn btn-primary">View tokens</a>
|
|
464
|
+
<a href="./DESIGN.md" class="btn btn-secondary">
|
|
465
|
+
Read the spec
|
|
466
|
+
</a>
|
|
467
|
+
</div>
|
|
468
|
+
</section>
|
|
469
|
+
|
|
470
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
471
|
+
METRICS — exercises: .metric pattern with tabular-nums
|
|
472
|
+
values, ink-blue at the W500 weight, olive label. Numbers
|
|
473
|
+
describe the fixture itself, not invented claims.
|
|
474
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
475
|
+
<section data-od-id="metrics">
|
|
476
|
+
<p class="section-num">01</p>
|
|
477
|
+
<h2>Schema in numbers</h2>
|
|
478
|
+
|
|
479
|
+
<div class="metric-row" style="margin-block-start: var(--space-8)">
|
|
480
|
+
<div class="metric">
|
|
481
|
+
<div class="metric-value">42</div>
|
|
482
|
+
<div class="metric-label">tokens in :root</div>
|
|
483
|
+
</div>
|
|
484
|
+
<div class="metric">
|
|
485
|
+
<div class="metric-value">3</div>
|
|
486
|
+
<div class="metric-label">font stacks (EN · zh · ja)</div>
|
|
487
|
+
</div>
|
|
488
|
+
<div class="metric">
|
|
489
|
+
<div class="metric-value">≤5%</div>
|
|
490
|
+
<div class="metric-label">accent surface cap</div>
|
|
491
|
+
</div>
|
|
492
|
+
</div>
|
|
493
|
+
</section>
|
|
494
|
+
|
|
495
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
496
|
+
FEATURE CARDS — exercises: .card (ivory bg, hairline
|
|
497
|
+
border, whisper shadow on hover), h3, body text, dash list,
|
|
498
|
+
tag (solid hex bg).
|
|
499
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
500
|
+
<section data-od-id="components">
|
|
501
|
+
<p class="section-num">02</p>
|
|
502
|
+
<h2>What this fixture exercises</h2>
|
|
503
|
+
|
|
504
|
+
<div class="features-grid">
|
|
505
|
+
<article class="card">
|
|
506
|
+
<span class="tag tag-faint">Surface</span>
|
|
507
|
+
<h3>Three-tier surface ramp</h3>
|
|
508
|
+
<p class="body-muted body-sm">
|
|
509
|
+
Parchment for the page, ivory for cards, warm sand for
|
|
510
|
+
secondary buttons. Cards lift one half-shade above the
|
|
511
|
+
page; the contrast is what gives them edge without a
|
|
512
|
+
shadow.
|
|
513
|
+
</p>
|
|
514
|
+
<ul class="dash body-sm">
|
|
515
|
+
<li>--bg covers the page</li>
|
|
516
|
+
<li>--surface lifts containers</li>
|
|
517
|
+
<li>--surface-warm fills secondary controls</li>
|
|
518
|
+
</ul>
|
|
519
|
+
</article>
|
|
520
|
+
|
|
521
|
+
<article class="card">
|
|
522
|
+
<span class="tag">Accent</span>
|
|
523
|
+
<h3>One color, two states</h3>
|
|
524
|
+
<p class="body-muted body-sm">
|
|
525
|
+
Ink blue is the only chromatic move. Hover holds the
|
|
526
|
+
same color — kami expresses lift through elevation, not
|
|
527
|
+
brightness. Active darkens by a hand-picked value, not a
|
|
528
|
+
formula.
|
|
529
|
+
</p>
|
|
530
|
+
<ul class="dash body-sm">
|
|
531
|
+
<li>--accent appears at most twice on this page</li>
|
|
532
|
+
<li>--accent-hover identical to --accent</li>
|
|
533
|
+
<li>Active state is a hand-picked deeper ink</li>
|
|
534
|
+
</ul>
|
|
535
|
+
</article>
|
|
536
|
+
|
|
537
|
+
<article class="card">
|
|
538
|
+
<span class="tag tag-strong">Type</span>
|
|
539
|
+
<h3>One weight does the work</h3>
|
|
540
|
+
<p class="body-muted body-sm">
|
|
541
|
+
Serif at weight 500 carries every heading. There is no
|
|
542
|
+
bold, no italic, no second face. Hierarchy comes from
|
|
543
|
+
size, tracking, and color — never from another type
|
|
544
|
+
family.
|
|
545
|
+
</p>
|
|
546
|
+
<ul class="dash body-sm">
|
|
547
|
+
<li>--font-display equals --font-body equals serif</li>
|
|
548
|
+
<li>Display tracking compresses (-1.2px at 96px)</li>
|
|
549
|
+
<li>Eyebrow tracking opens (1.2px on uppercase)</li>
|
|
550
|
+
</ul>
|
|
551
|
+
</article>
|
|
552
|
+
|
|
553
|
+
<article class="card">
|
|
554
|
+
<span class="tag">Elevation</span>
|
|
555
|
+
<h3>Ring before whisper before drop</h3>
|
|
556
|
+
<p class="body-muted body-sm">
|
|
557
|
+
Three sanctioned levels. A 1px hairline ring is the
|
|
558
|
+
default edge; a 4-24-rgba whisper appears only on hover.
|
|
559
|
+
The schema reserves --elev-ring as a first-class level so
|
|
560
|
+
brands like this one don't have to misuse --elev-raised
|
|
561
|
+
for hairlines.
|
|
562
|
+
</p>
|
|
563
|
+
</article>
|
|
564
|
+
</div>
|
|
565
|
+
</section>
|
|
566
|
+
|
|
567
|
+
<!-- ════════════════════════════════════════════════════════════
|
|
568
|
+
QUOTE + CODE — exercises: .quote (left rule in ink-blue),
|
|
569
|
+
.code with .k / .c spans, link.
|
|
570
|
+
═══════════════════════════════════════════════════════════════ -->
|
|
571
|
+
<section data-od-id="quote">
|
|
572
|
+
<p class="section-num">03</p>
|
|
573
|
+
<h2>The token block, in full</h2>
|
|
574
|
+
|
|
575
|
+
<div class="quote-block">
|
|
576
|
+
<blockquote class="quote">
|
|
577
|
+
kami is not a UI framework. It is a constraint system for
|
|
578
|
+
the page, designed to keep deliverables stable, clear, and
|
|
579
|
+
unmistakably printed.
|
|
580
|
+
</blockquote>
|
|
581
|
+
</div>
|
|
582
|
+
|
|
583
|
+
<pre class="code" style="margin-block-start: var(--space-8)"><span class="c">/* Paste this block into the first <style> of every kami artifact. */</span>
|
|
584
|
+
<span class="k">:root</span> {
|
|
585
|
+
<span class="c">/* Surface */</span>
|
|
586
|
+
<span class="k">--bg</span>: <span>#f5f4ed</span>;
|
|
587
|
+
<span class="k">--surface</span>: <span>#faf9f5</span>;
|
|
588
|
+
<span class="k">--accent</span>: <span>#1b365d</span>;
|
|
589
|
+
<span class="c">/* … 38 more, see tokens.css */</span>
|
|
590
|
+
}</pre>
|
|
591
|
+
|
|
592
|
+
<p class="body-meta" style="margin-block-start: var(--space-4)">
|
|
593
|
+
Full reference at
|
|
594
|
+
<a href="./tokens.css">tokens.css</a> ·
|
|
595
|
+
spec at
|
|
596
|
+
<a href="./DESIGN.md">DESIGN.md</a>
|
|
597
|
+
</p>
|
|
598
|
+
</section>
|
|
599
|
+
</main>
|
|
600
|
+
</body>
|
|
601
|
+
</html>
|