用户能感知的只有一件:深色画布上节点的连接端口看得见了。它以前是嵌在卡片上的黑洞。 端口在两个主题下往相反方向错 - 暗色:--iwb-layer(#161616) 打在节点卡(#3d3d3d) 上,差 39 级 → 改 --iwb-field(#494949),差 12 级。 - 亮色:#f5f5f5 打在 #efefef 上只靠 1.5px 描边撑着 → 改 #ffffff + 描边,白点清晰。 - 同一病灶在节点内还有 6 处一并改 field:ref-img / ref-single / ref-upload-link / refmini-empty / task-result-img / node-head:hover。 浮条 hover 在深色下没有反馈(改数字治不好) - 浮条底 --iwb-panel 与子项 hover 的 --iwb-layer2 深色下同为 #1c1c1c —— 换成 color-mix(text 10%, transparent)。任务卡「等待」按钮同理(它贴在 field 卡上)。 归并 - 字号:12→sm、15→lg、11→xs、13→md,全部等值;8/10px 微缩徽标保留(11 会撑破 12px 角标)。 - 圆角:8→control、6/5→chip、14→popover,只剩 50% 与 2px 占位条。 - 间距:52 处等值、13 处 1px 级微调;提示词节点体 14/18→12/16(节点高 −4px)。 - 阴影:浮条与节点选中/连接态的内联 rgba 走 elevation-2。 - 删 6 个死类名 / 6 条规则:gen-sizerow gen-qualityrow gen-tag size-x size-align size-badge。 守卫(tests/node-scope-test.js,进 test:unit) - 节点卡内部禁 --iwb-layer/layer2/panel 作背景(浮条除外,它是浮层);端口三态底色断言; 节点区字号/间距/圆角必须走档位;6 个死类名不复现。 验收 - 计算样式逐属性 diff:节点/标题带/端口/浮条/生图参数/任务卡,变化全部为预期项。 - 12 张基线变了 8 张(②④⑤⑥ × 亮暗,④⑤⑥ 的画布背后也有节点),逐张核对无裁切/重叠。 - 审计:字号写死 212→188、圆角 128→104、间距 483→416、style.css 2314→2307。verify:ci 全绿。
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "image-workbench",
|
|
"version": "3.26.48",
|
|
"identifier": "com.malongan.imageworkbench",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"beforeDevCommand": "npm run build",
|
|
"beforeBuildCommand": "npm run lint && npm run build && node scripts/strip-plugins.js"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "无限画布",
|
|
"width": 1440,
|
|
"height": 900,
|
|
"minWidth": 1024,
|
|
"minHeight": 640,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"dragDropEnabled": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self' blob:; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https:; font-src 'self' data:; connect-src 'self' ipc: http://ipc.localhost https: blob: data: http://127.0.0.1:30092 http://localhost:30092; object-src 'none'; base-uri 'none'; frame-ancestors 'none'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"category": "GraphicsAndDesign",
|
|
"shortDescription": "无限画布 · 生图工作台",
|
|
"longDescription": "节点式无限画布,本地编排与生成图片,支持系统原生另存为。",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/[email protected]",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"createUpdaterArtifacts": true
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://download.maqiart.eu.org/updates/latest.json"
|
|
],
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDE3QUU1N0QwQUM5RjE1RjEKUldUeEZaK3MwRmV1RnhjNVhhSlhaSHkvbVRXNDdscHpOa0s0VHF4NHBBQVJBdDQ0dEVlck5FeEsK"
|
|
}
|
|
}
|
|
}
|