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 7K
  • Win 5K
  • OS X 2K
  • Linux 718
Nov 22 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 3 5 8 4 2 9 6 9 7 10 7 4 6 3 11 10 5 6 3 10 8 8 6 10 4 7 6 5 11 6 8 7 2 8 7 10 3 11 9 6 4 8 5 7 9 5
OS X 3 2 3 1 0 7 1 3 2 3 1 1 0 0 2 2 10 1 2 1 2 4 2 0 2 0 0 5 1 1 1 1 0 4 1 2 3 1 1 0 1 3 1 3 3 0
Linux 0 2 0 0 1 0 1 0 3 1 0 0 0 0 1 1 1 1 0 0 2 0 1 0 1 1 1 1 1 1 0 2 2 1 0 1 0 0 3 1 0 0 0 0 1 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