CSS to JS

May 23, 2020 ยท View on GitHub

All Contributors

Coverage

Transform between CSS, JS Objects and JSX props.

We're all doing CSS-in-JS these days, but there doesn't seem to be a real consensus on the best way to do it. Some people like writing plain old CSS, template literals, object styles and others write styles as props on their React components.

To help ease the transition between those different forms, we've made a tool that transforms the code for you.

Run locally

Fork the repo then:

git clone git@github.com:<YOUR-USERNAME>/css-to-js.git
cd css-to-js
yarn
yarn start

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Sara Vieira

๐Ÿค” ๐Ÿ’ป ๐ŸŽจ

Nimo Beeren

๐Ÿ’ป ๐Ÿค” ๐Ÿ“† ๐Ÿš‡

Firmino Alves

๐Ÿ’ป

Nathan Thorpe

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!