Nahida grass-dew theme: green glass UI, an editable Nahida persona, 55 stickers and switchable backgrounds.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:huizhang695/dsh-nahida-dew-theme
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
纳西妲 · 草绿晨露主题:草绿 + 米白 + 金的毛玻璃界面、侧边栏可编辑的纳西妲人格、55 张表情包与可切换背景。
出处与致谢
- 架构与代码:派生自 dsh-columbina-theme(MIT)。宿主半 / 客户端半、fenced 路由、
rev乐观并发、槽位注册等结构都沿用它;后者又基于 berhbro/dsh-cyrene-theme 改造。原版权声明保留在LICENSE。 - 表情包素材:
meme/来自 miHoYo / HoYoverse 官方《原神》表情包,经 asadahimeka/mys_stickers 整理分发,本包只做改名与尺寸适配;版权归米哈游 / HoYoverse,仅用于非商业同人界面美化。 - 背景图:
Background/里三张由本项目用 PIL 生成(原创),Background/generate.py可复现。 - 图标:
icon.svg/assets/icon-180.png为本项目绘制(原创)。 - 人格文本:本项目改写,不含官方文本。
完整说明见 NOTICE.md。
制作方式
本主题的全部代码改动——人格文本、配色与样式、客户端半 / 宿主半、测试、发布准备与文档——由 DeepSeek Harness 内的 AI 助手(本对话中的「纳西妲」助手)编写;仓库作者(huizhang695)负责提出需求、提供素材、做取舍与验收。架构沿用上游 dsh-columbina-theme(MIT)。
安装
从 GitHub:
dsh plugin add "github:huizhang695/dsh-nahida-dew-theme#main"
从 npm:
dsh plugin add dsh-nahida-dew-theme
或指定 profile:
dsh plugin --profile desktop add dsh-nahida-dew-theme
本地开发时也可以直接装目录:plugin_manager install_bundle,target 指向本包目录。
要求 DSH ^0.2.3-alpha.2(见 package.json 的 engines.dsh)。
它做什么
- 覆写
--dsw-alias-*一套 token(浅色 / 深色两套),把界面换成草绿 + 米白 + 金的毛玻璃质感。 - 给
body打作用域属性,样式表移除后界面完全还原,不改任何宿主文件。 - 在侧边栏与设置页挂一个「纳西妲」入口:可编辑人格设定、开关主题 / 表情包 / 背景,Ctrl+Enter 直接保存人格。
- 把新会话欢迎页的形象与欢迎语换成纳西妲。
- 55 张表情包(纳西妲 6 张 + 其他角色 49 张),管理器里可筛选、改名、隐藏、自己上传。
- 背景图放在插件目录
Background/里,设置页缩略图条可切换;自动轮换只在页面内进行,不改写设定。
自定义背景
想用自己的图当背景:把图片放进插件目录的 Background/ 文件夹即可,不需要改代码。
- 支持
png/jpg/jpeg/gif/webp/avif,单张上限 24 MB; - 推荐 16:9、2560×1440 以上,插件会按
cover自动铺满; - 刷新页面后,在「设置 → 纳西妲 · 主题」的缩略图条里点选;
- 目录里没有图时,会退回主题自带的原创渐变底,人格与表情包不受影响。
自己放进去的图片请确认来源与授权——它们不会被包含在市场的安装包里,只是你的本地素材。
目录
lib/index.js 宿主半:状态文件、fenced 路由、人格与表情包清单
lib/client.js 客户端半:样式表注入、槽位组件
stickers.json 表情包清单(标签 / 触发时机 / 素材路径)
meme/ 表情素材
Background/ 背景图(启动时实时扫描;含 generate.py 可重绘原创背景)
locale/ 中英文标题与描述(插件市场展示用)
icon.svg 原创图标
test/ contrast(对比度)/ host / client 三份自检
cordis.patch.yml bundle patch
注意
本包与前身 dsh-nahida-theme 使用相同的内部标识(/nahida 路由、nahida:persona 人格段、$DSH_HOME/nahida-theme.json 状态文件)。不要同时装两个,否则人格段会重复注册、路由冲突;装了本包就卸掉旧的。
测试
node test/contrast.mjs 颜色对比度(WCAG,浅深两套 token)
node test/host.smoke.mjs 宿主半:路由、乐观并发、落盘、图片字节
node test/client.smoke.mjs 客户端半:样式表、槽位、编辑器、背景层
或直接 node --run test(package.json 里的 test 脚本按顺序跑三份)。
状态文件
用户设定写在 $DSH_HOME/nahida-theme.json。
许可
代码以 MIT 发布:允许派生与再发布,条件是在所有副本或实质部分中保留上面的版权声明与许可文本。素材(表情包等)版权见 NOTICE.md。与米哈游、HoYoverse、DeepSeek 均无隶属关系。
Links
More in this category
elysia395/dsh-wallpaper-engine★ 8562
Requires DeepSeek Harness 0.1.5-rc.1+ (DSH Desktop >= 2.0.7) and dsh-better-sidebar >= 0.19.0 - update both before installing or updating this plugin. Plays local Wallpaper Engine Video/Web wallpapers behind the chat, renders Scene wallpapers as extracted static frames, and adds content-rating/type filters, custom uploads and an iOS-style liquid-glass settings window.
Small-tailqwq/dsh-deep-whale#maid-atelier★ 3165
Whale-girl skin series for the DSH Web UI (maid-atelier).
Nwflower/dsh-claude-style★ 756
Claude Code Desktop look-and-feel for the DSH Web GUI — ivory/warm-black dual canvas, clay accent, three-font typography, permission segmented control and brand switcher, via CSS overrides and client DOM overrides.
kingOfSoySauce/dsh-liang-skin★ 411
Adaptive reasoning slider skin that maps each model's available reasoning efforts onto a 0–30 visual intensity scale, with synchronized portraits, background, and interface colors.
d-dev0101/open-sea-skin★ 391
Realtime WebGPU ocean skin with quick controls for waves, daylight, glass opacity, and an automatic day cycle.
webkubor/dsh-bloom-theme★ 331
Bloom Morandi theme: fifteen variants (mist, cinnabar, petal, ripple, sage, stone, lapis, amber, aurora, lavender, mint, tangerine, silverrose, dawn, osmanthus) built on OKLCH so light and dark stay perceptually even; twelve are featured in the top-bar switcher, grouped by color family, and all 30 foreground/background pairs are measured at WCAG AA or better.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.