Created
February 16, 2019 21:14
-
-
Save ZacharyCouchman/15618735ac5b3f3e1328b1709c3f9040 to your computer and use it in GitHub Desktop.
How to include a custom material design theme to your angular project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "~@angular/material/theming"; | |
@include mat-core(); | |
// Standard material custom theme setup | |
$primary: mat-palette($mat-blue, 800, 500, 900); | |
$accent: mat-palette($mat-pink, 500, 300, 700); | |
$warn: mat-palette($mat-red, 700); | |
$my-theme: mat-light-theme($primary, $accent, $warn); | |
@include angular-material-theme($my-theme); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment