algorithmic-color-pale…
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Size, colour, weight and position mark what matters most. Use when designing button groups, CTAs, cards, dashboards or any layout with a primary action.
Claude Code
$ npx -y skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy --agent claude-code
Codex
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a codex -y
Cursor
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a cursor -y
Gemini CLI
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a gemini-cli -y
GitHub Copilot
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a github-copilot -y
OpenCode
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a opencode -y
Windsurf
$ npx skills add dembrandt/dembrandt-skills --skill visual-emphasis-and-hierarchy -a windsurf -y
name: visual-emphasis-and-hierarchy
description: Size, colour, weight and position mark what matters most. Use when designing button groups, CTAs, cards, dashboards or any layout with a primary action.
metadata:
priority: 8
pathPatterns:
- "components/**"
- "src/components/**"
- "**/*.tsx"
- "**/*.jsx"
- "design-system/**"
- "ui/**"
- "tailwind.config.*"
promptSignals:
phrases:
- "primary button"
- "call to action"
- "visual hierarchy"
- "emphasis"
- "most important"
- "highlight"
- "prominent"
- "CTA"
- "text over image"
- "hero banner"
- "legibility"
retrieval:
aliases:
- visual hierarchy
- emphasis
- primary action
- CTA design
- button hierarchy
- content priority
intents:
- make the primary action stand out
- design button hierarchy
- guide user attention
- emphasise key content
- reduce visual noise
examples:
- make it obvious what the user should click
- design the button group for this form
- highlight the most important feature on this pageEvery screen has a most-important thing. Visual hierarchy is the design work that makes sure the user's eye finds it first — without requiring the user to read everything and decide for themselves.
Emphasis is achieved through **size**, **colour**, **weight**, **contrast**, and **position**. These tools work because they are relative: an element looks important because it differs from what surrounds it.
Design every action group and content area with a clear hierarchy:
| Level | Role | Visual treatment | |---|---|---| | **Primary** | The one action the user should most likely take | Filled, brand colour, largest button in the group | | **Secondary** | An alternative action of moderate importance | Outlined or ghost, neutral colour, same or slightly smaller size | | **Tertiary** | Rarely needed, destructive, or low-priority | Text link or subtle ghost, smaller, visually recessive | | **Disabled** | Unavailable | Low contrast, no hover state — signals "not yet" |
There should be **at most one primary action per view** or per logical section. Two filled buttons side by side cancel each other out — both feel equally important, so neither guides the user.
A larger button, heading, or element draws the eye before a smaller one. Use size deliberately:
Size differences must be perceptible — a 2px difference reads as inconsistency, not hierarchy. Use your modular scale for type; use meaningful size steps for components.
Colour is the strongest emphasis signal and therefore the most easily overused.
Brand primary colours work well as large background regions — hero sections, feature banners, section dividers. This is different from using brand colour on interactive elements.
The rule: **pick one role and commit to it per view.**
Used as a bold background, brand colour communicates identity and energy. Used simultaneously on both backgrounds and buttons, it loses all signal — everything blends together.
Emphasis is not just about what you add (colour, size), but also what you remove (distraction).
**The "Contrast + Space" Rule:** To create a powerful focal point, combine a high-contrast element (or a bold brand colour) with generous **whitespace (negative space)** around it.
Use whitespace deliberately to "push" the user's attention toward the primary goal.
✓ Dark brand-colour hero section + white CTA button ✓ White page + brand-colour primary button ✗ Brand-colour hero section + brand-colour button on top of it
Typography weight communicates importance within text and aids scannability.
In data-heavy UIs (tables, dashboards), bold the **primary metric or the row's identifying name**. The eye should be able to jump from one bold anchor to the next to quickly locate data.
A single bolded word is a highlighted term, not a point. So is a product name or a piece of jargon lifted from the page.
| | | |---|---| | Good | "Figma is now the bottleneck." / "Screensho
Enterprise UX secrets, now built into your AI agent. Your agent writes the component in seconds. It does not know the modal should be a drawer, or that the grey it picked fails contrast. These skills carry that judgment: what to do, and what breaks otherwise.
Derive a full UI palette from one or two brand colours — state variants, brand-tinted greys, semantic colours. Use when building…
Top bar, sidebar rail, app launcher, tenant and environment cue, status bar. Use when designing the persistent shell, a…
Product visuals must show the real product with real data. Use when building landing pages, hero sections, screenshots or demo…
Shape language across type, radius and icons carries brand personality. Use when starting a design system, picking icons or…
Rest, hover, active, focus, disabled and loading states, derived from the base colour. Use when designing buttons, links, inputs…
Rebuild a live web page 1:1 from measurement into Figma, Penpot or code, then verify it. Use when reproducing a page or checking…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.