Skip to content

Instantly share code, notes, and snippets.

@shhdharmen
Last active January 29, 2019 10:34
Show Gist options
  • Save shhdharmen/2313679ea2b6697b9e1d1c8658c40ca3 to your computer and use it in GitHub Desktop.
Save shhdharmen/2313679ea2b6697b9e1d1c8658c40ca3 to your computer and use it in GitHub Desktop.
theme file for angular material
// 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. Available color palettes: https://material.io/design/color/
$theming-material-components-primary: mat-palette($mat-indigo);
$theming-material-components-accent: mat-palette($mat-pink, A200, A100, A400);
// The warn palette is optional (defaults to red).
$theming-material-components-warn: mat-palette($mat-red);
// Create the theme object (a Sass map containing all of the palettes).
$theming-material-components-theme: mat-light-theme($theming-material-components-primary, $theming-material-components-accent, $theming-material-components-warn);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment