How can you setup a index.scss and import global stylesheets for variables, mixins, etc, to an angular 6 library?
Angular CLI generates a lib with a root component &
Have you tried setting the encapsulation level of the component to none as part of the component metadata? Like this:
@Component({
selector: 'app-component',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss'],
encapsulation: ViewEncapsulation.None
})
The ViewEncapsulation levels are:
Check out the Angular Docs on ViewEncapsulation and I wrote a blog post on it.