Skip to content

release(vscode): ship cross-theme icon in 0.1.6 - #73

Merged
forhappy merged 3 commits into
mainfrom
codex/vscode-theme-compatible-icon
Jul 27, 2026
Merged

release(vscode): ship cross-theme icon in 0.1.6#73
forhappy merged 3 commits into
mainfrom
codex/vscode-theme-compatible-icon

Conversation

@forhappy

@forhappy forhappy commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace the transparent, low-contrast Marketplace mark with a self-contained indigo badge and white compass glyph
  • Keep the Activity Bar icon monochrome with currentColor so VS Code controls it across light, dark, and high-contrast themes
  • Remove the unused compass-light.svg and compass-dark.svg variants, which were not selected by the Activity Bar contribution
  • Bump Compass Codegraph from 0.1.2 to 0.1.6

Why

The Visual Studio Marketplace accepts one static extension PNG and does not select separate light and dark assets. The previous transparent navy mark worked on light surfaces but nearly disappeared on the Marketplace dark theme.

The new #5865F2 tile supplies its own background: it has a 4.61:1 contrast ratio against white and 3.62:1 against the common #1E1E1E dark surface. The white compass mark has 4.61:1 contrast against the tile.

Impact

  • Extension identity remains crabbuild.crabbuild-compass-vscode
  • Display name remains Compass Codegraph
  • Release artifact becomes crabbuild-compass-vscode-0.1.6.vsix
  • Commands, settings, activation, and runtime behavior are unchanged

Verification

  • Parsed both retained SVG assets as XML
  • Confirmed icon.png is 128×128 and visually inspected it on light and dark backgrounds
  • npm run typecheck -w editors/vscode
  • npm test -w editors/vscode — 24 files and 61 tests passed
  • npm run package -w editors/vscode
  • npm run smoke:vsix -w editors/vscode
  • Verified the packaged manifest reports version 0.1.6 and the expected icon paths
  • Confirmed the packaged PNG checksum exactly matches the source PNG
  • git diff --check

npm ci reports six existing dependency advisories (one low, five high); this PR does not change dependencies.

Per project-owner direction, the Graphify codegraph was not refreshed.

@forhappy forhappy changed the title release(vscode): ship cross-theme icon in 0.1.3 release(vscode): ship cross-theme icon in 0.1.6 Jul 27, 2026
@forhappy
forhappy marked this pull request as ready for review July 27, 2026 23:38
@forhappy
forhappy merged commit 1c71b5e into main Jul 27, 2026
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant