Is there any way to access the TypeScript variables in my SCSS code in my Angular component?
I want to do something like this:
<style type="text/css">
.source-status-{{ event.status.id }}::before {
border-left: 20px solid {{ event.status.color }};
}
</style>
<div class="source-status-{{ event.status.id }}">
...
</div>
Is there any way to set CSS property of a ::before pseudo element in Angular component?