custom-theme.scss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Custom Theming for Angular Material
  2. // For more information: https://material.angular.io/guide/theming
  3. @use '@angular/material' as mat;
  4. // Plus imports for other components in your app.
  5. // Include the common styles for Angular Material. We include this here so that you only
  6. // have to load a single css file for Angular Material in your app.
  7. // Be sure that you only ever include this mixin once!
  8. @include mat.core();
  9. // Define the palettes for your theme using the Material Design palettes available in palette.scss
  10. // (imported above). For each palette, you can optionally specify a default, lighter, and darker
  11. // hue. Available color palettes: https://material.io/design/color/
  12. $sistema-mantenimiento-front-primary: mat.define-palette(mat.$indigo-palette);
  13. $sistema-mantenimiento-front-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
  14. // The warn palette is optional (defaults to red).
  15. $sistema-mantenimiento-front-warn: mat.define-palette(mat.$red-palette);
  16. // Create the theme object. A theme consists of configurations for individual
  17. // theming systems such as "color" or "typography".
  18. $sistema-mantenimiento-front-theme: mat.define-light-theme((
  19. color: (
  20. primary: $sistema-mantenimiento-front-primary,
  21. accent: $sistema-mantenimiento-front-accent,
  22. warn: $sistema-mantenimiento-front-warn,
  23. )
  24. ));
  25. // Include theme styles for core and each component used in your app.
  26. // Alternatively, you can import and @include the theme mixins for each component
  27. // that you are using.
  28. @include mat.all-component-themes($sistema-mantenimiento-front-theme);