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
  • 5 months ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 132K
  • Win 62K
  • OS X 47K
  • Linux 23K
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 Apr 10
Windows 58 52 65 75 72 32 22 50 44 73 46 54 33 34 76 46 55 49 33 27 33 56 62 57 18 31 32 35 38 45 57 45 38 26 30 45 47 54 47 52 16 25 27 43 46 48
OS X 19 22 17 18 22 6 15 19 17 22 18 30 9 11 9 21 21 30 15 14 20 12 6 17 16 23 11 19 20 18 18 20 18 15 13 8 25 25 26 15 15 13 21 20 24 23
Linux 5 8 5 10 8 9 8 11 8 13 14 8 4 4 11 15 16 10 12 5 9 9 7 8 4 12 5 7 11 8 6 7 5 4 9 9 3 5 8 8 2 4 6 5 2 8

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.