Skip to content
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

Closed
szerner opened this issue Aug 22, 2016 · 3 comments
Closed

[ionic 2 enhancement] ion-searchbar: dynamically set colors for icons #7826

szerner opened this issue Aug 22, 2016 · 3 comments

Comments

@szerner
Copy link

szerner commented Aug 22, 2016

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 and search-icon, but not for the cancel-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!

@okonon
Copy link

okonon commented Nov 8, 2016

@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!

@jgw96
Copy link
Contributor

jgw96 commented Jun 5, 2017

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!

@jgw96 jgw96 closed this as completed Jun 5, 2017
@ionitron-bot
Copy link

ionitron-bot bot commented Sep 2, 2018

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants