Icon does not retain its variant color after library update

Hi. I stumbled upon an issue with the color for the icon after updating the library. Is this a bug or a feature?

This problem greatly limits the flexibility of the system. Does anyone know how to get around this problem?

Links to documents:
Icon library
Design system
Test polygon