@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
10 lines (9 loc) • 522 B
TypeScript
import type { Transform } from 'style-dictionary/types';
/**
* @description converts cubicBezeir tokens array value to a css cubic-bezier
* @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
* @matcher matches all tokens of $type `duration`
* @transformer returns a css cubic-bezier function
*/
export declare const cubicBezierToCss: Transform;
export declare const cubicBezierArrayToCss: (value: number[], path: string[]) => string;