style-dictionary-utils
Version:
Utilities to use in your style dictionary config
13 lines (12 loc) • 388 B
TypeScript
import { TransformedToken } from 'style-dictionary/types';
/**
* @name isSource
* @type filter
* @description only returns tokens that are coming from a `source` file and
* not from an `included` file
*/
export declare const isSourceFilter: (token: TransformedToken) => boolean;
export declare const isSource: {
name: string;
filter: (token: TransformedToken) => boolean;
};