← 返回列表
D

dsh-theme-mineradio

v0.1.0 · 1 天前发布

DSH (DeepSeek Harness) Web UI theme — ports the Mineradio music player's dark glassmorphism look (teal/champagne neon) with a cinematic drifting-glow dynamic background.

dshdsh-plugindeepseek-harnessthemeskinmineradioglassmorphismdynamic-background

README

dsh-theme-mineradio

Mineradiogithub.com/XxHuberrr/Mineradio)的 UI 视觉风格移植成 DeepSeek Harness (dsh) Web UI 主题插件

风格定位:暗色玻璃拟态(Glassmorphism)+ 青/金霓虹,外加一层电影感漂移光晕的动态背景

  • 招牌青 #00F5D4、香槟金 #f4d28a、近黑底 #08090B、大量 backdrop-blur 与青色微光阴影

  • 动态背景:青 / 金 / 青蓝三团光晕用 CSS @keyframes 缓慢漂移,尊重 prefers-reduced-motion

  • UI 表面半透明,光晕从缝隙透出,复刻 Mineradio 的「沉浸式」观感
  • 仅作视觉风格参考移植,配色与动画为按其公开的 index.css 还原;Mineradio 的界面视觉设计与原创表达归原作者所有。

    ---

    它到底改了什么(原理)

    dsh 的 Web UI 配色是一套两层 CSS 变量:--dsw-static-(静态色板)和 --dsw-alias-(语义别名,100+ 个)。本插件做两件事,全部在浏览器半(Client half)完成:

    1. 注册主题ctx.theme.register(theme) 把 Mineradio 配色映射进 --dsw-alias-*。注册后主题出现在 dsh 内置「设置 → 外观 / 主题」切换器,选择由 dsh 自己的 ui-theme 命名空间持久化(跨重启保留)。
    2. 注入动态背景层:在 document.body 挂一

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-theme-mineradio
    Repo
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"client":{"platform":"web","immediately":false,"inject":["@deepseek-ai/dsh-client-runtime"]}}