def print_theme(theme: str):
    themes_dir = self._resource_path('themes')
    theme_file = (themes_dir / f'{theme}.yaml')
    if (not theme_file.is_file()):
        raise ConfigError(f'Failed printing "{theme}" theme, "{theme_file}" not found')
    log.color_print(theme_file, log.Color.BOLD)
    print(yaml.dump(self._load(theme_file)))
def print_theme(theme: str):
    themes_dir = self._resource_path('themes')
    theme_file = (themes_dir / f'{theme}.yaml')
    if (not theme_file.is_file()):
        raise ConfigError(f'Failed printing "{theme}" theme, "{theme_file}" not found')
    log.color_print(theme_file, log.Color.BOLD)
    print(yaml.dump(self._load(theme_file)))