dsh-theme-center
界面增强 活跃维护

dsh-theme-center

dac114514/dsh-theme-center

集成浅色/深色分组的精选主题画廊,支持一键切换主题、上传自定义壁纸,同时提供dsh-theme包导入导出能力,操作简单便捷,满足dsh网页端个性化视觉需求。

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

dsh-theme-center logo

dsh-theme-center

English | 中文

npm version
License: MIT
CI
Awesome DSH Plugin

The theme center inside DeepSeek Harness — a curated gallery of built-in
themes (light and dark grouped), one-click switching, a custom-image
wallpaper with a crop/tint editor, and import/export of
user-authored dsh-theme files. Open Settings → 主题 / Themes:

Theme gallery

The menu lists every built-in theme — light and dark are grouped, and clicking
a card switches the interface instantly (your choice survives restarts):

Theme menu

Install

Published on npm — one command:

dsh plugin --profile web add dsh-theme-center

Restart dsh web, then open Settings → 主题 / Themes.

Uninstall

dsh plugin --profile web remove dsh-theme-center

Install from GitHub (no npm)

The same plugin can be added straight from the repository:

dsh plugin --profile web add github:dac114514/dsh-theme-center

Restart dsh web.

What you get

  • Curated built-in catalog — 11 themes, one per visual identity; light and
    dark are grouped in a 3-column gallery grid
  • One-click switching — instant re-theme, the selection persists across
    reloads
  • Wallpaper — any image as the interface background, with a live
    crop/tint editor (pan, zoom, overlay opacity, surface translucency)
  • dsh-theme files — import themes others have authored (file or paste),
    export your own; the format is fully documented
  • Bilingual UI — Simplified Chinese and English

Wallpaper

Wallpaper editor

  • pick an image — it is downscaled locally (1440px, JPEG q0.72) and stored
    in your settings
  • the banner preview shows the entire image with a dashed frame marking
    the exact on-screen crop — what's inside the frame is what you get
  • drag to pan the frame, wheel to zoom (100%–300%); sliders tune the
    readability overlay and surface translucency
  • all parameters persist in the theme-center settings namespace

Theme file format

Themes are portable JSON documents — author your own or re-import an
archived one:

{
  "format": "dsh-theme",
  "version": 1,
  "id": "aurora",
  "name": "Aurora",
  "description": "A deep violet night sky.",
  "colorScheme": "dark",
  "tokens": {
    "--dsw-alias-bg-base": "#0d0b1e",
    "--dsw-alias-label-primary": "#ece9fb"
  },
  "wallpaper": "data:image/jpeg;base64,...."
}

Full reference: docs/theme-file-format.md ·
中文版: docs/theme-file-format.zh.md ·
Example: examples/aurora.dsh-theme.json

Built-in themes

id Name Scheme Description
light Original Light light Pure white · Indigo · DeepSeek original
claude Claude Style light Warm cream · Terracotta · Claude aesthetic
sakura Sakura light Soft pink · Rose · Spring blossom
paper Warm Paper light Warm paper · Sepia · Eye-friendly reading
dark Original Dark dark Charcoal · Indigo · DeepSeek original
claude-dark Claude Dark dark Warm charcoal · Terracotta · Claude night
tokyo-night Tokyo Night dark Deep blue · Bright blue · Tokyo night
graphite Graphite dark Graphite · Moon white · High-contrast monochrome
monokai Monokai dark Dark olive · Cyan-green · Classic high contrast
gruvbox Gruvbox dark Warm brown · Amber · Retro vintage
wallpaper Custom Wallpaper light/dark Custom image · Adjustable tint · Wallpaper mode

Every palette that is not part of the shipped catalog is archived, not
deleted
, as an importable dsh-theme file in
docs/archive/ — 14 themes you can restore in one click.
Full swatch reference: docs/theme-catalog.md

Notes

  • Developmentpnpm installpnpm typecheckpnpm build;
    node scripts/smoke.mjs runs the controller smoke test without a browser.

License

MIT · dac114514 · docs in
docs/