amanah-design-system

Enforce Amanah visual foundations and component standards across consumer and admin UI.

SKILL.md

GitHub

Purpose

Maintain the evidence-derived visual system: quiet white surfaces, near-black type, soft grey context, and controlled semantic accents.

Scope

Colors, typography, spacing, grid, breakpoints, radius, borders, elevation, icons, components, responsive behavior, dark-mode architecture, and accessibility.

Rules

Use Inter/system sans; 4px spacing; 8/12/16/24/full radii; subtle 1px borders; restrained shadows; outlined icons; semantic tokens. Breakpoints: 320, 375, 390, 430, 768, 1024, 1280, 1440.

Required patterns

Green primary action; teal information; violet invitation/selection; amber warning; coral destructive/security. Use shared primitives in consumer and admin shells.

Forbidden patterns

Never add arbitrary colors, spacing, type sizes, radii, shadows, or mixed icon sets without updating tokens. Never rely on color alone.

Relevant modules

app/styles.css, UI primitives, consumer components, admin tables and workflows.

Testing

Check WCAG AA, 44px targets, focus, reduced motion, responsive layouts, overflow, and token use.

Definition of done

Every visual value resolves to a token and all states work across supported breakpoints.