Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Latest commit

 

History

History
32 lines (16 loc) · 969 Bytes

README.md

File metadata and controls

32 lines (16 loc) · 969 Bytes

Click ↑ to Install Vscode Extension (Please Read How to use section)

  • Provides conversion of CSS to CSSinJS.

  • CSSinJS format is specific to JSS library format for now (Will soon add support for styled components, tailwind & Emotion)

  • Supports css Pseudo Class (like :hover , :active ) which were missing in most of the solution.

How to Use

  1. Select some block of css code in a javascript or typescript file and

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

use cmd+shift+p to bring up the command palette, then select Convert CSS-to-JS.

Demo for conversion of css to CSSinJS

demo

Feel free to raise an Issue if something is missing i will be glad to help.


MIT

© 2020 Rishabh Rathod