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

Sublime​Web​Colors

by jbrooksuk ALL

Sublime Text Plugin for CSS Web Colors and expanding hex codes.

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

SublimeWebColors Gittip

SublimeWebColors is a plugin for the growing popular editor Sublime Text. It simply lists all CSS3 color names indigo, gold, firebrick etc and expands them to their representing hex codes; #4B0082, #FFD700, #B22222.

SublimeWebColors also appends all CSS3 color names such indigo, gold, firebrick into the query suggestions list.

Compatibility

This plugin is fully compatible with Sublime Text 2 and 3!

Installation

Easiest way is to install via Package Control, just search for “SublimeWebColors”.

If you don't have Package Control (which you should do, it's amazing) then you can use Git. Just clone this directory to your Sublime Text /Packages directory.

Usage

Completions will only be displayed when the cursor is under a CSS scope. This is currently static, however I plan on adding a way to add scopes via a configuration file.

  • Windows: The default binding is set to ctrl+shift+u
  • Linux: The default binding is set to ctrl+shift+u
  • OSX: The default binding is set to super+shift+u

You can change these by overwriting the appropriate *.sublime-keymap

Credit

webcolors.py is a Python library developed by James Bennett, see BitBucket for his code.

License

MIT - http://jbrooksuk.mit-license.org