dsh-song-ui
其他 活跃维护

dsh-song-ui

yunfei07/dsh-song-ui

提供融合丝绸纸质感、暖墨文字、汝窑青绿交互与朱砂错误态的中式UI主题色板,同时适配夜墨底色搭配亮青绿的深色模式,可直接集成到Web项目快速使用

2
Stars 标星
0
Forks 分支
2
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
54 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:yunfei07/dsh-song-ui
git clone https://github.com/yunfei07/dsh-song-ui.git
git clone git@github.com:yunfei07/dsh-song-ui.git
README.md main

ui-song-theme

English | 中文

A Song-inspired visual theme plugin for DeepSeek Harness. It contributes a reversible ThemeRuntime.overrideTokens() layer with complete light and dark values while preserving the user's light, dark, or system preference.

The light palette combines silk-paper surfaces, warm ink text, botanical gray-green interactions, and cinnabar error states. The dark palette uses pine-ink green-black surfaces with a restrained pale-jade accent. Display headings prefer installed Song and CJK serif fonts; body text keeps the Harness sans-serif stack. The layer also recasts visible legacy blue selections and the browser focus outline into the same botanical color family.

Install

Install the repository as a bundle into a Web profile:

dsh plugin --profile web add github:yunfei07/ui-song-theme
dsh --profile web

For reproducible installations, pin a commit:

dsh plugin --profile web add github:yunfei07/ui-song-theme#<commit-sha>

The repository commits its lib/ artifacts, so a GitHub installation does not need to run a package build script. The bundle adds a unique ui-song-theme-external client row; its theme service injection ensures the base dsh theme is ready before this token layer mounts. That row stacks after the Web bundle's built-in theme, and removing the external plugin restores the built-in layer.

Remove it with:

dsh plugin --profile web remove ui-song-theme

Palette

Role Light Dark
Base surface Silk paper Night ink
Primary text Warm ink Pale paper
Accent Pine botanical green Restrained pale jade
Error Cinnabar Light cinnabar
Geometry 2 to 12 px semantic radii Same

Every override has paired light and dark values. Unloading the plugin removes only its layer and restores the theme below it.

Development

corepack pnpm@11.21.0 install
pnpm check
pnpm build
pnpm pack:check

Build output is committed intentionally because dsh supports installing plugins directly from Git repositories.

Compatibility

  • Node.js ^22.19.0 or >=24.0.0
  • DeepSeek Harness UI theme >=0.1.0-rc.6 <0.2.0
  • System font availability affects exact Song glyph metrics

License

MIT