From 5dba1261f276dc1b50b4511ce77fe903f36031fe Mon Sep 17 00:00:00 2001 From: ronakmaheshwari Date: Sat, 17 Oct 2026 12:00:00 +0530 Subject: [PATCH 1/2] fix context menu colors in dark mode --- client/components/ContextMenu.css | 4 ++-- client/components/ContextMenuItem.css | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/client/components/ContextMenu.css b/client/components/ContextMenu.css index d786c892..d86a186c 100644 --- a/client/components/ContextMenu.css +++ b/client/components/ContextMenu.css @@ -3,8 +3,8 @@ position: absolute; padding: 0; border-radius: 4px; - background: #fff; - border: 1px solid #aaa; + background: var(--bg-primary); + border: 1px solid var(--border-color); list-style: none; opacity: 1; white-space: nowrap; diff --git a/client/components/ContextMenuItem.css b/client/components/ContextMenuItem.css index a33bc962..81f55947 100644 --- a/client/components/ContextMenuItem.css +++ b/client/components/ContextMenuItem.css @@ -11,7 +11,8 @@ .disabled { cursor: default; - color: gray; + color: var(--text-secondary); + opacity: 0.4; } .item.disabled:hover { From 166657c2f9ef2dfd8d59df263ead1677cbd895f2 Mon Sep 17 00:00:00 2001 From: ronakmaheshwari Date: Wed, 28 Oct 2026 11:37:59 +0530 Subject: [PATCH 2/2] chore: add changeset for context menu theme fix --- .changeset/fix-context-menu-theme.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fix-context-menu-theme.md diff --git a/.changeset/fix-context-menu-theme.md b/.changeset/fix-context-menu-theme.md new file mode 100644 index 00000000..f495a4e5 --- /dev/null +++ b/.changeset/fix-context-menu-theme.md @@ -0,0 +1,5 @@ +--- +"webpack-bundle-analyzer": patch +--- + +Fix context menu background and border colors in dark mode.