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 month ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 125K
  • Win 58K
  • OS X 45K
  • Linux 22K
Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7 Dec 6
Windows 17 30 59 48 44 26 26 32 45 83 41 41 40 22 26 38 56 38 41 13 14 19 29 47 50 37 80 21 23 30 29 35 27 28 16 33 30 32 37 39 46 17 15 40 34 40
OS X 3 19 20 21 30 17 13 6 10 29 28 25 17 4 15 20 14 30 20 3 9 7 12 15 15 15 16 8 8 8 19 33 19 15 10 13 18 23 23 21 24 19 7 17 23 20
Linux 1 7 9 6 8 6 12 7 7 13 14 6 6 2 4 8 5 5 9 4 2 7 6 6 8 6 5 4 7 12 10 12 8 4 3 3 7 6 12 8 7 6 4 3 9 7

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.