implement layout theming