AI Agent Hub
Back to plugins
dsh-custom-css preview

dsh-custom-css

Client Updated 2026.09.16

Run the following command in DeepSeek Harness:

dsh plugin install FOX4096/dsh-custom-css

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install FOX4096/dsh-custom-css in your terminal to install; source code is available at https://github.com/FOX4096/dsh-custom-css

About this plugin

DSH has long required source edits or theme overrides to adjust its appearance, a process that is both fiddly and fragile across releases. dsh-custom-css adds a Custom CSS row under Settings > General > Appearance. Stylesheets live as plain .css files in ~/.dsh/custom-css/, and every change takes effect across the entire UI within a 400 ms debounce—no restart, no build step.

The editor mirrors the DevTools Styles pane: line-number gutter, syntax highlighting, engine-driven keystroke autocomplete, find-and-replace, undo/redo, format validation, and a CSS custom-property health check. The rule panel stands out—clicking a selector in the editor opens a side panel that lists and edits that rule's existing declarations. Enumerated properties show labelled Chinese or English dropdowns; shorthand properties (flex, margin, gap, border-radius, etc.) break into individual component input boxes; and a row of ready-made declaration templates sits at the bottom for one-click insertion. External editors are first-class: the plugin polls file revisions every 1.5 s, adopts on-disk changes when the editor buffer is clean, asks before overwriting unsaved work, and keeps up to 20 timestamped snapshots per file so any overwrite—including a restore—is fully reversible. The element picker lets you click any element on the running interface; selectors are ranked for cross-release stability (data attributes first, ARIA labels next, hand-written semantic classes, structural paths as a last resort), and design tokens are reverse-looked-up live from the CSSOM and written as var() declarations.

It suits two audiences well: everyday users who want to nudge a margin, hide a panel, or swap a colour without touching source code, and power users who version-control their stylesheets, prefer external editors, and need selectors that survive DSH releases.

Screenshots

Use Cases

  • Tweak margins, radii, and colors directly in settings with instant live preview
  • Click any element on the interface to generate a stable selector and insert design tokens
  • Version-control stylesheets in external editors with automatic revision polling

Best For

  • Everyday users who want to adjust the look without editing source code
  • Advanced users who need selectors to survive releases
  • Theme maintainers who prefer external editors and reliable history