restrict styles to themes where applicable