title: Angular Material2 use different theme (colors) for different builds/environments
body: <p>I got an Angular6 app that uses the CLI and material2 with a custom theme. Now for another customer I want to use that same app, but with different colors. How can I do this? I don't want to maintain a second code base so it has to be something with the build and/or environment I think so?</p>
  
  <p>My theme which is imported in <code>styles.scss</code>:</p>
  
  <pre><code>@import '~@angular/material/theming';
  // Plus imports for other components in your app.
  
  // Include the common styles for Angular Material. We include this here 
  so that you only
  // have to load a single css file for Angular Material in your app.
  // Be sure that you only ever include this mixin once!
  @include mat-core();
  
  // 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-blue, 500);
  $app-accent: mat-palette($mat-blue, 900);
  
  // 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);
  
  // Include theme styles for core and each component used in your app.
  // Alternatively, you can import and @include the theme mixins for each 
  component
  // that you are using.
  @include angular-material-theme($app-theme);
  </code></pre>