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

CSS To SASS And Stylus Converter

by lnikell ALL

Sublime Text 3 Plugin for converting CSS to SASS/Stylus from clipboard

Details

Installs

  • Total 14K
  • Win 10K
  • Mac 3K
  • Linux 1K
Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8
Windows 1 0 0 0 0 1 0 0 0 1 1 0 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 1 1 1 0 0 0 0 0 0 0 0 0
Mac 0 0 0 1 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

CSS to SASS and Stylus converter for Sublime Text 3

5k

STOP WASTING YOUR TIME removing brackets, semicolons and formating any css inserted from your browser to Sublime Text.

Example usage

You could also copy something like this:

{
  display: block;
  color: #ffffff;
}

And plugin will transform it to:

display: block
color: #ffffff

Features

  • works without any gems or npm packages
  • supports nested selectors
  • unprefixing (comming soon)

Installation

via Package Control

  • Open the Command Pallete (ctrl+shift+P or cmd+shift+P);
  • Type “Install Package”
  • Type “css to sass converter” and hit return.

Configuration options

colon

Default: true. Add semicolon after property name or not. Makes sense only for stylus.

Default key bindings

Ctrl+V on Windows/Linux

Cmd+V on OS X