change textfield's theme

This commit is contained in:
2025-10-19 22:28:27 +08:00
parent 8bfc183b66
commit 7b8f6c02e9
6 changed files with 10 additions and 9 deletions

View File

@@ -41,7 +41,7 @@ const DefaultCaptcha = ({ onStateChange, generation, noLabel, ...rest }: Default
pr: 0.5,
},
}}
variant={"outlined"}
variant={"filled"}
label={noLabel ? undefined : t("login.captcha")}
onChange={(e) => setCaptcha(e.target.value)}
value={captcha}

View File

@@ -10,6 +10,7 @@ export const OutlineIconTextField = ({ icon, ...rest }: OutlineIconTextFieldProp
return (
<TextField
{...rest}
variant="filled"
slotProps={{
input: {
startAdornment: !isMobile && <InputAdornment position="start">{icon}</InputAdornment>,