Skip to content

Commit c50cb48

Browse files
committed
Remove hardcoded hues from checkbox/pseduo checkbox
1 parent 02b2cc9 commit c50cb48

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/lib/checkbox/_checkbox-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@
3939

4040
.mat-checkbox-indeterminate, .mat-checkbox-checked {
4141
&.mat-primary .mat-checkbox-background {
42-
background-color: mat-color($primary, 500);
42+
background-color: mat-color($primary);
4343
}
4444

4545
&.mat-accent .mat-checkbox-background {
46-
background-color: mat-color($accent, 500);
46+
background-color: mat-color($accent);
4747
}
4848

4949
&.mat-warn .mat-checkbox-background {
50-
background-color: mat-color($warn, 500);
50+
background-color: mat-color($warn);
5151
}
5252
}
5353

src/lib/core/selection/pseudo-checkbox/_pseudo-checkbox-theme.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@
2525

2626
.mat-pseudo-checkbox-checked, .mat-pseudo-checkbox-indeterminate {
2727
&.mat-primary {
28-
background: mat-color($primary, 500);
28+
background: mat-color($primary);
2929
}
3030

3131
&.mat-accent {
32-
background: mat-color($accent, 500);
32+
background: mat-color($accent);
3333
}
3434

3535
&.mat-warn {
36-
background: mat-color($warn, 500);
36+
background: mat-color($warn);
3737
}
3838

3939
&.mat-pseudo-checkbox-disabled {

0 commit comments

Comments
 (0)