diff --git a/UPDATELOG.md b/UPDATELOG.md index 010fe959..6cded537 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -75,7 +75,7 @@ ### Known issues - Windows 下窗口大小无法记忆(等待上游修复) -- Webdav 备份因为安全性和兼容性问题,暂不支持同步 Webdav 服务器地址和登录信息;跨平台配置同步 +- Webdav 备份因为安全性和兼容性问题,暂不支持跨平台配置同步 --- diff --git a/src/components/base/base-switch.tsx b/src/components/base/base-switch.tsx index 747affcf..302c06bd 100644 --- a/src/components/base/base-switch.tsx +++ b/src/components/base/base-switch.tsx @@ -49,7 +49,7 @@ export const Switch = styled((props: SwitchProps) => ( }, "& .MuiSwitch-track": { borderRadius: 26 / 2, - backgroundColor: theme.palette.mode === "light" ? "#E9E9EA" : "#39393D", + backgroundColor: theme.palette.mode === "light" ? "#BBBBBB" : "#39393D", opacity: 1, transition: theme.transitions.create(["background-color"], { duration: 500, diff --git a/src/components/layout/use-custom-theme.ts b/src/components/layout/use-custom-theme.ts index e21abe2f..a58e7c73 100644 --- a/src/components/layout/use-custom-theme.ts +++ b/src/components/layout/use-custom-theme.ts @@ -90,7 +90,7 @@ export const useCustomTheme = () => { } // css - const backgroundColor = mode === "light" ? "#f0f0f0" : "#2e303d"; + const backgroundColor = mode === "light" ? "#ECECEC" : "#2e303d"; const selectColor = mode === "light" ? "#f5f5f5" : "#d5d5d5"; const scrollColor = mode === "light" ? "#90939980" : "#54545480"; const dividerColor = diff --git a/src/components/setting/mods/misc-viewer.tsx b/src/components/setting/mods/misc-viewer.tsx index df4a9a39..9abd34c3 100644 --- a/src/components/setting/mods/misc-viewer.tsx +++ b/src/components/setting/mods/misc-viewer.tsx @@ -103,7 +103,10 @@ export const MiscViewer = forwardRef((props, ref) => { primary={t("Auto Close Connections")} sx={{ maxWidth: "fit-content" }} /> - + ((props, ref) => { primary={t("Enable Builtin Enhanced")} sx={{ maxWidth: "fit-content" }} /> - + ((props, ref) => { primary={t("Default Latency Test")} sx={{ maxWidth: "fit-content" }} /> - + ((props, ref) => { ? t("Enabled") : t("Disabled") : sysproxy?.enable - ? t("Enabled") - : t("Disabled")} + ? t("Enabled") + : t("Disabled")} {!value.pac && ( @@ -202,7 +202,7 @@ export const SysproxyViewer = forwardRef((props, ref) => { primary={t("Proxy Guard")} sx={{ maxWidth: "fit-content" }} /> - + { } + extra={ + + } /> )}