When placing closed elements gradient fills can be applied from the tool settings dialog. Options for gradient fills include one, two or multiple color gradients.
Editing or adding multiple colors is done by selecting the color box in at the bottom of the linear gradient.