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.
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.
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
}
}
GPLv3 or later.