def selection_secondary_color(config): """Unused proof of concept Derived theme value that can be overridden in the config """ value = config.get("theme.selection_secondary_color", Color(None)) if value is None: color = hex_value(config["theme.selection_color"]) value = get_color(rgb2gray(color)) return value
def default_string(self): return hex_value(self.default)