Module wallust::colors

source ·
Expand description

Colors logic

Here Colors and Myrgb types are defined. These are simple enough used by backends, colorspace and filters modules as a reference, rather than to keep using Vec<u8>. This way the base has more structure (also because it’s only 16 colors). NOTE: alpha value is hardcoded, pywal only uses alpha for urxvt sequences. I consider that too specific to open a new --alpha flag, since that value can easly hardcoded in the template itself. XXX maybe in v3 remove rgba and other alpha related code.

Structs

Traits