disable theming conditionally