feat(image-vectorize): 顶栏「取消」改「关闭」并按主色调取色;补同步全屏到源码 v0.6.0
- 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
This commit is contained in:
1 parent
e5e1c25c24
commit
fe1d3fcaa6
4 files changed
+33
-17
No files matched your search
@@ -133,7 +133,7 @@ function viewHTML(name) {
|
||||
'<button type="button" class="vz-btn" data-act="save">保存为节点</button>' +
|
||||
'<button type="button" class="vz-btn" data-act="copy">复制 SVG</button>' +
|
||||
'<button type="button" class="vz-btn" data-act="svg">下载 SVG</button>' +
|
||||
'<button type="button" class="vz-btn" data-act="cancel">取消</button>' +
|
||||
'<button type="button" class="vz-btn vz-btn-close" data-act="cancel">关闭</button>' +
|
||||
'</header>' +
|
||||
'<div class="vz-body">' +
|
||||
'<div class="vz-preview" data-preview>' +
|
||||
|
||||
Reference in new issue
Block a user