UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

9 lines (8 loc) 415 B
import type { Transform } from 'style-dictionary/types'; /** * @description converts typograhy token value to css font shorthand * @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts) * @matcher matches all tokens of $type `typography` * @transformer returns a css font string */ export declare const typographyToCss: Transform;