Skip to content

Commit 525a3c8

Browse files
committed
refactor(angular-sample): remove unnecessary styles
1 parent 27a66d5 commit 525a3c8

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

src/app/theming/angular/angular-sample.component.scss

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,20 @@ $custom-dark-palette: palette(
4747

4848
$light-palette-primary: mat.define-palette(material-like-palette('primary', $saturations, $igx-light-palette));
4949
$light-palette-accent: mat.define-palette(material-like-palette('secondary', $saturations, $igx-light-palette));
50-
$light-palette-warn: mat.define-palette(material-like-palette('warn', $saturations, $igx-light-palette));
5150
$custom-mat-light-theme: mat.define-light-theme((
5251
color: (
5352
primary: $light-palette-primary,
54-
accent: $light-palette-accent,
55-
warn: $light-palette-warn,
53+
accent: $light-palette-accent
5654
),
57-
typography: $custom-typography,
58-
density: 0,
55+
typography: $custom-typography
5956
));
6057

6158
$dark-palette-primary: mat.define-palette(material-like-palette('primary', $saturations, $custom-dark-palette));
6259
$dark-palette-accent: mat.define-palette(material-like-palette('secondary', $saturations, $custom-dark-palette));
63-
$dark-palette-warn: mat.define-palette(material-like-palette('warn', $saturations, $custom-dark-palette));
6460
$custom-mat-dark-theme: mat.define-dark-theme((
6561
color: (
6662
primary: $dark-palette-primary,
67-
accent: $dark-palette-accent,
68-
warn: $dark-palette-warn
63+
accent: $dark-palette-accent
6964
)
7065
));
7166

0 commit comments

Comments
 (0)