Graphic Design Skill
Patterns for visual design, SVG creation, layout composition, typography, and brand identity.
Design Principles
Visual Hierarchy
| Level |
Purpose |
Techniques |
| Primary |
First thing seen |
Largest, boldest, highest contrast |
| Secondary |
Supporting info |
Medium size, moderate weight |
| Tertiary |
Details |
Smaller, lighter, subtle |
Hierarchy Tools
- Size — Larger = more important
- Weight — Bolder = more attention
- Color — High contrast = focal point
- Position — Top/center = primary
- Whitespace — Isolation = emphasis
Balance Types
| Type |
Characteristics |
Best For |
| Symmetrical |
Mirror image, formal |
Corporate, traditional |
| Asymmetrical |
Visual weight balanced, dynamic |
Modern, creative |
| Radial |
Elements radiate from center |
Logos, icons |
Layout & Composition
Grid Systems
┌─────┬─────┬─────┬─────┐
│ 1 │ 2 │ 3 │ 4 │ 12-column grid
├─────┼─────┼─────┼─────┤ (most flexible)
│ 5 │ 6 │ 7 │ 8 │
├─────┼─────┼─────┼─────┤
│ 9 │ 10 │ 11 │ 12 │
└─────┴─────┴─────┴─────┘
Golden Ratio (1:1.618)
- Use for proportions that feel "right"
- Width to height relationships
- Spacing progressions
- Element sizing
Rule of Thirds
┌─────────┬─────────┬─────────┐
│ │ ● │ │ Place key elements
├─────────┼─────────┼─────────┤ at intersection
│ ● │ │ ● │ points for dynamic
├─────────┼─────────┼─────────┤ composition
│ │ ● │ │
└─────────┴─────────┴─────────┘
Alignment Principles
| Principle |
Rule |
| Edge alignment |
Elements share common edges |
| Center alignment |
Elements share center axis |
| Baseline alignment |
Text shares baseline |
| Optical alignment |
Visually aligned (may differ from mathematical) |
Typography
Type Scale (1.25 ratio)
| Level |
Size |
Use |
| Display |
72px |
Hero headlines |
| H1 |
48px |
Page titles |
| H2 |
36px |
Section headers |
| H3 |
28px |
Subsections |
| Body |
16px |
Main content |
| Caption |
12px |
Supporting text |
Font Pairing Rules
| Combination |
Example |
Vibe |
| Serif + Sans |
Georgia + Helvetica |
Classic, professional |
| Sans + Sans |
Montserrat + Open Sans |
Modern, clean |
| Display + Body |
Playfair + Source Sans |
Elegant, editorial |
Typography Best Practices
- Line height: 1.4–1.6× font size for body
- Line length: 45–75 characters optimal
- Letter spacing: Increase for ALL CAPS
- Contrast: Dark on light or light on dark
- Hierarchy: Max 3 font sizes per design
Color Theory
Color Relationships
Primary
●
/|\
/ | \
/ | \
●───●───●
Secondary Tertiary
Color Schemes
| Scheme |
Description |
Mood |
| Monochromatic |
One hue, varied lightness |
Cohesive, elegant |
| Complementary |
Opposite on wheel |
High contrast, vibrant |
| Analogous |
Adjacent on wheel |
Harmonious, natural |
| Triadic |
Three equidistant |
Balanced, dynamic |
| Split-complementary |
Base + two adjacent to complement |
Softer contrast |
Color Psychology
| Color |
Associations |
Use Cases |
| Blue |
Trust, stability, tech |
Corporate, software |
| Green |
Growth, nature, success |
Health, finance |
| Red |
Energy, urgency, passion |
CTAs, alerts |
| Purple |
Creativity, luxury |
Premium, creative |
| Orange |
Friendly, energetic |
Social, youth |
| Yellow |
Optimism, attention |
Highlights, warnings |
Contrast & Accessibility
| WCAG Level |
Contrast Ratio |
Use |
| AA (normal) |
4.5:1 |
Body text |
| AA (large) |
3:1 |
18px+ or 14px bold |
| AAA |
7:1 |
Maximum accessibility |
SVG Design
SVG Structure
<svg viewBox="0 0 width height" xmlns="...">
<defs>
<!-- Reusable definitions -->
<linearGradient id="grad1">...</linearGradient>
<filter id="shadow">...</filter>
</defs>
<!-- Background layer -->
<rect .../>
<!-- Main content -->
<g transform="translate(x, y)">
<!-- Grouped elements -->
</g>
<!-- Foreground/overlay -->
</svg>
Common SVG Elements
| Element |
Use |
Key Attributes |
<rect> |
Rectangles, backgrounds |
x, y, width, height, rx (rounded) |
<circle> |
Circles, dots |
cx, cy, r |
<ellipse> |
Ovals |
cx, cy, rx, ry |
<line> |
Straight lines |
x1, y1, x2, y2 |
<path> |
Complex shapes |
d (path data) |
<text> |
Typography |
x, y, text-anchor, dominant-baseline |
<g> |
Grouping |
transform |
SVG Path Commands
| Command |
Meaning |
Example |
| M |
Move to |
M 10 20 |
| L |
Line to |
L 30 40 |
| H |
Horizontal line |
H 50 |
| V |
Vertical line |
V 60 |
| Q |
Quadratic curve |
Q cx cy, x y |
| C |
Cubic curve |
C cx1 cy1, cx2 cy2, x y |
| Z |
Close path |
Z |
SVG Text Alignment
<!-- Horizontal alignment -->
text-anchor="start|middle|end"
<!-- Vertical alignment -->
dominant-baseline="auto|middle|central|hanging"
<!-- Centered text -->
<text x="50%" y="50%" text-anchor="middle" dominant-baseline="central">
Perfectly Centered
</text>
SVG Gradients
<!-- Linear gradient -->
<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#007ACC"/>
<stop offset="100%" stop-color="#00a8e8"/>
</linearGradient>
<!-- Radial gradient -->
<radialGradient id="glow" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#007ACC" stop-opacity="0.4"/>
<stop offset="100%" stop-color="#007ACC" stop-opacity="0"/>
</radialGradient>
SVG Transforms
| Transform |
Syntax |
Use |
| Translate |
translate(x, y) |
Move element |
| Rotate |
rotate(deg, cx, cy) |
Spin around point |
| Scale |
scale(x, y) |
Resize |
| Skew |
skewX(deg) / skewY(deg) |
Shear |
Banner & Marketing Design
Banner Dimensions
| Platform |
Size |
Aspect |
| VS Code Marketplace |
1280×640 |
2:1 |
| GitHub Social |
1280×640 |
2:1 |
| Twitter Header |
1500×500 |
3:1 |
| LinkedIn Banner |
1584×396 |
4:1 |
| Open Graph |
1200×630 |
~1.9:1 |
Banner Composition
┌─────────────────────────────────────────┐
│ ┌─────────────────────────────────┐ │
│ │ VISUAL ELEMENT │ │ Top third: Logo/Icon
│ └─────────────────────────────────┘ │
│ │
│ MAIN HEADLINE │ Middle: Primary message
│ Subtitle Text │
│ │
│ [Badge 1] [Badge 2] [Badge 3] │ Bottom third: CTAs/Details
└─────────────────────────────────────────┘
Badge/Pill Design
<!-- Rounded pill badge -->
<g>
<rect x="-50" y="-16" width="100" height="32" rx="16"
fill="#007ACC" opacity="0.15"/>
<text x="0" y="0" text-anchor="middle" dominant-baseline="central"
font-size="12" fill="#94a3b8">Label</text>
</g>
Icon Design
Icon Grid
┌────────────────────┐
│ ┌──────────────┐ │ Outer: Padding zone
│ │ │ │ Inner: Safe area
│ │ CONTENT │ │ Content: Icon artwork
│ │ │ │
│ └──────────────┘ │ Standard: 24×24, 16×16
└────────────────────┘
Icon Principles
- Simplicity — Recognize at small sizes
- Consistency — Same stroke weight, style
- Optical balance — Visually centered, not mathematically
- Metaphor — Universally understood symbols
Icon Styles
| Style |
Characteristics |
Use |
| Outlined |
Stroke only, no fill |
Light, modern UI |
| Filled |
Solid shapes |
Bold, clear visibility |
| Duotone |
Two tones/colors |
Distinctive, branded |
| Glyph |
Single color, simplified |
System icons |
Design Systems
Spacing Scale (8px base)
| Token |
Value |
Use |
| xs |
4px |
Tight spacing |
| sm |
8px |
Default gap |
| md |
16px |
Section spacing |
| lg |
24px |
Component gaps |
| xl |
32px |
Major sections |
| 2xl |
48px |
Hero spacing |
Elevation/Shadow
| Level |
Shadow |
Use |
| 0 |
None |
Flat elements |
| 1 |
0 1px 2px |
Subtle lift |
| 2 |
0 2px 4px |
Cards |
| 3 |
0 4px 8px |
Dropdowns |
| 4 |
0 8px 16px |
Modals |
Border Radius Scale
| Token |
Value |
Use |
| none |
0 |
Sharp corners |
| sm |
4px |
Subtle rounding |
| md |
8px |
Standard buttons |
| lg |
16px |
Cards, pills |
| full |
9999px |
Circles, pills |
Design Review Checklist
Visual Quality
Typography
Color
Technical
Synapses
High-Strength Connections
- [creative-writing] (High, Complements, Bidirectional) — "Visual storytelling"
- [vscode-extension-patterns] (High, Applies, Forward) — "Extension branding and UI"
Medium-Strength Connections
- [markdown-mermaid] (Medium, Extends, Bidirectional) — "Diagram visualization"
- [cognitive-load] (Medium, Applies, Forward) — "Visual information processing"
- [ascii-art-alignment] (Medium, Complements, Bidirectional) — "Text-based visual design"
Supporting Connections
- [writing-publication] (Low, Supports, Forward) — "Document visual design"
- [meditation-facilitation] (Low, Uses, Forward) — "Reflective design iteration"
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: graphic-design-skill3description: Patterns for visual design, SVG creation, layout composition, typography, and brand identity. Use when this capability is needed.4---56# Graphic Design Skill78> Patterns for visual design, SVG creation, layout composition, typography, and brand identity.910## Design Principles1112### Visual Hierarchy1314| Level | Purpose | Techniques |15| ----- | ------- | ---------- |16| **Primary** | First thing seen | Largest, boldest, highest contrast |17| **Secondary** | Supporting info | Medium size, moderate weight |18| **Tertiary** | Details | Smaller, lighter, subtle |1920### Hierarchy Tools2122- **Size** — Larger = more important23- **Weight** — Bolder = more attention24- **Color** — High contrast = focal point25- **Position** — Top/center = primary26- **Whitespace** — Isolation = emphasis2728### Balance Types2930| Type | Characteristics | Best For |31| ---- | --------------- | -------- |32| **Symmetrical** | Mirror image, formal | Corporate, traditional |33| **Asymmetrical** | Visual weight balanced, dynamic | Modern, creative |34| **Radial** | Elements radiate from center | Logos, icons |3536## Layout & Composition3738### Grid Systems3940```text41┌─────┬─────┬─────┬─────┐42│ 1 │ 2 │ 3 │ 4 │ 12-column grid43├─────┼─────┼─────┼─────┤ (most flexible)44│ 5 │ 6 │ 7 │ 8 │45├─────┼─────┼─────┼─────┤46│ 9 │ 10 │ 11 │ 12 │47└─────┴─────┴─────┴─────┘48```4950### Golden Ratio (1:1.618)5152- Use for proportions that feel "right"53- Width to height relationships54- Spacing progressions55- Element sizing5657### Rule of Thirds5859```text60┌─────────┬─────────┬─────────┐61│ │ ● │ │ Place key elements62├─────────┼─────────┼─────────┤ at intersection63│ ● │ │ ● │ points for dynamic64├─────────┼─────────┼─────────┤ composition65│ │ ● │ │66└─────────┴─────────┴─────────┘67```6869### Alignment Principles7071| Principle | Rule |72| --------- | ---- |73| **Edge alignment** | Elements share common edges |74| **Center alignment** | Elements share center axis |75| **Baseline alignment** | Text shares baseline |76| **Optical alignment** | Visually aligned (may differ from mathematical) |7778## Typography7980### Type Scale (1.25 ratio)8182| Level | Size | Use |83| ----- | ---- | --- |84| Display | 72px | Hero headlines |85| H1 | 48px | Page titles |86| H2 | 36px | Section headers |87| H3 | 28px | Subsections |88| Body | 16px | Main content |89| Caption | 12px | Supporting text |9091### Font Pairing Rules9293| Combination | Example | Vibe |94| ----------- | ------- | ---- |95| Serif + Sans | Georgia + Helvetica | Classic, professional |96| Sans + Sans | Montserrat + Open Sans | Modern, clean |97| Display + Body | Playfair + Source Sans | Elegant, editorial |9899### Typography Best Practices100101- **Line height**: 1.4–1.6× font size for body102- **Line length**: 45–75 characters optimal103- **Letter spacing**: Increase for ALL CAPS104- **Contrast**: Dark on light or light on dark105- **Hierarchy**: Max 3 font sizes per design106107## Color Theory108109### Color Relationships110111```text112 Primary113 ●114 /|\115 / | \116 / | \117 ●───●───●118 Secondary Tertiary119```120121### Color Schemes122123| Scheme | Description | Mood |124| ------ | ----------- | ---- |125| **Monochromatic** | One hue, varied lightness | Cohesive, elegant |126| **Complementary** | Opposite on wheel | High contrast, vibrant |127| **Analogous** | Adjacent on wheel | Harmonious, natural |128| **Triadic** | Three equidistant | Balanced, dynamic |129| **Split-complementary** | Base + two adjacent to complement | Softer contrast |130131### Color Psychology132133| Color | Associations | Use Cases |134| ----- | ------------ | --------- |135| **Blue** | Trust, stability, tech | Corporate, software |136| **Green** | Growth, nature, success | Health, finance |137| **Red** | Energy, urgency, passion | CTAs, alerts |138| **Purple** | Creativity, luxury | Premium, creative |139| **Orange** | Friendly, energetic | Social, youth |140| **Yellow** | Optimism, attention | Highlights, warnings |141142### Contrast & Accessibility143144| WCAG Level | Contrast Ratio | Use |145| ---------- | -------------- | --- |146| AA (normal) | 4.5:1 | Body text |147| AA (large) | 3:1 | 18px+ or 14px bold |148| AAA | 7:1 | Maximum accessibility |149150## SVG Design151152### SVG Structure153154```xml155<svg viewBox="0 0 width height" xmlns="...">156 <defs>157 <!-- Reusable definitions -->158 <linearGradient id="grad1">...</linearGradient>159 <filter id="shadow">...</filter>160 </defs>161162 <!-- Background layer -->163 <rect .../>164165 <!-- Main content -->166 <g transform="translate(x, y)">167 <!-- Grouped elements -->168 </g>169170 <!-- Foreground/overlay -->171</svg>172```173174### Common SVG Elements175176| Element | Use | Key Attributes |177| ------- | --- | -------------- |178| `<rect>` | Rectangles, backgrounds | x, y, width, height, rx (rounded) |179| `<circle>` | Circles, dots | cx, cy, r |180| `<ellipse>` | Ovals | cx, cy, rx, ry |181| `<line>` | Straight lines | x1, y1, x2, y2 |182| `<path>` | Complex shapes | d (path data) |183| `<text>` | Typography | x, y, text-anchor, dominant-baseline |184| `<g>` | Grouping | transform |185186### SVG Path Commands187188| Command | Meaning | Example |189| ------- | ------- | ------- |190| M | Move to | M 10 20 |191| L | Line to | L 30 40 |192| H | Horizontal line | H 50 |193| V | Vertical line | V 60 |194| Q | Quadratic curve | Q cx cy, x y |195| C | Cubic curve | C cx1 cy1, cx2 cy2, x y |196| Z | Close path | Z |197198### SVG Text Alignment199200```xml201<!-- Horizontal alignment -->202text-anchor="start|middle|end"203204<!-- Vertical alignment -->205dominant-baseline="auto|middle|central|hanging"206207<!-- Centered text -->208<text x="50%" y="50%" text-anchor="middle" dominant-baseline="central">209 Perfectly Centered210</text>211```212213### SVG Gradients214215```xml216<!-- Linear gradient -->217<linearGradient id="grad" x1="0%" y1="0%" x2="100%" y2="0%">218 <stop offset="0%" stop-color="#007ACC"/>219 <stop offset="100%" stop-color="#00a8e8"/>220</linearGradient>221222<!-- Radial gradient -->223<radialGradient id="glow" cx="50%" cy="50%" r="50%">224 <stop offset="0%" stop-color="#007ACC" stop-opacity="0.4"/>225 <stop offset="100%" stop-color="#007ACC" stop-opacity="0"/>226</radialGradient>227```228229### SVG Transforms230231| Transform | Syntax | Use |232| --------- | ------ | --- |233| Translate | translate(x, y) | Move element |234| Rotate | rotate(deg, cx, cy) | Spin around point |235| Scale | scale(x, y) | Resize |236| Skew | skewX(deg) / skewY(deg) | Shear |237238## Banner & Marketing Design239240### Banner Dimensions241242| Platform | Size | Aspect |243| -------- | ---- | ------ |244| VS Code Marketplace | 1280×640 | 2:1 |245| GitHub Social | 1280×640 | 2:1 |246| Twitter Header | 1500×500 | 3:1 |247| LinkedIn Banner | 1584×396 | 4:1 |248| Open Graph | 1200×630 | ~1.9:1 |249250### Banner Composition251252```text253┌─────────────────────────────────────────┐254│ ┌─────────────────────────────────┐ │255│ │ VISUAL ELEMENT │ │ Top third: Logo/Icon256│ └─────────────────────────────────┘ │257│ │258│ MAIN HEADLINE │ Middle: Primary message259│ Subtitle Text │260│ │261│ [Badge 1] [Badge 2] [Badge 3] │ Bottom third: CTAs/Details262└─────────────────────────────────────────┘263```264265### Badge/Pill Design266267```xml268<!-- Rounded pill badge -->269<g>270 <rect x="-50" y="-16" width="100" height="32" rx="16"271 fill="#007ACC" opacity="0.15"/>272 <text x="0" y="0" text-anchor="middle" dominant-baseline="central"273 font-size="12" fill="#94a3b8">Label</text>274</g>275```276277## Icon Design278279### Icon Grid280281```text282┌────────────────────┐283│ ┌──────────────┐ │ Outer: Padding zone284│ │ │ │ Inner: Safe area285│ │ CONTENT │ │ Content: Icon artwork286│ │ │ │287│ └──────────────┘ │ Standard: 24×24, 16×16288└────────────────────┘289```290291### Icon Principles292293- **Simplicity** — Recognize at small sizes294- **Consistency** — Same stroke weight, style295- **Optical balance** — Visually centered, not mathematically296- **Metaphor** — Universally understood symbols297298### Icon Styles299300| Style | Characteristics | Use |301| ----- | --------------- | --- |302| **Outlined** | Stroke only, no fill | Light, modern UI |303| **Filled** | Solid shapes | Bold, clear visibility |304| **Duotone** | Two tones/colors | Distinctive, branded |305| **Glyph** | Single color, simplified | System icons |306307## Design Systems308309### Spacing Scale (8px base)310311| Token | Value | Use |312| ----- | ----- | --- |313| xs | 4px | Tight spacing |314| sm | 8px | Default gap |315| md | 16px | Section spacing |316| lg | 24px | Component gaps |317| xl | 32px | Major sections |318| 2xl | 48px | Hero spacing |319320### Elevation/Shadow321322| Level | Shadow | Use |323| ----- | ------ | --- |324| 0 | None | Flat elements |325| 1 | 0 1px 2px | Subtle lift |326| 2 | 0 2px 4px | Cards |327| 3 | 0 4px 8px | Dropdowns |328| 4 | 0 8px 16px | Modals |329330### Border Radius Scale331332| Token | Value | Use |333| ----- | ----- | --- |334| none | 0 | Sharp corners |335| sm | 4px | Subtle rounding |336| md | 8px | Standard buttons |337| lg | 16px | Cards, pills |338| full | 9999px | Circles, pills |339340## Design Review Checklist341342### Visual Quality343344- [ ] Consistent spacing throughout345- [ ] Aligned elements (check edges)346- [ ] Balanced composition347- [ ] Clear visual hierarchy348- [ ] Appropriate whitespace349350### Typography351352- [ ] Readable font sizes353- [ ] Proper line height354- [ ] Consistent font usage355- [ ] Good contrast ratios356- [ ] Appropriate letter spacing357358### Color359360- [ ] Consistent color palette361- [ ] Sufficient contrast362- [ ] Meaningful color use363- [ ] Works in different contexts364- [ ] Accessible (WCAG compliant)365366### Technical367368- [ ] Optimized file size369- [ ] Correct dimensions370- [ ] Responsive/scalable371- [ ] Cross-platform compatible372- [ ] Proper naming conventions373374## Synapses375376### High-Strength Connections377378- [creative-writing] (High, Complements, Bidirectional) — "Visual storytelling"379- [vscode-extension-patterns] (High, Applies, Forward) — "Extension branding and UI"380381### Medium-Strength Connections382383- [markdown-mermaid] (Medium, Extends, Bidirectional) — "Diagram visualization"384- [cognitive-load] (Medium, Applies, Forward) — "Visual information processing"385- [ascii-art-alignment] (Medium, Complements, Bidirectional) — "Text-based visual design"386387### Supporting Connections388389- [writing-publication] (Low, Supports, Forward) — "Document visual design"390- [meditation-facilitation] (Low, Uses, Forward) — "Reflective design iteration"391392---393> Converted and distributed by [TomeVault](https://tomevault.io/claim/fabioc-aloha) — claim your Tome and manage your conversions.394<!-- tomevault:4.0:skill_md:2026-04-15 -->