UNPKG

style-dictionary

Version:

Style once, use everywhere. A build system for creating cross-platform styles.

10 lines (8 loc) 288 B
// TODO: add enum for token types // TODO: add enums for token type -> values // So far DTCG spec supports these units, // although in Style Dictionary we allow more than these two. export const dimensionUnit = { px: /** @type {'px'} */ ('px'), rem: /** @type {'rem'} */ ('rem'), };