I am figuring out how to apply styling to a reusable Angular component from within a client project. See Theme/style Angular 2 reusable component libraries => look for "follow up".
I now have one issue remaining:
I try to use a SCSS variable inside a CSS variable, but that CSS variable does not seem to be defined:
$primary-color: #666666;
// styling reusable components
:root {
--ang-ux-primary-color: $primary-color;
}
In other component (in other component library, built separately):
$primary-color: var(--ang-ux-primary-color, #5FB0FD);
$primary-color seems to be empty... not #666666, neither #5FB0FD.