Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Hex Colors with Alpha #3262

Open
HawksDarris opened this issue May 12, 2024 · 2 comments
Open

[Feature Request] Hex Colors with Alpha #3262

HawksDarris opened this issue May 12, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@HawksDarris
Copy link

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, where AA is the alpha value.

@github-actions github-actions bot added the bug Something isn't working label May 12, 2024
@ordy
Copy link
Contributor

ordy commented May 12, 2024

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).

@HawksDarris
Copy link
Author

Oh, I see. Should I close this, then?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants