UNPKG

@tokens-studio/types

Version:

![NPM version badge](https://img.shields.io/npm/v/@tokens-studio/types) ![License badge](https://img.shields.io/github/license/tokens-studio/types)

6 lines (5 loc) 586 B
import { Properties } from '../constants/Properties.js'; import type { TokenTypes } from '../constants/TokenTypes.js'; import { TokenBoxshadowValue, TokenTypographyValue, TokenBorderValue } from './values/index.js'; export type CompositionTokenProperty = keyof typeof Properties; export type CompositionTokenValue = Partial<Record<TokenTypes, string | number | TokenTypographyValue | TokenBoxshadowValue | TokenBorderValue | Array<TokenBoxshadowValue>> & Record<Properties, string | number | TokenTypographyValue | TokenBoxshadowValue | TokenBorderValue | Array<TokenBoxshadowValue>>>;