@bly-th/tailwind-css-variables

1.0.2 • Public • Published

tailwind-css-variables

Generates custom property values from tailwind config

Install the plugin from npm:

$ npm install tailwind-css-variables

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  plugins: [
    // ...
    require('tailwind-css-variables'),
    // ...
  ],
};

This plugin will generate following CSS:

/* ... */
:root {
  --color-primary: #000;
}
/* ... */

License

tailwind-css-variables is licensed under the MIT License.

Credits

Created with create-tailwind-plugin.

Package Sidebar

Install

npm i @bly-th/tailwind-css-variables

Weekly Downloads

14

Version

1.0.2

License

MIT

Unpacked Size

7.56 kB

Total Files

9

Last publish

Collaborators

  • ryangittings