Last active
January 29, 2019 10:44
-
-
Save shhdharmen/fdfe53447c0ee942cb1a1e2193277c81 to your computer and use it in GitHub Desktop.
angular material theme with custom theme file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom Theming for Angular Material | |
// For more information: https://material.angular.io/guide/theming | |
@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(); | |
// import our custom theme | |
@import './theme.scss'; | |
// import custom componenet themes | |
@import './custom-component-themes.scss'; | |
// 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($theming-material-components-theme); | |
@include custom-components-theme($theming-material-components-theme); | |
/* You can add global styles to this file, and also import other style files */ | |
html, body { height: 100%; } | |
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment