Simon
Simon

Reputation: 1463

Sencha Touch UI Button Icon: how to enable the use of the original color?

i created several buttons in a toolbar with custom icons. however, it turns out that these icons are all in black instead of their original colors. how could I make it by using CSS?

thanks!

Upvotes: 0

Views: 976

Answers (2)

David Kaneda
David Kaneda

Reputation: 5520

Also: you can inspect and remove rules for the -webkit-mask, and replace them with background images.

Upvotes: 1

Luis
Luis

Reputation: 6001

Just apply a background colour to them using css, if you are properly applying the icons (with a mask), that should change its colour

Upvotes: 1

Related Questions