Bug(?): Tab icons not using primary variable

When I change the primary color in the color creator app it changes the color of the active tab and its text color but when I use the created color variables in my app, the tab icons still have the original color. It seems like it does not use the primary variable. Is this a bug or intended? How should I change the tab color instead?