mapping views to regions in a theme