@aexol/spectral 0.9.270 → 0.9.271
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.d.ts +10 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +26 -10
- package/dist/commands/serve.d.ts.map +1 -1
- package/dist/commands/serve.js +29 -5
- package/dist/commands/update.d.ts +2 -2
- package/dist/commands/update.js +3 -3
- package/dist/designer/index.d.ts +13 -18
- package/dist/designer/index.d.ts.map +1 -1
- package/dist/designer/index.js +128 -201
- package/dist/extensions/aexol-mcp.d.ts.map +1 -1
- package/dist/extensions/aexol-mcp.js +23 -0
- package/dist/memory/debug-log.d.ts.map +1 -1
- package/dist/memory/debug-log.js +20 -2
- package/dist/memory/tools/compact-context.d.ts +1 -1
- package/dist/memory/tools/compact-context.d.ts.map +1 -1
- package/dist/memory/tools/compact-context.js +4 -1
- package/dist/memory/tools/recall-observation.d.ts +3 -3
- package/dist/memory/tools/recall-observation.d.ts.map +1 -1
- package/dist/memory/tools/recall-observation.js +4 -1
- package/dist/memory/tools/receive-agent-observations.d.ts +3 -3
- package/dist/memory/tools/receive-agent-observations.d.ts.map +1 -1
- package/dist/memory/tools/receive-agent-observations.js +4 -1
- package/dist/memory/tools/share-project-observation.d.ts +3 -3
- package/dist/memory/tools/share-project-observation.d.ts.map +1 -1
- package/dist/memory/tools/share-project-observation.js +4 -1
- package/dist/memory/tools/write-project-observation.d.ts +3 -3
- package/dist/memory/tools/write-project-observation.d.ts.map +1 -1
- package/dist/memory/tools/write-project-observation.js +4 -1
- package/dist/relay/client.d.ts.map +1 -1
- package/dist/relay/client.js +5 -2
- package/dist/sdk/ai/env-api-keys.js +1 -1
- package/dist/sdk/coding-agent/core/extensions/loader.d.ts.map +1 -1
- package/dist/sdk/coding-agent/core/extensions/loader.js +31 -3
- package/dist/sdk/coding-agent/core/theme.js +1 -1
- package/dist/server/handlers/agent-settings.d.ts.map +1 -1
- package/dist/server/handlers/agent-settings.js +4 -1
- package/dist/server/handlers/settings-lock.d.ts.map +1 -1
- package/dist/server/handlers/settings-lock.js +4 -1
- package/dist/server/storage.d.ts.map +1 -1
- package/dist/server/storage.js +13 -1
- package/dist/utils/serve-state.d.ts +17 -0
- package/dist/utils/serve-state.d.ts.map +1 -1
- package/dist/utils/serve-state.js +73 -0
- package/package.json +1 -1
- package/dist/designer/data/skills/blog-post.d.ts +0 -3
- package/dist/designer/data/skills/blog-post.d.ts.map +0 -1
- package/dist/designer/data/skills/blog-post.js +0 -84
- package/dist/designer/data/skills/blog-post.ts +0 -87
- package/dist/designer/data/skills/critique.d.ts +0 -3
- package/dist/designer/data/skills/critique.d.ts.map +0 -1
- package/dist/designer/data/skills/critique.js +0 -109
- package/dist/designer/data/skills/critique.ts +0 -112
- package/dist/designer/data/skills/dashboard.d.ts +0 -3
- package/dist/designer/data/skills/dashboard.d.ts.map +0 -1
- package/dist/designer/data/skills/dashboard.js +0 -165
- package/dist/designer/data/skills/dashboard.ts +0 -168
- package/dist/designer/data/skills/design-brief.d.ts +0 -3
- package/dist/designer/data/skills/design-brief.d.ts.map +0 -1
- package/dist/designer/data/skills/design-brief.js +0 -141
- package/dist/designer/data/skills/design-brief.ts +0 -144
- package/dist/designer/data/skills/design-skill.d.ts +0 -10
- package/dist/designer/data/skills/design-skill.d.ts.map +0 -1
- package/dist/designer/data/skills/design-skill.js +0 -1
- package/dist/designer/data/skills/design-skill.ts +0 -9
- package/dist/designer/data/skills/docs-page.d.ts +0 -3
- package/dist/designer/data/skills/docs-page.d.ts.map +0 -1
- package/dist/designer/data/skills/docs-page.js +0 -68
- package/dist/designer/data/skills/docs-page.ts +0 -71
- package/dist/designer/data/skills/index.d.ts +0 -3
- package/dist/designer/data/skills/index.d.ts.map +0 -1
- package/dist/designer/data/skills/index.js +0 -28
- package/dist/designer/data/skills/index.ts +0 -30
- package/dist/designer/data/skills/magazine-poster.d.ts +0 -3
- package/dist/designer/data/skills/magazine-poster.d.ts.map +0 -1
- package/dist/designer/data/skills/magazine-poster.js +0 -70
- package/dist/designer/data/skills/magazine-poster.ts +0 -73
- package/dist/designer/data/skills/mobile-app.d.ts +0 -3
- package/dist/designer/data/skills/mobile-app.d.ts.map +0 -1
- package/dist/designer/data/skills/mobile-app.js +0 -229
- package/dist/designer/data/skills/mobile-app.ts +0 -232
- package/dist/designer/data/skills/motion-frames.d.ts +0 -3
- package/dist/designer/data/skills/motion-frames.d.ts.map +0 -1
- package/dist/designer/data/skills/motion-frames.js +0 -121
- package/dist/designer/data/skills/motion-frames.ts +0 -124
- package/dist/designer/data/skills/pricing-page.d.ts +0 -3
- package/dist/designer/data/skills/pricing-page.d.ts.map +0 -1
- package/dist/designer/data/skills/pricing-page.js +0 -76
- package/dist/designer/data/skills/pricing-page.ts +0 -79
- package/dist/designer/data/skills/saas-landing.d.ts +0 -3
- package/dist/designer/data/skills/saas-landing.d.ts.map +0 -1
- package/dist/designer/data/skills/saas-landing.js +0 -71
- package/dist/designer/data/skills/saas-landing.ts +0 -74
- package/dist/designer/data/skills/slide-deck.d.ts +0 -3
- package/dist/designer/data/skills/slide-deck.d.ts.map +0 -1
- package/dist/designer/data/skills/slide-deck.js +0 -213
- package/dist/designer/data/skills/slide-deck.ts +0 -216
- package/dist/designer/data/skills/social-carousel.d.ts +0 -3
- package/dist/designer/data/skills/social-carousel.d.ts.map +0 -1
- package/dist/designer/data/skills/social-carousel.js +0 -135
- package/dist/designer/data/skills/social-carousel.ts +0 -138
- package/dist/designer/data/skills/web-prototype.d.ts +0 -3
- package/dist/designer/data/skills/web-prototype.d.ts.map +0 -1
- package/dist/designer/data/skills/web-prototype.js +0 -159
- package/dist/designer/data/skills/web-prototype.ts +0 -162
- package/dist/designer/data/systems/agentic/DESIGN.md +0 -71
- package/dist/designer/data/systems/agentic/components.html +0 -154
- package/dist/designer/data/systems/agentic/tokens.css +0 -63
- package/dist/designer/data/systems/airbnb/DESIGN.md +0 -393
- package/dist/designer/data/systems/airbnb/components.html +0 -1373
- package/dist/designer/data/systems/airbnb/tokens.css +0 -261
- package/dist/designer/data/systems/airtable/DESIGN.md +0 -92
- package/dist/designer/data/systems/airtable/components.html +0 -489
- package/dist/designer/data/systems/airtable/tokens.css +0 -261
- package/dist/designer/data/systems/ant/DESIGN.md +0 -71
- package/dist/designer/data/systems/ant/components.html +0 -154
- package/dist/designer/data/systems/ant/tokens.css +0 -63
- package/dist/designer/data/systems/apple/DESIGN.md +0 -250
- package/dist/designer/data/systems/apple/components.html +0 -749
- package/dist/designer/data/systems/apple/tokens.css +0 -286
- package/dist/designer/data/systems/application/DESIGN.md +0 -71
- package/dist/designer/data/systems/application/components.html +0 -154
- package/dist/designer/data/systems/application/tokens.css +0 -63
- package/dist/designer/data/systems/arc/DESIGN.md +0 -152
- package/dist/designer/data/systems/arc/components.html +0 -432
- package/dist/designer/data/systems/arc/tokens.css +0 -137
- package/dist/designer/data/systems/artistic/DESIGN.md +0 -71
- package/dist/designer/data/systems/artistic/components.html +0 -136
- package/dist/designer/data/systems/artistic/tokens.css +0 -63
- package/dist/designer/data/systems/atelier-zero/DESIGN.md +0 -316
- package/dist/designer/data/systems/atelier-zero/components.html +0 -136
- package/dist/designer/data/systems/atelier-zero/tokens.css +0 -63
- package/dist/designer/data/systems/bento/DESIGN.md +0 -71
- package/dist/designer/data/systems/bento/components.html +0 -136
- package/dist/designer/data/systems/bento/tokens.css +0 -63
- package/dist/designer/data/systems/binance/DESIGN.md +0 -348
- package/dist/designer/data/systems/binance/components.html +0 -550
- package/dist/designer/data/systems/binance/tokens.css +0 -255
- package/dist/designer/data/systems/bmw/DESIGN.md +0 -183
- package/dist/designer/data/systems/bmw/components.html +0 -551
- package/dist/designer/data/systems/bmw/tokens.css +0 -179
- package/dist/designer/data/systems/bmw-m/DESIGN.md +0 -246
- package/dist/designer/data/systems/bmw-m/components.html +0 -342
- package/dist/designer/data/systems/bmw-m/tokens.css +0 -64
- package/dist/designer/data/systems/bold/DESIGN.md +0 -71
- package/dist/designer/data/systems/bold/components.html +0 -136
- package/dist/designer/data/systems/bold/tokens.css +0 -63
- package/dist/designer/data/systems/brutalism/DESIGN.md +0 -71
- package/dist/designer/data/systems/brutalism/components.html +0 -154
- package/dist/designer/data/systems/brutalism/tokens.css +0 -63
- package/dist/designer/data/systems/bugatti/DESIGN.md +0 -271
- package/dist/designer/data/systems/bugatti/components.html +0 -342
- package/dist/designer/data/systems/bugatti/tokens.css +0 -64
- package/dist/designer/data/systems/cafe/DESIGN.md +0 -71
- package/dist/designer/data/systems/cafe/components.html +0 -136
- package/dist/designer/data/systems/cafe/tokens.css +0 -63
- package/dist/designer/data/systems/cal/DESIGN.md +0 -262
- package/dist/designer/data/systems/cal/components.html +0 -376
- package/dist/designer/data/systems/cal/tokens.css +0 -265
- package/dist/designer/data/systems/canva/DESIGN.md +0 -157
- package/dist/designer/data/systems/canva/components.html +0 -461
- package/dist/designer/data/systems/canva/tokens.css +0 -147
- package/dist/designer/data/systems/cisco/DESIGN.md +0 -201
- package/dist/designer/data/systems/cisco/components.html +0 -342
- package/dist/designer/data/systems/cisco/tokens.css +0 -64
- package/dist/designer/data/systems/claude/DESIGN.md +0 -315
- package/dist/designer/data/systems/claude/components.html +0 -483
- package/dist/designer/data/systems/claude/tokens.css +0 -130
- package/dist/designer/data/systems/clay/DESIGN.md +0 -307
- package/dist/designer/data/systems/clay/components.html +0 -136
- package/dist/designer/data/systems/clay/tokens.css +0 -63
- package/dist/designer/data/systems/claymorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/claymorphism/components.html +0 -136
- package/dist/designer/data/systems/claymorphism/tokens.css +0 -63
- package/dist/designer/data/systems/clean/DESIGN.md +0 -71
- package/dist/designer/data/systems/clean/components.html +0 -136
- package/dist/designer/data/systems/clean/tokens.css +0 -63
- package/dist/designer/data/systems/clickhouse/DESIGN.md +0 -284
- package/dist/designer/data/systems/clickhouse/components.html +0 -506
- package/dist/designer/data/systems/clickhouse/tokens.css +0 -135
- package/dist/designer/data/systems/cohere/DESIGN.md +0 -269
- package/dist/designer/data/systems/cohere/components.html +0 -353
- package/dist/designer/data/systems/cohere/tokens.css +0 -126
- package/dist/designer/data/systems/coinbase/DESIGN.md +0 -132
- package/dist/designer/data/systems/coinbase/components.html +0 -501
- package/dist/designer/data/systems/coinbase/tokens.css +0 -257
- package/dist/designer/data/systems/colorful/DESIGN.md +0 -71
- package/dist/designer/data/systems/colorful/components.html +0 -136
- package/dist/designer/data/systems/colorful/tokens.css +0 -63
- package/dist/designer/data/systems/composio/DESIGN.md +0 -310
- package/dist/designer/data/systems/composio/components.html +0 -342
- package/dist/designer/data/systems/composio/tokens.css +0 -64
- package/dist/designer/data/systems/contemporary/DESIGN.md +0 -71
- package/dist/designer/data/systems/contemporary/components.html +0 -136
- package/dist/designer/data/systems/contemporary/tokens.css +0 -63
- package/dist/designer/data/systems/corporate/DESIGN.md +0 -71
- package/dist/designer/data/systems/corporate/components.html +0 -136
- package/dist/designer/data/systems/corporate/tokens.css +0 -63
- package/dist/designer/data/systems/cosmic/DESIGN.md +0 -71
- package/dist/designer/data/systems/cosmic/components.html +0 -136
- package/dist/designer/data/systems/cosmic/tokens.css +0 -63
- package/dist/designer/data/systems/creative/DESIGN.md +0 -71
- package/dist/designer/data/systems/creative/components.html +0 -136
- package/dist/designer/data/systems/creative/tokens.css +0 -63
- package/dist/designer/data/systems/cursor/DESIGN.md +0 -312
- package/dist/designer/data/systems/cursor/components.html +0 -654
- package/dist/designer/data/systems/cursor/tokens.css +0 -218
- package/dist/designer/data/systems/dashboard/DESIGN.md +0 -71
- package/dist/designer/data/systems/dashboard/components.html +0 -154
- package/dist/designer/data/systems/dashboard/tokens.css +0 -63
- package/dist/designer/data/systems/default/DESIGN.md +0 -62
- package/dist/designer/data/systems/default/components.html +0 -523
- package/dist/designer/data/systems/default/tokens.css +0 -200
- package/dist/designer/data/systems/discord/DESIGN.md +0 -162
- package/dist/designer/data/systems/discord/components.html +0 -359
- package/dist/designer/data/systems/discord/tokens.css +0 -125
- package/dist/designer/data/systems/dithered/DESIGN.md +0 -71
- package/dist/designer/data/systems/dithered/components.html +0 -136
- package/dist/designer/data/systems/dithered/tokens.css +0 -63
- package/dist/designer/data/systems/doodle/DESIGN.md +0 -71
- package/dist/designer/data/systems/doodle/components.html +0 -136
- package/dist/designer/data/systems/doodle/tokens.css +0 -63
- package/dist/designer/data/systems/dramatic/DESIGN.md +0 -71
- package/dist/designer/data/systems/dramatic/components.html +0 -136
- package/dist/designer/data/systems/dramatic/tokens.css +0 -63
- package/dist/designer/data/systems/duolingo/DESIGN.md +0 -154
- package/dist/designer/data/systems/duolingo/components.html +0 -532
- package/dist/designer/data/systems/duolingo/tokens.css +0 -130
- package/dist/designer/data/systems/editorial/DESIGN.md +0 -71
- package/dist/designer/data/systems/editorial/components.html +0 -154
- package/dist/designer/data/systems/editorial/tokens.css +0 -63
- package/dist/designer/data/systems/elegant/DESIGN.md +0 -71
- package/dist/designer/data/systems/elegant/components.html +0 -136
- package/dist/designer/data/systems/elegant/tokens.css +0 -63
- package/dist/designer/data/systems/elevenlabs/DESIGN.md +0 -268
- package/dist/designer/data/systems/elevenlabs/components.html +0 -342
- package/dist/designer/data/systems/elevenlabs/tokens.css +0 -127
- package/dist/designer/data/systems/energetic/DESIGN.md +0 -72
- package/dist/designer/data/systems/energetic/components.html +0 -136
- package/dist/designer/data/systems/energetic/tokens.css +0 -63
- package/dist/designer/data/systems/enterprise/DESIGN.md +0 -71
- package/dist/designer/data/systems/enterprise/components.html +0 -154
- package/dist/designer/data/systems/enterprise/tokens.css +0 -63
- package/dist/designer/data/systems/expo/DESIGN.md +0 -284
- package/dist/designer/data/systems/expo/components.html +0 -342
- package/dist/designer/data/systems/expo/tokens.css +0 -64
- package/dist/designer/data/systems/expressive/DESIGN.md +0 -71
- package/dist/designer/data/systems/expressive/components.html +0 -136
- package/dist/designer/data/systems/expressive/tokens.css +0 -63
- package/dist/designer/data/systems/fantasy/DESIGN.md +0 -71
- package/dist/designer/data/systems/fantasy/components.html +0 -136
- package/dist/designer/data/systems/fantasy/tokens.css +0 -63
- package/dist/designer/data/systems/ferrari/DESIGN.md +0 -317
- package/dist/designer/data/systems/ferrari/components.html +0 -342
- package/dist/designer/data/systems/ferrari/tokens.css +0 -64
- package/dist/designer/data/systems/figma/DESIGN.md +0 -223
- package/dist/designer/data/systems/figma/components.html +0 -344
- package/dist/designer/data/systems/figma/tokens.css +0 -126
- package/dist/designer/data/systems/flat/DESIGN.md +0 -71
- package/dist/designer/data/systems/flat/components.html +0 -136
- package/dist/designer/data/systems/flat/tokens.css +0 -63
- package/dist/designer/data/systems/framer/DESIGN.md +0 -249
- package/dist/designer/data/systems/framer/components.html +0 -438
- package/dist/designer/data/systems/framer/tokens.css +0 -238
- package/dist/designer/data/systems/friendly/DESIGN.md +0 -71
- package/dist/designer/data/systems/friendly/components.html +0 -136
- package/dist/designer/data/systems/friendly/tokens.css +0 -63
- package/dist/designer/data/systems/futuristic/DESIGN.md +0 -71
- package/dist/designer/data/systems/futuristic/components.html +0 -136
- package/dist/designer/data/systems/futuristic/tokens.css +0 -63
- package/dist/designer/data/systems/github/DESIGN.md +0 -155
- package/dist/designer/data/systems/github/components.html +0 -383
- package/dist/designer/data/systems/github/tokens.css +0 -125
- package/dist/designer/data/systems/glassmorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/glassmorphism/components.html +0 -154
- package/dist/designer/data/systems/glassmorphism/tokens.css +0 -63
- package/dist/designer/data/systems/gradient/DESIGN.md +0 -71
- package/dist/designer/data/systems/gradient/components.html +0 -154
- package/dist/designer/data/systems/gradient/tokens.css +0 -63
- package/dist/designer/data/systems/hashicorp/DESIGN.md +0 -281
- package/dist/designer/data/systems/hashicorp/components.html +0 -502
- package/dist/designer/data/systems/hashicorp/tokens.css +0 -272
- package/dist/designer/data/systems/hud/DESIGN.md +0 -173
- package/dist/designer/data/systems/hud/components.html +0 -136
- package/dist/designer/data/systems/hud/tokens.css +0 -63
- package/dist/designer/data/systems/huggingface/DESIGN.md +0 -149
- package/dist/designer/data/systems/huggingface/components.html +0 -346
- package/dist/designer/data/systems/huggingface/tokens.css +0 -125
- package/dist/designer/data/systems/ibm/DESIGN.md +0 -335
- package/dist/designer/data/systems/ibm/components.html +0 -342
- package/dist/designer/data/systems/ibm/tokens.css +0 -64
- package/dist/designer/data/systems/intercom/DESIGN.md +0 -149
- package/dist/designer/data/systems/intercom/components.html +0 -557
- package/dist/designer/data/systems/intercom/tokens.css +0 -150
- package/dist/designer/data/systems/kami/DESIGN.md +0 -410
- package/dist/designer/data/systems/kami/components.html +0 -601
- package/dist/designer/data/systems/kami/tokens.css +0 -272
- package/dist/designer/data/systems/kraken/DESIGN.md +0 -128
- package/dist/designer/data/systems/kraken/components.html +0 -342
- package/dist/designer/data/systems/kraken/tokens.css +0 -64
- package/dist/designer/data/systems/lamborghini/DESIGN.md +0 -291
- package/dist/designer/data/systems/lamborghini/components.html +0 -342
- package/dist/designer/data/systems/lamborghini/tokens.css +0 -64
- package/dist/designer/data/systems/levels/DESIGN.md +0 -71
- package/dist/designer/data/systems/levels/components.html +0 -154
- package/dist/designer/data/systems/levels/tokens.css +0 -63
- package/dist/designer/data/systems/linear-app/DESIGN.md +0 -370
- package/dist/designer/data/systems/linear-app/components.html +0 -370
- package/dist/designer/data/systems/linear-app/tokens.css +0 -130
- package/dist/designer/data/systems/lingo/DESIGN.md +0 -71
- package/dist/designer/data/systems/lingo/components.html +0 -154
- package/dist/designer/data/systems/lingo/tokens.css +0 -63
- package/dist/designer/data/systems/loom/DESIGN.md +0 -201
- package/dist/designer/data/systems/loom/components.html +0 -446
- package/dist/designer/data/systems/loom/tokens.css +0 -138
- package/dist/designer/data/systems/lovable/DESIGN.md +0 -301
- package/dist/designer/data/systems/lovable/components.html +0 -441
- package/dist/designer/data/systems/lovable/tokens.css +0 -258
- package/dist/designer/data/systems/luxury/DESIGN.md +0 -71
- package/dist/designer/data/systems/luxury/components.html +0 -154
- package/dist/designer/data/systems/luxury/tokens.css +0 -63
- package/dist/designer/data/systems/mastercard/DESIGN.md +0 -368
- package/dist/designer/data/systems/mastercard/components.html +0 -342
- package/dist/designer/data/systems/mastercard/tokens.css +0 -64
- package/dist/designer/data/systems/material/DESIGN.md +0 -71
- package/dist/designer/data/systems/material/components.html +0 -154
- package/dist/designer/data/systems/material/tokens.css +0 -63
- package/dist/designer/data/systems/meta/DESIGN.md +0 -369
- package/dist/designer/data/systems/meta/components.html +0 -398
- package/dist/designer/data/systems/meta/tokens.css +0 -263
- package/dist/designer/data/systems/minimal/DESIGN.md +0 -71
- package/dist/designer/data/systems/minimal/components.html +0 -154
- package/dist/designer/data/systems/minimal/tokens.css +0 -63
- package/dist/designer/data/systems/minimax/DESIGN.md +0 -260
- package/dist/designer/data/systems/minimax/components.html +0 -590
- package/dist/designer/data/systems/minimax/tokens.css +0 -148
- package/dist/designer/data/systems/mintlify/DESIGN.md +0 -329
- package/dist/designer/data/systems/mintlify/components.html +0 -737
- package/dist/designer/data/systems/mintlify/tokens.css +0 -256
- package/dist/designer/data/systems/miro/DESIGN.md +0 -111
- package/dist/designer/data/systems/miro/components.html +0 -342
- package/dist/designer/data/systems/miro/tokens.css +0 -64
- package/dist/designer/data/systems/mission-control/DESIGN.md +0 -474
- package/dist/designer/data/systems/mission-control/components.html +0 -136
- package/dist/designer/data/systems/mission-control/tokens.css +0 -63
- package/dist/designer/data/systems/mistral-ai/DESIGN.md +0 -264
- package/dist/designer/data/systems/mistral-ai/components.html +0 -338
- package/dist/designer/data/systems/mistral-ai/tokens.css +0 -125
- package/dist/designer/data/systems/modern/DESIGN.md +0 -71
- package/dist/designer/data/systems/modern/components.html +0 -154
- package/dist/designer/data/systems/modern/tokens.css +0 -63
- package/dist/designer/data/systems/mongodb/DESIGN.md +0 -269
- package/dist/designer/data/systems/mongodb/components.html +0 -462
- package/dist/designer/data/systems/mongodb/tokens.css +0 -176
- package/dist/designer/data/systems/mono/DESIGN.md +0 -71
- package/dist/designer/data/systems/mono/components.html +0 -136
- package/dist/designer/data/systems/mono/tokens.css +0 -63
- package/dist/designer/data/systems/neobrutalism/DESIGN.md +0 -71
- package/dist/designer/data/systems/neobrutalism/components.html +0 -136
- package/dist/designer/data/systems/neobrutalism/tokens.css +0 -63
- package/dist/designer/data/systems/neon/DESIGN.md +0 -71
- package/dist/designer/data/systems/neon/components.html +0 -136
- package/dist/designer/data/systems/neon/tokens.css +0 -63
- package/dist/designer/data/systems/neumorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/neumorphism/components.html +0 -136
- package/dist/designer/data/systems/neumorphism/tokens.css +0 -63
- package/dist/designer/data/systems/nike/DESIGN.md +0 -366
- package/dist/designer/data/systems/nike/components.html +0 -512
- package/dist/designer/data/systems/nike/tokens.css +0 -304
- package/dist/designer/data/systems/notion/DESIGN.md +0 -312
- package/dist/designer/data/systems/notion/components.html +0 -413
- package/dist/designer/data/systems/notion/tokens.css +0 -130
- package/dist/designer/data/systems/nvidia/DESIGN.md +0 -296
- package/dist/designer/data/systems/nvidia/components.html +0 -414
- package/dist/designer/data/systems/nvidia/tokens.css +0 -133
- package/dist/designer/data/systems/ollama/DESIGN.md +0 -270
- package/dist/designer/data/systems/ollama/components.html +0 -700
- package/dist/designer/data/systems/ollama/tokens.css +0 -242
- package/dist/designer/data/systems/openai/DESIGN.md +0 -140
- package/dist/designer/data/systems/openai/components.html +0 -382
- package/dist/designer/data/systems/openai/tokens.css +0 -133
- package/dist/designer/data/systems/opencode-ai/DESIGN.md +0 -284
- package/dist/designer/data/systems/opencode-ai/components.html +0 -389
- package/dist/designer/data/systems/opencode-ai/tokens.css +0 -126
- package/dist/designer/data/systems/pacman/DESIGN.md +0 -71
- package/dist/designer/data/systems/pacman/components.html +0 -342
- package/dist/designer/data/systems/pacman/tokens.css +0 -64
- package/dist/designer/data/systems/paper/DESIGN.md +0 -71
- package/dist/designer/data/systems/paper/components.html +0 -136
- package/dist/designer/data/systems/paper/tokens.css +0 -63
- package/dist/designer/data/systems/perplexity/DESIGN.md +0 -286
- package/dist/designer/data/systems/perplexity/components.html +0 -455
- package/dist/designer/data/systems/perplexity/tokens.css +0 -151
- package/dist/designer/data/systems/perspective/DESIGN.md +0 -71
- package/dist/designer/data/systems/perspective/components.html +0 -136
- package/dist/designer/data/systems/perspective/tokens.css +0 -63
- package/dist/designer/data/systems/pinterest/DESIGN.md +0 -233
- package/dist/designer/data/systems/pinterest/components.html +0 -865
- package/dist/designer/data/systems/pinterest/tokens.css +0 -262
- package/dist/designer/data/systems/playstation/DESIGN.md +0 -367
- package/dist/designer/data/systems/playstation/components.html +0 -414
- package/dist/designer/data/systems/playstation/tokens.css +0 -150
- package/dist/designer/data/systems/posthog/DESIGN.md +0 -259
- package/dist/designer/data/systems/posthog/components.html +0 -827
- package/dist/designer/data/systems/posthog/tokens.css +0 -272
- package/dist/designer/data/systems/premium/DESIGN.md +0 -71
- package/dist/designer/data/systems/premium/components.html +0 -154
- package/dist/designer/data/systems/premium/tokens.css +0 -63
- package/dist/designer/data/systems/professional/DESIGN.md +0 -71
- package/dist/designer/data/systems/professional/components.html +0 -136
- package/dist/designer/data/systems/professional/tokens.css +0 -63
- package/dist/designer/data/systems/publication/DESIGN.md +0 -71
- package/dist/designer/data/systems/publication/components.html +0 -154
- package/dist/designer/data/systems/publication/tokens.css +0 -63
- package/dist/designer/data/systems/raycast/DESIGN.md +0 -271
- package/dist/designer/data/systems/raycast/components.html +0 -507
- package/dist/designer/data/systems/raycast/tokens.css +0 -143
- package/dist/designer/data/systems/refined/DESIGN.md +0 -71
- package/dist/designer/data/systems/refined/components.html +0 -136
- package/dist/designer/data/systems/refined/tokens.css +0 -63
- package/dist/designer/data/systems/renault/DESIGN.md +0 -314
- package/dist/designer/data/systems/renault/components.html +0 -154
- package/dist/designer/data/systems/renault/tokens.css +0 -63
- package/dist/designer/data/systems/replicate/DESIGN.md +0 -264
- package/dist/designer/data/systems/replicate/components.html +0 -340
- package/dist/designer/data/systems/replicate/tokens.css +0 -125
- package/dist/designer/data/systems/resend/DESIGN.md +0 -306
- package/dist/designer/data/systems/resend/components.html +0 -839
- package/dist/designer/data/systems/resend/tokens.css +0 -353
- package/dist/designer/data/systems/retro/DESIGN.md +0 -71
- package/dist/designer/data/systems/retro/components.html +0 -136
- package/dist/designer/data/systems/retro/tokens.css +0 -63
- package/dist/designer/data/systems/revolut/DESIGN.md +0 -188
- package/dist/designer/data/systems/revolut/components.html +0 -342
- package/dist/designer/data/systems/revolut/tokens.css +0 -64
- package/dist/designer/data/systems/runwayml/DESIGN.md +0 -247
- package/dist/designer/data/systems/runwayml/components.html +0 -638
- package/dist/designer/data/systems/runwayml/tokens.css +0 -204
- package/dist/designer/data/systems/sanity/DESIGN.md +0 -360
- package/dist/designer/data/systems/sanity/components.html +0 -342
- package/dist/designer/data/systems/sanity/tokens.css +0 -64
- package/dist/designer/data/systems/sentry/DESIGN.md +0 -265
- package/dist/designer/data/systems/sentry/components.html +0 -387
- package/dist/designer/data/systems/sentry/tokens.css +0 -219
- package/dist/designer/data/systems/shadcn/DESIGN.md +0 -71
- package/dist/designer/data/systems/shadcn/components.html +0 -732
- package/dist/designer/data/systems/shadcn/tokens.css +0 -255
- package/dist/designer/data/systems/shopify/DESIGN.md +0 -353
- package/dist/designer/data/systems/shopify/components.html +0 -342
- package/dist/designer/data/systems/shopify/tokens.css +0 -141
- package/dist/designer/data/systems/simple/DESIGN.md +0 -71
- package/dist/designer/data/systems/simple/components.html +0 -136
- package/dist/designer/data/systems/simple/tokens.css +0 -63
- package/dist/designer/data/systems/skeumorphism/DESIGN.md +0 -71
- package/dist/designer/data/systems/skeumorphism/components.html +0 -136
- package/dist/designer/data/systems/skeumorphism/tokens.css +0 -63
- package/dist/designer/data/systems/slack/DESIGN.md +0 -363
- package/dist/designer/data/systems/slack/components.html +0 -387
- package/dist/designer/data/systems/slack/tokens.css +0 -127
- package/dist/designer/data/systems/sleek/DESIGN.md +0 -71
- package/dist/designer/data/systems/sleek/components.html +0 -136
- package/dist/designer/data/systems/sleek/tokens.css +0 -63
- package/dist/designer/data/systems/spacex/DESIGN.md +0 -197
- package/dist/designer/data/systems/spacex/components.html +0 -496
- package/dist/designer/data/systems/spacex/tokens.css +0 -154
- package/dist/designer/data/systems/spacious/DESIGN.md +0 -71
- package/dist/designer/data/systems/spacious/components.html +0 -136
- package/dist/designer/data/systems/spacious/tokens.css +0 -63
- package/dist/designer/data/systems/spotify/DESIGN.md +0 -249
- package/dist/designer/data/systems/spotify/components.html +0 -365
- package/dist/designer/data/systems/spotify/tokens.css +0 -127
- package/dist/designer/data/systems/starbucks/DESIGN.md +0 -583
- package/dist/designer/data/systems/starbucks/components.html +0 -493
- package/dist/designer/data/systems/starbucks/tokens.css +0 -182
- package/dist/designer/data/systems/storytelling/DESIGN.md +0 -71
- package/dist/designer/data/systems/storytelling/components.html +0 -136
- package/dist/designer/data/systems/storytelling/tokens.css +0 -63
- package/dist/designer/data/systems/stripe/DESIGN.md +0 -325
- package/dist/designer/data/systems/stripe/components.html +0 -1018
- package/dist/designer/data/systems/stripe/tokens.css +0 -295
- package/dist/designer/data/systems/supabase/DESIGN.md +0 -258
- package/dist/designer/data/systems/supabase/components.html +0 -741
- package/dist/designer/data/systems/supabase/tokens.css +0 -294
- package/dist/designer/data/systems/superhuman/DESIGN.md +0 -255
- package/dist/designer/data/systems/superhuman/components.html +0 -537
- package/dist/designer/data/systems/superhuman/tokens.css +0 -160
- package/dist/designer/data/systems/tesla/DESIGN.md +0 -289
- package/dist/designer/data/systems/tesla/components.html +0 -724
- package/dist/designer/data/systems/tesla/tokens.css +0 -285
- package/dist/designer/data/systems/tetris/DESIGN.md +0 -71
- package/dist/designer/data/systems/tetris/components.html +0 -342
- package/dist/designer/data/systems/tetris/tokens.css +0 -64
- package/dist/designer/data/systems/theverge/DESIGN.md +0 -342
- package/dist/designer/data/systems/theverge/components.html +0 -342
- package/dist/designer/data/systems/theverge/tokens.css +0 -64
- package/dist/designer/data/systems/together-ai/DESIGN.md +0 -266
- package/dist/designer/data/systems/together-ai/components.html +0 -422
- package/dist/designer/data/systems/together-ai/tokens.css +0 -127
- package/dist/designer/data/systems/totality-festival/DESIGN.md +0 -206
- package/dist/designer/data/systems/totality-festival/components.html +0 -136
- package/dist/designer/data/systems/totality-festival/tokens.css +0 -63
- package/dist/designer/data/systems/trading-terminal/DESIGN.md +0 -178
- package/dist/designer/data/systems/trading-terminal/components.html +0 -154
- package/dist/designer/data/systems/trading-terminal/tokens.css +0 -63
- package/dist/designer/data/systems/uber/DESIGN.md +0 -298
- package/dist/designer/data/systems/uber/components.html +0 -347
- package/dist/designer/data/systems/uber/tokens.css +0 -131
- package/dist/designer/data/systems/urdu/DESIGN.md +0 -1002
- package/dist/designer/data/systems/urdu/components.html +0 -136
- package/dist/designer/data/systems/urdu/tokens.css +0 -63
- package/dist/designer/data/systems/vercel/DESIGN.md +0 -313
- package/dist/designer/data/systems/vercel/components.html +0 -839
- package/dist/designer/data/systems/vercel/tokens.css +0 -270
- package/dist/designer/data/systems/vibrant/DESIGN.md +0 -71
- package/dist/designer/data/systems/vibrant/components.html +0 -136
- package/dist/designer/data/systems/vibrant/tokens.css +0 -63
- package/dist/designer/data/systems/vintage/DESIGN.md +0 -71
- package/dist/designer/data/systems/vintage/components.html +0 -136
- package/dist/designer/data/systems/vintage/tokens.css +0 -63
- package/dist/designer/data/systems/vodafone/DESIGN.md +0 -426
- package/dist/designer/data/systems/vodafone/components.html +0 -342
- package/dist/designer/data/systems/vodafone/tokens.css +0 -64
- package/dist/designer/data/systems/voltagent/DESIGN.md +0 -326
- package/dist/designer/data/systems/voltagent/components.html +0 -154
- package/dist/designer/data/systems/voltagent/tokens.css +0 -63
- package/dist/designer/data/systems/warm-editorial/DESIGN.md +0 -65
- package/dist/designer/data/systems/warm-editorial/components.html +0 -136
- package/dist/designer/data/systems/warm-editorial/tokens.css +0 -63
- package/dist/designer/data/systems/warp/DESIGN.md +0 -256
- package/dist/designer/data/systems/warp/components.html +0 -411
- package/dist/designer/data/systems/warp/tokens.css +0 -156
- package/dist/designer/data/systems/webex/DESIGN.md +0 -207
- package/dist/designer/data/systems/webex/components.html +0 -342
- package/dist/designer/data/systems/webex/tokens.css +0 -64
- package/dist/designer/data/systems/webflow/DESIGN.md +0 -95
- package/dist/designer/data/systems/webflow/components.html +0 -413
- package/dist/designer/data/systems/webflow/tokens.css +0 -191
- package/dist/designer/data/systems/wechat/DESIGN.md +0 -302
- package/dist/designer/data/systems/wechat/components.html +0 -507
- package/dist/designer/data/systems/wechat/tokens.css +0 -176
- package/dist/designer/data/systems/wired/DESIGN.md +0 -281
- package/dist/designer/data/systems/wired/components.html +0 -342
- package/dist/designer/data/systems/wired/tokens.css +0 -64
- package/dist/designer/data/systems/wise/DESIGN.md +0 -176
- package/dist/designer/data/systems/wise/components.html +0 -365
- package/dist/designer/data/systems/wise/tokens.css +0 -141
- package/dist/designer/data/systems/x-ai/DESIGN.md +0 -260
- package/dist/designer/data/systems/x-ai/components.html +0 -460
- package/dist/designer/data/systems/x-ai/tokens.css +0 -268
- package/dist/designer/data/systems/xiaohongshu/DESIGN.md +0 -402
- package/dist/designer/data/systems/xiaohongshu/components.html +0 -865
- package/dist/designer/data/systems/xiaohongshu/tokens.css +0 -193
- package/dist/designer/data/systems/zapier/DESIGN.md +0 -331
- package/dist/designer/data/systems/zapier/components.html +0 -342
- package/dist/designer/data/systems/zapier/tokens.css +0 -64
- package/dist/designer/guidelines.d.ts +0 -23
- package/dist/designer/guidelines.d.ts.map +0 -1
- package/dist/designer/guidelines.js +0 -176
- package/dist/designer/philosophies.d.ts +0 -33
- package/dist/designer/philosophies.d.ts.map +0 -1
- package/dist/designer/philosophies.js +0 -668
- package/dist/designer/skills.d.ts +0 -21
- package/dist/designer/skills.d.ts.map +0 -1
- package/dist/designer/skills.js +0 -34
- package/dist/designer/systems.d.ts +0 -36
- package/dist/designer/systems.d.ts.map +0 -1
- package/dist/designer/systems.js +0 -221
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
import type { DesignSkill } from "./design-skill.js";
|
|
2
|
-
|
|
3
|
-
export const slideDeck: DesignSkill = {
|
|
4
|
-
name: "slide-deck",
|
|
5
|
-
scenario: "marketing",
|
|
6
|
-
description:
|
|
7
|
-
"Presentation slide deck as a single HTML file. Fixed 16:9 canvas with keyboard navigation, slide counter, and print-to-PDF support.",
|
|
8
|
-
outputKind: "slides",
|
|
9
|
-
workflow: `# Slide Deck Skill
|
|
10
|
-
|
|
11
|
-
Produce a presentation deck as a single HTML file. 16:9 ratio (1920×1080), keyboard navigation, slide counter.
|
|
12
|
-
|
|
13
|
-
## Phase 0 — Pre-flight
|
|
14
|
-
|
|
15
|
-
1. Read the design system for color tokens.
|
|
16
|
-
2. Determine: deck title, audience, number of slides, tone (pitch, educational, report).
|
|
17
|
-
3. Vocalize the plan: "I'll create a [N]-slide deck: [slide titles in order]."
|
|
18
|
-
|
|
19
|
-
## Phase 1 — Framework Skeleton
|
|
20
|
-
|
|
21
|
-
Create \`deck.html\` with this exact framework. The scaling/navigation JS is load-bearing — copy it verbatim.
|
|
22
|
-
|
|
23
|
-
\`\`\`html
|
|
24
|
-
<!doctype html>
|
|
25
|
-
<html lang="en">
|
|
26
|
-
<head>
|
|
27
|
-
<meta charset="utf-8">
|
|
28
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
29
|
-
<title>Deck Title</title>
|
|
30
|
-
<style>
|
|
31
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; }
|
|
32
|
-
|
|
33
|
-
:root {
|
|
34
|
-
--slide-w: 1920px;
|
|
35
|
-
--slide-h: 1080px;
|
|
36
|
-
/* Design system tokens here */
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; font-family: var(--font-sans); }
|
|
40
|
-
|
|
41
|
-
#scaler {
|
|
42
|
-
position: absolute;
|
|
43
|
-
top: 50%; left: 50%;
|
|
44
|
-
transform-origin: 0 0;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.slide {
|
|
48
|
-
position: absolute;
|
|
49
|
-
top: 0; left: 0;
|
|
50
|
-
width: var(--slide-w);
|
|
51
|
-
height: var(--slide-h);
|
|
52
|
-
display: none;
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
}
|
|
55
|
-
.slide.active { display: flex; }
|
|
56
|
-
|
|
57
|
-
#counter {
|
|
58
|
-
position: fixed; bottom: 16px; right: 16px; z-index: 100;
|
|
59
|
-
background: rgba(0,0,0,0.6); color: #fff; padding: 4px 12px;
|
|
60
|
-
border-radius: 4px; font-size: 14px; font-family: monospace;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media print {
|
|
64
|
-
html, body { width: auto; height: auto; overflow: visible; background: #fff; }
|
|
65
|
-
#scaler { position: static; transform: none; }
|
|
66
|
-
.slide { position: relative; display: block !important; break-after: page; }
|
|
67
|
-
#counter { display: none; }
|
|
68
|
-
}
|
|
69
|
-
</style>
|
|
70
|
-
</head>
|
|
71
|
-
<body>
|
|
72
|
-
<div id="scaler">
|
|
73
|
-
<div class="slide active" data-slide="1"><!-- content --></div>
|
|
74
|
-
<div class="slide" data-slide="2"><!-- content --></div>
|
|
75
|
-
<!-- ... -->
|
|
76
|
-
</div>
|
|
77
|
-
<div id="counter">1 / N</div>
|
|
78
|
-
<script>
|
|
79
|
-
const slides = document.querySelectorAll('.slide');
|
|
80
|
-
let current = 0;
|
|
81
|
-
function show(i) {
|
|
82
|
-
slides[current].classList.remove('active');
|
|
83
|
-
current = (i + slides.length) % slides.length;
|
|
84
|
-
slides[current].classList.add('active');
|
|
85
|
-
document.getElementById('counter').textContent = (current + 1) + ' / ' + slides.length;
|
|
86
|
-
}
|
|
87
|
-
function scale() {
|
|
88
|
-
const scaler = document.getElementById('scaler');
|
|
89
|
-
const sw = window.innerWidth, sh = window.innerHeight;
|
|
90
|
-
const ratio = Math.min(sw / 1920, sh / 1080);
|
|
91
|
-
scaler.style.transform = 'translate(' + (sw/2) + 'px,' + (sh/2) + 'px) scale(' + ratio + ')';
|
|
92
|
-
}
|
|
93
|
-
document.addEventListener('keydown', e => {
|
|
94
|
-
if (e.key === 'ArrowRight' || e.key === 'ArrowDown' || e.key === ' ') { e.preventDefault(); show(current + 1); }
|
|
95
|
-
if (e.key === 'ArrowLeft' || e.key === 'ArrowUp') { e.preventDefault(); show(current - 1); }
|
|
96
|
-
if (e.key === 'Home') { e.preventDefault(); show(0); }
|
|
97
|
-
if (e.key === 'End') { e.preventDefault(); show(slides.length - 1); }
|
|
98
|
-
});
|
|
99
|
-
window.addEventListener('resize', scale);
|
|
100
|
-
scale();
|
|
101
|
-
localStorage.setItem('deck-slide', current);
|
|
102
|
-
</script>
|
|
103
|
-
</body>
|
|
104
|
-
</html>
|
|
105
|
-
\`\`\`
|
|
106
|
-
|
|
107
|
-
## Phase 2 — Slide Layouts
|
|
108
|
-
|
|
109
|
-
Each slide is a \`.slide\` div with \`.active\` on the first. Tag slides with \`data-slide="N"\`.
|
|
110
|
-
|
|
111
|
-
### Title Slide
|
|
112
|
-
\`\`\`html
|
|
113
|
-
<div class="slide active" data-slide="1">
|
|
114
|
-
<div class="slide-content title-slide">
|
|
115
|
-
<p class="slide-label">Company · Date</p>
|
|
116
|
-
<h1>Deck Title</h1>
|
|
117
|
-
<p class="slide-subtitle">One-line subtitle</p>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
\`\`\`
|
|
121
|
-
Style: centered content, 80px headline, dark background with design-system colors.
|
|
122
|
-
|
|
123
|
-
### Text-Only Slide
|
|
124
|
-
\`\`\`html
|
|
125
|
-
<div class="slide" data-slide="2">
|
|
126
|
-
<div class="slide-content text-slide">
|
|
127
|
-
<h2>Section Title</h2>
|
|
128
|
-
<ul>
|
|
129
|
-
<li>Bullet point one — keep it short, 8-12 words</li>
|
|
130
|
-
<li>Bullet point two</li>
|
|
131
|
-
<li>Bullet point three</li>
|
|
132
|
-
</ul>
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
\`\`\`
|
|
136
|
-
|
|
137
|
-
### Two-Column Slide
|
|
138
|
-
\`\`\`html
|
|
139
|
-
<div class="slide" data-slide="3">
|
|
140
|
-
<div class="slide-content two-col">
|
|
141
|
-
<div class="col">
|
|
142
|
-
<h2>Left Heading</h2>
|
|
143
|
-
<p>Descriptive text. 20-40 words.</p>
|
|
144
|
-
</div>
|
|
145
|
-
<div class="col">
|
|
146
|
-
<div class="chart-placeholder">[chart, image, or code block]</div>
|
|
147
|
-
</div>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
\`\`\`
|
|
151
|
-
|
|
152
|
-
### Metrics Slide
|
|
153
|
-
\`\`\`html
|
|
154
|
-
<div class="slide" data-slide="4">
|
|
155
|
-
<div class="slide-content metrics-slide">
|
|
156
|
-
<h2>Key Results</h2>
|
|
157
|
-
<div class="metrics-grid">
|
|
158
|
-
<div class="metric">
|
|
159
|
-
<span class="metric-value">85%</span>
|
|
160
|
-
<span class="metric-label">Metric name</span>
|
|
161
|
-
</div>
|
|
162
|
-
<!-- 3-4 metrics -->
|
|
163
|
-
</div>
|
|
164
|
-
</div>
|
|
165
|
-
</div>
|
|
166
|
-
\`\`\`
|
|
167
|
-
|
|
168
|
-
### Closing Slide
|
|
169
|
-
\`\`\`html
|
|
170
|
-
<div class="slide" data-slide="N">
|
|
171
|
-
<div class="slide-content title-slide closing">
|
|
172
|
-
<h1>Thank You</h1>
|
|
173
|
-
<p class="slide-subtitle">contact@company.com</p>
|
|
174
|
-
</div>
|
|
175
|
-
</div>
|
|
176
|
-
\`\`\`
|
|
177
|
-
|
|
178
|
-
## Phase 3 — Slide Styles
|
|
179
|
-
|
|
180
|
-
\`\`\`css
|
|
181
|
-
.slide-content { width: 100%; height: 100%; padding: 80px 120px; display: flex; flex-direction: column; justify-content: center; }
|
|
182
|
-
|
|
183
|
-
.title-slide { align-items: center; text-align: center; background: var(--color-bg-primary); }
|
|
184
|
-
.title-slide h1 { font-size: 80px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
|
|
185
|
-
.slide-label { font-size: 20px; color: var(--color-text-secondary); margin-bottom: 24px; }
|
|
186
|
-
.slide-subtitle { font-size: 28px; color: var(--color-text-secondary); margin-top: 16px; }
|
|
187
|
-
|
|
188
|
-
.text-slide h2 { font-size: 48px; font-weight: 700; margin-bottom: 40px; }
|
|
189
|
-
.text-slide ul { font-size: 28px; line-height: 1.8; }
|
|
190
|
-
.text-slide li { margin-bottom: 12px; color: var(--color-text-secondary); }
|
|
191
|
-
.text-slide li::marker { color: var(--color-accent); }
|
|
192
|
-
|
|
193
|
-
.two-col { flex-direction: row; gap: 80px; }
|
|
194
|
-
.two-col .col { flex: 1; display: flex; flex-direction: column; justify-content: center; }
|
|
195
|
-
.two-col h2 { font-size: 48px; margin-bottom: 24px; }
|
|
196
|
-
.two-col p { font-size: 24px; line-height: 1.6; color: var(--color-text-secondary); }
|
|
197
|
-
|
|
198
|
-
.metrics-slide { align-items: center; justify-content: center; text-align: center; }
|
|
199
|
-
.metrics-grid { display: flex; gap: 80px; margin-top: 48px; }
|
|
200
|
-
.metric-value { font-size: 72px; font-weight: 800; color: var(--color-accent); display: block; }
|
|
201
|
-
.metric-label { font-size: 20px; color: var(--color-text-secondary); margin-top: 8px; display: block; }
|
|
202
|
-
|
|
203
|
-
.closing { background: var(--color-bg-primary); }
|
|
204
|
-
\`\`\`
|
|
205
|
-
|
|
206
|
-
## Phase 4 — Content Rules for Slides
|
|
207
|
-
|
|
208
|
-
- Slide text is never smaller than 24px — this is a 16:9 canvas, not a web page
|
|
209
|
-
- Headlines: 48-80px, one line preferred
|
|
210
|
-
- Body text: 24-28px
|
|
211
|
-
- Bullet points: 28px, max 5 per slide, each 6-12 words
|
|
212
|
-
- Every slide gets a \`data-slide="N"\` attribute
|
|
213
|
-
- Slides are 1-indexed
|
|
214
|
-
- Max 12 slides unless the user asks for more
|
|
215
|
-
- The closing slide always says "Thank You" with contact info`,
|
|
216
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"social-carousel.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/social-carousel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,cAAc,EAAE,WAuI1B,CAAC"}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
export const socialCarousel = {
|
|
2
|
-
name: "social-carousel",
|
|
3
|
-
scenario: "marketing",
|
|
4
|
-
description: "Social media carousel. Multiple slides in a single HTML file with horizontal scroll, designed for Instagram/LinkedIn/Twitter export.",
|
|
5
|
-
outputKind: "html",
|
|
6
|
-
workflow: `# Social Carousel Skill
|
|
7
|
-
|
|
8
|
-
Produce a social media carousel as a single HTML file. 1080×1080 (Instagram) or 1200×628 (LinkedIn/Twitter), horizontal scroll, export-friendly.
|
|
9
|
-
|
|
10
|
-
## Phase 0 — Pre-flight
|
|
11
|
-
|
|
12
|
-
1. Read the design system.
|
|
13
|
-
2. Determine: platform (instagram=1080×1080, linkedin=1200×627), number of cards (3-10), topic.
|
|
14
|
-
3. Vocalize: "I'll create a [N]-card carousel for [platform] about [topic]."
|
|
15
|
-
|
|
16
|
-
## Phase 1 — Shell
|
|
17
|
-
|
|
18
|
-
Create \`carousel.html\`:
|
|
19
|
-
|
|
20
|
-
\`\`\`html
|
|
21
|
-
<!doctype html>
|
|
22
|
-
<html lang="en">
|
|
23
|
-
<head>
|
|
24
|
-
<meta charset="utf-8">
|
|
25
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
26
|
-
<title>Carousel</title>
|
|
27
|
-
<style>
|
|
28
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; }
|
|
29
|
-
|
|
30
|
-
:root {
|
|
31
|
-
--card-w: 1080px;
|
|
32
|
-
--card-h: 1080px;
|
|
33
|
-
/* Design system tokens */
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
body {
|
|
37
|
-
background: #f0f0f0;
|
|
38
|
-
display: flex;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
align-items: center;
|
|
41
|
-
min-height: 100vh;
|
|
42
|
-
font-family: var(--font-sans);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.carousel-container {
|
|
46
|
-
width: min(var(--card-w), 95vw);
|
|
47
|
-
overflow-x: auto;
|
|
48
|
-
scroll-snap-type: x mandatory;
|
|
49
|
-
display: flex;
|
|
50
|
-
gap: 16px;
|
|
51
|
-
padding: 40px 0;
|
|
52
|
-
-webkit-overflow-scrolling: touch;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.card {
|
|
56
|
-
flex-shrink: 0;
|
|
57
|
-
width: min(var(--card-w), 90vw);
|
|
58
|
-
aspect-ratio: 1;
|
|
59
|
-
scroll-snap-align: center;
|
|
60
|
-
border-radius: 12px;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
background: var(--color-bg-primary);
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
@media (max-width: 1100px) {
|
|
69
|
-
.card { width: 85vw; }
|
|
70
|
-
}
|
|
71
|
-
</style>
|
|
72
|
-
</head>
|
|
73
|
-
<body>
|
|
74
|
-
<div class="carousel-container">
|
|
75
|
-
<div class="card">
|
|
76
|
-
<!-- Card 1 content -->
|
|
77
|
-
</div>
|
|
78
|
-
<!-- More cards -->
|
|
79
|
-
</div>
|
|
80
|
-
</body>
|
|
81
|
-
</html>
|
|
82
|
-
\`\`\`
|
|
83
|
-
|
|
84
|
-
## Phase 2 — Card Layouts
|
|
85
|
-
|
|
86
|
-
### Title Card (first)
|
|
87
|
-
A bold, eye-catching title. Centered, large typography, accent color background or dark solid.
|
|
88
|
-
\`\`\`css
|
|
89
|
-
.card-title { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; background: var(--color-accent); color: #fff; }
|
|
90
|
-
.card-title .number { font-size: 14px; opacity: 0.7; letter-spacing: 0.1em; text-transform: uppercase; margin-top: auto; }
|
|
91
|
-
.card-title h1 { font-size: 64px; font-weight: 800; line-height: 1.1; }
|
|
92
|
-
.card-title p { font-size: 24px; opacity: 0.9; margin-top: 16px; max-width: 600px; }
|
|
93
|
-
\`\`\`
|
|
94
|
-
|
|
95
|
-
### Content Card
|
|
96
|
-
\`\`\`css
|
|
97
|
-
.card-content { flex: 1; display: flex; flex-direction: column; padding: 64px; }
|
|
98
|
-
.card-content h2 { font-size: 42px; font-weight: 700; margin-bottom: 24px; }
|
|
99
|
-
.card-content p { font-size: 24px; line-height: 1.6; color: var(--color-text-secondary); }
|
|
100
|
-
.card-content .number { font-size: 14px; color: var(--color-text-secondary); margin-top: auto; }
|
|
101
|
-
\`\`\`
|
|
102
|
-
|
|
103
|
-
### Stat Card
|
|
104
|
-
\`\`\`css
|
|
105
|
-
.card-stat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; }
|
|
106
|
-
.card-stat .stat-value { font-size: 120px; font-weight: 800; color: var(--color-accent); line-height: 1; }
|
|
107
|
-
.card-stat .stat-label { font-size: 24px; color: var(--color-text-secondary); margin-top: 16px; }
|
|
108
|
-
\`\`\`
|
|
109
|
-
|
|
110
|
-
### Quote Card
|
|
111
|
-
\`\`\`css
|
|
112
|
-
.card-quote { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; }
|
|
113
|
-
.card-quote blockquote { font-size: 36px; font-style: italic; line-height: 1.4; max-width: 700px; }
|
|
114
|
-
.card-quote cite { font-size: 20px; color: var(--color-text-secondary); margin-top: 24px; font-style: normal; }
|
|
115
|
-
\`\`\`
|
|
116
|
-
|
|
117
|
-
### CTA Card (last)
|
|
118
|
-
\`\`\`css
|
|
119
|
-
.card-cta { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; background: var(--color-bg-primary); }
|
|
120
|
-
.card-cta h2 { font-size: 48px; font-weight: 700; margin-bottom: 16px; }
|
|
121
|
-
.card-cta p { font-size: 24px; color: var(--color-text-secondary); margin-bottom: 32px; }
|
|
122
|
-
.card-cta .cta-text { font-size: 28px; font-weight: 600; color: var(--color-accent); }
|
|
123
|
-
\`\`\`
|
|
124
|
-
|
|
125
|
-
## Phase 3 — Content Rules
|
|
126
|
-
|
|
127
|
-
- Each card has a clear visual hierarchy: big number/headline → supporting text → card number
|
|
128
|
-
- Card number shows position (e.g., "1/8") in bottom corner
|
|
129
|
-
- Title card grabs attention — use solid accent or dark bg
|
|
130
|
-
- Content cards: 30-60 words max
|
|
131
|
-
- Stat cards: one big number, one-line label
|
|
132
|
-
- Last card: always a CTA or summary with contact/handle
|
|
133
|
-
- Consistent padding within cards (64-80px)
|
|
134
|
-
- Each card works as a standalone image when screenshot`,
|
|
135
|
-
};
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import type { DesignSkill } from "./design-skill.js";
|
|
2
|
-
|
|
3
|
-
export const socialCarousel: DesignSkill = {
|
|
4
|
-
name: "social-carousel",
|
|
5
|
-
scenario: "marketing",
|
|
6
|
-
description:
|
|
7
|
-
"Social media carousel. Multiple slides in a single HTML file with horizontal scroll, designed for Instagram/LinkedIn/Twitter export.",
|
|
8
|
-
outputKind: "html",
|
|
9
|
-
workflow: `# Social Carousel Skill
|
|
10
|
-
|
|
11
|
-
Produce a social media carousel as a single HTML file. 1080×1080 (Instagram) or 1200×628 (LinkedIn/Twitter), horizontal scroll, export-friendly.
|
|
12
|
-
|
|
13
|
-
## Phase 0 — Pre-flight
|
|
14
|
-
|
|
15
|
-
1. Read the design system.
|
|
16
|
-
2. Determine: platform (instagram=1080×1080, linkedin=1200×627), number of cards (3-10), topic.
|
|
17
|
-
3. Vocalize: "I'll create a [N]-card carousel for [platform] about [topic]."
|
|
18
|
-
|
|
19
|
-
## Phase 1 — Shell
|
|
20
|
-
|
|
21
|
-
Create \`carousel.html\`:
|
|
22
|
-
|
|
23
|
-
\`\`\`html
|
|
24
|
-
<!doctype html>
|
|
25
|
-
<html lang="en">
|
|
26
|
-
<head>
|
|
27
|
-
<meta charset="utf-8">
|
|
28
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
29
|
-
<title>Carousel</title>
|
|
30
|
-
<style>
|
|
31
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; }
|
|
32
|
-
|
|
33
|
-
:root {
|
|
34
|
-
--card-w: 1080px;
|
|
35
|
-
--card-h: 1080px;
|
|
36
|
-
/* Design system tokens */
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
body {
|
|
40
|
-
background: #f0f0f0;
|
|
41
|
-
display: flex;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
min-height: 100vh;
|
|
45
|
-
font-family: var(--font-sans);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.carousel-container {
|
|
49
|
-
width: min(var(--card-w), 95vw);
|
|
50
|
-
overflow-x: auto;
|
|
51
|
-
scroll-snap-type: x mandatory;
|
|
52
|
-
display: flex;
|
|
53
|
-
gap: 16px;
|
|
54
|
-
padding: 40px 0;
|
|
55
|
-
-webkit-overflow-scrolling: touch;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.card {
|
|
59
|
-
flex-shrink: 0;
|
|
60
|
-
width: min(var(--card-w), 90vw);
|
|
61
|
-
aspect-ratio: 1;
|
|
62
|
-
scroll-snap-align: center;
|
|
63
|
-
border-radius: 12px;
|
|
64
|
-
overflow: hidden;
|
|
65
|
-
background: var(--color-bg-primary);
|
|
66
|
-
display: flex;
|
|
67
|
-
flex-direction: column;
|
|
68
|
-
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@media (max-width: 1100px) {
|
|
72
|
-
.card { width: 85vw; }
|
|
73
|
-
}
|
|
74
|
-
</style>
|
|
75
|
-
</head>
|
|
76
|
-
<body>
|
|
77
|
-
<div class="carousel-container">
|
|
78
|
-
<div class="card">
|
|
79
|
-
<!-- Card 1 content -->
|
|
80
|
-
</div>
|
|
81
|
-
<!-- More cards -->
|
|
82
|
-
</div>
|
|
83
|
-
</body>
|
|
84
|
-
</html>
|
|
85
|
-
\`\`\`
|
|
86
|
-
|
|
87
|
-
## Phase 2 — Card Layouts
|
|
88
|
-
|
|
89
|
-
### Title Card (first)
|
|
90
|
-
A bold, eye-catching title. Centered, large typography, accent color background or dark solid.
|
|
91
|
-
\`\`\`css
|
|
92
|
-
.card-title { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; background: var(--color-accent); color: #fff; }
|
|
93
|
-
.card-title .number { font-size: 14px; opacity: 0.7; letter-spacing: 0.1em; text-transform: uppercase; margin-top: auto; }
|
|
94
|
-
.card-title h1 { font-size: 64px; font-weight: 800; line-height: 1.1; }
|
|
95
|
-
.card-title p { font-size: 24px; opacity: 0.9; margin-top: 16px; max-width: 600px; }
|
|
96
|
-
\`\`\`
|
|
97
|
-
|
|
98
|
-
### Content Card
|
|
99
|
-
\`\`\`css
|
|
100
|
-
.card-content { flex: 1; display: flex; flex-direction: column; padding: 64px; }
|
|
101
|
-
.card-content h2 { font-size: 42px; font-weight: 700; margin-bottom: 24px; }
|
|
102
|
-
.card-content p { font-size: 24px; line-height: 1.6; color: var(--color-text-secondary); }
|
|
103
|
-
.card-content .number { font-size: 14px; color: var(--color-text-secondary); margin-top: auto; }
|
|
104
|
-
\`\`\`
|
|
105
|
-
|
|
106
|
-
### Stat Card
|
|
107
|
-
\`\`\`css
|
|
108
|
-
.card-stat { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; }
|
|
109
|
-
.card-stat .stat-value { font-size: 120px; font-weight: 800; color: var(--color-accent); line-height: 1; }
|
|
110
|
-
.card-stat .stat-label { font-size: 24px; color: var(--color-text-secondary); margin-top: 16px; }
|
|
111
|
-
\`\`\`
|
|
112
|
-
|
|
113
|
-
### Quote Card
|
|
114
|
-
\`\`\`css
|
|
115
|
-
.card-quote { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; }
|
|
116
|
-
.card-quote blockquote { font-size: 36px; font-style: italic; line-height: 1.4; max-width: 700px; }
|
|
117
|
-
.card-quote cite { font-size: 20px; color: var(--color-text-secondary); margin-top: 24px; font-style: normal; }
|
|
118
|
-
\`\`\`
|
|
119
|
-
|
|
120
|
-
### CTA Card (last)
|
|
121
|
-
\`\`\`css
|
|
122
|
-
.card-cta { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px; text-align: center; background: var(--color-bg-primary); }
|
|
123
|
-
.card-cta h2 { font-size: 48px; font-weight: 700; margin-bottom: 16px; }
|
|
124
|
-
.card-cta p { font-size: 24px; color: var(--color-text-secondary); margin-bottom: 32px; }
|
|
125
|
-
.card-cta .cta-text { font-size: 28px; font-weight: 600; color: var(--color-accent); }
|
|
126
|
-
\`\`\`
|
|
127
|
-
|
|
128
|
-
## Phase 3 — Content Rules
|
|
129
|
-
|
|
130
|
-
- Each card has a clear visual hierarchy: big number/headline → supporting text → card number
|
|
131
|
-
- Card number shows position (e.g., "1/8") in bottom corner
|
|
132
|
-
- Title card grabs attention — use solid accent or dark bg
|
|
133
|
-
- Content cards: 30-60 words max
|
|
134
|
-
- Stat cards: one big number, one-line label
|
|
135
|
-
- Last card: always a CTA or summary with contact/handle
|
|
136
|
-
- Consistent padding within cards (64-80px)
|
|
137
|
-
- Each card works as a standalone image when screenshot`,
|
|
138
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"web-prototype.d.ts","sourceRoot":"","sources":["../../../../src/designer/data/skills/web-prototype.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,YAAY,EAAE,WA+JxB,CAAC"}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
export const webPrototype = {
|
|
2
|
-
name: "web-prototype",
|
|
3
|
-
scenario: "design",
|
|
4
|
-
description: "General-purpose web prototype. Single self-contained HTML file with modern CSS, responsive layout, and polished design tokens.",
|
|
5
|
-
outputKind: "html",
|
|
6
|
-
workflow: `# Web Prototype Skill
|
|
7
|
-
|
|
8
|
-
Produce a single, self-contained HTML file for a web page prototype. This is your workflow — follow it exactly.
|
|
9
|
-
|
|
10
|
-
## Phase 0 — Pre-flight (before writing any code)
|
|
11
|
-
|
|
12
|
-
1. Read the active DESIGN SYSTEM (provided below). Map its color tokens to CSS custom properties.
|
|
13
|
-
2. Determine: what kind of page? Landing page, marketing site, docs, SaaS, portfolio?
|
|
14
|
-
3. Vocalize the system you'll use before writing: "I'll use the [X] design system with [Y] color palette and [Z] typography."
|
|
15
|
-
|
|
16
|
-
## Phase 1 — HTML Shell
|
|
17
|
-
|
|
18
|
-
Create \`index.html\` with this skeleton:
|
|
19
|
-
|
|
20
|
-
\`\`\`html
|
|
21
|
-
<!doctype html>
|
|
22
|
-
<html lang="en">
|
|
23
|
-
<head>
|
|
24
|
-
<meta charset="utf-8">
|
|
25
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
26
|
-
<title>Page Title</title>
|
|
27
|
-
<style>
|
|
28
|
-
*, *::before, *::after { box-sizing: border-box; margin: 0; }
|
|
29
|
-
|
|
30
|
-
:root {
|
|
31
|
-
/* Map design system tokens here */
|
|
32
|
-
--color-bg: ...;
|
|
33
|
-
--color-text: ...;
|
|
34
|
-
--color-accent: ...;
|
|
35
|
-
--font-sans: ...;
|
|
36
|
-
--font-serif: ...;
|
|
37
|
-
--radius: 8px;
|
|
38
|
-
--max-width: 1080px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
body {
|
|
42
|
-
font-family: var(--font-sans);
|
|
43
|
-
color: var(--color-text);
|
|
44
|
-
background: var(--color-bg);
|
|
45
|
-
line-height: 1.6;
|
|
46
|
-
-webkit-font-smoothing: antialiased;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
|
|
50
|
-
|
|
51
|
-
/* Write all component styles below */
|
|
52
|
-
</style>
|
|
53
|
-
</head>
|
|
54
|
-
<body>
|
|
55
|
-
<!-- Sections go here -->
|
|
56
|
-
</body>
|
|
57
|
-
</html>
|
|
58
|
-
\`\`\`
|
|
59
|
-
|
|
60
|
-
## Phase 2 — Compose Sections
|
|
61
|
-
|
|
62
|
-
Pick from these section patterns based on the page type. Each section is a semantic HTML block inside \`.container\`:
|
|
63
|
-
|
|
64
|
-
### Hero (always first)
|
|
65
|
-
\`\`\`html
|
|
66
|
-
<section class="hero">
|
|
67
|
-
<div class="container">
|
|
68
|
-
<h1>Bold headline that states the value</h1>
|
|
69
|
-
<p>One-sentence subtext that adds context. 20-30 words max.</p>
|
|
70
|
-
<div class="hero-actions">
|
|
71
|
-
<a href="#" class="btn-primary">Primary CTA</a>
|
|
72
|
-
<a href="#" class="btn-secondary">Secondary</a>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</section>
|
|
76
|
-
\`\`\`
|
|
77
|
-
|
|
78
|
-
### Feature Grid
|
|
79
|
-
\`\`\`html
|
|
80
|
-
<section class="features">
|
|
81
|
-
<div class="container">
|
|
82
|
-
<h2>Section heading</h2>
|
|
83
|
-
<div class="grid-3">
|
|
84
|
-
<div class="feature-card">
|
|
85
|
-
<div class="feature-icon">[icon]</div>
|
|
86
|
-
<h3>Feature name</h3>
|
|
87
|
-
<p>Concise description. One sentence.</p>
|
|
88
|
-
</div>
|
|
89
|
-
<!-- repeat 3-6 times -->
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
</section>
|
|
93
|
-
\`\`\`
|
|
94
|
-
|
|
95
|
-
### Social Proof
|
|
96
|
-
\`\`\`html
|
|
97
|
-
<section class="proof">
|
|
98
|
-
<div class="container">
|
|
99
|
-
<h2>Trusted by</h2>
|
|
100
|
-
<div class="logo-strip">[company logos or names]</div>
|
|
101
|
-
<blockquote>"Compelling quote from a real-sounding persona." <cite>— Name, Role at Company</cite></blockquote>
|
|
102
|
-
</div>
|
|
103
|
-
</section>
|
|
104
|
-
\`\`\`
|
|
105
|
-
|
|
106
|
-
### CTA Footer
|
|
107
|
-
\`\`\`html
|
|
108
|
-
<section class="cta">
|
|
109
|
-
<div class="container">
|
|
110
|
-
<h2>Ready to start?</h2>
|
|
111
|
-
<p>One-sentence prompt.</p>
|
|
112
|
-
<a href="#" class="btn-primary">Get Started</a>
|
|
113
|
-
</div>
|
|
114
|
-
</section>
|
|
115
|
-
\`\`\`
|
|
116
|
-
|
|
117
|
-
### Pricing (if needed)
|
|
118
|
-
\`\`\`html
|
|
119
|
-
<section class="pricing">
|
|
120
|
-
<div class="container">
|
|
121
|
-
<h2>Simple pricing</h2>
|
|
122
|
-
<div class="grid-3">
|
|
123
|
-
<div class="pricing-card">
|
|
124
|
-
<h3>Starter</h3>
|
|
125
|
-
<div class="price">$X<span>/mo</span></div>
|
|
126
|
-
<ul>
|
|
127
|
-
<li>Feature one</li>
|
|
128
|
-
<li>Feature two</li>
|
|
129
|
-
</ul>
|
|
130
|
-
<a href="#" class="btn-primary">Get Started</a>
|
|
131
|
-
</div>
|
|
132
|
-
<!-- 2-3 tiers -->
|
|
133
|
-
</div>
|
|
134
|
-
</div>
|
|
135
|
-
</section>
|
|
136
|
-
\`\`\`
|
|
137
|
-
|
|
138
|
-
## Phase 3 — Component Styles
|
|
139
|
-
|
|
140
|
-
Apply design-system tokens to each component:
|
|
141
|
-
|
|
142
|
-
- **Hero**: Full-bleed background matching --color-bg-secondary or --color-bg-primary (dark systems). h1 at 48-80px, 700-800 weight, tight line-height. Subtext at 18-20px, --color-text-secondary.
|
|
143
|
-
- **Grid**: CSS Grid, \`grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))\`, 24-32px gap.
|
|
144
|
-
- **Feature Cards**: Padding 32px, background --color-bg-surface, border-radius --radius, subtle border from --color-border.
|
|
145
|
-
- **Buttons**: Display inline-flex, align-items center, padding 12px 24px, border-radius --radius, font-weight 600. Primary: --color-accent bg, white text. Secondary: transparent, accent border.
|
|
146
|
-
- **Responsive**: Mobile-first. At 768px, adjust grid columns, reduce heading sizes by 25%, stack hero content vertically.
|
|
147
|
-
|
|
148
|
-
## Phase 4 — Anti-Slop Check
|
|
149
|
-
|
|
150
|
-
Before finalizing, verify:
|
|
151
|
-
- [ ] No warm beige/cream/peach backgrounds (unless the design system specifies them)
|
|
152
|
-
- [ ] No Inter or Roboto unless the design system calls for them
|
|
153
|
-
- [ ] No gradient backgrounds unless the design system uses them
|
|
154
|
-
- [ ] No emoji as icons — use Unicode symbols or SVG
|
|
155
|
-
- [ ] No lorem ipsum — every word is meaningful
|
|
156
|
-
- [ ] No rounded-left-border accent cards (the "AI slop" signature)
|
|
157
|
-
- [ ] Colors come from the design system, not defaults
|
|
158
|
-
- [ ] Typography scale is consistent (not random sizes)`,
|
|
159
|
-
};
|