- ui.js: 顶栏最右按钮 data-act=cancel 文本「取消」→「关闭」,加 class vz-btn-close(行为不变) - ui.css: 新增 .vz-btn-close 用编辑器主色调 #33566f(.vz-seg 选中态同款)填充 + #eaf6ff 文字,与左边三颗灰色产出按钮区分;hover/active 提亮 - ⚠ 重要修正:0.5.0 的全屏改动当时只改了产物 src/index.js,源码 plugin/ui.css 没同步(仍是 92vw 居中卡片)—— 若将来 build 会回退。本次把全屏(100vw×100vh、去圆角/阴影/边框)补进 plugin/ui.css 源码 + 重新 build 产物,源码与产物一致。 - version 0.5.0→0.6.0(package.json,build 注入 banner) - build image-vectorize 通过,validate 10/10
12 lines
344 B
JSON
12 lines
344 B
JSON
{
|
|
"name": "@iwb-plugin/image-vectorize",
|
|
"private": true,
|
|
"version": "0.6.0",
|
|
"description": "位图转矢量:potrace(纯 JS)单色/灰度描摹,输出 SVG 与 PNG 节点;对文字、logo、线稿保形好,不需要 wasm",
|
|
"ibwPlugin": {
|
|
"id": "image-vectorize",
|
|
"entry": "src/index.js",
|
|
"apiVersion": 1
|
|
}
|
|
}
|