fix(button): use correct fill color for icons

This commit is contained in:
Brandy Carney
2017-12-07 16:54:11 -05:00
parent ad08e19184
commit b79e2faef0
4 changed files with 21 additions and 0 deletions

View File

@ -168,6 +168,13 @@
}
// iOS Toolbar Button Icon
// --------------------------------------------------
.bar-button-ios .icon {
fill: $toolbar-ios-button-icon-fill-color;
}
// iOS Toolbar Button Outline
// --------------------------------------------------

View File

@ -27,6 +27,9 @@ $toolbar-ios-button-border-radius: 4px !default;
/// @prop - Font weight of the strong toolbar button
$toolbar-ios-button-strong-font-weight: 600 !default;
/// @prop - Fill color of the toolbar button icon
$toolbar-ios-button-icon-fill-color: currentColor !default;
/// @prop - Filter of the translucent toolbar
$toolbar-ios-translucent-filter: saturate(180%) blur(20px) !default;

View File

@ -174,6 +174,14 @@
}
// Material Design Toolbar Button Icon
// --------------------------------------------------
.bar-button-md .icon {
fill: $toolbar-md-button-icon-fill-color;
}
// Material Design Toolbar Button Outline
// --------------------------------------------------

View File

@ -24,5 +24,8 @@ $toolbar-md-button-color: color-contrast($colors-md, $toolbar-md-
/// @prop - Border radius of the toolbar button
$toolbar-md-button-border-radius: 2px !default;
/// @prop - Fill color of the toolbar button icon
$toolbar-md-button-icon-fill-color: currentColor !default;
/// @prop - Font weight of the strong toolbar button
$toolbar-md-button-strong-font-weight: bold !default;