Skip to content

Commit df96245

Browse files
visurelwagnermaciel
authored andcommitted
docs: use valid SCSS variables for example (#21076)
(cherry picked from commit f62f1cf)
1 parent 3ee3e30 commit df96245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/theming-your-components.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ For example, if building a custom carousel component:
2222
// Define any styles affected by the theme.
2323
.candy-carousel {
2424
// Use mat-color to extract individual colors from a palette.
25-
background-color: mat-color($config);
26-
border-color: mat-color($config, A400);
25+
background-color: mat-color($primary);
26+
border-color: mat-color($accent, A400);
2727
}
2828
}
2929
```

0 commit comments

Comments
 (0)