create-custom-theme.js 836 B

123456789101112131415161718192021222324252627282930
  1. "use strict";
  2. /**
  3. * @license
  4. * Copyright Google LLC All Rights Reserved.
  5. *
  6. * Use of this source code is governed by an MIT-style license that can be
  7. * found in the LICENSE file at https://angular.dev/license
  8. */
  9. Object.defineProperty(exports, "__esModule", { value: true });
  10. exports.createCustomTheme = createCustomTheme;
  11. /** Create custom theme for the given application configuration. */
  12. function createCustomTheme(name = 'app') {
  13. return `
  14. // Custom Theming for Angular Material
  15. // For more information: https://material.angular.dev/guide/theming
  16. @use '@angular/material' as mat;
  17. html {
  18. @include mat.theme((
  19. color: (
  20. theme-type: light,
  21. primary: mat.$azure-palette,
  22. tertiary: mat.$blue-palette,
  23. ),
  24. typography: Roboto,
  25. density: 0,
  26. ));
  27. }`;
  28. }
  29. //# sourceMappingURL=create-custom-theme.js.map