CSS-in-JS-generator is a tool to generate trendy CSS-in-JS files from regular CSS.
npm install css-in-js-generator
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
A demo using next.js, emotion and bootstrap is available here, source code of demo is here.
MIT