diff --git a/src/components/ProxySwitch/index.css b/src/components/ProxySwitch/index.css
index 780989f..ef0df2f 100644
--- a/src/components/ProxySwitch/index.css
+++ b/src/components/ProxySwitch/index.css
@@ -254,6 +254,11 @@ body {
color: white !important;
}
+/* 选中态下的YAK图标变为白色 */
+.proxy-switch-container .ant-menu-item.ant-menu-item-selected img {
+ filter: brightness(0) invert(1) !important;
+}
+
.proxy-switch-container .ant-menu-item:hover {
background-color: #f5f5f5 !important;
}
diff --git a/src/components/ProxySwitch/index.tsx b/src/components/ProxySwitch/index.tsx
index b79e961..cb92c50 100644
--- a/src/components/ProxySwitch/index.tsx
+++ b/src/components/ProxySwitch/index.tsx
@@ -218,7 +218,7 @@ export const ProxySwitch: React.FC = () => {
...customProxies.map(proxy => ({
key: proxy.key,
label: proxy.name,
- icon:
,
+ icon:
,
className: `${currentMode === proxy.key ? 'active-item' : ''} menu-id-${proxy.key}`,
}))
);