Skip to content

Commit

Permalink
docs(theming): cleanup grammar on overlay theming (#4089)
Browse files Browse the repository at this point in the history
  • Loading branch information
willshowell authored and jelbourn committed Apr 13, 2017
1 parent 0acd4d9 commit 1de1f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions guides/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ interaction (how to lazily load the CSS assets will vary based on your applicati
It's important to remember, however, that the `mat-core` mixin should only ever be included _once_.

##### Multiple themes and overlay-based components
Since certain components (e.g. `dialog`) are inside of a global overlay container, the css class
that determines the theme (such as the `.unicorn-dark-theme` example above), an additional step is
needed to affect overlay-based components (menu, select, dialog, etc.).
Since certain components (e.g. menu, select, dialog, etc.) are inside of a global overlay container,
an additional step is required for those components to be affected by the theme's css class selector
(`.unicorn-dark-theme` in the example above).

To do this, you can specify a `themeClass` on the global overlay container. For the example above,
this would look like:
Expand Down

0 comments on commit 1de1f72

Please sign in to comment.