Introduction¶
In the DeepSeek Harness (DSH) Web interface, reading and debugging for long periods can be straining on the eyes, as the standard theme may be too bright or too cool. dsh-eyecare is a DSH Web plugin that does not alter DSH’s plugin mechanism; instead, it adds an “Eye Care Mode” switch within the interface to toggle to a soothing green color scheme.
Below is an introduction to what this plugin does, how to install it, how to enable it, and points to note during upgrades and uninstallation.
What is it¶
dsh-eyecare is maintained by Yummyxl and is licensed under the MIT license.
It solves a specific problem: providing an eye care mode switch in the DSH Web interface, allowing users to switch to a low-stimulus soothing green color scheme for both light and dark themes, with the switch state automatically remembered.
Core Features¶
- Adds an “Eye Care Mode” switch below “Settings → General → Appearance” in the DSH Web interface.
- Provides a soothing green color scheme, adapted for light, dark, and system theme following.
- Automatically remembers the switch state; it does not disappear after refreshing the page or restarting the browser.
- Displays “护眼模式” (Eye Care Mode) in the Chinese interface and “Eye care” in the English interface.
- Remaps 89 color tokens.
- Preserves information hierarchy for code blocks, inline code, quotes, files, links, etc.
- Supports custom colors; changes take effect after refreshing the page by modifying
EYE_CARE_TOKENS. - Supports official
dsh plugininstallation, local script installation, anddsh pluginuninstallation.
Installation and Enablement¶
Official Command Installation¶
First, ensure pnpm is installed on your machine. If not, the documentation suggests:
npm install -g pnpm
Then execute the official installation command:
dsh plugin --profile web add dsh-eyecare
After installation, you need to restart dsh or wait for hot reload, then refresh the browser page.
Local Script Installation¶
If not using the official command, you can clone the repository and run the installation script:
git clone git@github.com:Yummyxl/dsh-eyecare.git
cd dsh-eyecare
bash install.sh
After execution, similarly restart dsh or wait for hot reload and refresh the browser page.
Enable Eye Care Mode¶
After entering the DSH Web interface:
- Open “Settings” in the bottom left.
- Select “General”.
- Find the “Eye Care Mode” switch below “Appearance”.
- Turn the switch on; the interface switches to the eye care color scheme.
- Click the switch again to turn it off, restoring the original color scheme.
Typical Usage¶
Custom Colors¶
All colors are concentrated in the EYE_CARE_TOKENS of lib/client.js. After modifying the color values in this table, save the file and refresh the page for the changes to take effect.
Uninstall¶
If installed using the official command, you can run:
dsh plugin --profile web remove dsh-eyecare
Refresh the browser page after uninstallation.
Applicable Scenarios and Notes¶
This plugin is suitable for scenarios where you frequently read and debug in DSH Web and wish to use a low-stimulus color scheme.
It is recommended to check the source code and the MIT license before use. The plugin runs with the current dsh process permissions, so you should confirm that you trust the source of the repository before installing.
Also, note:
- Requires the same major version of DSH. The plugin depends on internal DSH theme/slot interfaces.
- If it stops working after an upgrade, the startup page will clearly report an error; uninstalling this plugin will restore functionality.
- When upgrading from 1.0.x manual installation to 1.1+, users must first delete the manually added
ui-eye-careentry, then usedsh pluginfor installation to avoid duplicate mounting. - Windows users can manually execute the three steps in
install.shor use WSL to run this script. - The community directory is an independent site and has no official affiliation with DeepSeek or Fenxiang; it should not be interpreted as an official app store.
References¶
GitHub Repository:
https://github.com/Yummyxl/dsh-eyecare
Directory Page:
https://www.skillhub.cn/plugins/Yummyxl/dsh-eyecare