@primer/primitives
Version: 
Typography, spacing, and color primitives for Primer design system
9 lines (8 loc) • 359 B
TypeScript
import type { FormatFn } from 'style-dictionary/types';
/**
 * @description Takes a style dictionary token dictionary and converts it to a nested json string.
 * In contrast to the `json/nested` this formatter does add a prefix if provided
 * @param FormatFnArguments
 * @returns formatted json `string`
 */
export declare const jsonNestedPrefixed: FormatFn;