def list_themes():
    themes_dir = self._resource_path('themes')
    themes = [file.name.split('.')[0] for file in themes_dir.iterdir()]
    if (len(themes) < 1):
        log.warn('Cannot list themes, themes directory is empty')
    else:
        log.color_print('Themes:', log.Color.BOLD)
        for theme in themes:
            log.color_print(f'    {theme}', log.Color.BLUE)
def list_themes():
    themes_dir = self._resource_path('themes')
    themes = [file.name.split('.')[0] for file in themes_dir.iterdir()]
    if (len(themes) < 1):
        log.warn('Cannot list themes, themes directory is empty')
    else:
        log.color_print('Themes:', log.Color.BOLD)
        for theme in themes:
            log.color_print(f'    {theme}', log.Color.BLUE)