You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This standardizes #RRGGBBAA and #RGBA codes where the A is a hexadecimal representation of opacity (0-255).
Cadence currently adds opacity to a dynamic color value in the text color button, whose background is set to 50% opacity of whatever the chosen color is. To accomplish this, cadence parses the hex value and outputs an rgba(x,y,z,0.5) string.
As soon as this standard can be relied on, this function can be replaced by a simple string concatenation.
The text was updated successfully, but these errors were encountered:
This standardizes #RRGGBBAA and #RGBA codes where the A is a hexadecimal
representation of opacity (0-255).
Cadence currently adds opacity to a dynamic color value in the text color
button, whose background is set to 50% opacity of whatever the chosen color
is. To accomplish this, cadence parses the hex value and outputs an
rgba(x,y,z,0.5) string.
As soon as this standard can be relied on, this function can be replaced
by a simple string concatenation.
https://drafts.csswg.org/css-color/
https://www.w3.org/TR/css-color-4/
This standardizes #RRGGBBAA and #RGBA codes where the A is a hexadecimal representation of opacity (0-255).
Cadence currently adds opacity to a dynamic color value in the text color button, whose background is set to 50% opacity of whatever the chosen color is. To accomplish this, cadence parses the hex value and outputs an
rgba(x,y,z,0.5)
string.As soon as this standard can be relied on, this function can be replaced by a simple string concatenation.
The text was updated successfully, but these errors were encountered: