Skip to content

Commit 32a1775

Browse files
committed
fix fonts and remove unnecessary fields
1 parent 08579ec commit 32a1775

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

projects/material-css-vars/src/lib/_main.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
background: $mat-css-palette-background
3030
),
3131
typography: $typography-config,
32-
density: 0,
33-
foreground: $mat-css-palette-foreground,
34-
background: $mat-css-palette-background
32+
density: 0
3533
));
3634

3735
$dark-theme: mat.define-dark-theme((

src/styles.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
@import './app/app.theme';
33

44
$custom-typography: define-typography-config(
5-
$font-family: 'Roboto, monospace'
5+
$font-family: 'Roboto, monospace',
6+
$body-1: mat-typography-level(16px, 24px, 500),
7+
$headline-1: mat-typography-level(16px, 24px, 500)
68
);
79

810
@include init-material-css-vars($typography-config: $custom-typography) {

0 commit comments

Comments
 (0)