How do I change a theme for publishing my quiz?

Change Theme
Locate the unpublished quiz you want to publish and click "Edit" in the toolbar:

Click "Styles & Settings" in the upper toolbar. Then choose a theme you'd like to switch to from the theme dropdown, as shown on the screenshot below: 

The new theme you select will be automatically configured.