code: def get_theming_attribute(self, mode, name, part=None):
          
          colours = int(self._config.get('colourmode'))
          return self._theme.get_attribute(colours, mode, name, part)
docs: looks up theming attribute
  
          :param mode: ui-mode (e.g. `search`,`thread`...)
          :type mode: str
          :param name: identifier of the atttribute
          :type name: str
          :rtype: urwid.AttrSpec