Skip to content

A tool to generate trendy CSS-in-JS files from regular CSS.

License

Notifications You must be signed in to change notification settings

brikou/CSS-in-JS-generator

Repository files navigation

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/bootstrap@4.0.0-beta/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

About

A tool to generate trendy CSS-in-JS files from regular CSS.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published