revert legacy style definitions