cursor color based on the current mode