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
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 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30
Windows 0 0 0 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1
Mac 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 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 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