Open HawksDarris opened 1 month ago
8 digits hex color codes have only been introduced in the Color Module Level 4 of CSS, which is not supported by the GTK CSS version we run on waybar (and tbh I not sure if even GTK4 supports that module).
Oh, I see. Should I close this, then?
Waybar currently supports the CSS rgba style, e.g.,
background-color: rgba(0, 0, 0, 0.5);
. However, Waybar does not support the CSS hexadecimal alpha style, e.g.,background-color: #00000050;
.Waybar throws an error with the CSS hexadecimal alpha style, saying there is junk behind the color.
The standard for hex colors with alpha is
#RRGGBBAA
, whereAA
is the alpha value.