iwinoid/dsh-kde-tint ↗★ 0

dsh-kde-tint

按 KDE 系统强调色自动给 DSH 界面上色,支持明暗主题 适合追求界面风格统一并随系统色变更的用户,需 KDE 系统色环境与可加载的主题配置。

套件
dsh-kde-tint
相容性
待驗證
版本
0.2.0
授權
MIT
最近更新
2026年9月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:iwinoid/dsh-kde-tint

Usage

The plugin needs no clicks. It loads with immediately: true and tints the UI on every page load. Uninstall (or disable) restores the stock theme. The token override is effect-scoped, so it unwinds with the plugin.

What gets tinted

The client mixes the KDE accent into the base surfaces. Light mode keeps a white base with 6–16% accent. Dark mode keeps a dark base with 6–8% accent. Brand primary uses the raw accent in both modes.

TokenLightDark
--dsw-alias-bg-basewhite + 6% accent#0a0f14 + 8% accent
--dsw-alias-bg-layer-1 / sidebar fillwhite + 8% accent#11161c + 7% accent
--dsw-alias-bg-layer-2white + 11% accent#1a2028 + 6% accent
--dsw-alias-bg-layer-3white + 14% accent#232d37
--dsw-alias-border-l1 / -l2white + 12% / 16% accent#2a323d / #303a47
--dsw-alias-brand-primaryraw accentraw accent

Text tokens stay neutral (#1a1d22 / #e6e8eb primary). Only surfaces and brand follow the accent.