@yummacss/canon
Class validator for Yumma CSS. Reports every class that is not part of the Yumma CSS canon.
Installation
npm install -D @yummacss/canon
Usage
npx @yummacss/canon
Validates against the Yumma CSS generator itself. Variants, opacity, negative values, custom theme colors, prefixes, and safelist entries are all understood.
Skip custom classes with --allow:
npx @yummacss/canon --allow "docs-container,brand-logo"
API
import { validate } from "@yummacss/canon";
const result = await validate({ allowlist: ["docs-container"] });
Documentation
Learn more at yummacss.com