Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 962 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 962 Bytes

HLS or HSV tag color plugin

Intro

This plugins generates tag colors based on either the HLS (default) or the HSV colorspace. The parameters alpha, saturation and value or lightness are configurable, while hue is generated from the MD5 sum of the tag.

Installation

the installation is as simple as:

mkdir -p ~/.config/astroid/plugins/
cd ~/.config/astroid/plugins/
git clone https://github.com/astroidmail/astroid-plugin-hls-hsv-tagcolor

...and restart astroid.

Configuration

You can set the color parameters and the colorspace with the options (in the astroid config: ~/.config/astroid/config):

    "plugins": {
      "hls_hsv_tag_color": {
        "colorspace" : "hls",
        "saturation" : 0.5,
        "lightness" : 0.5,
        "value" : 0.5,
        "alpha" : 0.5
      }
    }

Licensing

GPLv3 or later.