Colors need to remain intact even after updating the new icon to the icon component library

I have an bordered icon component for home in a design system. Now after client’s feedbacks I need update the home icon with another style. What I found is if I replace the home icon in the component, all its instances are updated, but all the colors for the instances gets replaced to the default color of the master component. I am not complaining about union trick, it’s not about this issue. Please help :frowning: