Theemo / @theemo/style-dictionary / w3cTokenJsonParser
Variable: w3cTokenJsonParser
ts
const w3cTokenJsonParser: Parser;
Defined in: parsers/w3c-token-json-parser.ts:36
The W3C parser is able to read the W3C token format and is recommended for Style Dictionary v3.
From https://github.com/lukasoppermann/style-dictionary-utils
Example
Usage:
js
import StyleDictionary from 'style-dictionary';
import { w3cTokenJsonParser } from '@theemo/style-dictionary';
StyleDictionary.registerParser(w3cTokenJsonParser);
See
Author
Lukas Oppermann