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

Stylus

by billymoon ST2/ST3

Stylus Package for Sublime Text 2 / 3

Details

  • 2017.12.19.12.00.23
  • github.​com
  • github.​com
  • 1 year ago
  • 1 hour ago
  • 7 years ago

Installs

  • Total 145K
  • Win 70K
  • OS X 50K
  • Linux 25K
May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11
Windows 3 12 13 15 13 15 12 12 5 6 14 14 11 11 7 8 9 23 20 17 18 10 9 16 14 8 12 15 15 11 11 14 13 21 12 7 19 13 17 11 31 22 7 12 12 10
OS X 2 4 5 8 10 8 4 4 5 5 12 11 13 9 2 3 7 7 9 8 7 4 4 6 11 2 7 9 3 4 9 10 6 7 8 1 5 8 5 9 11 13 4 1 14 5
Linux 0 2 5 5 6 2 2 6 1 1 6 4 6 7 4 3 5 3 4 2 2 1 3 4 6 4 5 5 2 1 2 4 1 5 4 3 5 4 4 6 3 2 2 4 7 3

Readme

Source
raw.​githubusercontent.​com

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).

Requirements

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

Install

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.

Settings

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.

{
    "folders":
    [
        ...
    ],
    "settings":
    {
        "Stylus":
        {
            "compress": false,
            "compileOnSave": true,
            "compileDir": "out"
        }
    }
}

Issues & Feature Requests

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

Maintainers

Thanks

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

Development

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

Licensing

Licensed under permissive MIT-style license.