Make themes#generate_color_map robust against undefined highlights