Syntax Highlighting for PostCSS
PostCSS syntax highlighting for Sublime Text.
- Support CSS-like syntax and SugarSS syntax.
- Support for CSS custom properties
var(--variable-name)and--variable-name, and dollar variables$variable; - Automatic enable syntax highlighting for
*.pcssand*.postcssfiles (CSS-like syntax), and for*.sss(SugarSS);
There is a lot of possible improvements can be made to this syntax, but frankly, I don't understand in syntax files much and hope for the help of the community.
Install with Package Control.
Open the Command Palette Cmd+Shift+P (OS X) or Ctrl+Shift+P (Linux/Windows) and select “Package Control: Install Package”, then search for Syntax Highlighting for PostCSS.
This package is based on Syntax Highlighting for Sass by @P233.