@terrazzo/parser
Version:
Parser/validator for the Design Tokens Community Group (DTCG) standard.
14 lines • 559 B
TypeScript
import type { LintRule } from '../../../types.js';
export declare const A11Y_MIN_FONT_SIZE = "a11y/min-font-size";
export interface RuleA11yMinFontSizeOptions {
/** Minimum font size (pixels) */
minSizePx?: number;
/** Minimum font size (rems) */
minSizeRem?: number;
/** Token IDs to ignore. Accepts globs. */
ignore?: string[];
}
export declare const ERROR_TOO_SMALL = "TOO_SMALL";
declare const rule: LintRule<typeof ERROR_TOO_SMALL, RuleA11yMinFontSizeOptions>;
export default rule;
//# sourceMappingURL=a11y-min-font-size.d.ts.map