style-dictionary-utils
Version:
Utilities to use in your style dictionary config
12 lines (11 loc) • 341 B
TypeScript
import { TransformedToken } from 'style-dictionary/types';
/**
* @name isGradient
* @type filter
* @description only returns tokens of type `gradient`
*/
export declare const isGradientFilter: (token: TransformedToken) => boolean;
export declare const isGradient: {
name: string;
filter: (token: TransformedToken) => boolean;
};