Saltar al contenido principal
N

oranges-dsh-skin

noteatingoranges/oranges-dsh-skin

Wallpaper skin for the DSH web client: drop an image into the sidebar dialog and it repaints the interface, with sliders for wallpaper opacity, interface transparency, blur and dimming. The image stays in this browser (IndexedDB); no host behaviour, model requests or network calls.

Instalar

dsh plugin --profile web add github:noteatingoranges/oranges-dsh-skin

README

oranges-dsh-skin

A wallpaper skin for the DeepSeek Harness Web client. One button at the sidebar foot opens a dialog where a dropped image becomes the interface wallpaper, with sliders for wallpaper opacity, interface transparency, blur, and dimming.

The dialog with a dropped image, two opacity sliders, and the wallpaper showing through the interface

Install

# from this repository
dsh plugin --profile <profile> add github:notEatingOranges/oranges-dsh-skin

Or in the app: Plugins → Add plugin, and pick the checkout directory. Restart once if the button does not appear; the row shows up as oranges-dsh-skin under Plugins.

Requires DSH >=0.2.0-rc.0 (declared in engines.dsh). Web surface only — this bundle has no Host half and adds no model requests or tools.

Use

  1. Click Skin at the bottom of the left sidebar, directly above Settings.
  2. Drop an image into the dialog (or click the box, or paste from the clipboard).
  3. Adjust the sliders; the page repaints live.
  4. Apply keeps the skin, Cancel restores what was applied before, Reset removes the image and the stored settings.

While the dialog is open it owns every file drag in the window: the dialog's dashed box highlights, a drop anywhere else does nothing, and the composer's own full-page drop mask never appears. Close the dialog to hand dragging back to the composer.

Where the state lives

  • The image is downscaled to at most 2560 px on its long edge, re-encoded as WebP, and stored as a Blob in this browser's IndexedDB (oranges-dsh-skin).
  • The four numeric settings are stored in localStorage (oranges-dsh-skin.prefs).
  • Nothing is sent to the Host and no model request is added. The skin is per browser; another browser or machine starts without it.

How it paints

A plugin-owned stylesheet paints the wallpaper on body::before behind the interface, and the Interface transparency slider rewrites surface tokens on body as color-mix(..., transparent), in two tiers:

  • structural — --dsw-alias-bg-base, --dsw-specific-sidebar-fill, --dsw-specific-input-major: the page, the sidebar and the composer, at the slider's full strength.
  • card — --dsw-alias-bg-layer-1, --dsw-alias-bg-layer-2, --dsw-alias-bg-layer-3: message bubbles, tool cards, panels and diff surfaces, at 60% of it, so text keeps a surface.

Menus and dialogs keep their shipped material. The slider starts at 40% so a freshly applied skin is visible; 0% restores the shipped solid surfaces.

Panels that paint a hard-coded colour are handled by the Overall tint layer: a click-through veil over the whole frame whose colour is the wallpaper's average colour and whose opacity is that slider (0–12%, default 4%). It does not make those panels transparent — it pulls them into the same palette so the interface stops looking patched together.

Drag events are captured on window in the capture phase while the dialog is open, because the composer's drop mask (.mask, z-index 1000) activates on the first file dragenter that reaches the document and would cover the dialog.

Known limits

  • A surface whose token is only declared on the panel itself (not inherited from body or html) keeps its own background; only the tint layer touches it.
  • The transparency slider stops at 85% removal so text keeps a surface to sit on.
  • After a light/dark switch the captured base colours are re-read from the live theme; a surface restored to fully opaque immediately after such a switch can keep the previous theme's base colour until the next theme change.

License

MIT

Plugins relacionados