Skip to content

Releases

棱镜 0.7.0

Choose a tag to compare

@Wildchiken Wildchiken released this 08 Nov 10:32

新增

  • 示例主题 Material 3:照安卓 16 的 Material 3(Material You)做的一套主题。颜色跟着强调色变(Google 开源的 material-color-utilities 现算,和安卓默认的 Tonal Spot 一样),组件尺寸、圆角、状态层、动效照 material-web 和安卓 16 设置页,图标全部换成 Material Symbols,按下时水波纹从按下的地方扩散。下载附件 material-3.json,在 设置 → 棱镜 → 导入导出 里导入。
  • Material 动态取色:主题文件可以带 material 字段,写「宿主变量 → Material 配色角色」,棱镜按当前强调色现算整套配色;用这种主题时,侧栏面板里直接出一排强调色。
  • 按压位置:主题在元素上写 --prism-ripple: 1,按下时棱镜写上 --prism-x / --prism-y,水波纹可以从按下的地方扩散。
  • scripts/audit-theme.mjs:主题体检。逐个画面比较有无主题时的折行、截断、消失、重叠,查对比度、圆角、图标、字体,再逐个元素悬停看会不会动;中英文界面都能跑。

改动

  • 去掉悬停预览:鼠标划过主题时会把整套界面换掉,换字体、图标的主题一换内容就移动,来回闪。现在点了才换,悬停只显示名字。
  • 自定义 CSS 上限 8192 → 16384 字符,单个变量值 400 → 1024 字符(放得下复杂的图标路径)。
  • 示例主题赛博朋克 HUD 修了两处对比度(未选中的标签页、亮色下轨迹页的「助手」标签)。附件里的 cyberpunk-hud.json 是新版,重新导入即可。

升级(用带版本号的链接;重复运行 latest 链接时 pnpm 会以为已经是最新,不会重新下载)

dsh plugin --profile <名字> add https://github.com/Wildchiken/dsh-prism-skin/releases/download/v0.7.0/dsh-prism-skin-0.7.0.tgz

第一次安装可以用 releases/latest/download/dsh-prism-skin.tgz,macOS 桌面版的装法见 README。暂未发布到 npm。


