Skip to content

Instantly share code, notes, and snippets.

@Splaktar
Created October 4, 2017 21:53
Show Gist options
  • Save Splaktar/e6ff72034405d0bd4fad3d8a42667a4f to your computer and use it in GitHub Desktop.
Save Splaktar/e6ff72034405d0bd4fad3d8a42667a4f to your computer and use it in GitHub Desktop.
Example of using Angular Material themes in custom components
@import '../../styles/theme';
.noRecordsContainer {
padding: 48px;
background-color: mat-color($app-accent, 50);
width: 100%;
}
.errorMessageContainer {
padding: 48px;
background-color: mat-color($app-warn, 50);
width: 100%;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment