Back to home@XiaoluoFoxington

dsh-theme-hacker-terminal

Hacker-terminal skin for the dsh web GUI: pure black, high-contrast green, right-angle geometry, monospace font, full-width conversation, OLED-safe, scrollbars on Gecko/Blink/WebKit.

Stars
0
Language
JavaScript
Created
Aug 24, 2026
Updated
Aug 24, 2026
GitHub repo

Introduction

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