Last active
November 16, 2017 11:00
-
-
Save jacobedawson/3c9d77b2b9a2f2e207dd433a95215c5d to your computer and use it in GitHub Desktop.
Angular Material Example - Custom Theme
This file contains hidden or 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'; | |
// always include only once per project | |
@include mat-core(); | |
$mytheme-primary: mat-palette($mat-green); | |
$mytheme-accent : mat-palette($mat-green, A100, A400, A700); | |
$mytheme-warn : mat-palette($mat-red); | |
$mytheme-theme: mat-light-theme($mytheme-primary, $mytheme-accent, $mytheme-warn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment