Skip to content

paulmolluzzo/convert-css-in-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert CSS in JS (Deprecated)

This is now combined with the Atom version and being maintained at https://github.com/ansumanshah/css-in-js. Please head over there to see the latest code and contribute. 😎

Convert kebab-case CSS to camelCase CSS and vice versa

Converts CSS between regular CSS syntax (strings) and CSS-in-JS syntax (style objects)

demo

How to Use

Select some block of text in a javascript or typescript file and use cmd+shift+p to bring up the command palette, then select Convert CSS-in-JS.

Or use the keyboard shortcut cmd+shift+j (ctrl+shift+j on Windows).

Thanks

Thanks to Ansuman Shah for making css-in-js for Atom. I basically copied what was done in that repo. 😃


MIT

© 2017 Paul Molluzzo

About

Convert kebab-case CSS to camelCase CSS and vice versa

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published