(self, style)
return fill
Get the correct color for the token from the style.
Get the correct color for the token from the style.
Get the correct color for the token from the style .
def _get_text_color(self, style):
        """
        Get the correct color for the token from the style.
        """
        if style['color'] is not None:
            fill = '#' + style['color']
        else:
            fill = '#000'
        return fill
def _get_text_color ( self , style ) : if style [ 'color' ] is not None : fill = '#' + style [ 'color' ] else : fill = '#000' return fill