def METHOD_NAME(self, name: str) -> None:
    """Try to load a theme using entry_points.
    Sphinx refers to ``sphinx_themes`` entry_points.
    """
    # look up for new styled entry_points at first
    theme_entry_points = entry_points(group='sphinx.html_themes')
    try:
        entry_point = theme_entry_points[name]
        self.app.registry.load_extension(self.app, entry_point.module)
        self.app.config.post_init_values()
        return
    except KeyError:
        pass