@dsh-theme/ti
Dota 2 The International (TI) skin for the DeepSeek Harness web UI: a deep-navy + teal/gold token theme with vector wings artwork, registered into the client ThemeRuntime.
安装
此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗
说明文档
阅读完整 README ↗@dsh-theme/ti — Dota 2 The International skin for DeepSeek Harness
dsh-plugin — a client plugin for the DeepSeek Harness web UI. It stacks a complete TI token layer (
light/darkvariants) viatheme.overrideTokens()and paints an inline vector-wings + starfield background on the chat panel.
正值 Dota 2 The International 赛季,给 dsh Web 界面做的一款 TI6 皮肤: 深空蓝黑 + TI6 红飘带能量色 + 不朽盾金(gold),主面板带矢量翅膀 + 星空背景图。
它是怎么工作的
dsh Web 的皮肤机制由 @deepseek-ai/dsh-client-ui-theme 提供:
- 浏览器端有一个
ThemeRuntime(服务名theme),内置light/dark两个主题, 全部颜色都走--dsw-alias-*/--dsw-specific-*CSS 变量(别名 token 层)。 - 本插件(
client.js)用theme.overrideTokens()压一层完整的 TI 覆盖:- light → 「TI Light」浅色变体(冷蓝白 + 深海军蓝文字 + TI6 深红点缀)
- dark → 「TI Dark」深空蓝黑 + 猩红能量
完全不写主题偏好,所以
ui-theme的异步偏好回读(adopt())影响不到皮肤。
- 主面板背景图:注入 ``,把
wings.svg(矢量翅膀)+ 星空 SVG 双层背景 直接画在聊天滚动区([data-conversation-scroll])上,随data-ds-dark-theme切换深浅两套;侧栏、气泡、卡片、输入框保持各自的不透明表面。
安装
-
把本包放进目标 profile 的依赖树(以 Windows 的 web profile 为例,
$DSH_HOME默认是%USERPROFILE%\.dsh;Linux/macOS 是~/.dsh):$dest = "$env:DSH_HOME\profiles\node_modules\@dsh-theme\ti" New-Item -ItemType Directory -Force $dest | Out-Null Copy-Item "dsh-theme-ti\*" $dest -Recurse -Force # 或 git clone 后拷贝 -
在 profile 的
cordis.patch.yml(如$DSH_HOME\profiles\web\cordis.patch.yml) 追加:- insert: - id: theme-ti name: '@dsh-theme/ti' -
重启
dsh web(新增 loader 行属于插件集合变化,需重启;改 bundle 内容可走 HMR 热更,刷新页面即可)。默认system偏好下即为 TI 皮肤。
使用 / 卸载
- 浅色模式 = TI Light,深色模式 = TI Dark,无需任何设置。
- 卸载:删除
profiles\node_modules\@dsh-theme\ti和 patch 里的theme-ti行,重启。
二次开发 / 换图
-
改 的 换色;token 名以 为准,每个覆盖值必须是 字符串对。