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

Stylus

by billymoon ALL

Stylus Package for Sublime Text 2 / 3

Details

  • 2017.12.19.12.00.23
  • github.​com
  • github.​com
  • 6 years ago
  • 21 minutes ago
  • 12 years ago

Installs

  • Total 157K
  • Win 78K
  • Mac 53K
  • Linux 26K
Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3
Windows 0 1 0 0 1 1 1 2 1 2 0 1 1 1 2 2 1 0 0 1 8 5 3 0 1 1 0 3 2 0 0 1 1 3 4 1 2 1 1 1 1 3 0 0 0 2
Mac 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 3 0 0 1 0 0 5 1 0 0 2 1 0 0 1 0 0 0 0 0 1 1 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 1 0 0 1 0 0 0

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.