Created
October 4, 2017 21:26
-
-
Save Splaktar/766d0a3b78b2d5ea89322a6338baeea6 to your computer and use it in GitHub Desktop.
Theme configuration example
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'; | |
// Define the palettes for your theme using the Material Design palettes available in palette.scss | |
// (imported above). For each palette, you can optionally specify a default, lighter, and darker hue. | |
$app-primary: mat-palette($mat-teal, 700, 100, 900); | |
$app-accent: mat-palette($mat-orange); | |
// The warn palette is optional (defaults to red). | |
$app-warn: mat-palette($mat-red); | |
// Create the theme object (a Sass map containing all of the palettes). | |
$app-theme: mat-light-theme($app-primary, $app-accent, $app-warn); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment