We want to get all design tokens from the mode named "light"
We eventually generate our design tokens ass CSS variables in a CSS file thanks to the to-css-custom-properties parser.
.specifyrc.json
{"version":"2","repository":"@organization/repository",// Only use the personalAccessToken when working with the CLI"personalAccessToken":"<your-personal-access-token>","rules": [ {"name":"Only get tokens from the mode named 'light' and gererate tokens in CSS","parsers": [ {"name":"select-modes","options": {"modes": ["light"] } }, {"name":"to-css-custom-properties","options": {"selectorTemplate":"[data-theme=\"{{mode}}\"]" },"output": {"type":"file","filePath":"public/css-custom-properties.css" } } ] } ]}