@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
9 lines (8 loc) • 468 B
TypeScript
import type { Transform } from 'style-dictionary/types';
/**
* @description replaces tokens value with content of tokens `deprecated` property
* @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts)
* @matcher matches all tokens with a `deprecated` property
* @transformer returns `string` specified in `token.deprecated` or `null`
*/
export declare const jsonDeprecated: Transform;