Skip to content
Guide

Theme accessibility

Audit canonical theme colors plus rendered popup, badge, and active-tab states, then run the same checks from the CLI.

Checking the active theme…

Resolves contract colors and rendered active-tab paint, including alpha layers and sampled gradient stops. Switch modes to inspect light and dark independently.

Boundaries, indicators and every harvested part clear their ratio too.

Resolving theme tokens…

Optional CLI check

Audit any skin theme.css in light and dark. A sibling skin.css is loaded when present; slot classes from skin.config remain a live-preview check. Required failures or unresolved paints exit non-zero.

bun run theme:a11y path/to/theme.css

Run without a path to audit every built-in skin pack. Add --json for machine-readable output in an agent or CI workflow.