File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -315,6 +315,14 @@ You can define multiple themes in separate files by creating multiple theme file
315
315
this property to ` false ` , your application becomes responsible for manually loading the desired
316
316
file. The approach for this loading depends on your application.
317
317
318
+ ### Application background color
319
+
320
+ By default, Angular Material does not apply any styles to your DOM outside
321
+ of its own components. If you want to set your application's background color
322
+ to match the components' theme, you can either:
323
+ 1 . Put your application's main content inside ` mat-sidenav-container ` , assuming you're using ` MatSidenav ` , or
324
+ 2 . Apply the ` mat-app-background ` CSS class to your main content root element (typically ` body ` ).
325
+
318
326
### Scoping style customizations
319
327
320
328
You can use Angular Material's Sass mixins to customize component styles within a specific scope
You can’t perform that action at this time.
0 commit comments