dsh-claude-style 0.19.1 → 0.19.2-dev.47
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/docs/CHANGELOG.md +38 -0
- package/docs/STYLE.md +23 -23
- package/lib/client.js +13 -13
- package/package.json +1 -1
package/docs/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to `dsh-claude-style` are documented here, newest first.
|
|
4
4
|
|
|
5
|
+
## [0.19.2] - 2026-10-24
|
|
6
|
+
|
|
7
|
+
[中文](#cn-0.19.2) | [English](#en-0.19.2)
|
|
8
|
+
|
|
9
|
+
<h3 id="cn-0.19.2">体验优化</h3>
|
|
10
|
+
|
|
11
|
+
- 改善推理档位的强调色:外显文字与滑块卡片中的档位名跟随主题强调色,弱档更淡、强档对比更强,并随档位升高略微向红色偏移;说明文字和两端的「更快 / 更强」保持原来的灰色。
|
|
12
|
+
- 改善推理档位的名称切换:名称的模糊进出改由滑块行程驱动,向更强档拖动时旧名向上离开、新名从下方进入,向更弱档拖动时反向播放。
|
|
13
|
+
- 改善输入栏模型名与推理等级的共同容器:两者仍作为一个行项排列,但各自拥有独立的内层容器与 hover 底板,指针只点亮被指向的那一个。
|
|
14
|
+
- 改善模型选择器的发布标记:1017 标签改用中性灰底与次级灰字,不再使用宿主的业务色。
|
|
15
|
+
|
|
16
|
+
### 问题修复
|
|
17
|
+
|
|
18
|
+
- 修复点按推理滑块切换档位时,指针的轻微抖动被误判为拖动,导致滑块瞬移并跳过动画的问题:指针需先离开点按位置一小段距离,才进入拖动状态。
|
|
19
|
+
- 修复选择自定义配色后,开启「水波纹字符背景」的新会话首页不显示字符水波纹、控制台报「not an opaque colour」的问题。
|
|
20
|
+
- 修复水波纹字符背景在颜色令牌不可读时持续报错且不退出:连续几轮读取失败后报告并退役,令牌恢复可读则照常绘制。
|
|
21
|
+
- 自定义配色未选行内代码色时,深色主题沿用浅色卡的字色,代码胶囊几乎看不见;现在按主题各取本卡的字色。
|
|
22
|
+
- 修复在较新的宿主版本上会话视图页签只剩当前一个、其余被收进「更多」菜单的问题:全部视图重新排在页签栏里,选中项仍由一颗滑动的药丸标出,「更多」按钮与页签栏并排。
|
|
23
|
+
- 修复新会话页水波纹字符背景在相隔较远处连续点击时,先前的波纹突然变慢的问题:每一次点击现在只加快它自己周围的波速,已经荡开的波纹保持原来的行进速度。
|
|
24
|
+
- 修复选择自定义配色后发送消息时,飞出的气泡取不到读者自己的气泡颜色、晕圈落在透明卡片上、气泡边缘的细线不显示的问题。
|
|
25
|
+
|
|
26
|
+
<h3 id="en-0.19.2">Improvements</h3>
|
|
27
|
+
|
|
28
|
+
- Improve the reasoning level's accent colour: the composer's words and the slider card's level name follow the theme accent, lighter at the weak end and stronger at the top, leaning slightly toward red as the level climbs; the caption and the Faster / Smarter scale ends keep their own grey.
|
|
29
|
+
- Improve how the reasoning level's name changes: the blur and travel now follow the slider's own path, with the old name leaving upward and the new one rising from below toward a stronger level, and the motion playing in reverse toward a weaker one.
|
|
30
|
+
- Improve the shared seat holding the composer's model name and reasoning level: the two stay one row item, but each now has its own inner container and hover plate, so the pointer lights only the one it is over.
|
|
31
|
+
- Improve the model picker's release marker: the 1017 tag now uses a neutral grey plate and secondary grey ink instead of the host's business colour.
|
|
32
|
+
|
|
33
|
+
### Bug Fixes
|
|
34
|
+
|
|
35
|
+
- Fix the reasoning slider teleporting and skipping its animation on a click whose pointer moved by a pixel or two: the press now becomes a drag only after the pointer leaves the click's small tolerance.
|
|
36
|
+
- Fix the new-conversation page drawing no ripple field, with an error in the console, once a custom palette is chosen and the field is on.
|
|
37
|
+
- Fix the home ripple reporting forever without exiting while a colour token stays unreadable: it retires after several failed rounds and draws again once the tokens read.
|
|
38
|
+
- An unpicked inline-code colour fell back to the light card's ink under the dark theme, leaving code chips all but invisible; each scheme now takes its own card ink.
|
|
39
|
+
- Fix newer hosts showing only the current conversation view tab, with the other views sent into the More menu: every view sits in the strip again, the selected one still marked by the sliding pill, and the More button beside it.
|
|
40
|
+
- Fix the new-conversation page's ripple glyph background slowing a ring already in flight when a second press lands far from the first: a press now speeds up only the ground around itself, and a ring keeps travelling as the press that started it set it.
|
|
41
|
+
- Fix the send flight once a custom palette is chosen: the flying bubble no longer takes its fill from the reader's own bubble, the halo lands on the transparent card, and the hairline around the bubble is left out.
|
|
42
|
+
|
|
5
43
|
## [0.19.1] - 2026-10-24
|
|
6
44
|
|
|
7
45
|
[中文](#cn-0.19.1) | [English](#en-0.19.1)
|
package/docs/STYLE.md
CHANGED
|
@@ -36,9 +36,8 @@ Rules:
|
|
|
36
36
|
plate, DeepSeek's light blue `#ECF0FF`; the custom card derives it from its
|
|
37
37
|
own canvas, so a conversation bubble reads as the card that painted it.
|
|
38
38
|
- Accent usage stays under ~10% of visible elements.
|
|
39
|
-
- Literal colours stay outside the ladder: the
|
|
40
|
-
|
|
41
|
-
off-peak badges and the popover shadow.
|
|
39
|
+
- Literal colours stay outside the ladder: the selection ring, the ripple's
|
|
40
|
+
front, the peak and off-peak badges and the popover shadow.
|
|
42
41
|
|
|
43
42
|
**The DeepSeek card** turns both schemes blue. Its accent is DeepSeek's brand
|
|
44
43
|
blue `#4D6BFE` — the colour of its whale logo and of Deepy; the sidebar's whale
|
|
@@ -48,7 +47,7 @@ blue-black, and its dark outlines are surface steps rather than highlights. The
|
|
|
48
47
|
skin's Claude marks (the account row's picture without an avatar) become
|
|
49
48
|
DeepSeek's
|
|
50
49
|
whale (`packages/assets/src/brand/deepseek-mark.svg`, the host's `FISH_LOGO_PATH`); the
|
|
51
|
-
|
|
50
|
+
reasoning slider's accent follows whichever palette is in force.
|
|
52
51
|
|
|
53
52
|
The tables below are generated from `packages/client/src/theme/tokens.json` by `npm run build`;
|
|
54
53
|
edit the JSON, not the tables. A token's row names the tone it reads and the
|
|
@@ -208,27 +207,28 @@ Under the host typeface the skin's own faces fall back to the host's:
|
|
|
208
207
|
`--dsh-claude-font-serif`, `-prose` and `-brand` to `--dsw-font-family` (the host
|
|
209
208
|
carries no serif), `--dsh-claude-font-code` to `--ds-font-family-code`.
|
|
210
209
|
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
that paints a surface, a text, a border or an accent reads a token.
|
|
210
|
+
The account-hold page keeps its own colours, reproducing a Claude screen.
|
|
211
|
+
The reasoning slider and its trigger take the theme accent: the dot matrix and
|
|
212
|
+
knob glow read `--dsh-claude-apex*`, and the level ramp reads
|
|
213
|
+
`--dsh-claude-effort-*`. Translucent neutral hover tints and the usage panel's
|
|
214
|
+
data colours stay literal; they read on any canvas. Every other colour that
|
|
215
|
+
paints a surface, a text, a border or an accent reads a token.
|
|
218
216
|
|
|
219
217
|
**The effort trigger's tone.** While the Composer tab's effort-accent row is on,
|
|
220
|
-
the effort level's text in the composer's seat box
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
218
|
+
the effort level's text in the composer's seat box and the card's level name
|
|
219
|
+
take their colour from the rung in force. The caption and the scale ends keep
|
|
220
|
+
their own caption inks. Every thinking rung has
|
|
221
|
+
a place on one ramp between two ends mixed from the theme accent in OKLCH:
|
|
222
|
+
`--dsh-claude-effort-low` toward the raised surface (less saturated, lower
|
|
223
|
+
contrast) and `--dsh-claude-effort-high` toward the label ink (more contrast). The rung's
|
|
224
|
+
place is its index over the ladder's span, so a four-stop ladder reads weak,
|
|
225
|
+
two steps between, then strong. The hue starts at the theme accent and travels
|
|
226
|
+
slightly toward red as the rung climbs: an accent above 180° leans toward 359°,
|
|
227
|
+
one below 180° toward 0°, by a quarter of the distance at the top, while HSL
|
|
228
|
+
keeps the saturation and lightness of the ramp step.
|
|
229
|
+
The switch-off level and the model's own default level have no strength the catalog
|
|
230
|
+
names, so both keep the resting ink (`--dsw-alias-label-secondary`). The row off
|
|
231
|
+
leaves the resting ink on every rung.
|
|
232
232
|
|
|
233
233
|
**The composer's seat.** The model's name and the effort level share one box in
|
|
234
234
|
the row, the way the host's own seat carries both texts: the box is the row's one
|