@klarkxy/dsh-font 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  [简体中文](docs/README.zh-CN.md)
6
6
 
7
- Customize the interface, conversation, and code fonts and the conversation font size of the DeepSeek Harness Web GUI.
7
+ Customize the interface, conversation, code and terminal fonts and font sizes of the DeepSeek Harness Web GUI.
8
8
 
9
9
  ![A conversation shown in a custom conversation font](docs/preview.png)
10
10
 
@@ -18,21 +18,20 @@ Replace `web` with your profile name, then restart the profile or reload the pag
18
18
 
19
19
  ## Use
20
20
 
21
- Open **Plugins → Font**:
21
+ Open **Settings → Font** — a dedicated section this plugin adds. While it is installed, the native **Font size** row in **Settings → General** is hidden so the same controls live in one place; uninstalling or disabling the plugin brings the native row back.
22
22
 
23
- - **Interface font** and **Code font**: pick a preset, type any font name, or click **Load system fonts** to choose from fonts installed on this computer.
24
- - **Conversation font**: the same choices, applied only to messages and the input box in the conversation — e.g. a serif face for long text. **Same as interface font** keeps it following the interface font.
25
- - **Conversation font size**: 10–22 px, kept in sync with **Settings → General**.
23
+ - **Interface font**: pick a preset, type any font name, or click **Load system fonts** to choose from fonts installed on this computer.
24
+ - **Conversation font** and **Font size**: the conversation's own font — **Same as interface font** keeps it following the interface font — and the size of conversation content.
25
+ - **Code font** and **Code font size**: applies to code blocks, inline code, and tool output.
26
+ - **Terminal font** and **Terminal font size**: applies to the sidebar terminal, independent of the code font.
26
27
 
27
- Changes apply immediately and stay in sync with DSH settings. Choose **Default** to return to the DSH font; **Reset all to defaults** resets all three font choices and the conversation size on this page.
28
-
29
- Code font applies to code blocks and inline code. Terminal font and size are independent; adjust them in **Settings → General**.
28
+ Changes apply immediately and stay in sync with DSH settings — including the desktop Ctrl/⌘± font-size shortcut, which adjusts all three sizes. Choose **Default** to return to the DSH font; **Reset fonts** restores all font choices without touching sizes, and **Reset font sizes** restores all three sizes without touching fonts.
30
29
 
31
30
  ## Limits
32
31
 
33
32
  - **Load system fonts** is supported in Chromium-based browsers and asks for permission.
34
- - The interface font, code font and conversation size are saved by DSH; the conversation font is saved in the current browser. Every computer where you open the GUI needs the chosen fonts installed.
35
- - The plugin uses fonts already installed on your computer rather than bundling font files.
33
+ - The interface, code and terminal fonts and all sizes are saved by DSH; the conversation font is saved in the current browser. Every computer where you open the GUI needs the chosen fonts installed.
34
+ - The plugin uses fonts already installed on your computer and bundles no font files of its own.
36
35
 
37
36
  ## License
38
37
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  [English](../README.md)
6
6
 
7
- 自定义 DeepSeek Harness Web GUI 的界面字体、对话字体、代码字体和会话字号。
7
+ 自定义 DeepSeek Harness Web GUI 的界面字体、对话字体、代码与终端字体及字号。
8
8
 
9
9
  ![使用自定义对话字体的会话界面](preview.png)
10
10
 
@@ -18,21 +18,20 @@ dsh plugin --profile web add @klarkxy/dsh-font
18
18
 
19
19
  ## 使用
20
20
 
21
- 打开「插件 → 字体」:
21
+ 打开「设置 → 字体」——本插件新增的独立分区。安装期间「设置 → 通用」里的原生「字号大小」一行会被收起,同样的控件集中在这一个页面;卸载或停用插件后,原生行自动恢复。
22
22
 
23
- - **界面字体**和**代码字体**:选预设、手动输入字体名,或点「读取系统字体」从本机已装字体中选择。
24
- - **对话字体**:选项同上,只作用于对话区的消息和输入框,适合为长文单独选择字体(如衬线体);选「跟随界面字体」则沿用界面字体。
25
- - **会话字号**:10–22 px,与「设置 → 通用」中的字号同步。
23
+ - **界面字体**:选预设、手动输入字体名,或点「读取系统字体」从本机已装字体中选择。
24
+ - **对话字体**和**字号大小**:对话区独立的字体(选「跟随界面字体」则沿用界面字体)与会话内容字号。
25
+ - **代码字体**和**代码字号**:作用于代码块、行内代码与工具输出。
26
+ - **终端字体**和**终端字号**:作用于侧栏终端,与代码字体独立。
26
27
 
27
- 改动立即生效,并与 DSH 设置保持同步。选择「默认」可恢复 DSH 原字体;「全部恢复默认」重置本页的三项字体和会话字号。
28
-
29
- 代码字体作用于代码块和行内代码。终端字体与字号独立设置,请在「设置 → 通用」中调整。
28
+ 改动立即生效,并与 DSH 设置保持同步——包括桌面端 Ctrl/⌘± 字号快捷键(同时调整三项字号)。选择「默认」可恢复 DSH 原字体;「恢复默认字体」重置所有字体选择、不影响字号;「恢复默认字号」恢复三项字号默认、不影响字体。
30
29
 
31
30
  ## 限制
32
31
 
33
32
  - 「读取系统字体」在 Chromium 系浏览器中可用,首次使用需浏览器授权。
34
- - 界面字体、代码字体和会话字号由 DSH 保存;对话字体仅保存在当前浏览器。在不同电脑打开界面时,每台电脑都需安装所选字体。
35
- - 插件直接使用本机已安装的字体,本身仅保存字体名称与字号设置。
33
+ - 界面、代码、终端字体与全部字号由 DSH 保存;对话字体仅保存在当前浏览器。在不同电脑打开界面时,每台电脑都需安装所选字体。
34
+ - 插件直接使用本机已安装的字体,本身不附带任何字体文件。
36
35
 
37
36
  ## 许可证
38
37