If I pass multiple .css files into a @Component decorator’s styleUrls property, only rules in the last .css file are applied. For instance in the code below only the rules in two.css are applied:
@Component({
selector: "foo",
template: "...",
styleUrls: ["path/to/one.css", "path/to/two.css"]
})
This is a reasonably big limitation because using @import in .css files imported by Angular also doesn’t appear to work (which might be another issue?).
Thanks.
If I pass multiple
.cssfiles into a@Componentdecorator’sstyleUrlsproperty, only rules in the last.cssfile are applied. For instance in the code below only the rules intwo.cssare applied:This is a reasonably big limitation because using
@importin.cssfiles imported by Angular also doesn’t appear to work (which might be another issue?).Thanks.