返回目录
界面增强 待识别

dsh-theme-ink

PaoMoXML/dsh-theme-ink

原生优先的 DSH 主题:六套调色板、工作区密度、圆角、ASCII 字形与隐藏 logo,全部通过原生主题 token 生效。

Stars
0
Forks
0
Issues
0
更新
7 天前

PROJECT TOPICS

项目标签

PROJECT README

README

dsh-theme-ink

Native-first theme for DeepSeek Harness. Five settings, no skin: the shell keeps every native component, spacing and control; the theme only changes what DSH already lets a theme change.

Setting Options How it works
调色板 / palette host, claude-light, claude-dark, chocomint, vue, mint ctx.theme.overrideTokens() over the native --dsw-* token set
工作区密度 / workspace density 原生 (native), 紧凑 (compact) one small plugin-owned stylesheet on the left sidebar
圆角 / corners square, rounded the native --dsw-radius-* scale through the same token layer
字形 / glyphs on / off ASCII markers in Markdown and the turn-process header
隐藏 logo / hide logo on / off hides the brand and puts New Session and the collapse toggle on one row

Every entry lives in Settings → 通用设置 as one row (INK // dsh-theme-ink). The row is Chinese-only: 原生 / Claude 亮色 / Claude 暗色 / 巧克力薄荷 / Vue / 薄荷, 原生 / 紧凑, 方角 / 圆角, 字形, 隐藏 logo.

INK 的通用设置行:调色板、工作区密度、圆角、字形和隐藏 logo

Palettes

host is the untouched native palette (light / dark / system keeps following the native Appearance row). vue keeps the native shell, repaints Markdown and tints its user bubble green. The other four register a full alias-token layer:

  • claude-light, claude-dark, chocomint are fixed-scheme palettes: both token modes carry the same values, and the row forces color-scheme so native scrollbars and form controls match.
  • mint is dual-scheme: light and dark values follow the native Appearance scheme automatically. Its large surfaces (sidebar, menus, cards, table heads) stay near-neutral; mint is reserved for the accent, the user bubble and selection states, and process text keeps a 4.5:1 contrast floor.

Markdown typography for vue, mint, chocomint, claude-* is adapted from the ASCetic palette sheets the user already runs, scoped to INK's own root attributes. Shell cards that paint from static neutrals stay native; only the --dsw-alias-* / --dsw-specific-* token layer changes hands.

User bubbles

Each palette owns --dsw-specific-bubble, so a sent message sits on a surface that belongs to the palette instead of the stock blue:

palette light dark
host native blue native dark
vue #e7f6ef #253a30
mint #dcefe6 #2b3a34
chocomint #4a372f (both schemes) #4a372f
claude-light #f0eee6 (both schemes) #f0eee6
claude-dark #242320 (both schemes) #242320

The settings row itself is Chinese-only: both locale seats receive the same Chinese dictionary, and option names use Chinese display labels.

Workspace density

  • 原生 / native — no stylesheet applies.
  • 紧凑 / compact — the left sidebar runs at ASCetic's compact rhythm: session and workspace rows are 26px tall (native 32px), the panel list loses its 2px gaps, the logo strip shortens and New Session matches the row height. The collapsed rail keeps its native geometry.

Hide logo

With 隐藏 logo on, the sidebar's top-left brand disappears; the New Session bar becomes the first row and the collapse toggle sits at that row's right edge. The shortcut hint on the button is dropped so the two controls keep one clean line. The collapsed rail is untouched.

Corners and glyphs

square sets the six native radius tokens (xs…panel) to 0px; circles and pills that declare their own geometry (avatars, switch tracks) stay round. rounded removes the layer.

glyphs adds #-prefixed Markdown headings, -/+/* list markers, backtick ticks around inline code and a [+]/[-] turn-process twisty. All colours come from native tokens, so the markers follow the active palette.

Install

The plugin is developed in E:\my-dsh-plugins\dsh-theme-ink and linked into the web profile:

"dsh-theme-ink": "link:E:/my-dsh-plugins/dsh-theme-ink"

Add dsh-theme-ink to dsh.profile.bundles too, then reload the page. Disable dsh-theme-ascetic while testing INK: both themes write token layers, and the later layer wins per token.

Build and test

node build.mjs          # src/ -> client.js
node --check client.js
node test/test.mjs      # contract tests (set DSH_INSTALL_DIR to check native tokens)

client.js is generated; edit src/core.js and src/styles/*.css instead. The palette sheets were produced once by tools/adapt-palettes.mjs from the ASCetic payloads in E:\my-dsh-plugins\dsh-theme-ascetic-*-patch; that script is kept for provenance, not needed at build time.

CLASSIFICATION EVIDENCE

分类依据

项目类型待识别
功能分类界面增强
规则置信度低

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 主题。