loyalchiiina/dsh-font-enhancer 预览 preview

loyalchiiina/dsh-font-enhancer

DIY your DSH UI: per-region CN/EN font, size, weight, italic, colour (15 calibrated regions), pick-region drag, unified overrides, theme save/switch, random font/colour, one-click cute-font install with progress, upload your own font, 128 shared skins, Web + Desktop. 按区域自定义中英文字体字号字重颜色、框选建区、全局统一、主题保存切换、随机配色、一键装可爱字体的 DSH 界面 DIY 插件。

Project Overview项目介绍

dsh-font-enhancer is a DSH plugin for per-region UI styling — each pre-calibrated area (sidebar, messages, input, code blocks, etc.) gets its own Chinese/English font, size, line-height, weight, italic, and text color. It adds unified global overrides, named theme save/apply, pick-region selection, and random font/color generators, plus one-click downloads of fonts like LXGW WenKai. Works on both the DSH Web GUI and the Desktop Electron window; all settings persist in localStorage. Note: with custom regions, later CSS rules can override earlier ones at equal specificity — order matters.

dsh-font-enhancer 是一款 DSH 插件,可按区域分别设置界面字体、字号、行高、字重、斜体与文字颜色,覆盖侧边栏、消息区、输入框、代码块等预校准区域。提供全局统一控制、主题保存与切换、框选定位和随机字体/颜色生成器,一键下载霞鹜文楷等字体,支持网页端与桌面端。设置存于 localStorage,跨刷新与重启保留。注意:自定义区域时需留意 CSS 优先级,后列规则可能覆盖前项。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
  • Desktop client: installation downloads an executable - verify the publisher and checksums桌面客户端:安装会下载可执行文件,请核对发布者与校验和
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:loyalchiiina/dsh-font-enhancer

把 loyalchiiina/dsh-font-enhancer 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-font-enhancer

按区域分别设置 DSH 界面字体、字号、颜色,支持统一控制、主题保存/切换、随机配色/字体。

DSH 的界面长什么样,你说了算。

You decide what DSH looks like.

npm license dsh

A DSH (DeepSeek Harness) plugin that lets you style the UI per-region — each region (sidebar, message area, input box, code block, etc.) gets its own Chinese/English font, font-size, line-height, weight, italic, and text color. Features unified global font/color overrides, theme save/switch, 框选 (pick-region) element selection, and random font/color generators.

字体区域设置面板

右侧「字体区域设置」面板:选择主题 / 保存方案、全局统一(颜色 / 字体 / 字号 / 字重 / 斜体)、框选区域、随机字体 / 随机颜色、刷新,以及按区域展开的独立属性(英文字体 Times New Roman、中文字体 楷体、字号 15、行距 1.6、字重 400 + 文字颜色)。 The per-region panel: theme picker and save, unified colour/font/size/weight/italic, pick-region, random font/colour, plus per-region attributes.

为什么值得装 / Why it's worth it — 觉得默认字号太小?中文字体不好看?想给整个界面统一换字体就开「全局统一」,想给某个角落单独上色就点「框选区域」在页面上直接框元素(不用记 CSS 选择器)。配色纠结就点「随机配色」生成一套,喜欢就存成主题随时切回来。

Default font too small? Chinese typeface not to your taste? Flip on Unified for one font everywhere, or hit Pick Region and drag a box right on the live page to style one corner — no CSS selectors needed. Can't decide on colours? Random Color generates a palette; save the ones you like as themes.

✅ v1.3.0 同时支持 DSH 网页端(浏览器访问 Web GUI)和 桌面端(Electron 内置窗口)。 新增一键下载安装可爱字体(霞鹜文楷/得意黑/站酷快乐体等,带实时下载进度)、添加自提供安装包、 🔄 刷新按钮、保存方案记住统一状态等功能。搜「字体」即可在插件市场找到本插件。

✅ v1.3.0 supports both the DSH Web GUI (browser) and the Desktop Electron window. New: one-click install of cute fonts (LXGW WenKai / Smiley Sans / ZCOOL KuaiLe etc. with live download progress), add your own font file, refresh button, themes remember unified overrides. Search "font / 字体" on the plugin market to find it.


功能总览 · At a glance(中英对照 / Bilingual)

区域样式 · Per-region styling

中文 English
15 个预校准区域:左侧栏、Logo、新建会话、任务板、工作区名、设置、消息区、会话标题、输入区、Tabs、轮次指示、Agent/模型名、右侧扩展面板、代码块、底部展开条 15 pre-calibrated regions: sidebar, logo, new-session, taskboard, workspace name, settings, messages, session title, composer, tabs, turn indicator, agent/model name, right panel, code blocks, bottom bar
每区域独立设置:中文字体、英文字体、字号、行距、字重(100–900 滑块)、斜体、文字颜色(取色器) Per-region controls: Chinese/English font, size, line-height, weight (100–900 slider), italic, text colour (picker)
勾选区域复选框展开该区域设置面板 Tick a region's checkbox to expand its settings panel

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-memory 下一个 Next dsh-NINGLET-novel-Agent →