undo css changes as they rely on colors library being loaded already, re-order functions a little