Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 527 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 527 Bytes

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.