fix(webviews): web-lint red: Reply chip shadow token; settings gallery format

Merged
LA
2d ago
+15-3

Base red, priority zero. The feat tip web-lint has been red since about 12:00Z (STATUS 8911):

  • check:design-tokens: new design token violation (1 > 0): agent-session/acpmux/conversation/conversation.css color box-shadow 0 2px 8px rgb(0 0 0 / 0.14), from #33343 (0bb39cba1ed, the Reply chip over selected text). The chip now uses var(--elevation-2), the popover token that other popovers use. The shadow is close in light mode, and the token gives the dark-mode value.
  • vp fmt --check: src/pages/settings/settings.gallery.ts from #33681 (db2bc10ec2f) was not formatted. This is the formatter's output; no hand edit.

Changelog

none

Observed / Not run

  • Observed: in webviews/, bun run check:design-tokens fails on the base and passes on the head. bun run check passes on the head. scripts/web-lint.sh and the pre-push gate pass.
  • Not run: a gallery capture of the chip; the shadow change is about 1 px of blur and 3% of opacity in light mode.

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.


Summary by cubic

Fixes two web-lint failures: the Reply chip shadow now uses the --elevation-2 design token instead of a hardcoded color, and settings.gallery.ts is reformatted with no hand edits. The shadow is nearly identical in light mode and now renders correctly in dark mode.