dsh-theme-retro-press 0.0.0-stage → 3.8.1

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/CHANGELOG.md ADDED
@@ -0,0 +1,43 @@
1
+ # Changelog
2
+
3
+ ## 3.8.1
4
+
5
+ - 修正两套冷调配色的英文观感:用 `font-size-adjust` 把西文的 x-height 拉齐到同页中文字面。
6
+ - 靛蓝:标题 Franklin Gothic(x-height .49)对齐思源黑体 .54。
7
+ - 苔绿:正文 Gill Sans(.45)对齐 .54;标题 Bodoni(.38)对齐小标宋 .46——此前英文比中文小一档,Bodoni 更明显。
8
+ - 代码块、引文显式 `font-size-adjust:none`:VT323 与仿宋保留自己原本的尺度,不被一起放大。
9
+
10
+ ## 3.8.0
11
+
12
+ - 十二套配色统一命名:朱印 / 鼠尾草 / 靛蓝 / 苔绿 / 显像管 / 铜青 / 琥珀 / 磷光 / 主机蓝 / 八位紫 / 墨水屏 / 暗房红(英文同名规则)。
13
+ - 新增「荧光」选项:深色模式下代码块带磷光双层光晕与扫描线,浅色模式不变。可关闭。
14
+ - 包名改为 `dsh-theme-retro-press`,补齐 license、engines、repository、keywords 与发布配置。
15
+ - 新增 README、LICENSE、CHANGELOG 与配色图、磷光图、市场卡片图标。
16
+
17
+ ## 3.7.0
18
+
19
+ - 代码层改用 VT323(DEC VT320 终端字形),中文兜思源黑体;两套冷调配色共用这一「终端层」。
20
+
21
+ ## 3.6.4
22
+
23
+ - 靛蓝正文由 华文中宋 改为 思源黑体:冷白底上 13.5px 的宋体偏灰、笔画不均。
24
+
25
+ ## 3.6.3
26
+
27
+ - 引文层:`blockquote` 统一用 仿宋_GB2312,斜体改为下划线(中文合成斜体是剪切变形)。
28
+
29
+ ## 3.6.2
30
+
31
+ - 标题字重按配色取值(`headWeight`),并加 `font-synthesis:none`:不再让浏览器合成加粗。
32
+
33
+ ## 3.6.1
34
+
35
+ - 西文按角色配对:靛蓝 Franklin + Baskerville,苔绿 Bodoni + Gill Sans。
36
+
37
+ ## 3.6.0
38
+
39
+ - 新增两套冷调配色:靛蓝(冷白 + 靛蓝)、苔绿(浅灰绿 + 苔绿),排版角色相反。
40
+
41
+ ## 3.5.0
42
+
43
+ - 十套配色、品牌标记绘制、首字下沉、章节细线、纸纹与扫描线。
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 andy-7-andy
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,3 +1,96 @@
1
- # Temporary Holding Version
1
+ # Retro Press
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Twelve palettes for the DeepSeek Harness Web client — a print shop and a row of old screens in the same drawer.
4
+
5
+ ![十二套配色](assets/palettes.png)
6
+
7
+ ---
8
+
9
+ > 发版与上架流程见 [docs/发布流程-RELEASE.md](docs/发布流程-RELEASE.md)。
10
+
11
+ ---
12
+
13
+ ## 这是什么
14
+
15
+ Retro Press 是一间开在 DeepSeek Harness 里的复古印制车间。十二套配色,从木刻朱印的暖白纸,到显像管的磷光绿——每一套都有自己的纸、自己的规则线、自己的字体配对,还有一枚按该套配色重绘的 DeepSeek 鲸鱼标记。
16
+
17
+ 它不做"换个颜色"这件事。每套配色是一份完整的排印决定:正文用宋还是用黑,标题要不要让浏览器合成加粗,引文该不该换成仿宋,代码块该不该像终端。同一套排在浅色下是纸,在深色下是屏幕——两副面孔,同一份稿。
18
+
19
+ 十二套共用一条命名与质感规则,所以并排看是一抽屉的版,而不是十二个互相不认识的皮肤。
20
+
21
+ ## Twelve palettes
22
+
23
+ | | 配色 | Palette | 纸与墨 |
24
+ |---|---|---|---|
25
+ | 1 | 朱印 | Vermilion seal | 暖白纸、墨黑字,一点朱红 |
26
+ | 2 | 鼠尾草 | Sage linen | 鼠尾草绿、亚麻白,华文中宋配 Goudy 的老铅字 |
27
+ | 3 | 靛蓝 | Cool indigo | 冷白、靛蓝,全黑体页:Franklin 标题配思源黑体正文 |
28
+ | 4 | 苔绿 | Moss green | 浅灰绿、苔绿,宋体标题配黑体正文,Bodoni 配 Gill Sans |
29
+ | 5 | 显像管 | CRT amber | 深色走琥珀字符,浅色保持素净 |
30
+ | 6 | 铜青 | Brass indigo | 米白、深靛蓝、铜金,港埠印刷的冷调子 |
31
+ | 7 | 琥珀 | Daylight amber | 米黄纸做底、深褐字,白天的显像管 |
32
+ | 8 | 磷光 | P1 phosphor | 近黑底配 P1 荧光绿,老终端 |
33
+ | 9 | 主机蓝 | Mainframe blue | 深蓝底、青白字,大型机终端 |
34
+ | 10 | 八位紫 | Eight-bit violet | 紫蓝底、米白字,八十年代家用电脑 |
35
+ | 11 | 墨水屏 | E-ink | 米灰纸面无彩色,久读最省眼 |
36
+ | 12 | 暗房红 | Darkroom red | 褐色暗调,安全灯的红 |
37
+
38
+ ## 质感
39
+
40
+ 配色定基调,下面每一项定质感,设置页里逐项切换,改动立即生效:
41
+
42
+ - **底纹** —— 纸纹像旧纸,扫描线像老显示器。
43
+ - **形状** —— 圆润,或把卡片与按钮的圆角收成直角。
44
+ - **字体** —— 随配色,或强制衬线 / 标题衬线 / 等宽。
45
+ - **线条** —— 细线,或印刷的双细线(分隔线、表格、引用一起换)。
46
+ - **密度** —— 标准,或收紧段间距与列表间距。
47
+ - **荧光** —— 只在深色模式:代码块带一层磷光与扫描线,像亮着的屏幕;浅色模式始终是纸。
48
+ - **动效** —— 印章呼吸闪烁;系统开了"减弱动效"时自动停。
49
+ - **品牌标记** —— 每套配色按自己的风格重绘鲸鱼标记,或退回原生图标。
50
+
51
+ 深色模式下的磷光层:
52
+
53
+ ![磷光](assets/phosphor.png)
54
+
55
+ ## 字体
56
+
57
+ 主题只**引用**字体名,不打包、不分发任何字体文件。字体缺失时按栈内顺序回退,不会崩、不会变方块。
58
+
59
+ | 角色 | 首选 | 回退 |
60
+ |---|---|---|
61
+ | 黑体(正文 / 标题) | 思源黑体 Source Han Sans SC | 微软雅黑 → PingFang SC → 等线 |
62
+ | 宋体标题 | 方正小标宋简体 | 华文中宋 → Noto Serif SC → 宋体 |
63
+ | 宋体正文 | 华文中宋 | 思源宋体 → 宋体 |
64
+ | 西文标题(靛蓝) | Franklin Gothic Medium | Franklin Gothic Book → 系统无衬线 |
65
+ | 西文标题(苔绿) | Bodoni MT | Elephant → Bookman Old Style |
66
+ | 西文正文(苔绿) | Gill Sans MT | Gill Sans → 系统无衬线 |
67
+ | 引文 | 仿宋_GB2312 | 仿宋 → 华文仿宋 |
68
+ | 代码 | VT323(DEC VT320 终端字形) | Share Tech Mono → Cascadia Mono → Consolas |
69
+
70
+ 两套冷色调(靛蓝、苔绿)共用同一张代码脸:它们排版相反,但代码落在同一台终端上,所以并排看是两副版、一台机器。
71
+
72
+ > VT323、Share Tech Mono 是 SIL OFL 字体,可从 [Google Fonts](https://fonts.google.com/) 免费安装;装上之后代码块才是完整的终端字形,不装则退到 Cascadia / Consolas,功能不受影响。方正小标宋是商业字库,需要自行授权。
73
+
74
+ ## 安装
75
+
76
+ ```sh
77
+ dsh plugin add dsh-theme-retro-press
78
+ ```
79
+
80
+ 安装后重启 DSH,在 **设置 → 复古主题** 里选配色。
81
+
82
+ 要求:DeepSeek Harness `>= 0.2.0`(`engines.dsh`),Web 客户端。
83
+
84
+ ## English
85
+
86
+ Retro Press is a printing workshop for the DeepSeek Harness Web client: twelve palettes, each a complete typographic decision rather than a recolour — its own paper, rules, type pairing and a whale mark redrawn in its ink.
87
+
88
+ The same palette is paper in daylight and a screen after dark. The twelve share one naming rule and one set of finishes, so they read as plates from one drawer, not twelve unrelated skins.
89
+
90
+ Extras that come with every palette: paper grain or scanlines, square or rounded corners, hairline or double rules, compact or normal rhythm, forced type roles, a breathing seal, and — dark mode only — a phosphor glow with raster lines on code blocks.
91
+
92
+ Fonts are referenced, never bundled: missing faces fall back down the stack instead of breaking. VT323 and Share Tech Mono are SIL OFL; 方正小标宋 is a commercial typeface you must license yourself.
93
+
94
+ ## License
95
+
96
+ MIT. Fonts are not distributed with this package and keep their own licences.
Binary file
Binary file
Binary file