I am building an angular2 app using angular material2. I am trying to set the background of my application \"the correct way\", but I can\'t figure out how.
I found
Not exactly answer to your question, but I guess many people will end up here searching for "how to set app background color".
In your project/index.html set your body class to mat-app-background
And make sure in your project/angular.json you have:
"styles": [
"./node_modules/@angular/material/prebuilt-themes/YOUR_STYLE.css",
...
],