mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-24 23:01:57 +08:00
fix(button): use correct fill color for icons
This commit is contained in:
@ -168,6 +168,13 @@
|
||||
|
||||
}
|
||||
|
||||
// iOS Toolbar Button Icon
|
||||
// --------------------------------------------------
|
||||
|
||||
.bar-button-ios .icon {
|
||||
fill: $toolbar-ios-button-icon-fill-color;
|
||||
}
|
||||
|
||||
|
||||
// iOS Toolbar Button Outline
|
||||
// --------------------------------------------------
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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
|
||||
// --------------------------------------------------
|
||||
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user