@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
9 lines (8 loc) • 403 B
TypeScript
import type { Transform } from 'style-dictionary/types';
/**
* @description converts w3c border tokens in css border string
* @type valueTransformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
* @matcher matches all tokens of $type `border`
* @transformer returns css border `string`
*/
export declare const borderToCss: Transform;