Skip to content

Instantly share code, notes, and snippets.

@kyleledbetter
Last active August 1, 2017 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kyleledbetter/79ddf531050319ac8db88340078ab16a to your computer and use it in GitHub Desktop.
Save kyleledbetter/79ddf531050319ac8db88340078ab16a to your computer and use it in GitHub Desktop.
Angular-Material2 utility styles
@import "theme";
// You can add global styles to this file that will cascade like normal CSS
// Active icon color in list nav
md-nav-list {
[md-list-item].active {
md-icon[md-list-avatar] {
background-color: mat-color($accent);
color: mat-color($accent, default-contrast)
}
md-icon[md-list-icon] {
color: mat-color($accent);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment