@glpi-project/illustrations

中文文档
0.9.1发布于 2025/11/07CC-BY-SA-4.0零依赖近 30 天下载 1.2万

Collections of SVG assets made by GLPI team for various projects.

原始使用文档
文档目录5 节
  1. Scenes
  2. Icons
  3. Usage
  4. License
  5. Credits

GLPI illustrations

Collections of SVG assets made by GLPI team for various projects.

Scenes

SVG illustrations from glpi-project.org website

Working people

Icons

SVG icons for github.com/glpi-project/glpi application.
They have been made mainly for the new service catalog of 11.0 version.

Icons

Usage

npm install @glpi-project/illustrations

Most icons have their colors customizable with CSS variables.
So, set the colors for the icons in your CSS:

:root {
    --glpi-illustrations-background: #FFFFFF;
    --glpi-illustrations-header-dark: #2F3F64;
    --glpi-illustrations-header-light: #BCC5DC;
    --glpi-illustrations-primary: #FEC95C;
}

Add an icon on your page with the following markup:

<svg width="24" height="24">
  <use xlink:href="path/to/glpi-illustrations.svg#approve-requests" />
</svg>

License

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY SA 4.0

Credits

Thanks to all the contributors who made this work possible.

版本与发布记录

@glpi-project/illustrations 共发布 21 个版本,首次发布于 2024/12/12;过去 12 个月发布了 0 个版本。

版本发布日期距今
0.9.1latest2025/11/071 年前
0.9.02025/11/071 年前
0.8.02025/10/201.1 年前
0.7.02025/07/251.3 年前
0.6.32025/07/021.4 年前
0.6.22025/06/301.4 年前

关于 @glpi-project/illustrations 的常见问题

@glpi-project/illustrations 是什么?

Collections of SVG assets made by GLPI team for various projects.

如何安装 @glpi-project/illustrations?

在项目目录运行 npm install @glpi-project/illustrations,或使用 pnpm add / yarn add / bun add。

@glpi-project/illustrations 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/glpi-project__illustrations 是否存在。

@glpi-project/illustrations 可以商用吗?

@glpi-project/illustrations 使用 CC-BY-SA-4.0 许可。声明的许可为 CC-BY-SA-4.0,请阅读许可原文确认使用条件。以上为概括,不构成法律意见,请以许可原文为准。

@glpi-project/illustrations 的下载量有多少?

根据 npm 官方下载统计,@glpi-project/illustrations 在 2026/10/17 – 2026/11/15 这 30 天内被下载 11,754 次,日均约 392 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@glpi-project/illustrations 还在维护吗?

最新版本 0.9.1 发布于 2025/11/07(1 年前);至今共发布 21 个版本,其中过去 12 个月发布了 0 个;首次发布于 2024/12/12。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。