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

Huely Palette Extractor

by jeloi ALL

A sublime plugin to extract and visualize colors in your code using huely.co

Details

  • 0.1.0
  • huely.​co
  • github.​com
  • 10 years ago
  • 1 hour ago
  • 10 years ago

Installs

  • Total 2K
  • Win 890
  • Mac 472
  • Linux 225
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 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
Windows 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 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 0 1 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 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

Huely Palette Extractor - Sublime Plugin

A sublime plugin to extract and visualize colors in your code in a nice interactive palette.

This is a plugin for huely.co, and requires an internet connection to work.

Installation

(Coming Soon) With Package Control:
Run “Package Control: Install Package” command, find and install the Huely Palette plugin. Restart Sublime if necessary.

Manually:
Clone or download git repo into your packages folder (in ST, find Browse Packages… menu item to open this folder) Restart Sublime if necessary.

Usage

Default OSX Keybinding: ctrl+shift+h

Setup your own keybinding by inserting the follow in your user keybindings file:

{ “keys”: [“ctrl+shift+h”], “command”: “huely_extract” }

Technical Info, ICYW

  • The plugin submits a post request to the huely “API”, with the text data in your current file.
  • If there are colors to be extracted, huely creates a palette and returns with 200:OK and the palette ID.
  • The plugin then uses webbrowser to open your browser to the palette page.
  • Don't count on your palettes being permanently reachable! Huely is currently hosted on meteor.com and I don't own the DB.