概览
dsh-custom-logo
Replace the DSH top-left BrandWordmark/FishLogo with your own image or text — an inline ⚙ handle inside the wordmark, no floating widget
README / ZH
插件文档
目录摘要
Replace the DSH top-left BrandWordmark/FishLogo with your own image or text — an inline ⚙ handle inside the wordmark, no floating widget
dsh.pub 核对固定版本的组合包契约、运行时事实与分发语义;完整 README 请查看源仓库。
在 GitHub 阅读完整 READMELIMITATIONS
已知限制
- **DSH 内部 logo DOM 变化**:DSH 重渲染 sidebar 时 `<button class="brand">` 可能被 unmount + 重新 mount。`paint()` 通过 module-level singleton 复用 handle 元素并重新 attach,但首次延迟后用户可能看到一秒的不可见。 - **localStorage scope**:状态按浏览器 profile 隔离,多 profile / 多浏览器不共享。 - **Image size**:客户端 `<input type="file">` 限制 256 KB(用 FileReader 转 data URL 内嵌)。 - **No SSR / no Node.js runtime**:仅浏览器侧运行;Cordis 宿主侧只是 no-op。 - **No file watcher in production**:修改 `src/` 后必须 `pnpm run build` 一次;`watch` 仅用于开发。
