Introduction¶
DSH Web already has standard appearance settings such as Light and Dark. @anionex/dsh-eye-care is an eye-care theme plugin for the DSH Web profile, providing warm light, warm dark, and system-aware themes, and does not use global color filters or image transformations.
Below is an introduction to its basic positioning, core features, installation methods, and applicable notes.
What is it¶
@anionex/dsh-eye-care is a DSH Web profile bundle, with the repository address being Anionex/dsh-eye-care. The license is MIT, and the package is currently in pre-release status, compatible with:
DSH >=0.1.0-rc.8 <0.2.0
The package.json inside the package specifies:
packageManager pnpm@11.7.0
engines node ^22.19.0 || >=24.0.0
This plugin requires the DeepSeek Harness Web profile to provide standard settings, connection, locale, slots, and theme services.
Core Features¶
The plugin primarily provides the following capabilities:
- Supports four run modes:
off,auto,light,dark. - Supports three warmth levels:
soft,balanced,warm. - Registers six specific themes via the official
ThemeService. - Uses actual semantic tokens to control backgrounds, text, borders, buttons, sidebars, bubbles, inputs, code blocks, scrollbars, and Shiki colors.
- Keeps native
Appearanceas the authority: selectingLight,Dark, orSystemturns off eye care. - In loopback scenarios, the selection is saved to Host settings; selections in remote browsers are only retained in the current process.
- Avoids using global color filters or image transforms.
Installation and Activation¶
First, install the public npm package to the Web profile:
dsh plugin --profile web add @anionex/dsh-eye-care
Then start or restart the Web UI:
dsh web
Open:
Settings → General → Eye care
Select the mode and warmth level in this setting row.
If doing local development, you can replace the package name with the absolute path of the checkout, or replace it with a locally packaged tarball, for example:
dsh plugin --profile web add /absolute/path/to/dsh-eye-care
dsh plugin --profile web add /absolute/path/to/dsh-eye-care.tgz
DSH_HOME defaults to ~/.dsh. If you want to try this bundle temporarily, you can also point DSH_HOME to a temporary directory to avoid modifying the main profiles:
DSH_HOME=<temporary-directory> dsh web
Typical Usage¶
- Select
off: Turns off the eye-care theme. - Select
auto: Uses a system-aware eye-care theme combined with the selected warmth. - Select
lightordark: Uses the warm light or warm dark theme respectively. - Select
soft,balanced, orwarm: Adjusts the warmth intensity. - If you switch the native
AppearancetoLight,Dark, orSystemlater, eye care will be turned off. - Selections in loopback browsers are written to Host settings; selections in remote browsers are only retained in the current process and will not be persisted back to the Host.
Applicable Scenarios and Notes¶
Suitable for users who want to use warm color themes in DSH Web and do not wish to introduce global color filters or image transformations.
Pay attention to the following points before use:
- The package is in pre-release status and published in the profile bundle format.
- Compatible only with
DSH >=0.1.0-rc.8 <0.2.0. - Requires standard DSH Web profile services.
- Remote browser sessions will not persist eye-care selections back to the Host.
- Changes to native
Appearanceare considered an explicit exit by design. - The plugin will be loaded within the current
dshprocess environment; it is recommended to check the source code and license before installation.
Links¶
GitHub Repository:
https://github.com/Anionex/dsh-eye-care
License:
MIT