UNPKG

@nex-ui/system

Version:

A lightweight and performant styling library based on Emotion, focusing on component architecture and developer experience.

20 lines (17 loc) 470 B
'use strict'; class Token { constructor({ path, value, category, name, originalValue, cssVar, conditions }){ this.path = path; this.value = value; this.category = category; this.name = name; this.originalValue = originalValue; this.cssVar = cssVar; this.conditions = conditions; } } function createToken(config) { return new Token(config); } exports.Token = Token; exports.createToken = createToken;