Advertisement
Guest User

Untitled

a guest
Apr 8th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SAS 1.16 KB | None | 0 0
  1. @import '~@angular/material/core/theming/all-theme';
  2. // Plus imports for other components in your app.
  3.  
  4. // Include the base styles for Angular Material core. We include this here so that you only
  5. // have to load a single css file for Angular Material in your app.
  6. @include mat-core();
  7.  
  8. // Define the palettes for your theme using the Material Design palettes available in palette.scss
  9. // (imported above). For each palette, you can optionally specify a default, lighter, and darker
  10. // hue.
  11. $candy-app-primary: mat-palette($mat-light-blue);
  12. $candy-app-accent: mat-palette($mat-cyan, A200, A100, A400);
  13.  
  14. // The warn palette is optional (defaults to red).
  15. $candy-app-warn: mat-palette($mat-red, A700);
  16.  
  17. // Create the theme object (a Sass map containing all of the palettes).
  18. $candy-app-theme: mat-light-theme($candy-app-primary, $candy-app-accent, $candy-app-warn);
  19.  
  20. // Include theme styles for core and each component used in your app.
  21. // Alternatively, you can import and @include the theme mixins for each component
  22. // that you are using.
  23. @include angular-material-theme($candy-app-theme);
  24.  
  25. .app-primary {
  26.   @include angular-material-theme($candy-app-theme);
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement