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 isDuration
* @type filter
* @description only returns tokens of type `duration`
*/
export declare const isDurationFilter: (token: TransformedToken) => boolean;
export declare const isDuration: {
name: string;
filter: (token: TransformedToken) => boolean;
};