rollup-plugin-theo

3.0.0 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i rollup-plugin-theo

Weekly Downloads

3

Version

3.0.0

License

ISC

Unpacked Size

8.45 kB

Total Files

3

Last publish

Collaborators

  • limitlessloop