UNPKG

@nex-ui/system

Version:

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

22 lines (19 loc) 523 B
import { TokenValue, SemanticTokenValue, TokenCategory } from './types.js'; declare class Token { path: string[]; value: string; name: string; originalValue: TokenValue | SemanticTokenValue; category: TokenCategory; cssVar?: { var: string; ref: string; }; conditions?: { base?: TokenValue; light?: TokenValue; dark?: TokenValue; }; constructor({ path, value, category, name, originalValue, cssVar, conditions, }: Token); } export { Token };