/loxihart-design:applying-web-design-standardsfrom loxihart-design
Applies web design standards covering typography systems, color theory, grid layouts, design tokens, component library architecture, responsive CSS, and performance optimization. Use when the user mentions: type scale, font pairing, color palette, HSL color, 8-point grid, design tokens, component API, Storybook, Style Dictionary, atomic design, responsive layout, mobile-first, Core Web Vitals, CSS Grid, Flexbox, container queries, pre-launch audit. Does NOT activate for Kyle-specific branded builds — use executing-branded-frontends or managing-design-briefs instead.
Ships in loxihart-design. 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.
Read when SKILL.md points to them; scripts run unread.
Consolidated reference for typography, color, grid, design tokens, component
architecture, responsive CSS, and performance. Merged from three prior skills:
advanced-visual-design, design-system-builder, professional-web-design.
| Request type | Reference file |
|---|---|
| Typography scale, font pairing, loading | references/typography-system.md |
| Web-specific type concerns | references/web-typography.md |
| Color systems, HSL, contrast, palettes | references/color-and-grid.md |
| Layout, composition, spatial principles | references/layout-composition.md |
| Design token architecture, Style Dictionary | references/design-tokens.md |
| Responsive tokens, dark mode tokens | references/responsive-tokens.md |
| Component patterns, compound components | references/component-library.md |
| Design system governance, versioning | references/design-system-governance.md |
| Tech stack selection (Storybook, CVA, etc.) | references/tech-stack-comparison.md |
| Core Web Vitals, image opt, critical CSS | references/performance-standards.md |
| CSS Grid, Flexbox, container queries | references/css-techniques.md |
| WCAG 2.2, ARIA, keyboard nav | references/accessibility.md |
| Task | Workflow file |
|---|---|
| Starting a new design system from scratch | workflows/new-design-system.md |
| Adding a new component to an existing system | workflows/add-component.md |
| Documenting a design system | workflows/document-system.md |
| Pre-launch quality audit | workflows/pre-launch-audit.md |
| Building a responsive layout | workflows/responsive-build.md |
| Script | Purpose |
|---|---|
scripts/contrast-checker.py | WCAG contrast ratio validation |
scripts/palette-generator.py | HSL palette generation with lightness steps |
scripts/type-scale.py | Modular type scale calculator |
scripts/build-tokens.js | Style Dictionary token compilation |
scripts/generate-component.js | Component scaffolding with CVA variants |
scripts/a11y-audit.js | Automated accessibility checks |
scripts/lighthouse-audit.js | Core Web Vitals measurement |
Visual regression (pre-launch / multi-screen builds):
npm install -D @vizzly-testing/cli
npx vizzly tdd "npx playwright test" # local TDD — no account needed
npx vizzly run "npx playwright test" # CI run with cloud baseline sync
Free tier: 1 private project, local TDD unlimited. See vizzly.dev/pricing.
Typography: Scales use ratios (Major Third 1.250, Perfect Fourth 1.333).
See references/typography-system.md for full scale table, pairing rules, and loading patterns.
Color: HSL with consistent lightness steps for palette construction. OKLCH preferred for gradients and perceptual consistency — OKLCH lightness is uniform across hues, preventing muddy gradient midpoints that HSL produces. Minimum contrast 4.5:1 normal text, 3:1 large text.
See references/color-and-grid.md.
OKLCH quick reference:
oklch(L% C H) — L=lightness 0–100, C=chroma 0–0.4, H=hue 0–360Grid: 8-point spatial system. 12-column layout. Every spacing value is a multiple of 8.
Exceptions require written justification. See references/layout-composition.md.
Design Tokens: Primitive → Semantic → Component three-tier architecture.
Never use primitive tokens directly in components — always via semantic alias.
See references/design-tokens.md.
Responsive: Mobile-first at 320px, scale up via min-width. Standard breakpoints:
768px (tablet), 1024px (desktop), 1440px (large). See workflows/responsive-build.md.
Performance: LCP <2.5s, INP <200ms, CLS <0.1. Inline critical CSS, defer rest,
lazy-load images, set explicit dimensions. See references/performance-standards.md.
See patterns/anti-patterns.md for full catalog. Critical failures:
assets/boilerplate.html (opens in a new tab)assets/color-palettes.json (opens in a new tab)assets/starter-tokens.json (opens in a new tab)assets/storybook-theme.js (opens in a new tab)assets/style-dictionary.config.json (opens in a new tab)patterns/anti-patterns.md (opens in a new tab)patterns/good-examples.md (opens in a new tab)references/accessibility.md (opens in a new tab)references/color-and-grid.md (opens in a new tab)references/component-library.md (opens in a new tab)references/css-techniques.md (opens in a new tab)references/design-system-governance.md (opens in a new tab)references/design-tokens.md (opens in a new tab)references/layout-composition.md (opens in a new tab)references/performance-standards.md (opens in a new tab)references/responsive-tokens.md (opens in a new tab)references/tech-stack-comparison.md (opens in a new tab)references/typography-system.md (opens in a new tab)references/web-typography.md (opens in a new tab)scripts/a11y-audit.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krosebrook/loxihart-skills --plugin loxihart-design19 skills in this plugin
/advanced-ux-patternsComprehensive UX best practices including accessibility (WCAG 2.2), interaction patterns, user research methods, and usability principles. Use when designing user interfaces, conducting UX audits, or implementing accessible, user-centered designs. Also triggers on WCAG, ARIA, keyboard navigation, screen reader, focus trap, focus management, touch targets, usability testing, heuristic evaluation, card sorting, tree testing, NPS, SUS, form design, navigation patterns, mobile UX, design handoff, cognitive load, information architecture, dark patterns, skeleton screen, error states, reduced motion, dark mode accessibility, component states, error recovery, or any request to audit, improve, spec, or review a user interface — even casually. If UI is involved, use this skill./advanced-visual-designAdvanced visual design techniques including typography systems, color theory, grid-based layouts, visual hierarchy, and composition principles. Use when creating high-quality visual designs, establishing design foundations, or implementing sophisticated design systems. Also triggers on type scale, font pairing, color palette, HSL color, 8-point grid, 12-column layout, visual hierarchy, whitespace, composition, rule of thirds, golden ratio, dark mode design, optical adjustments, or easing curves. Even if someone says "make this look professional" or "set up my design foundations" — use this skill.Other plugins' skills for the same job