Ejemplo n.º 1
0
        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
Ejemplo n.º 2
0
 def default_string(self):
     return hex_value(self.default)
Ejemplo n.º 3
0
 def default_string(self):
     return hex_value(self.default)