Files
dsh-context/tests
bowenliang123 2e54440297 refactor(client): dedupe tooltip chrome into .lc-tip; adopt DSH tokens
The four styled DOM bubbles (stat cost tip, brief tag tip, file-card
delta tip, chart hover tip) each carried the same hand-rolled chrome
(layer-2 fill, hairline frame, 6px radius, float shadow, hover reveal).
A shared .lc-tip rule in base.css now owns that chrome — tips pair it
with their own class and keep only local positioning, width caps and
whitespace. The chart tip keeps z-index 5 and nowrap locally.

Token audit against dsh's ui-theme catalog:
- modal backdrop: hardcoded rgba(0,0,0,0.45) now rides
  --dsw-alias-bg-mask-1 (the harness Modal and our own lightbox mask),
  fallback keeps the old value on older dsh builds.
- monospace stacks (error message, call name/state, param type, arg
  value) now ride --ds-font-family-code so code text matches the
  harness code font; the fallback stack stays for older builds.
- tip shadows ride --dsw-shadow-lv3, the floating-layer shadow the
  harness primitives use, fallback keeps the old tight shadow.

Kept as-is: the neutral translucent grays (128,128,128/x) for tracks
and zero lines and the violet category accents (#a855f7/#8b5cf6) —
the catalog has no tokens with those semantics.
2026-08-29 14:11:32 +08:00
..