YouHui1/dsh-image-skin

皮肤 ⭐ 0 MIT automationcodingvisualweb-ui

一个DeepSeek Harness网页插件:设置背景图片,并自动将界面的文本、背景、品牌和边框颜色适配到图片的色调。基于DeepSeek Harness构建。

catalog 简介:A DeepSeek Harness web plugin: set a background image and adapt the UI's text, background, brand and border colors to the image palette automatically.Built with DeepSeek Harness

安装

src/index.ts                # host half: no-op mount point
src/context-types.ts        # structural ctx mirror + @deepseek-ai/cordis augmentation
src/client/index.tsx        # client half: overrideTokens + CSS + settings section
src/client/SkinSettings.tsx # settings UI (upload / preview / opacity / remove)
src/client/theme.ts         # palette → token overrides
src/client/extract.ts       # image downscale + palette extraction (canvas)
src/client/color.ts         # pure color math (RGB/HSL/luminance)
src/client/store.ts         # localStorage persistence
cordis.patch.yml            # bundle patch (mounts the plugin into a profile)
scripts/build.mjs           # esbuild build (host ESM + wrapped client bundle)
scripts/smoke.mjs           # smoke test (host exports + client bundle contract)

YouHui1/dsh-image-skin 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。