Skip to content

Commit 1547440

Browse files
jefersonestevoandrewseguin
authored andcommitted
feat(button-toggle): Show selected option when md-button-toggle is disabled (#3012)
Fixes #3007
1 parent ec7e2e4 commit 1547440

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/button-toggle/_button-toggle-theme.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,9 @@
1818
.mat-button-toggle-disabled {
1919
background-color: map_get($mat-grey, 200);
2020
color: mat-color($foreground, disabled-button);
21+
22+
&.mat-button-toggle-checked {
23+
background-color: mat-color($mat-grey, 400);
24+
}
2125
}
2226
}

0 commit comments

Comments
 (0)