-
-
Notifications
You must be signed in to change notification settings - Fork 88
Update css_analyzer.py - add float() #476
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
base: main
Are you sure you want to change the base?
Conversation
|
|
|
The If you try to use a rgba color value eg: with 0.5 as the You use |
|
Ah okay I see, thanks. CSS apparently uses an unconventional RGBA format. They represent the alpha byte as float! |
|
I did take out the But the value I had was something like
|
|
I might not merge this for now then if its a non-issue, I don't want to break anything. I'll keep this open though; if I ever add alpha support I'll add it to this PR. |

RGBA needs an extra
float()conversion on line73ofcss_analyzer.py.