chore: unified icon style

This commit is contained in:
MystiPanda
2024-07-13 19:01:16 +08:00
parent 57fa48aef4
commit d9d9ca67cd
13 changed files with 56 additions and 41 deletions

View File

@@ -5,7 +5,10 @@ import { useTranslation } from "react-i18next";
import { useVerge } from "@/hooks/use-verge";
import { useLockFn } from "ahooks";
import { LoadingButton } from "@mui/lab";
import { SwitchAccessShortcut, RestartAlt } from "@mui/icons-material";
import {
SwitchAccessShortcutRounded,
RestartAltRounded,
} from "@mui/icons-material";
import {
Box,
Button,
@@ -85,7 +88,7 @@ export const ClashCoreViewer = forwardRef<DialogRef>((props, ref) => {
<LoadingButton
variant="contained"
size="small"
startIcon={<SwitchAccessShortcut />}
startIcon={<SwitchAccessShortcutRounded />}
loadingPosition="start"
loading={upgrading}
sx={{ marginRight: "8px" }}
@@ -97,7 +100,7 @@ export const ClashCoreViewer = forwardRef<DialogRef>((props, ref) => {
variant="contained"
size="small"
onClick={onRestart}
startIcon={<RestartAlt />}
startIcon={<RestartAltRounded />}
>
{t("Restart")}
</Button>