added conditional for term colors