From f0bfcab370d4cd9884f0fc879fa0a3d51e8fead6 Mon Sep 17 00:00:00 2001 From: vecnode Date: Fri, 27 Nov 2026 22:27:07 +0000 Subject: [PATCH] themes: 16px scrollbars 8px under the 24px cut, and a hair over Chromium's 15px native bar. The thumb border drops to 4px, which leaves an 8px visible thumb in a 16px track; the light-theme contrast and the `scrollbar-width` rule are unchanged. Measured in headless Chrome: 16px + the element's 2px border. dsh-themes alpha.34; the README's themes row says 16px. --- .dsh-version.json | 2 +- README.md | 2 +- packages/dsh-themes/lib/client.js | 20 ++++++++++---------- packages/dsh-themes/package.json | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.dsh-version.json b/.dsh-version.json index 3a79e2e..e763a3e 100644 --- a/.dsh-version.json +++ b/.dsh-version.json @@ -484,7 +484,7 @@ ] }, "dsh-themes": { - "version": "0.1.0-alpha.33", + "version": "0.1.0-alpha.34", "rows": [ "themes" ], diff --git a/README.md b/README.md index 4a69f87..c7fa283 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ way and what it touches. The exact versions are in | [`dsh-skills`](packages/dsh-skills/README.md) | The Skills browser: a header button opens every skill this conversation loads, with its markdown and inline editing. It reads the same registry the agent does, so what you see is what is in effect. | | [`dsh-sql-server`](packages/dsh-sql-server/README.md) | Seven `sql_*` tools over a container this row owns or the `sqlcmd` already on PATH. It keeps apart the four facts that fail independently: a server, a client, a listening port and the machine-wide ODBC driver. `sql_server start` waits until the server answers a statement, and `sql_script` loads a dump with BOM-aware code pages. | | [`dsh-supercollider`](packages/dsh-supercollider/README.md) | SuperCollider the agent can play: eleven `sc_*` tools over one warm `sclang` session (about 31 ms a call, with state kept) and a hand-written OSC client to `scsynth`. The installed `.schelp` reference is indexed for `sc_help`, and the `.scd` workflow opens in the editor. Five skills teach the language, SynthDefs and live coding, and every example in them is compiled by a check. | -| [`dsh-themes`](packages/dsh-themes/README.md) | Header controls for themes (Nord, Monokai, Hacker, Cyber), screenshot and page zoom, the Markdown paper and the pack branding, and the app-wide scrollbars (24px on both axes, with a thumb that reads on the light page). It also hides the shipped account-menu Feedback row. | +| [`dsh-themes`](packages/dsh-themes/README.md) | Header controls for themes (Nord, Monokai, Hacker, Cyber), screenshot and page zoom, the Markdown paper and the pack branding, and the app-wide scrollbars (16px on both axes, with a thumb that reads on the light page). It also hides the shipped account-menu Feedback row. | | [`dsh-ui-state`](packages/dsh-ui-state/README.md) | The pack's own UI state, remembered host-side: zoom, theme, dock and column widths. It outlives the process, so a restart keeps the layout you left. | | [`dsh-video`](packages/dsh-video/README.md) | A player tab that streams and seeks any container the browser can decode. An ffprobe facts panel names codec, size and frame rate, and one click remuxes when the browser cannot decode it. | | [`dsh-vn-master`](packages/dsh-vn-master/README.md) | The pack's final layer: it installs last, so its row decisions win. It disables the four feedback/telemetry rows and the pack's own `browser` row, which is built and shipped deliberately off. Pack-wide row patches belong here. | diff --git a/packages/dsh-themes/lib/client.js b/packages/dsh-themes/lib/client.js index 2803a81..ba3a8aa 100644 --- a/packages/dsh-themes/lib/client.js +++ b/packages/dsh-themes/lib/client.js @@ -254,7 +254,7 @@ window.__ModuleLoader__.load({ /** The slot id of the Themes occupant in the header utilities list. */ const THEMES_ID = 'dsh-themes' /** Version marker, logged at activation so a fresh bundle is easy to verify. */ - const PLUGIN_VERSION = '0.1.0-alpha.33' + const PLUGIN_VERSION = '0.1.0-alpha.34' /** The client service (@deepseek-ai/dsh-client-ui-theme) that owns the preference. */ const THEME_SERVICE = 'theme' /** @@ -432,10 +432,10 @@ html:has([data-dsh-themes-band]) [data-dsh-skills="button"]{display:none} html[data-dsh-screenshot] [role=tooltip]{visibility:hidden} /* SCROLLBARS - across the app, not one pane at a time. The shipped shell styles the thumb (a 2px transparent border and a radius) but never sets a WIDTH, so - every list, pane and editor keeps Chromium's 15px native bar. This widens it to - 24px - 60% over the native bar, and 6px down from the 30px first cut, which - read as a slab in a narrow pane - and raises the contrast on the LIGHT page, - where a 15px grey sliver on white is the thing people lose. + every list, pane and editor keeps Chromium's 15px native bar. This sets it to + 16px on both axes - a hair over the native bar, and 8px under the 24px cut + that still read as a slab in a narrow pane - and raises the contrast on the + LIGHT page, where a 15px grey sliver on white is the thing people lose. Three facts the rules depend on: - !important and the "html " prefix are deliberate. The shell's own ::-webkit-scrollbar-thumb rule and the CSS modules a tab mounts later both @@ -444,13 +444,13 @@ html[data-dsh-screenshot] [role=tooltip]{visibility:hidden} - scrollbar-width is NOT touched: Chromium honours it OVER the webkit pseudo-element, and the shell uses "none" on strips that must stay bare. This changes thickness, never visibility. - - The track's margin is reset because the shell insets it by 6px; at 24px - wide that would leave an 18px track for a 5px thumb border - an 8px sliver. - 5px of transparent border on each side leaves a 14px thumb, with the radius + - The track's margin is reset because the shell insets it by 6px; at 16px + wide that would leave an 18px track for a 4px thumb border - a 4px sliver. + 4px of transparent border on each side leaves an 8px thumb, with the radius carrying the pill. */ -html ::-webkit-scrollbar,::-webkit-scrollbar{width:24px!important;height:24px!important} +html ::-webkit-scrollbar,::-webkit-scrollbar{width:16px!important;height:16px!important} html ::-webkit-scrollbar-track,::-webkit-scrollbar-track{background:transparent!important;margin:0!important} -html ::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb{background-color:var(--dsw-alias-border-l2,rgba(127,127,127,.32))!important;border:5px solid transparent!important;border-radius:24px!important;background-clip:content-box!important;min-height:36px} +html ::-webkit-scrollbar-thumb,::-webkit-scrollbar-thumb{background-color:var(--dsw-alias-border-l2,rgba(127,127,127,.32))!important;border:4px solid transparent!important;border-radius:16px!important;background-clip:content-box!important;min-height:32px} html ::-webkit-scrollbar-thumb:hover,::-webkit-scrollbar-thumb:hover{background-color:var(--dsw-alias-label-tertiary,rgba(127,127,127,.5))!important} html ::-webkit-scrollbar-corner,::-webkit-scrollbar-corner{background:transparent} body:not([data-ds-dark-theme]) ::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.38)!important} diff --git a/packages/dsh-themes/package.json b/packages/dsh-themes/package.json index 5f9651a..388f3bb 100644 --- a/packages/dsh-themes/package.json +++ b/packages/dsh-themes/package.json @@ -1,6 +1,6 @@ { "name": "dsh-themes", - "version": "0.1.0-alpha.33", + "version": "0.1.0-alpha.34", "description": "Themes and header dress: the conversation header's own controls (page zoom, Screenshot, Themes, session-log download), the Nord/Monokai/Hacker/Cyber palettes, and the pack's appearance overrides - Markdown paper, the branding band, the account menu's Feedback row removed, and the right bar's resize seam.", "type": "module", "main": "lib/index.js",