Skip to content

astroidmail/astroid-plugin-hls-hsv-tagcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Color tags based on the HLS or HSV color space

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages