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

CSS To SASS And Stylus Converter

by lnikell ST2/ST3

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

Details

Installs

  • Total 9K
  • Win 6K
  • OS X 2K
  • Linux 829
Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 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
Windows 7 7 6 7 4 3 8 10 6 11 10 6 2 4 3 4 8 7 2 2 6 7 7 8 8 4 3 5 8 5 7 9 8 5 6 6 10 12 7 9 5 5 7 7 6 7
OS X 4 0 5 1 0 0 0 0 3 1 1 1 2 2 0 3 3 1 0 0 0 3 1 1 0 2 2 2 2 1 1 4 2 1 2 1 3 1 1 0 3 2 3 2 3 1
Linux 2 1 0 0 1 0 0 2 1 1 2 1 0 1 2 2 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 2 1 0 1 0 0 3 2

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.

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