@tokens-studio/sd-transforms
Version:
Custom transforms for Style-Dictionary, to work with Design Tokens that are exported from Tokens Studio
9 lines (8 loc) • 445 B
TypeScript
import StyleDictionary from 'style-dictionary';
import { TransformOptions } from './TransformOptions.js';
export declare const getTransforms: (transformOpts?: TransformOptions) => string[];
/**
* typecasting since this will need to work in browser environment, so we cannot
* import style-dictionary as it depends on nodejs env
*/
export declare function register(sd: typeof StyleDictionary, transformOpts?: TransformOptions): Promise<void>;