Stylus Package for Sublime Text 2 / 3
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Preferences Added basic symbol list support. May 12, 2014
.gitignore Updated languages syntax definition. Dec 16, 2013
Default.sublime-keymap Improved auto-indentation. refs #12 Oct 23, 2014
LICENSE Added license Dec 16, 2013
README.markdown Allow custom properties a values for font property. Fixes#84 Dec 19, 2017
Stylus.language.yml Allow custom properties a values for font property. Fixes#84 Dec 19, 2017 In the `enter` handler now checking the scope for cursor and not the … Mar 31, 2016
Stylus.sublime-build Added search path for nib in build. Fixes #47 Dec 7, 2014
Stylus.sublime-settings Added "useAutoPrefixer" option Oct 7, 2015
Stylus.tmLanguage Allow custom properties a values for font property. Fixes#84 Dec 19, 2017
messages.json Added install message. Updated README. Dec 16, 2013
package.json Now using fixed version of grunt-convert to avoid escaping problems Mar 10, 2015


Stylus Package for Sublime Text 2/3

Includes build system and syntax highlighting for stylus CSS preprocessor.

Notice to existing users

In order to provide better integration with Emmet and Hayaku packages that allow dynamic expansion of CSS properties, snippets that were previously a part of this package are now distrubited separately as new package called Sublime-Snippets (available via Package Control).


In order for build system to work you will need stylus installed via npm and available in your PATH.


The easiest way to install this is with Package Control.

  • Bring up the Command Palette (Command+Shift+p on OS X, Control+Shift+p on Linux/Windows).
  • Select "Package Control: Install Package" (it'll take a few seconds)
  • Select Stylus when the list appears.

Package Control will automatically keep the package up to date with the latest version.


Go to Preferences > Package Settings > Stylus > Settings - User to change settings.

You can set paths to the stylus binary, and other plugin settings including compileOnSave which is off by default, compress and output paths.

Full details in the comments in Preferences > Package Settings > Stylus > Settings - Default

Project settings

Go to Project > Edit Project to change project settings.

            "compress": false,
            "compileOnSave": true,
            "compileDir": "out"

Issues & Feature Requests

Please use GitHub Issue Tracker to report any bugs and make feature requests.



  • Logan Howlett The compileOnSave, Python script and settings file have been forked from aponxi


If you want to help developing this package you will need grunt installed to be able to recompile language definition from .yml source by navigating to a folder contain this package in terminal and typing:

grunt watch


Licensed under permissive MIT-style license.