mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00

Use the mode instead of the sass variable to determine which color the buttons in a toolbar should be based on the background color. Added error messages when anything other than a color is passed and more comments. BREAKING CHANGES: ios mode `$toolbar-ios-button-color` now has a default value of `color-contrast($colors-ios, $toolbar-ios-background, ios)` which will evaluate to the primary color for light background toolbars and white for dark background toolbars. fixes #6364