SaraVieira / Css To Js
Licence: mit
Transform between CSS, JS Objects and JSX props
Stars: ✭ 125
Programming Languages
typescript
32286 projects
CSS to JS
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 [email protected]:<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!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].