Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 668 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 668 Bytes

CSS-in-JS-generator

CSS-in-JS-generator is a tool to generate trendy CSS-in-JS files from regular CSS.

Install

npm install css-in-js-generator

Usage

Here is a demo to convert Bootstrap to CSS-in-JS usable by emotion.

curl https://unpkg.com/[email protected]/dist/css/bootstrap.css | \
    node ./node_modules/css-in-js-generator/index.js > \
    bootstrap.js

Demo

A demo using next.js, emotion and bootstrap is available here, source code of demo is here.

License

MIT