-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ionic 2 enhancement] ion-searchbar: dynamically set colors for icons #7826
Comments
@jgw96 could you please point me to right direction how to change search icon and clear button colors with CSS? thanks a lot ! keep up the good job! |
Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic! |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
I would appreciate the possibility to set the colors of the
<ion-searchbar>
component icons on the fly.Currently we can use some ionic Sass variables to define the colors for some of them (
clear-icon
andsearch-icon
, but not for thecancel-button
icon) at build time, but we cannot set the colors at runtime.This might be necessary in cases when the user should be able to choose a "color theme" for his app.
Thank you!
The text was updated successfully, but these errors were encountered: