Handle theme configuration