update Palette to ignore elements with specific class during transition