update targeting of style function in core/themes