Exemple #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
Exemple #2
0
 def default_string(self):
     return hex_value(self.default)
Exemple #3
0
 def default_string(self):
     return hex_value(self.default)