Closed pherrymason closed 6 years ago
Having a hexadecimal color defined in a variable:
:root { --color: #001f3f; }
and using it with rgba does not give me the expected result:
rgba
.style { background: rgba(var(--color), .5); }
The output I get is:
.style { background: rgba(#001f3f, .5); }
@raulferras solution is combine with https://github.com/postcss/postcss-color-function
Will try, thanks!
Having a hexadecimal color defined in a variable:
and using it with
rgba
does not give me the expected result:The output I get is: