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

Declare​That​Color

by bertdida ST3

🎨 Declares CSS hex codes using Chirag Mehta's name that color tool - Sublime Text 3 plugin.

Details

Installs

  • Total 209
  • Win 129
  • Mac 51
  • Linux 29
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 Apr 29 Apr 28 Apr 27 Apr 26
Windows 0 0 0 1 0 1 1 0 0 1 0 0 0 1 0 1 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
Mac 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 1 0 0 1 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 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

Readme

Source
raw.​githubusercontent.​com

logo

Maintainability GitHub tag (latest SemVer) MIT License

DeclareThatColor is a Sublime Text 3 plugin that aims to help developers declare CSS hex codes to their human-readable color names. It does this by using the ported JavaScript library from Chirag Mehta's name that color tool.

usage

Installation

Download Package Control and use the Package Control: Install Package command from the command palette. Using Package Control ensures DeclareThatColor will stay up to date automatically.

Usage

From the Sublime Text's main menu click on: - EditDeclare That Color to declare hex codes - EditUndeclare That Color to revert declarations

Key bindings

DeclareThatColor doesn't ship with default key bindings, but you may use the template below to set up your own.

[
  { "keys": ["Your shortcut"], "command": "declare_that_color" },
  { "keys": ["Your shortcut"], "command": "undeclare_that_color" }
]

Settings

For a comprehensive list of settings navigate to PreferencesPackage SettingsDeclareThatColorSettings - Default or go to DeclareThatColor/declare_that_color.sublime-settings. To avoid your changes from being overwritten by updates, make sure all of your edits are saved to Settings – User.

Contribute

If you have any problem, idea or suggestion, feel free to create issues and pull requests on GitHub.

License

Distributed under the MIT license. See LICENSE for more information.

Author

Herbert Verdida / @bertdida

Credits

This work was inspired by Chirag Mehta's name that color tool, much thanks to him for open sourcing his JavaScript code!

Also, thanks to @Tobaloidee for designing this project's logo.