to-css-custom-properties
This parser helps you transform design tokens into CSS Custom Properties.
Interface
interface parser {
name: 'to-css-custom-properties';
output: {
type: 'file';
filePath: string;
};
options?: {
tokenNameTemplate?: string;
selectorTemplate?: string;
tokenNotInCollectionNameTemplate?: string;
includeCoreTokensInScopes?: boolean;
allowUnresolvable?: boolean;
withSDTFView?: string;
};
}Options
Parameter
Required
Type
Default
Description
Basic usage
Last updated
Was this helpful?