I'm using angular-cli and the theming guide in order to created a custom theme in a angular/material2 application.
In the scss file the primary and accent colors are assigned to the $primary and $accent scss variables accordingly.
Is there any way to use the $primary variable in a custom component scss style? Any atempt results: 'Undefined variable: "$primary"' when angular-cli tries to compile the component's stylesheet.
Thank you in advance