dsh-theme-hacker-terminal
界面增强 活跃维护

dsh-theme-hacker-terminal

XiaoluoFoxington/dsh-theme-hacker-terminal

提供纯黑高对比荧光绿的界面主题,采用直角几何设计、等宽字体与全宽对话布局,适配Gecko/Blink/WebKit内核浏览器,OLED屏幕下使用无烧屏风险,还原复古黑客终端的视觉风格。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
9 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:XiaoluoFoxington/dsh-theme-hacker-terminal
git clone https://github.com/XiaoluoFoxington/dsh-theme-hacker-terminal.git
git clone git@github.com:XiaoluoFoxington/dsh-theme-hacker-terminal.git
README.md main

dsh-theme-hacker-terminal

A hacker-terminal skin for the dsh web GUI.

纯黑 + 高对比绿的黑客终端皮肤,适用于 dsh Web 界面。

Features / 特性

  • Pure black background with high-contrast green (#00ff41) accents / 纯黑背景 + 高对比绿点缀
  • Right-angle geometry everywhere (no rounded corners) / 全站直角,无圆角
  • Monospace terminal font stack / 等宽终端字体
  • OLED-safe: no scanline overlay / OLED 友好,无扫描线
  • Full-width conversation and composer areas / 对话区与输入区全宽
  • 8px green-on-black scrollbars on Gecko, Blink and WebKit / 三内核(Gecko/Blink/WebKit)统一的 8px 绿黑滚动条
  • Todo list, goal bar and queue dock sit in their natural document-flow position above the composer / todo 列表、goal 条、queue 队列位于输入框上方自然文档流位置
  • Tooltip text forced to a readable light green on the dark tooltip surface / 工具提示文字在深色提示底上强制为可读的亮绿

Install / 安装

dsh plugin add https://github.com/XiaoluoFoxington/dsh-theme-hacker-terminal

This installs the package into your active profile and registers the
ui-hacker-theme entry through the bundled cordis.patch.yml. Restart
dsh web (or reload the page if it was already running) and the skin applies.

安装后重启 dsh web(或刷新已打开的页面)即生效。

Uninstall / 卸载

dsh plugin remove dsh-theme-hacker-terminal

Or remove the ui-hacker-theme insert from your profile's cordis.patch.yml
if you installed it manually, then restart dsh web.

How it works / 原理

The package is dual-faced (Cordis plugin):

  • lib/index.js — host half, a no-op; it only exists so the loader can mount the package.
  • lib/client.js — browser half, loaded immediately (immediately: true). It
    calls theme.overrideTokens() with the hacker palette, then injects a
    <style> element with the full skin CSS. Both are removed again on teardown.

License

MIT