@primer/primitives
Version:
Typography, spacing, and color primitives for Primer design system
8 lines (7 loc) • 333 B
TypeScript
import type { TransformedToken } from 'style-dictionary/types';
/**
* @description Checks if token is of $type `gradient`
* @param token [TransformedToken](https://github.com/amzn/style-dictionary/blob/main/types/TransformedToken.d.ts)
* @returns boolean
*/
export declare const isGradient: (token: TransformedToken) => boolean;