Skip to content

Commit 2388c76

Browse files
author
Bruno da Silva joão
authored
Update theming-your-components.md
Removed unnecessary imports.
1 parent 21e80d1 commit 2388c76

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

docs/theming-your-components.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,9 @@ All you need is to create a @mixin function in the custom-component-theme.scss
4747
}
4848
```
4949

50-
Now you have to apply a theme to the custom component. We have to call the @mixin function to apply the custom theme:
50+
Now you just have have to call the @mixin function to apply the theme:
5151

5252
```sass
53-
// Import theming functions and variables
54-
@import '~@angular/material/core/theming/all-theme';
5553
// Import a pre-built theme
5654
@import '~@angular/material/core/theming/prebuilt/deep-purple-amber';
5755
// Import your custom input theme file so you can call the custom-input-theme function

0 commit comments

Comments
 (0)