UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

9 lines (8 loc) 532 B
import type { Transform } from 'style-dictionary/types'; /** * @description converts the [TransformedToken's](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts) `.path` array to a PascalCase string, preserves casing of parts * @type name transformer — [StyleDictionary.NameTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts) * @matcher omitted to match all tokens * @transformer returns `string` PascalCase */ export declare const namePathToPascalCase: Transform;