We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d3b63 commit 9c53b7aCopy full SHA for 9c53b7a
src/material/schematics/ng-add/theming/create-custom-theme.ts
@@ -40,9 +40,9 @@ $${name}-theme: mat.define-theme((
40
41
// Comment out the line below if you want to use the pre-defined typography utility classes.
42
// For more information: https://material.angular.io/guide/typography#using-typography-styles-in-your-application.
43
-// @include mat.typography-hierarchy($theme);
+// @include mat.typography-hierarchy($${name}-theme);
44
45
// Comment out the line below if you want to use the deprecated \`color\` inputs.
46
-// @include mat.color-variants-backwards-compatibility($theme);
+// @include mat.color-variants-backwards-compatibility($${name}-theme);
47
`;
48
}
0 commit comments