Closed alic3dev closed 1 month ago
Instead of rgba(var(--ctp-latte-blue-rgb) 0.9)
can't you do rgba(var(--ctp-latte-blue-rgb) / 0.9)
? Without commas I believe you are supposed to use a / to mark the alpha value.
@uncenter You are correct! I'll close this PR and open another one with an update to the documentation instead, thanks!
CSS variables are currently being built without commas in their declaration which is preventing them from working with alpha values. Adding in commas between the individual values fixes this issue and allows the variables to be used with
rgba
andhsla
again.Changes in this PR
RGB
/HSL
values during CSS build processrgba
/hsla
usageWithout commas (Previous)
Works without alpha
Doesn't work with alpha
With commas (Fixed)
Works without alpha
Works with alpha