Closed virusakos closed 7 years ago
I have a similar problem. After I updated to angular 2.2.3 all of my css has been impacted.
Looks like this is related to vaadin/angular2-polymer-quickstart#10 which is related to #104 so there is no need to have this open
As the title says, I am facing an issue with component CSS when working on an Angular2 CLI app.
I have followed the Using Polymer Elements in Angular CLI Webpack Applications guide to setup my app.
According to the guide,
index.html
app.component.html
app.component.ts
app.component.css
The issue is that colours are not being applied to the toolbar.
If I explicitly define a colour for the background with, say,
then it works fine.
The background changes as well if I put
in index.html inside
<style is="custom-style">...</style>
.Only if I have the CSS in app.component.css it does not work.
I suspect that app.component.css does not have the reference to
paper-styles/color.html
so it doesn't know about thevars
. Is that the case? How can I use thevars
in the app.component.css?