Skip to content

Commit c8e87d4

Browse files
committed
Remove hardcoded hues from chips
1 parent c50cb48 commit c8e87d4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/lib/chips/_chips-theme.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@
3232
color: $selected-foreground;
3333

3434
&.mat-primary {
35-
background-color: mat-color($primary, 500);
36-
color: mat-contrast($primary, 500);
35+
background-color: mat-color($primary);
36+
color: mat-color($primary, default-contrast);
3737
}
3838

3939
&.mat-accent {
40-
background-color: mat-color($accent, 500);
41-
color: mat-contrast($accent, 500);
40+
background-color: mat-color($accent);
41+
color: mat-color($accent, default-contrast);
4242
}
4343

4444
&.mat-warn {
45-
background-color: mat-color($warn, 500);
46-
color: mat-contrast($warn, 500);
45+
background-color: mat-color($warn);
46+
color: mat-color($warn, default-contrast);
4747
}
4848
}
4949
}

0 commit comments

Comments
 (0)