- 新增 --iwb-dock-bg = color-mix(chrome 55%, canvas 45%):亮 #E2E4E6 / 暗 #717171 改前栏身 = --iwb-panel(亮 #FFF 比画布 1.39:1;暗 #A5A5A5 比画布 2.04:1),两侧像亮度泄漏 - 新增 --iwb-dock-head-bg = color-mix(dock-bg 94%, #000):亮 #D4D6D8 / 暗 #6A6A6A 不用「往画布色混」:暗色灰阶只有 #6F–#75,那种混法 ΔL 仅 0.006 看不见 - .iwb-pcard 补 background: var(--iwb-panel):灰栏上卡片浮出(亮 1.28:1 / 暗 1.98:1) 该类仅 promptlib / grouplib 使用,不影响弹窗、首页、工具栏;--iwb-panel 本身不动(56 处引用) - 顺带修版本漂移:Cargo.toml/Cargo.lock 停在 3.25.55(56/57 两次 bump 漏改 Rust 侧), 四处现已 3.25.58;核查无代码读 CARGO_PKG_VERSION、tauri.conf 显式写 version,界面版本一直正确 - 插件零改动(其样式用 token,新栏底下对比自动成立)
47 lines
1.7 KiB
TOML
47 lines
1.7 KiB
TOML
[package]
|
||
name = "image-workbench"
|
||
version = "3.25.58"
|
||
description = "无限画布 · 生图工作台桌面版"
|
||
authors = ["malongan"]
|
||
license = ""
|
||
repository = ""
|
||
edition = "2024"
|
||
rust-version = "1.90"
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
||
[lib]
|
||
name = "image_workbench_lib"
|
||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||
|
||
[build-dependencies]
|
||
tauri-build = { version = "2.7.4", features = [] }
|
||
|
||
[dependencies]
|
||
serde_json = "1.0"
|
||
serde = { version = "1.0", features = ["derive"] }
|
||
log = "0.4"
|
||
# tray-icon:系统托盘(关闭窗口收进托盘而不是退出)
|
||
# tray-icon:系统托盘;image-png:托盘用单色 PNG 模板图标
|
||
# unstable:`Manager::get_window`(窗口级句柄,不受子 webview 影响)与 Window::add_child 都在它下面。
|
||
# 画布内嵌网页已下线(v3.25.27),但 get_window 仍要留着 —— save_geom/托盘/单实例都靠它,
|
||
# 且它比 get_webview_window 更稳(后者一旦窗口里有非同名 webview 就返回 None,见 v3.25.26)。
|
||
tauri = { version = "2.12.5", features = ["tray-icon", "image-png", "unstable"] }
|
||
url = "2"
|
||
tauri-plugin-log = "2"
|
||
tauri-plugin-dialog = "2"
|
||
tauri-plugin-fs = "2"
|
||
tauri-plugin-http = "2"
|
||
tauri-plugin-updater = "2"
|
||
tauri-plugin-single-instance = "2"
|
||
tauri-plugin-notification = "2"
|
||
arboard = "3"
|
||
image = { version = "0.25", default-features = false, features = ["png"] }
|
||
base64 = "0.22"
|
||
|
||
# 画布内嵌网页的圆角(2026-11-19):WKWebView 是矩形,要给它 backing layer 设
|
||
# cornerRadius/masksToBounds 只能走 Objective-C 消息。objc2 0.6 已由 tauri/wry 引入
|
||
# (Cargo.lock 里是同一个 0.6.x),这里显式依赖不会多编译一份。
|
||
[target.'cfg(target_os = "macos")'.dependencies]
|
||
objc2 = "0.6"
|