Skip to content

ansumanshah/convert-css-in-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert CSS in JS

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

Packages

No packages published

Languages

  • JavaScript 100.0%