ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

React-CSS-Converter

by davidfufu ST2/ST3

Converts CSS to and from regular notation to react acceptable css notation.

Details

  • 1.1.1
  • github.​com
  • github.​com
  • 5 months ago
  • 27 minutes ago
  • 7 months ago

Installs

  • Total 736
  • Win 401
  • OS X 258
  • Linux 77
Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9
Windows 2 5 0 0 1 4 4 4 4 2 1 4 2 4 11 0 0 1 0 0 4 2 2 0 1 1 6 0 4 2 1 2 4 3 3 2 2 2 1 0 3 1 0 5 0 1
OS X 1 4 0 2 0 2 0 1 1 0 1 2 2 0 1 2 0 2 4 2 1 4 1 1 0 3 0 1 2 1 0 1 2 0 1 0 1 2 1 0 1 1 3 0 0 2
Linux 1 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 1 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0

Readme

Source
raw.​githubusercontent.​com

REACT-CSS-Notation-Converter

This is a small plugin for Sublime Text 3 that converts CSS notation to and from its normal syntax to the DOM style notation that is used by React and JSS . I made this to speed up React development due to the fact that CSS style objects can be created and stored within React components, but rewriting the CSS into React friendly, DOM notation was a hassle.

  1. Open package control with CTRL + SHIFT + P and go to “Install Package”
  2. Type “React-CSS-Converter” and install.
  3. Highlight CSS and right click the selection. Select context menu item. I named mine React CSS because I mainly use this for React work.

All context menu options can be rename with the Context.sublime-menu file.

For futher reference, please refer to the links below: https://facebook.github.io/react/docs/dom-elements.html https://github.com/cssinjs/jss

MenuConvert