Verify (Gitea) / gate (build · unit · facts) (push) Failing after 46s
用户反馈两个贴节点浮层的选项文字偏小。改动集中在 .iwb-pop 的 6 个 token (两个面板共用同一套,改一处两边同步): - --iwb-pop-chip-size font-xs(11) → font-md(13) - --iwb-pop-chip-h 22px → 28px - --iwb-pop-chip-pad-x space-6(6) → space-10(10) - --iwb-pop-chip-gap space-4(4) → space-6(6) - --iwb-pop-title-size font-sm(12) → font-base(14) - --iwb-pop-w 328px → 360px(抵消放大后多出来的换行) 辅助小字同步:.iwb-setlabel 11→12、.iwb-setalign/.iwb-gc-label/.iwb-gc-sub 12→13、.iwb-pop .iwb-set-num 12→13、新增 .iwb-pop .iwb-hint 10→12。 顺带修 .iwb-gen-config 宽度写死 min(92vw,320px)(绕过 token,字号放大后 不跟着变宽)→ 引用 var(--iwb-pop-w)。 契约不变:模型名仍单行不省略、超长独占一行(min-width:max-content + 面板横向滚动兜底);作用域只在 .iwb-pop,画布节点与左栏不受影响。 验证:headless Chromium 实测 面板 360 / 胶囊 28px·13px·padding10 / 标题 14 / 标签 12 / 说明 12 / 数字框 13·28·68,无文字截断、无横向滚动; lint:tokens 0 处新增裸值;design-token-ratchet 13 项未超基线 (字号写死 159→152、圆角 95→92、间距 377→366);test:unit 全绿。
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.60",
|
|
"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"
|
|
}
|
|
}
|
|
}
|