ui-ux-pro-max-cli 2.8.8
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/README.md +99 -0
- package/assets/data/_sync_all.py +414 -0
- package/assets/data/app-interface.csv +31 -0
- package/assets/data/charts.csv +26 -0
- package/assets/data/colors.csv +162 -0
- package/assets/data/design.csv +1776 -0
- package/assets/data/draft.csv +1779 -0
- package/assets/data/google-fonts.csv +1924 -0
- package/assets/data/icons.csv +106 -0
- package/assets/data/landing.csv +35 -0
- package/assets/data/products.csv +162 -0
- package/assets/data/react-performance.csv +45 -0
- package/assets/data/stacks/angular.csv +51 -0
- package/assets/data/stacks/astro.csv +54 -0
- package/assets/data/stacks/flutter.csv +53 -0
- package/assets/data/stacks/html-tailwind.csv +56 -0
- package/assets/data/stacks/javafx.csv +76 -0
- package/assets/data/stacks/jetpack-compose.csv +53 -0
- package/assets/data/stacks/laravel.csv +51 -0
- package/assets/data/stacks/nextjs.csv +53 -0
- package/assets/data/stacks/nuxt-ui.csv +71 -0
- package/assets/data/stacks/nuxtjs.csv +59 -0
- package/assets/data/stacks/react-native.csv +52 -0
- package/assets/data/stacks/react.csv +54 -0
- package/assets/data/stacks/shadcn.csv +61 -0
- package/assets/data/stacks/svelte.csv +54 -0
- package/assets/data/stacks/swiftui.csv +51 -0
- package/assets/data/stacks/threejs.csv +54 -0
- package/assets/data/stacks/vue.csv +50 -0
- package/assets/data/styles.csv +85 -0
- package/assets/data/typography.csv +74 -0
- package/assets/data/ui-reasoning.csv +162 -0
- package/assets/data/ux-guidelines.csv +100 -0
- package/assets/scripts/core.py +263 -0
- package/assets/scripts/design_system.py +1157 -0
- package/assets/scripts/search.py +114 -0
- package/assets/skills/banner-design/SKILL.md +196 -0
- package/assets/skills/banner-design/references/banner-sizes-and-styles.md +118 -0
- package/assets/skills/brand/SKILL.md +97 -0
- package/assets/skills/brand/references/approval-checklist.md +169 -0
- package/assets/skills/brand/references/asset-organization.md +157 -0
- package/assets/skills/brand/references/brand-guideline-template.md +140 -0
- package/assets/skills/brand/references/color-palette-management.md +186 -0
- package/assets/skills/brand/references/consistency-checklist.md +94 -0
- package/assets/skills/brand/references/logo-usage-rules.md +185 -0
- package/assets/skills/brand/references/messaging-framework.md +85 -0
- package/assets/skills/brand/references/typography-specifications.md +214 -0
- package/assets/skills/brand/references/update.md +118 -0
- package/assets/skills/brand/references/visual-identity.md +96 -0
- package/assets/skills/brand/references/voice-framework.md +88 -0
- package/assets/skills/brand/scripts/extract-colors.cjs +341 -0
- package/assets/skills/brand/scripts/inject-brand-context.cjs +349 -0
- package/assets/skills/brand/scripts/sync-brand-to-tokens.cjs +266 -0
- package/assets/skills/brand/scripts/validate-asset.cjs +387 -0
- package/assets/skills/brand/templates/brand-guidelines-starter.md +275 -0
- package/assets/skills/design/SKILL.md +313 -0
- package/assets/skills/design/data/cip/deliverables.csv +51 -0
- package/assets/skills/design/data/cip/industries.csv +21 -0
- package/assets/skills/design/data/cip/mockup-contexts.csv +21 -0
- package/assets/skills/design/data/cip/styles.csv +21 -0
- package/assets/skills/design/data/icon/styles.csv +16 -0
- package/assets/skills/design/data/logo/colors.csv +56 -0
- package/assets/skills/design/data/logo/industries.csv +56 -0
- package/assets/skills/design/data/logo/styles.csv +56 -0
- package/assets/skills/design/references/banner-sizes-and-styles.md +118 -0
- package/assets/skills/design/references/cip-deliverable-guide.md +95 -0
- package/assets/skills/design/references/cip-design.md +121 -0
- package/assets/skills/design/references/cip-prompt-engineering.md +84 -0
- package/assets/skills/design/references/cip-style-guide.md +68 -0
- package/assets/skills/design/references/design-routing.md +207 -0
- package/assets/skills/design/references/icon-design.md +122 -0
- package/assets/skills/design/references/logo-color-psychology.md +101 -0
- package/assets/skills/design/references/logo-design.md +92 -0
- package/assets/skills/design/references/logo-prompt-engineering.md +158 -0
- package/assets/skills/design/references/logo-style-guide.md +109 -0
- package/assets/skills/design/references/slides-copywriting-formulas.md +84 -0
- package/assets/skills/design/references/slides-create.md +4 -0
- package/assets/skills/design/references/slides-html-template.md +295 -0
- package/assets/skills/design/references/slides-layout-patterns.md +137 -0
- package/assets/skills/design/references/slides-strategies.md +94 -0
- package/assets/skills/design/references/slides.md +42 -0
- package/assets/skills/design/references/social-photos-design.md +329 -0
- package/assets/skills/design/scripts/cip/core.py +215 -0
- package/assets/skills/design/scripts/cip/generate.py +484 -0
- package/assets/skills/design/scripts/cip/render-html.py +424 -0
- package/assets/skills/design/scripts/cip/search.py +127 -0
- package/assets/skills/design/scripts/icon/generate.py +487 -0
- package/assets/skills/design/scripts/logo/core.py +175 -0
- package/assets/skills/design/scripts/logo/generate.py +362 -0
- package/assets/skills/design/scripts/logo/search.py +114 -0
- package/assets/skills/design-system/SKILL.md +244 -0
- package/assets/skills/design-system/data/slide-backgrounds.csv +11 -0
- package/assets/skills/design-system/data/slide-charts.csv +26 -0
- package/assets/skills/design-system/data/slide-color-logic.csv +14 -0
- package/assets/skills/design-system/data/slide-copy.csv +26 -0
- package/assets/skills/design-system/data/slide-layout-logic.csv +16 -0
- package/assets/skills/design-system/data/slide-layouts.csv +26 -0
- package/assets/skills/design-system/data/slide-strategies.csv +16 -0
- package/assets/skills/design-system/data/slide-typography.csv +15 -0
- package/assets/skills/design-system/references/component-specs.md +236 -0
- package/assets/skills/design-system/references/component-tokens.md +214 -0
- package/assets/skills/design-system/references/primitive-tokens.md +203 -0
- package/assets/skills/design-system/references/semantic-tokens.md +215 -0
- package/assets/skills/design-system/references/states-and-variants.md +241 -0
- package/assets/skills/design-system/references/tailwind-integration.md +251 -0
- package/assets/skills/design-system/references/token-architecture.md +224 -0
- package/assets/skills/design-system/scripts/embed-tokens.cjs +99 -0
- package/assets/skills/design-system/scripts/fetch-background.py +317 -0
- package/assets/skills/design-system/scripts/generate-slide.py +770 -0
- package/assets/skills/design-system/scripts/generate-tokens.cjs +205 -0
- package/assets/skills/design-system/scripts/html-token-validator.py +327 -0
- package/assets/skills/design-system/scripts/search-slides.py +218 -0
- package/assets/skills/design-system/scripts/slide-token-validator.py +35 -0
- package/assets/skills/design-system/scripts/slide_search_core.py +453 -0
- package/assets/skills/design-system/scripts/validate-tokens.cjs +251 -0
- package/assets/skills/design-system/templates/design-tokens-starter.json +143 -0
- package/assets/skills/slides/SKILL.md +40 -0
- package/assets/skills/slides/references/copywriting-formulas.md +84 -0
- package/assets/skills/slides/references/create.md +4 -0
- package/assets/skills/slides/references/html-template.md +295 -0
- package/assets/skills/slides/references/layout-patterns.md +137 -0
- package/assets/skills/slides/references/slide-strategies.md +94 -0
- package/assets/skills/ui-styling/LICENSE.txt +202 -0
- package/assets/skills/ui-styling/SKILL.md +324 -0
- package/assets/skills/ui-styling/references/canvas-design-system.md +320 -0
- package/assets/skills/ui-styling/references/shadcn-accessibility.md +471 -0
- package/assets/skills/ui-styling/references/shadcn-components.md +424 -0
- package/assets/skills/ui-styling/references/shadcn-theming.md +373 -0
- package/assets/skills/ui-styling/references/tailwind-customization.md +483 -0
- package/assets/skills/ui-styling/references/tailwind-responsive.md +382 -0
- package/assets/skills/ui-styling/references/tailwind-utilities.md +455 -0
- package/assets/skills/ui-styling/scripts/requirements.txt +17 -0
- package/assets/skills/ui-styling/scripts/shadcn_add.py +308 -0
- package/assets/skills/ui-styling/scripts/tailwind_config_gen.py +473 -0
- package/assets/skills/ui-styling/scripts/tests/coverage-ui.json +1 -0
- package/assets/skills/ui-styling/scripts/tests/requirements.txt +3 -0
- package/assets/skills/ui-styling/scripts/tests/test_shadcn_add.py +266 -0
- package/assets/skills/ui-styling/scripts/tests/test_tailwind_config_gen.py +336 -0
- package/assets/templates/base/quick-reference.md +297 -0
- package/assets/templates/base/skill-content.md +368 -0
- package/assets/templates/platforms/agent.json +21 -0
- package/assets/templates/platforms/augment.json +18 -0
- package/assets/templates/platforms/claude.json +21 -0
- package/assets/templates/platforms/codebuddy.json +21 -0
- package/assets/templates/platforms/codex.json +21 -0
- package/assets/templates/platforms/continue.json +21 -0
- package/assets/templates/platforms/copilot.json +21 -0
- package/assets/templates/platforms/cursor.json +21 -0
- package/assets/templates/platforms/droid.json +21 -0
- package/assets/templates/platforms/gemini.json +21 -0
- package/assets/templates/platforms/kilocode.json +21 -0
- package/assets/templates/platforms/kiro.json +21 -0
- package/assets/templates/platforms/opencode.json +21 -0
- package/assets/templates/platforms/qoder.json +21 -0
- package/assets/templates/platforms/roocode.json +21 -0
- package/assets/templates/platforms/trae.json +21 -0
- package/assets/templates/platforms/warp.json +18 -0
- package/assets/templates/platforms/windsurf.json +21 -0
- package/dist/index.js +10630 -0
- package/package.json +51 -0
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
# Logo Style Guide
|
|
2
|
+
|
|
3
|
+
## Core Logo Types
|
|
4
|
+
|
|
5
|
+
### 1. Wordmark (Logotype)
|
|
6
|
+
Text-only logo using custom typography.
|
|
7
|
+
- **Best for:** Established brands, distinctive names
|
|
8
|
+
- **Examples:** Google, Coca-Cola, FedEx
|
|
9
|
+
- **Typography:** Custom letterforms, unique kerning
|
|
10
|
+
- **Tip:** Name must be memorable and pronounceable
|
|
11
|
+
|
|
12
|
+
### 2. Lettermark (Monogram)
|
|
13
|
+
Initials or abbreviated letters.
|
|
14
|
+
- **Best for:** Long company names, professional firms
|
|
15
|
+
- **Examples:** IBM, HBO, NASA
|
|
16
|
+
- **Typography:** Bold geometric sans-serif
|
|
17
|
+
- **Tip:** Works well for brands with 2-4 letter abbreviations
|
|
18
|
+
|
|
19
|
+
### 3. Pictorial Mark (Brand Mark)
|
|
20
|
+
Standalone icon or symbol.
|
|
21
|
+
- **Best for:** Global brands with recognition
|
|
22
|
+
- **Examples:** Apple, Twitter, Target
|
|
23
|
+
- **Design:** Simple, scalable, memorable shape
|
|
24
|
+
- **Tip:** Requires brand equity to work alone
|
|
25
|
+
|
|
26
|
+
### 4. Abstract Mark
|
|
27
|
+
Non-representational geometric shapes.
|
|
28
|
+
- **Best for:** Tech companies, differentiating brands
|
|
29
|
+
- **Examples:** Pepsi, Airbnb, Spotify
|
|
30
|
+
- **Design:** Unique shape conveying brand values
|
|
31
|
+
- **Tip:** Can represent complex ideas simply
|
|
32
|
+
|
|
33
|
+
### 5. Mascot
|
|
34
|
+
Character representing the brand.
|
|
35
|
+
- **Best for:** Family brands, sports teams, food
|
|
36
|
+
- **Examples:** KFC, Pringles, Michelin
|
|
37
|
+
- **Design:** Friendly, expressive, versatile
|
|
38
|
+
- **Tip:** Can evolve with brand while maintaining recognition
|
|
39
|
+
|
|
40
|
+
### 6. Emblem
|
|
41
|
+
Symbol enclosed within a shape.
|
|
42
|
+
- **Best for:** Traditional brands, organizations
|
|
43
|
+
- **Examples:** Starbucks, Harley-Davidson, NFL
|
|
44
|
+
- **Design:** Badge, seal, or crest style
|
|
45
|
+
- **Tip:** May have scalability challenges
|
|
46
|
+
|
|
47
|
+
### 7. Combination Mark
|
|
48
|
+
Icon + text in unified design.
|
|
49
|
+
- **Best for:** New brands, versatile applications
|
|
50
|
+
- **Examples:** Burger King, Lacoste, Doritos
|
|
51
|
+
- **Design:** Lockup with flexible arrangements
|
|
52
|
+
- **Tip:** Most versatile, can separate elements later
|
|
53
|
+
|
|
54
|
+
## Aesthetic Styles
|
|
55
|
+
|
|
56
|
+
### Minimalist
|
|
57
|
+
- Clean lines, essential elements only
|
|
58
|
+
- High white space, simple geometry
|
|
59
|
+
- Limited color palette (1-2 colors)
|
|
60
|
+
- **Use:** Tech, professional services, modern brands
|
|
61
|
+
|
|
62
|
+
### Vintage/Retro
|
|
63
|
+
- Nostalgic, heritage feel
|
|
64
|
+
- Distressed textures, muted colors
|
|
65
|
+
- Script or slab serif typography
|
|
66
|
+
- **Use:** Craft brands, artisan products
|
|
67
|
+
|
|
68
|
+
### Luxury/Premium
|
|
69
|
+
- Elegant, refined aesthetic
|
|
70
|
+
- Gold, black, white color scheme
|
|
71
|
+
- Thin serifs or sophisticated sans
|
|
72
|
+
- **Use:** Fashion, jewelry, high-end services
|
|
73
|
+
|
|
74
|
+
### Geometric
|
|
75
|
+
- Mathematical precision
|
|
76
|
+
- Circles, triangles, squares
|
|
77
|
+
- Perfect symmetry
|
|
78
|
+
- **Use:** Architecture, tech, modern brands
|
|
79
|
+
|
|
80
|
+
### Organic/Natural
|
|
81
|
+
- Flowing, imperfect lines
|
|
82
|
+
- Earth tones, natural colors
|
|
83
|
+
- Hand-drawn feel
|
|
84
|
+
- **Use:** Eco brands, wellness, organic products
|
|
85
|
+
|
|
86
|
+
### Gradient/Modern
|
|
87
|
+
- Color transitions, vibrant palettes
|
|
88
|
+
- Dimensional depth
|
|
89
|
+
- Contemporary feel
|
|
90
|
+
- **Use:** Apps, tech startups, digital products
|
|
91
|
+
|
|
92
|
+
## Style Selection Matrix
|
|
93
|
+
|
|
94
|
+
| Brand Type | Primary Style | Secondary Options |
|
|
95
|
+
|------------|---------------|-------------------|
|
|
96
|
+
| Tech Startup | Minimalist, Abstract | Geometric, Gradient |
|
|
97
|
+
| Law Firm | Wordmark, Emblem | Lettermark |
|
|
98
|
+
| Restaurant | Mascot, Badge | Vintage, Combination |
|
|
99
|
+
| Fashion | Wordmark, Luxury | Monogram, Line Art |
|
|
100
|
+
| Healthcare | Professional, Line Art | Abstract, Combination |
|
|
101
|
+
| Non-Profit | Combination, Emblem | Organic, Hand-Drawn |
|
|
102
|
+
|
|
103
|
+
## Scalability Checklist
|
|
104
|
+
|
|
105
|
+
- [ ] Recognizable at 16x16 pixels (favicon)
|
|
106
|
+
- [ ] Clear at business card size
|
|
107
|
+
- [ ] Works in single color
|
|
108
|
+
- [ ] Maintains clarity in black/white
|
|
109
|
+
- [ ] No tiny details that disappear when scaled
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Copywriting Formulas
|
|
2
|
+
|
|
3
|
+
25 formulas for persuasive slide copy.
|
|
4
|
+
|
|
5
|
+
## Core Formulas
|
|
6
|
+
|
|
7
|
+
### PAS (Problem-Agitate-Solution)
|
|
8
|
+
**Use:** Problem slides, pain points
|
|
9
|
+
**Components:** Problem → Agitate → Solution
|
|
10
|
+
**Template:** "[Pain point]? Every [time frame], [consequence]. [Solution] fixes this."
|
|
11
|
+
|
|
12
|
+
### AIDA (Attention-Interest-Desire-Action)
|
|
13
|
+
**Use:** CTAs, closing slides
|
|
14
|
+
**Components:** Attention → Interest → Desire → Action
|
|
15
|
+
**Template:** "[Bold statement]. [Benefit detail]. [Social proof]. [CTA]."
|
|
16
|
+
|
|
17
|
+
### FAB (Features-Advantages-Benefits)
|
|
18
|
+
**Use:** Feature slides, product showcases
|
|
19
|
+
**Components:** Feature → Advantage → Benefit
|
|
20
|
+
**Template:** "[Feature] lets you [advantage], so you can [benefit]."
|
|
21
|
+
|
|
22
|
+
### Cost of Inaction
|
|
23
|
+
**Use:** Agitation slides, urgency
|
|
24
|
+
**Components:** Status Quo → Loss → Time Decay
|
|
25
|
+
**Template:** "Without [solution], you're losing [amount] every [timeframe]."
|
|
26
|
+
|
|
27
|
+
### Before-After-Bridge
|
|
28
|
+
**Use:** Transformation slides, case studies
|
|
29
|
+
**Components:** Before → After → Bridge
|
|
30
|
+
**Template:** "[Pain point before]. [Desired state after]. [Your solution] is the bridge."
|
|
31
|
+
|
|
32
|
+
## Formula-to-Slide Mapping
|
|
33
|
+
|
|
34
|
+
| Slide Type | Primary Formula | Emotion |
|
|
35
|
+
|------------|-----------------|---------|
|
|
36
|
+
| Title/Hook | AIDA, Hook | curiosity |
|
|
37
|
+
| Problem | PAS, Agitate | frustration |
|
|
38
|
+
| Cost/Risk | Cost of Inaction | fear |
|
|
39
|
+
| Solution | FAB, BAB | hope |
|
|
40
|
+
| Features | FAB | confidence |
|
|
41
|
+
| Traction | Proof Stack | trust |
|
|
42
|
+
| Social Proof | Testimonial | trust |
|
|
43
|
+
| Pricing | Value Stack | confidence |
|
|
44
|
+
| CTA | AIDA, Urgency | urgency |
|
|
45
|
+
|
|
46
|
+
## Headline Patterns
|
|
47
|
+
|
|
48
|
+
### Power Words
|
|
49
|
+
- "Stop [bad thing]"
|
|
50
|
+
- "Get [desired result] in [timeframe]"
|
|
51
|
+
- "The [adjective] way to [action]"
|
|
52
|
+
- "Why [audience] choose [product]"
|
|
53
|
+
- "[Number] ways to [achieve goal]"
|
|
54
|
+
|
|
55
|
+
### Contrast Patterns
|
|
56
|
+
- "[Old way] is dead. Meet [new way]."
|
|
57
|
+
- "Don't [bad action]. Instead, [good action]."
|
|
58
|
+
- "From [pain point] to [benefit]."
|
|
59
|
+
|
|
60
|
+
### Social Proof Patterns
|
|
61
|
+
- "[Number]+ [users/companies] trust [product]"
|
|
62
|
+
- "Join [notable company] and [notable company]"
|
|
63
|
+
- "As seen in [publication]"
|
|
64
|
+
|
|
65
|
+
## Search Commands
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# Find formula for slide type
|
|
69
|
+
python .claude/skills/design-system/scripts/search-slides.py "problem agitation" -d copy
|
|
70
|
+
|
|
71
|
+
# Get emotion-appropriate formula
|
|
72
|
+
python .claude/skills/design-system/scripts/search-slides.py "urgency cta" -d copy
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Quick Reference
|
|
76
|
+
|
|
77
|
+
| Need | Use Formula |
|
|
78
|
+
|------|------------|
|
|
79
|
+
| Create urgency | Cost of Inaction, Scarcity |
|
|
80
|
+
| Build trust | Social Proof, Testimonial |
|
|
81
|
+
| Show value | FAB, Value Stack |
|
|
82
|
+
| Drive action | AIDA, CTA |
|
|
83
|
+
| Tell story | BAB, Story Arc |
|
|
84
|
+
| Present data | Proof Stack |
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
# HTML Slide Template
|
|
2
|
+
|
|
3
|
+
Complete HTML structure with navigation, tokens, and Chart.js integration.
|
|
4
|
+
|
|
5
|
+
## Base Structure
|
|
6
|
+
|
|
7
|
+
```html
|
|
8
|
+
<!DOCTYPE html>
|
|
9
|
+
<html lang="en">
|
|
10
|
+
<head>
|
|
11
|
+
<meta charset="UTF-8">
|
|
12
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
13
|
+
<title>Presentation Title</title>
|
|
14
|
+
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.1/dist/chart.umd.min.js"></script>
|
|
15
|
+
<style>
|
|
16
|
+
/* Paste embed-tokens.cjs output here */
|
|
17
|
+
:root {
|
|
18
|
+
--color-primary: #FF6B6B;
|
|
19
|
+
--color-background: #0D0D0D;
|
|
20
|
+
/* ... more tokens */
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/* Base slide styles */
|
|
24
|
+
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
25
|
+
body {
|
|
26
|
+
background: var(--color-background);
|
|
27
|
+
color: #fff;
|
|
28
|
+
font-family: var(--typography-font-body, 'Inter', sans-serif);
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* 16:9 Aspect Ratio Container (desktop) */
|
|
33
|
+
.slide-deck {
|
|
34
|
+
position: relative;
|
|
35
|
+
width: 100vw;
|
|
36
|
+
height: 100vh;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@media (min-width: 769px) {
|
|
41
|
+
.slide-deck {
|
|
42
|
+
/* Lock to 16:9 — letterbox if viewport ratio differs */
|
|
43
|
+
max-width: calc(100vh * 16 / 9);
|
|
44
|
+
max-height: calc(100vw * 9 / 16);
|
|
45
|
+
margin: auto;
|
|
46
|
+
position: absolute;
|
|
47
|
+
inset: 0;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.slide {
|
|
52
|
+
position: absolute;
|
|
53
|
+
width: 100%; height: 100%;
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
text-align: center;
|
|
59
|
+
padding: 60px;
|
|
60
|
+
opacity: 0;
|
|
61
|
+
visibility: hidden;
|
|
62
|
+
transition: opacity 0.4s;
|
|
63
|
+
background: var(--color-background);
|
|
64
|
+
overflow: hidden; /* Prevent content overflow */
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.slide.active { opacity: 1; visibility: visible; }
|
|
68
|
+
|
|
69
|
+
/* Slide inner wrapper — constrains content within safe area */
|
|
70
|
+
.slide-content {
|
|
71
|
+
width: 100%;
|
|
72
|
+
max-width: 100%;
|
|
73
|
+
max-height: 100%;
|
|
74
|
+
overflow: hidden;
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
align-items: center;
|
|
79
|
+
gap: 16px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Typography */
|
|
83
|
+
h1, h2 { font-family: var(--typography-font-heading, 'Space Grotesk', sans-serif); }
|
|
84
|
+
.slide-title {
|
|
85
|
+
font-size: clamp(32px, 6vw, 80px);
|
|
86
|
+
background: var(--primitive-gradient-primary, linear-gradient(135deg, #FF6B6B, #FF8E53));
|
|
87
|
+
-webkit-background-clip: text;
|
|
88
|
+
-webkit-text-fill-color: transparent;
|
|
89
|
+
line-height: 1.1;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* ===== RESPONSIVE BREAKPOINTS ===== */
|
|
93
|
+
|
|
94
|
+
/* Tablet (portrait) */
|
|
95
|
+
@media (max-width: 768px) {
|
|
96
|
+
.slide { padding: 32px 24px; }
|
|
97
|
+
.slide-title { font-size: clamp(28px, 5vw, 48px); }
|
|
98
|
+
h2 { font-size: clamp(20px, 4vw, 32px); }
|
|
99
|
+
p, li { font-size: clamp(14px, 2.5vw, 18px); }
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Mobile */
|
|
103
|
+
@media (max-width: 480px) {
|
|
104
|
+
.slide { padding: 24px 16px; }
|
|
105
|
+
.slide-title { font-size: clamp(22px, 6vw, 36px); }
|
|
106
|
+
h2 { font-size: clamp(18px, 4.5vw, 28px); }
|
|
107
|
+
p, li { font-size: clamp(12px, 3vw, 16px); }
|
|
108
|
+
.nav-controls { bottom: 16px; gap: 12px; }
|
|
109
|
+
.nav-btn { width: 32px; height: 32px; font-size: 14px; }
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* Navigation */
|
|
113
|
+
.progress-bar {
|
|
114
|
+
position: fixed;
|
|
115
|
+
top: 0; left: 0;
|
|
116
|
+
height: 3px;
|
|
117
|
+
background: var(--color-primary);
|
|
118
|
+
transition: width 0.3s;
|
|
119
|
+
z-index: 1000;
|
|
120
|
+
}
|
|
121
|
+
.nav-controls {
|
|
122
|
+
position: fixed;
|
|
123
|
+
bottom: 30px;
|
|
124
|
+
left: 50%;
|
|
125
|
+
transform: translateX(-50%);
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: 20px;
|
|
129
|
+
z-index: 1000;
|
|
130
|
+
}
|
|
131
|
+
.nav-btn {
|
|
132
|
+
background: rgba(255,255,255,0.1);
|
|
133
|
+
border: none;
|
|
134
|
+
color: #fff;
|
|
135
|
+
width: 40px; height: 40px;
|
|
136
|
+
border-radius: 50%;
|
|
137
|
+
cursor: pointer;
|
|
138
|
+
font-size: 18px;
|
|
139
|
+
}
|
|
140
|
+
.nav-btn:hover { background: rgba(255,255,255,0.2); }
|
|
141
|
+
.slide-counter { color: rgba(255,255,255,0.6); font-size: 14px; }
|
|
142
|
+
</style>
|
|
143
|
+
</head>
|
|
144
|
+
<body>
|
|
145
|
+
<!-- Progress Bar -->
|
|
146
|
+
<div class="progress-bar" id="progressBar"></div>
|
|
147
|
+
|
|
148
|
+
<!-- Slide Deck Container (16:9 on desktop) -->
|
|
149
|
+
<div class="slide-deck">
|
|
150
|
+
|
|
151
|
+
<!-- Slides -->
|
|
152
|
+
<div class="slide active">
|
|
153
|
+
<div class="slide-content">
|
|
154
|
+
<h1 class="slide-title">Title Slide</h1>
|
|
155
|
+
<p>Subtitle or tagline</p>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<!-- More slides... (always wrap content in .slide-content) -->
|
|
160
|
+
|
|
161
|
+
</div><!-- /.slide-deck -->
|
|
162
|
+
|
|
163
|
+
<!-- Navigation -->
|
|
164
|
+
<div class="nav-controls">
|
|
165
|
+
<button class="nav-btn" onclick="prevSlide()">←</button>
|
|
166
|
+
<span class="slide-counter"><span id="current">1</span> / <span id="total">9</span></span>
|
|
167
|
+
<button class="nav-btn" onclick="nextSlide()">→</button>
|
|
168
|
+
</div>
|
|
169
|
+
|
|
170
|
+
<script>
|
|
171
|
+
let current = 1;
|
|
172
|
+
const total = document.querySelectorAll('.slide').length;
|
|
173
|
+
document.getElementById('total').textContent = total;
|
|
174
|
+
|
|
175
|
+
function showSlide(n) {
|
|
176
|
+
if (n < 1) n = 1;
|
|
177
|
+
if (n > total) n = total;
|
|
178
|
+
current = n;
|
|
179
|
+
document.querySelectorAll('.slide').forEach((s, i) => {
|
|
180
|
+
s.classList.toggle('active', i === n - 1);
|
|
181
|
+
});
|
|
182
|
+
document.getElementById('current').textContent = n;
|
|
183
|
+
document.getElementById('progressBar').style.width = (n / total * 100) + '%';
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function nextSlide() { showSlide(current + 1); }
|
|
187
|
+
function prevSlide() { showSlide(current - 1); }
|
|
188
|
+
|
|
189
|
+
document.addEventListener('keydown', (e) => {
|
|
190
|
+
if (e.key === 'ArrowRight' || e.key === ' ') { e.preventDefault(); nextSlide(); }
|
|
191
|
+
if (e.key === 'ArrowLeft') { e.preventDefault(); prevSlide(); }
|
|
192
|
+
});
|
|
193
|
+
|
|
194
|
+
document.addEventListener('click', (e) => {
|
|
195
|
+
if (!e.target.closest('.nav-controls')) nextSlide();
|
|
196
|
+
});
|
|
197
|
+
|
|
198
|
+
showSlide(1);
|
|
199
|
+
</script>
|
|
200
|
+
</body>
|
|
201
|
+
</html>
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
## Chart.js Integration
|
|
205
|
+
|
|
206
|
+
```html
|
|
207
|
+
<div class="chart-container" style="width: min(80%, 600px); height: clamp(200px, 40vh, 350px);">
|
|
208
|
+
<canvas id="revenueChart"></canvas>
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
<script>
|
|
212
|
+
new Chart(document.getElementById('revenueChart'), {
|
|
213
|
+
type: 'line', // or 'bar', 'doughnut', 'radar'
|
|
214
|
+
data: {
|
|
215
|
+
labels: ['Sep', 'Oct', 'Nov', 'Dec'],
|
|
216
|
+
datasets: [{
|
|
217
|
+
label: 'MRR ($K)',
|
|
218
|
+
data: [5, 12, 28, 45],
|
|
219
|
+
borderColor: '#FF6B6B',
|
|
220
|
+
backgroundColor: 'rgba(255, 107, 107, 0.1)',
|
|
221
|
+
borderWidth: 3,
|
|
222
|
+
fill: true,
|
|
223
|
+
tension: 0.4
|
|
224
|
+
}]
|
|
225
|
+
},
|
|
226
|
+
options: {
|
|
227
|
+
responsive: true,
|
|
228
|
+
maintainAspectRatio: false,
|
|
229
|
+
plugins: { legend: { display: false } },
|
|
230
|
+
scales: {
|
|
231
|
+
x: { grid: { color: 'rgba(255,255,255,0.05)' }, ticks: { color: '#B8B8D0' } },
|
|
232
|
+
y: { grid: { color: 'rgba(255,255,255,0.05)' }, ticks: { color: '#B8B8D0' } }
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
});
|
|
236
|
+
</script>
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
## Animation Classes
|
|
240
|
+
|
|
241
|
+
```css
|
|
242
|
+
/* Fade Up */
|
|
243
|
+
.animate-fade-up {
|
|
244
|
+
animation: fadeUp 0.6s ease-out forwards;
|
|
245
|
+
opacity: 0;
|
|
246
|
+
}
|
|
247
|
+
@keyframes fadeUp {
|
|
248
|
+
from { opacity: 0; transform: translateY(30px); }
|
|
249
|
+
to { opacity: 1; transform: translateY(0); }
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
/* Count Animation */
|
|
253
|
+
.animate-count { animation: countUp 1s ease-out forwards; }
|
|
254
|
+
|
|
255
|
+
/* Scale */
|
|
256
|
+
.animate-scale {
|
|
257
|
+
animation: scaleIn 0.5s ease-out forwards;
|
|
258
|
+
}
|
|
259
|
+
@keyframes scaleIn {
|
|
260
|
+
from { opacity: 0; transform: scale(0.9); }
|
|
261
|
+
to { opacity: 1; transform: scale(1); }
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
/* Stagger Children */
|
|
265
|
+
.animate-stagger > * {
|
|
266
|
+
opacity: 0;
|
|
267
|
+
animation: fadeUp 0.5s ease-out forwards;
|
|
268
|
+
}
|
|
269
|
+
.animate-stagger > *:nth-child(1) { animation-delay: 0.1s; }
|
|
270
|
+
.animate-stagger > *:nth-child(2) { animation-delay: 0.2s; }
|
|
271
|
+
.animate-stagger > *:nth-child(3) { animation-delay: 0.3s; }
|
|
272
|
+
.animate-stagger > *:nth-child(4) { animation-delay: 0.4s; }
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
## Background Images
|
|
276
|
+
|
|
277
|
+
```html
|
|
278
|
+
<div class="slide slide-with-bg" style="background-image: url('https://images.pexels.com/...')">
|
|
279
|
+
<div class="overlay" style="background: linear-gradient(135deg, rgba(13,13,13,0.9), rgba(13,13,13,0.7))"></div>
|
|
280
|
+
<div class="content" style="position: relative; z-index: 1;">
|
|
281
|
+
<!-- Slide content -->
|
|
282
|
+
</div>
|
|
283
|
+
</div>
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
## CSS Variables Reference
|
|
287
|
+
|
|
288
|
+
| Variable | Usage |
|
|
289
|
+
|----------|-------|
|
|
290
|
+
| `--color-primary` | Brand primary (CTA, highlights) |
|
|
291
|
+
| `--color-background` | Slide background |
|
|
292
|
+
| `--color-secondary` | Secondary elements |
|
|
293
|
+
| `--primitive-gradient-primary` | Title gradients |
|
|
294
|
+
| `--typography-font-heading` | Headlines |
|
|
295
|
+
| `--typography-font-body` | Body text |
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
# Layout Patterns
|
|
2
|
+
|
|
3
|
+
25 slide layouts with CSS structures and animation classes.
|
|
4
|
+
|
|
5
|
+
## Layout Selection by Use Case
|
|
6
|
+
|
|
7
|
+
| Layout | Use Case | Animation |
|
|
8
|
+
|--------|----------|-----------|
|
|
9
|
+
| Title Slide | Opening/first impression | `animate-fade-up` |
|
|
10
|
+
| Problem Statement | Establish pain point | `animate-stagger` |
|
|
11
|
+
| Solution Overview | Introduce solution | `animate-scale` |
|
|
12
|
+
| Feature Grid | Show capabilities (3-6 cards) | `animate-stagger` |
|
|
13
|
+
| Metrics Dashboard | Display KPIs (3-4 metrics) | `animate-stagger-scale` |
|
|
14
|
+
| Comparison Table | Compare options | `animate-fade-up` |
|
|
15
|
+
| Timeline Flow | Show progression | `animate-stagger` |
|
|
16
|
+
| Team Grid | Introduce people | `animate-stagger` |
|
|
17
|
+
| Quote Testimonial | Customer endorsement | `animate-fade-up` |
|
|
18
|
+
| Two Column Split | Compare/contrast | `animate-fade-up` |
|
|
19
|
+
| Big Number Hero | Single powerful metric | `animate-count` |
|
|
20
|
+
| Product Screenshot | Show product UI | `animate-scale` |
|
|
21
|
+
| Pricing Cards | Present tiers | `animate-stagger` |
|
|
22
|
+
| CTA Closing | Drive action | `animate-pulse` |
|
|
23
|
+
|
|
24
|
+
## CSS Structures
|
|
25
|
+
|
|
26
|
+
### Title Slide
|
|
27
|
+
```css
|
|
28
|
+
.slide-title {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
text-align: center;
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Two Column Split
|
|
38
|
+
```css
|
|
39
|
+
.slide-split {
|
|
40
|
+
display: grid;
|
|
41
|
+
grid-template-columns: 1fr 1fr;
|
|
42
|
+
gap: 48px;
|
|
43
|
+
align-items: center;
|
|
44
|
+
}
|
|
45
|
+
@media (max-width: 768px) {
|
|
46
|
+
.slide-split { grid-template-columns: 1fr; gap: 24px; }
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Feature Grid (3 columns)
|
|
51
|
+
```css
|
|
52
|
+
.slide-features {
|
|
53
|
+
display: grid;
|
|
54
|
+
grid-template-columns: repeat(3, 1fr);
|
|
55
|
+
gap: 24px;
|
|
56
|
+
}
|
|
57
|
+
@media (max-width: 768px) {
|
|
58
|
+
.slide-features { grid-template-columns: repeat(2, 1fr); gap: 16px; }
|
|
59
|
+
}
|
|
60
|
+
@media (max-width: 480px) {
|
|
61
|
+
.slide-features { grid-template-columns: 1fr; }
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Metrics Dashboard (4 columns)
|
|
66
|
+
```css
|
|
67
|
+
.slide-metrics {
|
|
68
|
+
display: grid;
|
|
69
|
+
grid-template-columns: repeat(4, 1fr);
|
|
70
|
+
gap: 16px;
|
|
71
|
+
}
|
|
72
|
+
@media (max-width: 768px) {
|
|
73
|
+
.slide-metrics { grid-template-columns: repeat(2, 1fr); }
|
|
74
|
+
}
|
|
75
|
+
@media (max-width: 480px) {
|
|
76
|
+
.slide-metrics { grid-template-columns: 1fr; }
|
|
77
|
+
}
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
## Component Variants
|
|
81
|
+
|
|
82
|
+
### Card Styles
|
|
83
|
+
| Style | CSS Class | Use For |
|
|
84
|
+
|-------|-----------|---------|
|
|
85
|
+
| Icon Left | `.card-icon-left` | Features with icons |
|
|
86
|
+
| Accent Bar | `.card-accent-bar` | Highlighted features |
|
|
87
|
+
| Metric Card | `.card-metric` | Numbers/stats |
|
|
88
|
+
| Avatar Card | `.card-avatar` | Team members |
|
|
89
|
+
| Pricing Card | `.card-pricing` | Price tiers |
|
|
90
|
+
|
|
91
|
+
### Metric Styles
|
|
92
|
+
| Style | Effect |
|
|
93
|
+
|-------|--------|
|
|
94
|
+
| `gradient-number` | Gradient text on numbers |
|
|
95
|
+
| `oversized` | Extra large (120px+) |
|
|
96
|
+
| `sparkline` | Small inline chart |
|
|
97
|
+
| `funnel-numbers` | Conversion stages |
|
|
98
|
+
|
|
99
|
+
## Visual Treatments
|
|
100
|
+
|
|
101
|
+
| Treatment | When to Use |
|
|
102
|
+
|-----------|-------------|
|
|
103
|
+
| `gradient-glow` | Title slides, CTAs |
|
|
104
|
+
| `subtle-border` | Problem statements |
|
|
105
|
+
| `icon-top` | Feature grids |
|
|
106
|
+
| `screenshot-shadow` | Product screenshots |
|
|
107
|
+
| `popular-highlight` | Pricing (scale 1.05) |
|
|
108
|
+
| `bg-overlay` | Background images |
|
|
109
|
+
| `contrast-pair` | Before/after |
|
|
110
|
+
| `logo-grayscale` | Client logos |
|
|
111
|
+
|
|
112
|
+
## Search Commands
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Find layout for specific use
|
|
116
|
+
python .claude/skills/design-system/scripts/search-slides.py "metrics dashboard" -d layout
|
|
117
|
+
|
|
118
|
+
# Contextual recommendation
|
|
119
|
+
python .claude/skills/design-system/scripts/search-slides.py "traction slide" \
|
|
120
|
+
--context --position 4 --total 10
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Layout Decision Flow
|
|
124
|
+
|
|
125
|
+
```
|
|
126
|
+
1. What's the slide goal?
|
|
127
|
+
└─> Search layout-logic.csv
|
|
128
|
+
|
|
129
|
+
2. What emotion should it trigger?
|
|
130
|
+
└─> Search color-logic.csv
|
|
131
|
+
|
|
132
|
+
3. What's the content type?
|
|
133
|
+
└─> Search typography.csv
|
|
134
|
+
|
|
135
|
+
4. Should it break pattern?
|
|
136
|
+
└─> Check position (1/3, 2/3) → Use full-bleed
|
|
137
|
+
```
|