From dea1a61e32d79741d265d0f61b64d3ee87971742 Mon Sep 17 00:00:00 2001 From: barrtender Date: Wed, 11 Jan 2017 15:06:54 -0800 Subject: [PATCH] Allowing md-button-toggle color to be overwritten --- src/lib/button-toggle/_button-toggle-theme.scss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/button-toggle/_button-toggle-theme.scss b/src/lib/button-toggle/_button-toggle-theme.scss index 79760cca49dc..e46e437518a5 100644 --- a/src/lib/button-toggle/_button-toggle-theme.scss +++ b/src/lib/button-toggle/_button-toggle-theme.scss @@ -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); }