Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

chore(web): shuffle 图标登记为自绘,前端固定依赖检查恢复同步

longmeidaobf3176c01e82
diff --git a/scripts/vendor_web_dependencies.mjs b/scripts/vendor_web_dependencies.mjs
index 021b088b2..39714a81d 100644
--- a/scripts/vendor_web_dependencies.mjs
+++ b/scripts/vendor_web_dependencies.mjs
@@ -74,8 +74,9 @@ const lucideIcons = new Map([
["eye-off", "eye-off"], ["grip-vertical", "grip-vertical"], ["trash", "trash-2"],
// 卡片右上角那个点点点菜单的触发钮,和菜单里的「编辑名称」。
["ellipsis", "ellipsis"], ["pencil", "pencil"],
- // 动作图标:一个动作一枚,不共用「转圈」当万能替身。
- ["shuffle", "shuffle"], ["unlink", "unlink"], ["git-compare", "git-compare"],
+ // 动作图标:一个动作一枚,不共用「转圈」当万能替身。`shuffle` 不在这里:它的几何
+ // 取自 Lucide,但为忙态动效拆成两条带 pathLength 的 strand,归 handDrawnIcons。
+ ["unlink", "unlink"], ["git-compare", "git-compare"],
["compass", "compass"], ["folder-sync", "folder-sync"], ["expand", "expand"],
["zoom-in", "zoom-in"], ["zoom-out", "zoom-out"],
["plus", "plus"], ["minus", "minus"], ["check", "check"],
@@ -110,6 +111,9 @@ const lucideIcons = new Map([
// 零件不带那个前缀,也就不进这张名单。
const handDrawnIcons = new Set([
"alert", "pics", "jav", "theater-enter", "theater-exit", "brand-x",
+ // 「换一批」:Lucide shuffle 的线条拆成 strand-a/strand-b 两条 path 供忙态逐条画出,
+ // 上游一刷新就会把两条并回五条,所以由手工维护。
+ "shuffle",
]);
const svgInner = source => {
diff --git a/web/vendor/lucide-ORIGIN.md b/web/vendor/lucide-ORIGIN.md
index b75cc80ac..de9d5f2c3 100644
--- a/web/vendor/lucide-ORIGIN.md
+++ b/web/vendor/lucide-ORIGIN.md
@@ -3,7 +3,7 @@
- npm 包:`[email protected]`
- npm lock integrity:`sha512-ln37Ng6A709exLQH4pBxrbl6FAUk/ZBLTJnLrj02HN/Bb84eUGzlA2JjMglScI0TEab6vH2UVs0hm4vGgLzTrQ==`
- 许可证:ISC;原文见 `lucide-LICENSE.txt`
-- 消费者:`web/index.html` 内联的 78 个 symbol
+- 消费者:`web/index.html` 内联的 77 个 symbol
-雪碧图里另有 6 枚自绘 symbol(alert、pics、jav、theater-enter、theater-exit、brand-x)与 16 枚 player-* 前缀的播放器图标,都没有上游可对。
+雪碧图里另有 7 枚自绘 symbol(alert、pics、jav、theater-enter、theater-exit、brand-x、shuffle)与 16 枚 player-* 前缀的播放器图标,都没有上游可对。
RSS 与拖动点保留填充修正,避免小圆点在全局描边样式下消失。