Skip to content

sgal/css-to-emotion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS to EmotionJs converter

This tool is converting CSS files to JS files compatible with EmotionJS. Initial implementation is taken from css-in-js-generator, converted to JS and improved to fit the needs of internal project.

To convert a file run following command:

node ./index.js <path/to/css/file>

For example

node ./index.js Component.css

The result of the conversion will be placed in the same folder as the source file with extension .styles.js.

About

Small tool to convert css files to EmotionJS-compatible JS files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published