def METHOD_NAME(self, name: str) -> Theme:
    """Get a theme for given *name*."""
    if name in self.themes:
        theme = self.themes[name]
    else:
        theme = self.find_user_theme(name) or Theme(name)
    theme.update(self.config)
    return theme