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

Readme

Source
raw.​githubusercontent.​com

SublimeWebColors

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