3.0.0 • Published 5 years ago
rollup-plugin-theo v3.0.0
rollup-plugin-theo
Transform Design Tokens files using Theo.
Installation
npm install --save-dev rollup-plugin-theo
Usage
import theo from 'rollup-plugin-theo';
export default {
//...
plugins: [
theo({
input: "./path/to/tokens/index.yml",
output: {
file: "./path/to/tokens.css",
format: "custom-properties.css"
}
})
]
};
See the list of formats available.
Feel free to raise an issue if something is working quite right or if you have some suggestions to make it better.