DSH Image Theme: Generate DeepSeek Harness Theme from a Local Image
Carpon39038/dsh-image-theme is an MIT-licensed plugin for the DeepSeek Harness (DSH) web client, designed to quickly customize the interface theme by uploading local images. The plugin supports extracting five dominant colors from an image using the deterministic K-means algorithm in the CIE Lab space in the browser. It maps the darkest color to a semi-transparent glass surface, allows users to select a specific color as the accent color, and automatically corrects the contrast between text and the accent color. The original image is set as the full-window background, with adjustable options for darkness overlay, blur, saturation, and position. The plugin generates theme token overrides via DSH APIs such as `ctx.theme.overrideTokens()`, avoiding hard-coded modifications to the host UI. All images...
Read More