Builds a deliberate typography and color system with type scale, font pairing, line length, semantic color tokens, contrast-checked palettes, and dark mode. Use when setting up a design system, choosing fonts or palettes, adding dark mode, or fixing readability or contrast issues.
Ships in design-taste. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Few type styles, chosen on purpose; colors named by role and checked for contrast in both themes.
visual-direction, to turn the direction into concrete tokensMost interfaces need one or two families. Write one line per face explaining the job it does.
| Role | Job | Selection questions |
|---|---|---|
| Text | Long reading, UI labels | Is it readable at 16px? Does it have the weights and numerals you need? Licence allows web use? |
| Display (optional) | Headlines, the signature element | Does it come from the direction (subject, era, material)? Is it distinct from the text face, not a near-twin? |
| Mono (optional) | Code, tabular IDs | Only if the product shows code or fixed-width data |
A monospace face used for decorative labels is a common template tell (see ui-template-audit). Use mono where fixed width means something.
System fonts are a legitimate choice for product UI (fast, familiar, no licence). Pair them with a deliberate scale and spacing rather than treating them as "no decision".
Pick a ratio and generate only the steps you will use. Fewer steps make hierarchy clearer.
:root {
--step--1: 0.875rem; /* metadata, captions */
--step-0: 1rem; /* body */
--step-1: 1.25rem; /* subheads */
--step-2: 1.5625rem; /* section heads */
--step-3: clamp(1.9rem, 1.4rem + 2vw, 2.45rem); /* page title */
}
body { font-size: var(--step-0); line-height: 1.5; }
h1 { font-size: var(--step-3); line-height: 1.1; text-wrap: balance; }
p { max-width: 65ch; text-wrap: pretty; }
Notes:
rem-based sizes respect the user's browser font-size setting; avoid fixed px for body textclamp() minimum readable; fluid type must still scale with browser zoomtext-wrap: balance applies only to short blocks (MDN notes browser line-count limits); pretty trades speed for better breaks and falls back to normal wrapping where unsupportedmax-width in ch. WCAG 1.4.8 (Level AAA) asks that width be no more than 80 characters (40 for CJK); the frontend-design skill also recommends staying under 80. Many teams aim lower for body copy; treat the exact target as a judgment call.table td.numeric, .price, .timer {
font-variant-numeric: tabular-nums; /* aligned columns, no jitter on change */
}
.prose { font-variant-numeric: oldstyle-nums; } /* only if the face supports it */
font-variant-numeric is Baseline widely available, but each value works only if the font includes the OpenType feature.
:root {
color-scheme: light dark;
/* Primitive palette (never used directly in components) */
--ink-900: oklch(22% 0.02 250);
--ink-600: oklch(45% 0.02 250);
--paper-50: oklch(98% 0.005 90);
--signal-600: oklch(52% 0.17 145);
/* Semantic tokens (components use only these) */
--color-text: light-dark(var(--ink-900), oklch(94% 0.01 90));
--color-text-muted: light-dark(var(--ink-600), oklch(76% 0.01 90));
--color-bg: light-dark(var(--paper-50), oklch(18% 0.01 250));
--color-accent: light-dark(var(--signal-600), oklch(72% 0.15 145));
--color-focus: var(--color-accent);
--color-danger: light-dark(oklch(50% 0.19 27), oklch(72% 0.15 27));
}
Why oklch(): its lightness channel tracks perceived lightness better than HSL, which makes building even ramps easier. It is Baseline widely available. Hue angles differ from HSL (MDN notes red is around 41 degrees in OKLCH), so don't port HSL hues directly.
Build a matrix of real foreground/background pairs, in both themes:
| Pair | Requirement (WCAG 2.2) |
|---|---|
| Body text on background | 4.5:1 (1.4.3, AA) |
| Large text (at least 18pt, or 14pt bold; roughly 24px / 18.5px) | 3:1 (1.4.3, AA) |
| Muted/metadata text | Still 4.5:1 unless it qualifies as large |
| Input borders, icons that convey meaning, focus indicators | 3:1 against adjacent colors (1.4.11, AA) |
| Text on accent buttons | 4.5:1 |
Do not round: W3C's understanding document states 4.499:1 does not meet 4.5:1. Check with a contrast tool against the computed colors, including text over images and gradients (test the worst spot).
color-scheme so form controls and scrollbars matchlight-dark() is Baseline 2024 and requires color-scheme; for older browsers, use @media (prefers-color-scheme: dark) overridesrem, measured lines in ch, no clipped containersoklch(): https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/oklchlight-dark(): https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/light-darkprefers-color-scheme: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-schemetext-wrap: https://developer.mozilla.org/en-US/docs/Web/CSS/text-wrapfont-variant-numeric: https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numericfrontend-design skill: https://github.com/anthropics/skills/blob/main/skills/frontend-design/SKILL.mdWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/design-taste:typography-and-color-systemsfrom design-taste
npx claudepluginhub latestaiagents/agent-skills --plugin design-taste5 skills in this plugin
/accessible-by-defaultNon-negotiable accessibility baseline for any UI an agent builds or restyles: WCAG 2.2 AA contrast, visible focus, 24x24 target size, reduced motion, semantic HTML, text alternatives, and never relying on color alone. Includes a pass/fail checklist and code patterns.
Use this skill when building or reviewing any user-facing UI, especially after a visual redesign, or when a distinctive style risks readability.
Activate when: accessibility, a11y, WCAG, contrast, focus ring, keyboard navigation, reduced motion, alt text, screen reader, target size, semantic HTML.
/specific-copyWrite interface and marketing copy that is concrete and verifiable instead of sloganeering — headlines that say what the product does, claims backed by sources, button labels that name the action, and useful empty and error states.
Use this skill when writing or reviewing landing page copy, headlines, CTAs, onboarding text, empty states, error messages, or when copy sounds like every other product.
Activate when: UX writing, microcopy, landing page copy, headline, call to action, button label, empty state, error message, marketing copy, generic copy, sloganeering.
/ui-template-auditAudit an existing UI, landing page, or screenshot for "template defaults" — the patterns that make interfaces read as generic or machine-generated — and produce a scored report with specific fixes.
Use this skill when reviewing a page that "looks like every other AI-built site", before shipping a landing page, or when asked to make a design feel less generic.
Activate when: generic UI, looks AI-generated, template look, design review, landing page critique, make it less generic, design audit, AI slop design.
/visual-directionEstablish a distinctive visual direction for a product or page from its subject matter, audience, and content — before writing CSS. Produces a short direction statement, explicit constraints, and a starter set of design tokens.
Use this skill when starting a new site or app UI, redesigning something that feels generic, or when an agent is about to reach for a default UI kit look.
Activate when: visual direction, art direction, design direction, brand look, moodboard, design tokens from brand, make it distinctive, choose an aesthetic.
2 plugins in one repository ship this exact skill · first indexed Nov 5, 2026