DeepSHPlugins
dsh-icon-theme 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-icon-theme

換皮膚色TypeScriptMIT

為 DSH 設定和側邊欄自動分配並支援自定義的 Fluent 風格圖示,離線內建 SVG,預設保留外掛原圖示。

2 Starsyzke 更新時間 2026-08-30
訪問 GitHub 倉庫
dsh-icon-theme 專案預覽
dsh-icon-theme 介面截圖dsh-icon-theme 介面截圖

專案介紹

中文

為 DSH 設定和側邊欄自動分配並支援自定義的 Fluent 風格圖示,離線內建 SVG,預設保留外掛原圖示。

English

Automatic and user-customizable Fluent-style icons for DSH Settings and sidebar actions, with offline SVG packs and original-icon preservation.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
yzke
倉庫
yzke/dsh-icon-theme
GitHub Stars
2
Forks
1
開發語言
TypeScript
許可證
MIT
最近推送
2026-08-30
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

63/ 100
維護活躍
93
文件與實用資訊
85
生態關注度
23
安裝便捷訊號
100
專案宣告訊號
100

近 12 天仍在更新;README 含完整安裝與使用說明;關注度尚低(2)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add dsh-icon-theme

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-icon-theme

English | 简体中文

Automatic, coherent, and user-customizable icons for DeepSeek Harness Settings and sidebar actions.

Settings overview

_Screenshots use the Chinese locale; the plugin ships equivalent English labels._

Why this plugin

DSH 0.1.x settings contributions expose stable IDs and labels, but not an icon field. As a result, many third-party pages fall back to the same gear. dsh-icon-theme discovers the live slot ledger, preserves trustworthy original icons, fills recognizable gaps with a small Fluent-style pack, and lets the user override every supported target.

  • Discovers live winning settings.section and sidebar.footer.action contributions generically. Audited per-plugin records are used only when a sidebar is partially rendered and cannot be correlated by order.
  • Stores choices by stable key, such as settings.section:market, never by translated labels or DOM position.
  • Ships 50 curated Fluent UI 16 Regular glyphs, 70 official DSH UI glyphs, and the audited monochrome dsh-market glyph (121 total).
  • Uses no icon CDN, webfont, Iconify API, GitHub request, or package scanning at runtime.
  • Restores every host SVG and owned DOM marker on unload or hot reload.
  • Reports non-rendered contributions and non-icon cards instead of pretending they were changed.
  • Falls back to the Settings gear when a target has neither a trustworthy match nor an original icon.

Install

dsh plugin --profile web add dsh-icon-theme

Restart dsh web, then open Settings → Icons.

To install from a source checkout instead:

git clone https://github.com/yzke/dsh-icon-theme.git
cd dsh-icon-theme
npm ci
npm run build
dsh plugin --profile web add link:"$PWD"

Supported DSH peer range: >=0.1.0-rc.6 <0.2.0-0 || >=0.1.1-rc.0 <0.2.0-0 || >=0.1.2-alpha.1 <0.2.0-0. This includes the source-only dsh-v0.1.2-alpha.1 GitHub preview. Node.js 22 or newer is required for source builds.

Uninstall

dsh plugin --profile web remove dsh-icon-theme

Restart dsh web. The plugin restores every host SVG and removes all owned DOM markers and styles on unload.

Use

The page lists every discovered target, its stable key, its compatibility state, and the source of the current icon. Search by feature name, ID, or icon; filter Settings/sidebar/unrecognized/customized entries; choose a glyph; or restore one/all targets to automatic behavior.

Icon picker

Resolution is deterministic:

  1. User override.
  2. Audited, bundled plugin glyph.
  3. Trustworthy DSH/plugin original.
  4. Exact stable-ID preset.
  5. Unambiguous stable-ID inference.
  6. Existing host fallback, or Settings gear when no original exists.

Localized labels are display and search text only. They never decide a persisted mapping.

Sidebar behavior

StateBehavior
Rendered icon actionChangeable; the original is preserved by default.
Registered but not renderedListed as “can preset”; the override applies when it appears.
Non-icon cardReported but deliberately left unchanged.
Unknown or changed DOMLeft untouched unless a unique audited compatibility record exists.

The compatibility layer is intentionally narrow and reversible because DSH 0.1.x does not yet expose a public icon resolver. See the design note for the contract and upstream direction.

When dsh-better-sidebar is installed, its own Settings row icon is treated as a trusted original and preserved by default. It is replaced only when the user chooses replace-generic (or a manual override).

Ecosystem checks

Compatibility fixtures are pinned to real open-source registration excerpts, including dsh-full-remote, dsh-context, dsh-openpencil, dsh-approve-for-me, and dsh-composer-polish. They prove that an unknown Settings section is discovered generically, while contributions to unrelated surfaces are not misidentified. Details and pinned commits are in ecosystem compatibility. The sidebar fallback fingerprints are also pinned to upstream revisions and may need periodic updates if those plugins change their DOM.

Development and release gate

npm ci
npm run qa
npm run test:web
npm pack --dry-run

For the optional live-host smoke test:

DSH_E2E_URL=http://127.0.0.1:3080 npm run test:web -- -t @real-dsh

The full testing contract is documented in TESTING.md. Icon sources and licenses are recorded in THIRD_PARTY_NOTICES.md.

Privacy and security

Detection reads only DSH slot metadata and the two rendered UI surfaces. The plugin does not inspect user files or other plugins' bundles. Settings use a fixed-namespace, same-origin Host endpoint that accepts only overrides and originalPolicy; it cannot read or mutate another plugin's namespace.

MIT licensed.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案