Revert "Remove cssTextHasContrast from the build"

This reverts commit ec84fd8a461d5d2d40245c437fad5ceb920ec0e1.