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

Stylus

by billymoon ST2/ST3 Top 100

Stylus Package for Sublime Text 2 / 3

Details

  • 2016.04.24.14.48.24
  • github.​com
  • github.​com
  • 1 year ago
  • 53 minutes ago
  • 5 years ago

Installs

  • Total 112K
  • Win 51K
  • OS X 41K
  • Linux 20K
May 29 May 28 May 27 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
Windows 13 34 42 45 49 35 39 44 25 24 43 62 34 48 51 36 23 41 41 41 49 57 26 39 48 65 44 44 35 26 28 38 47 40 51 55 26 24 53 44 35 57 45 29 44 48
OS X 13 17 14 26 24 29 25 32 20 13 23 30 36 24 31 10 13 27 24 31 25 22 12 9 25 36 33 34 23 12 14 24 22 27 32 40 16 20 23 29 27 40 22 18 24 24
Linux 5 7 11 8 2 20 11 8 7 18 17 13 10 11 12 11 3 10 6 21 19 13 12 7 13 14 16 15 11 14 9 10 15 11 4 18 6 13 5 11 12 11 12 6 11 15

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

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.