14
14
// If you don't need the default component typographies but still want the hierarchy styles,
15
15
// you can delete this line and instead use:
16
16
// `@include mat.legacy-typography-hierarchy(mat.define-legacy-typography-config());`
17
- @include mat .all-legacy-component-typographies ();
18
- @include mat .legacy-core ();
17
+ @include mat .core ();
19
18
20
19
// Define the palettes for your theme using the Material Design palettes available in palette.scss
21
20
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
@@ -26,7 +25,7 @@ $webapp-accent: mat.define-palette(mat.$pink-palette, A200, A100, A400);
26
25
// The warn palette is optional (defaults to red).
27
26
$webapp-warn : mat .define-palette (mat .$red-palette );
28
27
29
- $webapp-typography : mat .define-legacy- typography-config ($font-family : ' Cascadia Code' );
28
+ $webapp-typography : mat .define-typography-config ($font-family : ' Cascadia Code' );
30
29
31
30
// Create the theme object. A theme consists of configurations for individual
32
31
// theming systems such as "color" or "typography".
@@ -39,7 +38,7 @@ $webapp-theme: mat.define-dark-theme((color: (primary: $webapp-primary,
39
38
// Include theme styles for core and each component used in your app.
40
39
// Alternatively, you can import and @include the theme mixins for each component
41
40
// that you are using.
42
- @include mat .all-legacy- component-themes ($webapp-theme );
41
+ @include mat .all-component-themes ($webapp-theme );
43
42
44
43
/* You can add global styles to this file, and also import other style files */
45
44
0 commit comments