Skip to content

Commit b36c6a0

Browse files
authored
refactor: remove contrast color overrides (#3411)
closes #2317
1 parent bc26b7d commit b36c6a0

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

src/styles/mdc_overwrites/mdc_overwrites.scss

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,41 +6,11 @@
66
* more background: https://github.com/angular/components/issues/25981#issuecomment-1515332869
77
*/
88

9-
/* Text color for fab buttons otherwise defaults to black */
10-
.mat-mdc-fab.mat-accent,
11-
.mat-mdc-mini-fab.mat-accent {
12-
--mat-fab-foreground-color: #{mat.m2-get-contrast-color-from-palette(
13-
theme.$accent,
14-
A200
15-
)} !important;
16-
}
17-
18-
/* Text color for buttons with accent color otherwise defaults to black */
19-
.mat-mdc-raised-button:not(:disabled)[color="accent"] {
20-
--mdc-protected-button-label-text-color: #{mat.m2-get-contrast-color-from-palette(
21-
theme.$accent,
22-
A200
23-
)} !important
24-
;
25-
}
26-
279
/* Progress bar background color should have opacity to indicate progress */
2810
.mat-mdc-progress-bar .mdc-linear-progress__buffer-bar {
2911
opacity: 25%;
3012
}
3113

32-
/* Color for enabled checkbox otherwise defaults to black */
33-
.mdc-checkbox
34-
.mdc-checkbox__native-control:enabled
35-
~ .mdc-checkbox__background
36-
.mdc-checkbox__checkmark {
37-
--mdc-checkbox-selected-checkmark-color: #{mat.m2-get-contrast-color-from-palette(
38-
theme.$accent,
39-
A200
40-
)} !important
41-
;
42-
}
43-
4414
/* Color for selected date range in date picker defaults to white */
4515
.mat-calendar-body-in-range::before {
4616
--mat-datepicker-calendar-date-in-range-state-background-color: #{color-mix(

0 commit comments

Comments
 (0)