Skip to content

fix: add missing VS Code context menu and UI colors#9

Merged
danfry1 merged 1 commit into
mainfrom
fix/vscode-context-menu
Mar 29, 2026
Merged

fix: add missing VS Code context menu and UI colors#9
danfry1 merged 1 commit into
mainfrom
fix/vscode-context-menu

Conversation

@danfry1
Copy link
Copy Markdown
Owner

@danfry1 danfry1 commented Mar 29, 2026

Summary

  • Adds menu.* color definitions to fix invisible context menu selection state during keyboard navigation
  • Adds 25+ additional missing VS Code UI color keys for toolbar, keybinding labels, sticky scroll, settings UI, and more

All new colors follow existing palette conventions (surface0 for backgrounds, surface1 for selections, surface2 for borders, lavender for accents).

Thanks @mesalilac for reporting this!

Closes #8

Test plan

  • All 20 tests pass (bun test)
  • Contrast validation passes (bun run generate)
  • Drift check passes (bun run check)
  • Verify context menu selection is visible in VS Code
  • Verify keybinding labels render correctly in menus
  • Verify settings UI inputs are properly themed

@danfry1
Copy link
Copy Markdown
Owner Author

danfry1 commented Mar 29, 2026

Thanks again @mesalilac for catching this! While fixing the context menu, we also audited the full VS Code theme and added ~25 other missing UI color definitions (toolbar, keybinding labels, settings UI, sticky scroll, etc.). Appreciate you helping us improve the theme!

@danfry1 danfry1 force-pushed the fix/vscode-context-menu branch from 4bc15e7 to a408dd3 Compare March 29, 2026 14:22
Adds context menu colors (menu.*) to fix invisible selection state
during keyboard navigation, plus additional missing UI colors:

- menu.* — context menu background, selection, border
- toolbar.* — hover/active states for toolbar buttons
- keybindingLabel.* — keybinding badge styling in menus
- sash.hoverBorder — resize handle visibility
- editorStickyScroll.* — sticky scroll header backgrounds
- editorGutter.foldingControlForeground — code folding arrows
- tab.lastPinnedBorder — pinned tab separator
- button.secondaryHoverBackground — secondary button hover
- notificationToast.border — toast notification border
- settings.* — settings UI inputs, checkboxes, dropdowns

Closes #8
@danfry1 danfry1 force-pushed the fix/vscode-context-menu branch from a408dd3 to 6734db8 Compare March 29, 2026 14:24
@danfry1 danfry1 merged commit 90e195d into main Mar 29, 2026
3 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.

VSCode: Context menus missing selected state background color

1 participant