Skip to content

Instantly share code, notes, and snippets.

@ryzy
Last active June 11, 2018 20:30
Show Gist options
  • Save ryzy/388365c55b15ed559eba9e650975156b to your computer and use it in GitHub Desktop.
Save ryzy/388365c55b15ed559eba9e650975156b to your computer and use it in GitHub Desktop.
// define your alternative colors, similar way to the default theme
...
// Create the theme object (a Sass map containing all of the palettes).
$alt-theme: mat-dark-theme($dark-primary, $dark-accent, $dark-warn);
.theme-dark {
@include angular-material-theme($my-app-theme);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment