UNPKG

@primer/primitives

Version:

Typography, spacing, and color primitives for Primer design system

9 lines (8 loc) 404 B
import type { Transform } from 'style-dictionary/types'; /** * @description converts w3c shadow tokens in css shadow string * @type value transformer — [StyleDictionary.ValueTransform](https://github.com/amzn/style-dictionary/blob/main/types/Transform.d.ts) * @matcher matches all tokens of $type `shadow` * @transformer returns css shadow `string` */ export declare const shadowToCss: Transform;