Skip to content

Commit 5c1cc1b

Browse files
author
Bruno da Silva joão
authored
Update theming.md
Shortest example.
1 parent 2388c76 commit 5c1cc1b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

docs/theming.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,6 @@ You can consume the theming functions and variables from the @angular/material/c
117117
// Import a pre-built theme
118118
@import '~@angular/material/core/theming/prebuilt/deep-purple-amber';
119119

120-
// Extract whichever individual palettes you need from the pre-built theme.
121-
$primary: map-get($theme, primary);
122-
$accent: map-get($theme, accent);
123-
124120
// Use md-color to extract individual colors from a palette as necessary.
125121
.candy-carousel {
126122
background-color: md-color($primary);

0 commit comments

Comments
 (0)