Add gradients to the frame