1600 多个图标,这是我做的
作者: NossieUK创建于 2025年10月26日更新于 2025年10月26日
def load_slugs(repo_root): icons_path = os.path.join(repo_root, ICONS_SUBDIR) slugs = [] for root, dirs, files in os.walk(icons_path): for f in files: if f.endswith(".svg"): slug = f[:-4] slugs.append((slug, os.path.join(root, f))) return slugs
内容来源: homarr-labs/dashboard-icons