UNPKG

@loadsmart/miranda-tokens

Version:

Design tokens for the Miranda Design System

14 lines (13 loc) 347 B
import type { ColorToken } from '../types.js'; /** * Get the hex value for a color token. * * @example * ```js * getHexColor('color-primary') * ``` * * @param token Color token whose value should be retrieved. * @returns Hexadecimal color value or undefined */ export declare function getHexColor(token: ColorToken): string | undefined;