Invalid CSS after “body”: expected 1 selector or at-rule, was “{ “

This error drove me crazy for a while.

Find one difference :)

@import '~@angular/material/prebuilt-themes/deeppurple-amber.css'

body { 
  padding: 0; 
}
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';

body { 
  padding: 0; 
}