Added: the Material 3 example theme (attached material-3.json: colors computed from your accent with Google's material-color-utilities, components after material-web and the Android 16 settings app, Material Symbols icons, ripples from the press point); Material dynamic color for theme files (material field) with accent swatches in the sidebar panel; press position for ripples (--prism-ripple, --prism-x, --prism-y); scripts/audit-theme.mjs, a per-screen theme audit.
Changed: hover preview is gone (it swapped the whole interface and flickered with themes that change fonts and icons; themes now change on click); custom CSS up to 16384 characters and single override values up to 1024; two contrast fixes in the Cyberpunk HUD (re-import the attached cyberpunk-hud.json).
Upgrading: install from the versioned link above; re-running the latest link makes pnpm assume you are up to date.

棱镜 0.6.0

Choose a tag to compare

@Wildchiken Wildchiken released this 07 Nov 18:48

新增

  • 「我的主题」可以改名:选中后在设置页顶上点「改名」。
  • 删除可以撤销:删掉「我的主题」后,画廊上方 8 秒内有「撤销」。
  • 省电标记:省电生效时 body 上有 data-prism-saving,主题自带的 CSS 可以据此停掉动画。示例主题「赛博朋克 HUD」已更新,省电时动画也会停(附件里的 cyberpunk-hud.json 是新版,重新导入即可)。
  • scripts/check-theme.mjs:DSH 升级后检查主题框体还能不能匹配。

改动

  • 悬停预览主题时连同它自带的 CSS 一起预览,和点下去看到的一样。

升级(用带版本号的链接;重复运行 latest 链接时 pnpm 会以为已经是最新,不会重新下载)

dsh plugin --profile <名字> add https://github.com/Wildchiken/dsh-prism-skin/releases/download/v0.6.0/dsh-prism-skin-0.6.0.tgz

第一次安装可以用 releases/latest/download/dsh-prism-skin.tgz,macOS 桌面版的装法见 README。暂未发布到 npm。


Added: rename My themes; undo a delete for 8 seconds; data-prism-saving on body while power saving is active (the Cyberpunk HUD now stops its animations then — re-import the attached cyberpunk-hud.json); scripts/check-theme.mjs to check a theme's host selectors after a DSH upgrade.
Changed: hover previews include the theme's own CSS.
Upgrading: install from the versioned link above; re-running the latest link makes pnpm assume you are up to date.

棱镜 0.5.1

Choose a tag to compare

@Wildchiken Wildchiken released this 07 Nov 17:26

修复

  • 中文界面里「我的调整」「高级覆盖」、存为我的主题、导入导出一共 11 处说明文字显示成了英文,已改回中文;加了单元测试防止再发生。
  • 在「宿主默认」上「存为我的主题」,选回来时沿用宿主自己的配色。

改动

  • README 横幅重画;示例主题「赛博朋克 HUD」的动图重新录制,英文版用英文对话;设置页、侧栏面板截图换成 0.5 的界面。
  • 测试和截图脚本启动宿主时隔离主目录、用户名、时区和工作目录。

安装 / 升级(暂未发布到 npm)

dsh plugin --profile <名字> add https://github.com/Wildchiken/dsh-prism-skin/releases/latest/download/dsh-prism-skin.tgz

示例主题文件 cyberpunk-hud.json 和 0.5.0 相同。完整改动见 CHANGELOG。


Fixed: 11 descriptions in the Chinese UI showed in English; a My theme saved on top of Host default now keeps the host's own palette.
Changed: redrawn README banner; the Cyberpunk HUD animations were re-recorded (English conversation for the English version); 0.5 UI screenshots; test and screenshot scripts isolate the host's home, user, time zone and working directory.

棱镜 0.5.0

Choose a tag to compare

@Wildchiken Wildchiken released this 07 Nov 17:26

主题是一整套,修改单独一层。 以前导入的主题只显示「自定义配色」,它的 CSS 和变量覆盖混在「高级覆盖」里,点「宿主默认」或「重置」看不出变化。现在:

  • 导入的主题文件带着名字整套存进 「我的主题」,和内置主题并列;自带的变量覆盖、CSS、圆角算主题的一部分。
  • 选任何主题都是整套换上(包括「宿主默认」),之前的修改一起清掉,可撤销;对比度和明暗保留。
  • 设置页顶上新增 当前主题条:主题名、「已修改」标记,以及「丢弃修改」「存为我的主题」「恢复默认」。原来散在三处的「重置」去掉。
  • 侧栏面板显示当前主题名;「我的主题」卡片悬停可删除(点两次)。

示例主题:赛博朋克 HUD。 附件里的 cyberpunk-hud.json 是一个主题文件:HUD 框体、扫描线、收敛的动画。在 设置 → 棱镜 → 导入导出 里选择文件、应用即可。框体依赖宿主内部类名,宿主升级后可能需要更新这个文件。

安装(暂未发布到 npm)

dsh plugin --profile <名字> add https://github.com/Wildchiken/dsh-prism-skin/releases/latest/download/dsh-prism-skin.tgz

macOS 桌面版见 README。实测宿主:DSH 0.2.2-rc.1(网页和 macOS 桌面版)。完整改动见 CHANGELOG。


Themes are bundles; your changes are a layer on top. Imported theme files are saved by name to the new My themes, with their overrides, CSS and radius as part of the theme. Picking any theme, Host default included, applies the whole bundle and clears your changes (undoable; contrast and depth are kept). A current-theme bar at the top of the settings page offers Discard changes, Save as my theme and Restore defaults, replacing the three separate Reset buttons.

Example theme: Cyberpunk HUD. The attached cyberpunk-hud.json adds HUD frames, scanlines and restrained motion; import it from Settings → Prism → Import & export. Its frames depend on host class names and may need an updated file after a host upgrade.

棱镜 0.4.0

Choose a tag to compare

@Wildchiken Wildchiken released this 07 Nov 17:26

棱镜(Prism)的首个公开版本:一个 DeepSeek Harness 换肤插件,用少量种子生成整套配色。

主要功能

  • 10 套主题,亮暗成对,覆盖宿主全部颜色变量和代码高亮;文字对比度按 WCAG / APCA 自动达标。
  • 侧栏「换肤」快捷面板:换主题、切明暗、随机、撤销。
  • 壁纸:图片、渐变、纯色、轮播、文件夹;预先模糊的玻璃感,默认不开实时毛玻璃;可从壁纸取色。
  • 省电:跟随系统「减少透明度」或低电量自动切成不透明配色。
  • 深度自定义:字体与字号、6 套代码配色、圆角、按名字搜变量直接改、自定义 CSS。
  • 导入导出:主题文件、分享码;可迁移 dsh-dream-skin 的设置和主题包;可导出成 skin-center 皮肤。

安装(暂未发布到 npm)

dsh plugin --profile <名字> add https://github.com/Wildchiken/dsh-prism-skin/releases/latest/download/dsh-prism-skin.tgz

macOS 桌面版的安装方法见 README。

实测过的宿主:DSH 0.2.1-rc.5(网页)、0.2.2-rc.1(网页和 macOS 桌面版)。已知限制见 README。


First public release of Prism, a seed-based theme plugin for DeepSeek Harness: ten light/dark palettes covering every host color variable with WCAG/APCA contrast checks, wallpapers with pre-blurred glass, power saving, code color schemes, variable editing, import/export and dsh-dream-skin migration. See README for install steps and known limitations.