tokens: (
tokens: Record<string, any>,
options?: {
formatKey?: (key: string, kebabCase: boolean) => string;
important?: boolean;
kebabCase?: boolean;
prefix?: string;
target?: HTMLElement;
},
) => {
apply: (obj: Record<string, any>, currentPrefix?: string) => void;
getAppliedVariables: () => string[];
remove: () => void;
update: (newTokens: Record<string, any>, basePrefix?: string) => void;
}
Adds JSS tokens to the browser as CSS variables Uses the fromTokens function for token processing