Skip to content

SaraVieira/css-to-js

Repository files navigation

CSS to JS

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!

About

Transform between CSS, JS Objects and JSX props

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published