Loading...
Loading...
Select a consistent visual design system for PPT slides using radius/spacing style recipes. Use when users ask for overall style direction or component styling consistency. Includes Sharp/Soft/Rounded/Pill recipes, component mappings, typography/spacing rules, and mixing guidance. Triggers: style, style, radius, spacing, corner radius, spacing, PPT style, visual style, design style, component style.
npx skill4agent add minimax-ai/skills design-style-skillUnit Description: PptxGenJS uses inches as the unit. The slide size is 10" × 5.625" (LAYOUT_16x9)
| Style | Corner Radius Range | Spacing Range | Applicable Scenarios |
|---|---|---|---|
| Sharp & Compact | 0 ~ 0.05" | Compact | Data-intensive scenarios, tables, professional reports |
| Soft & Balanced | 0.08" ~ 0.12" | Moderate | Corporate reports, business presentations, general PPT |
| Rounded & Spacious | 0.15" ~ 0.25" | Loose | Product introductions, marketing presentations, creative showcases |
| Pill & Airy | 0.3" ~ 0.5" | Airy | Brand showcases, press conferences, high-end presentations |
| Category | Value (inch) | Description |
|---|---|---|
| Small corner radius | 0" | Fully right angle |
| Medium corner radius | 0.03" | Slight rounded corner |
| Large corner radius | 0.05" | Small rounded corner |
| Element padding | 0.1" ~ 0.15" | Compact |
| Element spacing | 0.1" ~ 0.2" | Compact |
| Page margin | 0.3" | Narrow |
| Block spacing | 0.25" ~ 0.35" | Compact |
| Category | Value (inch) | Description |
|---|---|---|
| Small corner radius | 0.05" | Small rounded corner |
| Medium corner radius | 0.08" | Medium rounded corner |
| Large corner radius | 0.12" | Relatively large rounded corner |
| Element padding | 0.15" ~ 0.2" | Moderate |
| Element spacing | 0.15" ~ 0.25" | Moderate |
| Page margin | 0.4" | Standard |
| Block spacing | 0.35" ~ 0.5" | Moderate |
| Category | Value (inch) | Description |
|---|---|---|
| Small corner radius | 0.1" | Medium rounded corner |
| Medium corner radius | 0.15" | Large rounded corner |
| Large corner radius | 0.25" | Very large rounded corner |
| Element padding | 0.2" ~ 0.3" | Loose |
| Element spacing | 0.25" ~ 0.4" | Loose |
| Page margin | 0.5" | Relatively wide |
| Block spacing | 0.5" ~ 0.7" | Loose |
| Category | Value (inch) | Description |
|---|---|---|
| Small corner radius | 0.2" | Large rounded corner |
| Medium corner radius | 0.3" | Capsule shape |
| Large corner radius | 0.5" | Full capsule shape |
| Element padding | 0.25" ~ 0.4" | Airy |
| Element spacing | 0.3" ~ 0.5" | Airy |
| Page margin | 0.6" | Wide |
| Block spacing | 0.6" ~ 0.9" | Airy |
| Component | Sharp | Soft | Rounded | Pill |
|---|---|---|---|---|
| Button/Tag | rectRadius: 0 | rectRadius: 0.05 | rectRadius: 0.1 | rectRadius: 0.2 |
| Card/Container | rectRadius: 0.03 | rectRadius: 0.1 | rectRadius: 0.2 | rectRadius: 0.3 |
| Image Container | rectRadius: 0 | rectRadius: 0.08 | rectRadius: 0.15 | rectRadius: 0.25 |
| Input Field Shape | rectRadius: 0 | rectRadius: 0.05 | rectRadius: 0.1 | rectRadius: 0.2 |
| Badge | rectRadius: 0.02 | rectRadius: 0.05 | rectRadius: 0.08 | rectRadius: 0.15 |
| Avatar Frame | rectRadius: 0 | rectRadius: 0.1 | rectRadius: 0.2 | rectRadius: 0.5 (circle) |
// Sharp 风格卡片
slide.addShape("rect", {
x: 0.5, y: 1, w: 4, h: 2.5,
fill: { color: "F5F5F5" },
rectRadius: 0.03
});
// Rounded 风格卡片
slide.addShape("rect", {
x: 0.5, y: 1, w: 4, h: 2.5,
fill: { color: "F5F5F5" },
rectRadius: 0.2
});
// Pill 风格按钮 (高度0.4"时,rectRadius设为0.2"即为胶囊形)
slide.addShape("rect", {
x: 3, y: 4, w: 2, h: 0.4,
fill: { color: "4A90D9" },
rectRadius: 0.2
});// Correct: outer > inner
card: rectRadius: 0.2
button: rectRadius: 0.1
// Wrong: inner > outer → visual overflow feeling
card: rectRadius: 0.1
button: rectRadius: 0.2| Area Type | Recommended Style |
|---|---|
| Data Display Area | Sharp / Soft (compact spacing) |
| Content Browsing Area | Rounded / Pill (loose spacing) |
| Title Area | Soft / Rounded (moderate spacing) |
| Element Height | Sharp | Soft | Rounded | Pill |
|---|---|---|---|---|
| Small (< 0.3") | 0" | 0.03" | 0.08" | height/2 |
| Medium (0.3" ~ 0.6") | 0.02" | 0.05" | 0.12" | height/2 |
| Large (0.6" ~ 1.2") | 0.03" | 0.08" | 0.2" | 0.3" |
| Extra Large (> 1.2") | 0.05" | 0.12" | 0.25" | 0.4" |
Pill Style Tip: To achieve a perfect capsule shape, setrectRadius = element height / 2
| Usage | Font Size (pt) | Description |
|---|---|---|
| Annotation/Source | 10 ~ 12 | Minimum readable font size |
| Body Text/Description | 14 ~ 16 | Standard body text |
| Subtitle | 18 ~ 22 | Secondary title |
| Title | 28 ~ 36 | Page title |
| Headline | 44 ~ 60 | Cover/chapter title |
| Highlighted Data | 60 ~ 96 | Key number display |
| Usage | Recommended Value (inch) |
|---|---|
| Icon and text spacing | 0.08" ~ 0.15" |
| List item spacing | 0.15" ~ 0.25" |
| Card padding | 0.2" ~ 0.4" |
| Element group spacing | 0.3" ~ 0.5" |
| Page safe margin | 0.4" ~ 0.6" |
| Main block spacing | 0.5" ~ 0.8" |
| Presentation Type | Recommended Style | Reason |
|---|---|---|
| Financial/Data Report | Sharp & Compact | High information density, professional and rigorous |
| Corporate Report/Business Presentation | Soft & Balanced | Balances professionalism and friendliness |
| Product Introduction/Marketing | Rounded & Spacious | Modern and approachable |
| Press Conference/Brand Showcase | Pill & Airy | High-end feel, visual impact |
| Training/Education | Soft / Rounded | Clear and readable, friendly |
| Tech Sharing | Sharp / Soft | Professional, clear information |