I have searched around for this but none seems to work.
I am working on Angular and have my scss variables on the root file, styles.scss in the :root pseudo-selector. The following works in my component scss;
:root {--color-primary-green:#00e676}
background-color:var(--color-primary-green);
When I try to use rgba, the color disappears i.e
background-color: rgba(var(--color-primary-green), 0.5);
How can I go around this?