mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 04:43:44 +08:00
style: Increased light color contrast to prevent blurring on some displays
This commit is contained in:
parent
c4986eec50
commit
9696c7cec0
@ -75,7 +75,7 @@
|
|||||||
### Known issues
|
### Known issues
|
||||||
|
|
||||||
- Windows 下窗口大小无法记忆(等待上游修复)
|
- Windows 下窗口大小无法记忆(等待上游修复)
|
||||||
- Webdav 备份因为安全性和兼容性问题,暂不支持同步 Webdav 服务器地址和登录信息;跨平台配置同步
|
- Webdav 备份因为安全性和兼容性问题,暂不支持跨平台配置同步
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ export const Switch = styled((props: SwitchProps) => (
|
|||||||
},
|
},
|
||||||
"& .MuiSwitch-track": {
|
"& .MuiSwitch-track": {
|
||||||
borderRadius: 26 / 2,
|
borderRadius: 26 / 2,
|
||||||
backgroundColor: theme.palette.mode === "light" ? "#E9E9EA" : "#39393D",
|
backgroundColor: theme.palette.mode === "light" ? "#BBBBBB" : "#39393D",
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
transition: theme.transitions.create(["background-color"], {
|
transition: theme.transitions.create(["background-color"], {
|
||||||
duration: 500,
|
duration: 500,
|
||||||
|
@ -90,7 +90,7 @@ export const useCustomTheme = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// css
|
// css
|
||||||
const backgroundColor = mode === "light" ? "#f0f0f0" : "#2e303d";
|
const backgroundColor = mode === "light" ? "#ECECEC" : "#2e303d";
|
||||||
const selectColor = mode === "light" ? "#f5f5f5" : "#d5d5d5";
|
const selectColor = mode === "light" ? "#f5f5f5" : "#d5d5d5";
|
||||||
const scrollColor = mode === "light" ? "#90939980" : "#54545480";
|
const scrollColor = mode === "light" ? "#90939980" : "#54545480";
|
||||||
const dividerColor =
|
const dividerColor =
|
||||||
|
@ -103,7 +103,10 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
primary={t("Auto Close Connections")}
|
primary={t("Auto Close Connections")}
|
||||||
sx={{ maxWidth: "fit-content" }}
|
sx={{ maxWidth: "fit-content" }}
|
||||||
/>
|
/>
|
||||||
<TooltipIcon title={t("Auto Close Connections Info")} />
|
<TooltipIcon
|
||||||
|
title={t("Auto Close Connections Info")}
|
||||||
|
sx={{ opacity: "0.7" }}
|
||||||
|
/>
|
||||||
<Switch
|
<Switch
|
||||||
edge="end"
|
edge="end"
|
||||||
checked={values.autoCloseConnection}
|
checked={values.autoCloseConnection}
|
||||||
@ -130,7 +133,10 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
primary={t("Enable Builtin Enhanced")}
|
primary={t("Enable Builtin Enhanced")}
|
||||||
sx={{ maxWidth: "fit-content" }}
|
sx={{ maxWidth: "fit-content" }}
|
||||||
/>
|
/>
|
||||||
<TooltipIcon title={t("Enable Builtin Enhanced Info")} />
|
<TooltipIcon
|
||||||
|
title={t("Enable Builtin Enhanced Info")}
|
||||||
|
sx={{ opacity: "0.7" }}
|
||||||
|
/>
|
||||||
<Switch
|
<Switch
|
||||||
edge="end"
|
edge="end"
|
||||||
checked={values.enableBuiltinEnhanced}
|
checked={values.enableBuiltinEnhanced}
|
||||||
@ -196,7 +202,10 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
primary={t("Default Latency Test")}
|
primary={t("Default Latency Test")}
|
||||||
sx={{ maxWidth: "fit-content" }}
|
sx={{ maxWidth: "fit-content" }}
|
||||||
/>
|
/>
|
||||||
<TooltipIcon title={t("Default Latency Test Info")} />
|
<TooltipIcon
|
||||||
|
title={t("Default Latency Test Info")}
|
||||||
|
sx={{ opacity: "0.7" }}
|
||||||
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
autoComplete="new-password"
|
autoComplete="new-password"
|
||||||
size="small"
|
size="small"
|
||||||
|
@ -166,8 +166,8 @@ export const SysproxyViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
? t("Enabled")
|
? t("Enabled")
|
||||||
: t("Disabled")
|
: t("Disabled")
|
||||||
: sysproxy?.enable
|
: sysproxy?.enable
|
||||||
? t("Enabled")
|
? t("Enabled")
|
||||||
: t("Disabled")}
|
: t("Disabled")}
|
||||||
</Typography>
|
</Typography>
|
||||||
</FlexBox>
|
</FlexBox>
|
||||||
{!value.pac && (
|
{!value.pac && (
|
||||||
@ -202,7 +202,7 @@ export const SysproxyViewer = forwardRef<DialogRef>((props, ref) => {
|
|||||||
primary={t("Proxy Guard")}
|
primary={t("Proxy Guard")}
|
||||||
sx={{ maxWidth: "fit-content" }}
|
sx={{ maxWidth: "fit-content" }}
|
||||||
/>
|
/>
|
||||||
<TooltipIcon title={t("Proxy Guard Info")} />
|
<TooltipIcon title={t("Proxy Guard Info")} sx={{ opacity: "0.7" }} />
|
||||||
<Switch
|
<Switch
|
||||||
edge="end"
|
edge="end"
|
||||||
disabled={!enabled}
|
disabled={!enabled}
|
||||||
|
@ -209,7 +209,12 @@ const SettingClash = ({ onError }: Props) => {
|
|||||||
<SettingItem
|
<SettingItem
|
||||||
onClick={invoke_uwp_tool}
|
onClick={invoke_uwp_tool}
|
||||||
label={t("Open UWP tool")}
|
label={t("Open UWP tool")}
|
||||||
extra={<TooltipIcon title={t("Open UWP tool Info")} />}
|
extra={
|
||||||
|
<TooltipIcon
|
||||||
|
title={t("Open UWP tool Info")}
|
||||||
|
sx={{ opacity: "0.7" }}
|
||||||
|
/>
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user