allow string values like 'sans-serif'

and 'border-box'
also, print the values when there is a `TypeError` as this is much more helpful