@nex-ui/system
Version:
A lightweight and performant styling library based on Emotion, focusing on component architecture and developer experience.
17 lines (15 loc) • 428 B
JavaScript
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);
}
export { Token, createToken };