convert-color
This parser helps you convert color formats of color tokens.
Interface
interface parser {
name: 'convert-color';
options: {
toFormat:
| 'hex'
| 'rgb'
| 'hsl'
| 'hsb'
| 'lch'
| 'lab';
applyTo?:
| { collection: string | true }
| { group: string | true }
| { token: string | true }
| SDTFQuery;
};
}Options
Parameter
Required
Type
Default
Description
Basic usage
Last updated
Was this helpful?