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

Installs

  • Total 116K
  • Win 53K
  • OS X 42K
  • Linux 21K
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12
Windows 13 53 47 60 25 27 40 46 57 59 43 34 29 47 50 62 49 45 27 26 41 52 52 56 60 31 27 47 41 42 42 41 36 35 41 31 59 61 69 32 37 50 33 43 45 33
OS X 5 31 24 23 9 21 24 33 38 24 23 11 15 24 29 31 21 26 11 16 16 39 31 28 24 11 14 36 25 18 27 32 13 19 21 19 29 28 27 14 11 27 30 23 23 30
Linux 4 19 10 21 6 6 8 7 9 12 12 8 8 8 17 17 10 13 6 5 12 10 10 11 11 13 5 10 7 13 19 9 11 4 4 7 8 18 10 11 7 13 11 12 13 19

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.