UNPKG

@terrazzo/parser

Version:

Parser/validator for the Design Tokens Community Group (DTCG) standard.

15 lines 673 B
import type { LintRule } from '../../../types.js'; export declare const MAX_GAMUT = "core/max-gamut"; export interface RuleMaxGamutOptions { /** Gamut to constrain color tokens to. */ gamut: 'srgb' | 'p3' | 'rec2020'; /** (optional) Token IDs to ignore. Supports globs (`*`). */ ignore?: string[]; } declare const ERROR_COLOR = "COLOR"; declare const ERROR_BORDER = "BORDER"; declare const ERROR_GRADIENT = "GRADIENT"; declare const ERROR_SHADOW = "SHADOW"; declare const rule: LintRule<typeof ERROR_COLOR | typeof ERROR_BORDER | typeof ERROR_GRADIENT | typeof ERROR_SHADOW, RuleMaxGamutOptions>; export default rule; //# sourceMappingURL=max-gamut.d.ts.map