Re-implementing color transitions for svg icons