Skip to content

Commit f9bff38

Browse files
committed
update styling configuration
1 parent 3b2ce1b commit f9bff38

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

webapp/src/styles.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
// If you don't need the default component typographies but still want the hierarchy styles,
1515
// you can delete this line and instead use:
1616
// `@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();
1918

2019
// Define the palettes for your theme using the Material Design palettes available in palette.scss
2120
// (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);
2625
// The warn palette is optional (defaults to red).
2726
$webapp-warn: mat.define-palette(mat.$red-palette);
2827

29-
$webapp-typography: mat.define-legacy-typography-config($font-family: 'Cascadia Code');
28+
$webapp-typography: mat.define-typography-config($font-family: 'Cascadia Code');
3029

3130
// Create the theme object. A theme consists of configurations for individual
3231
// theming systems such as "color" or "typography".
@@ -39,7 +38,7 @@ $webapp-theme: mat.define-dark-theme((color: (primary: $webapp-primary,
3938
// Include theme styles for core and each component used in your app.
4039
// Alternatively, you can import and @include the theme mixins for each component
4140
// that you are using.
42-
@include mat.all-legacy-component-themes($webapp-theme);
41+
@include mat.all-component-themes($webapp-theme);
4342

4443
/* You can add global styles to this file, and also import other style files */
4544

0 commit comments

Comments
 (0)