mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
Allowing md-button-toggle color to be overwritten (#2602)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user