WZZNNE/DSH-CyberWorkStation--plugins-dsh-skin-loader ↗★ 23
dsh-skin-loader
加载自定义CSS皮肤样式到Web界面 适合需要个性化界面外观的用户,可应用Launcher选择的或本地自定义的CSS皮肤。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WZZNNE/DSH-CyberWorkStation#54855352ddc1a46f62c26ebb8ba6e9e2a4f07875&path:plugins/dsh-skin-loader说明文档
阅读完整 README ↗dsh-skin-loader
Loads the active frontend skin into the dsh Web UI as a token-override style tag. The launcher manages the skins; this plugin only serves the one that is active.
Install
dsh plugin --profile web add dsh-skin-loader
Restart dsh afterwards. As part of DSH CyberWorkStation the plugin is registered by setup.cmd from the repository checkout instead.
It applies the frontend skin the DSH Launcher's Skins page selects. Without the launcher, write your CSS to ~/.dsh/frontend-skin.css and refresh the dsh page.
How it works
- The host half serves
GET/HEAD /dsh-skin-loader/active.cssfrom~/.dsh/frontend-skin.css: the file's size and mtime form an ETag, so an unchanged skin answers 304 without a read and a changed one is read afresh. The launcher switches skins by writing that one file (a copy oflauncher/skins/frontend/.css); a page refresh applies it. An empty file means the stock look. - The browser half injects a `` tag with that CSS after the core's own styles, so a skin can override the design tokens without touching the core's bundles.
The route is read-only and refuses a foreign Host (DNS rebinding) through dsh-cyberworkstation-kit/fence.
Related
- Launcher → 外观皮肤 / Skins: switch, import, delete, install community skins from npm.
dsh-skin-studio-cwslets a model design and install a skin from inside a conversation.