Skip to content

Commit

Permalink
Allowing md-button-toggle color to be overwritten (#2602)
Browse files Browse the repository at this point in the history
  • Loading branch information
barrtender authored and tinayuangao committed Jan 12, 2017
1 parent b49bfce commit e74babc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/lib/button-toggle/_button-toggle-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@
$foreground: map-get($theme, foreground);
$background: map-get($theme, background);

.md-button-toggle-label-content {
md-button-toggle {
color: md-color($foreground, hint-text);
}

.md-button-toggle-checked .md-button-toggle-label-content {
.md-button-toggle-checked {
background-color: md-color($md-grey, 300);
color: md-color($foreground, base);
}
.md-button-toggle-disabled .md-button-toggle-label-content {

.md-button-toggle-disabled {
background-color: map_get($md-grey, 200);
color: md-color($foreground, disabled-button);
}
Expand Down

0 comments on commit e74babc

Please sign in to comment.