I am using icons throughout my app and change their color based on the App Theme using IconTintColorBehavior from the Maui Community Toolkit. I want to add icons to the tab bar in my SFTabView and change their color in a similar way. Is there a way to do this without creating icon image files of different colors?
Example of how I change icon colors throughout my app currently...
<Image Source="gliding_skier.png" VerticalOptions="Center" HeightRequest="25">
<Image.Behaviors>
<mct:IconTintColorBehavior TintColor="{AppThemeBinding Light={StaticResource Primary},Dark={StaticResource White}}"/>
</Image.Behaviors>
</Image>
Ideally, I'd like to be able to use standard Maui Layouts in the tab bar.
Thank you.