def _lookup_style(element, names):
 return (_STYLES.get(('_' + element), '') + ''.join([_STYLES.get(name, '') for name in names]))

def _lookup_style ( element , names ) : return ( _STYLES . get ( ( '_' + element ) , '' ) + '' . join ( [ _STYLES . get ( name , '' ) for name in names ] ) )
lookup style by either element name or the list of classes .