This plugin converts map tokens to Tailwind CSS.
- Seed Token JSON File
- Map Token JSON File
When handling cases where the map token JSON includes references to values from the seed token JSON, the plugin recursively traverses the map token JSON and replaces these references with their corresponding values from the seed token JSON. To achieve this, run:
npm run format
After running the format
command, the references will be resolved. Check the resolved_map.json
for the result in output folder.
To convert to Tailwind CSS, run:
npm run build
After running the build
command, check the tailwind.css file for the result.
pls open
index.html