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

transform-it/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.

mkdir bootstrap

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

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%