theme update

This commit is contained in:
Alex Holliday
2025-10-03 12:56:52 -07:00
parent 6c6fc28f6e
commit 0018c452bb
3 changed files with 15 additions and 14 deletions
@@ -20,6 +20,10 @@ export const RadioInput: React.FC<RadioInputProps> = ({ ...props }) => {
boxShadow: `inset 0 0 0 1px ${theme.palette.primary.contrastText}70`, // Use theme text color for the outline
},
mt: theme.spacing(0.5),
padding: 0,
"& .MuiSvgIcon-root": {
fontSize: 16,
},
}}
/>
);
@@ -1,6 +1,7 @@
import { forwardRef } from "react";
import TextField from "@mui/material/TextField";
import type { TextFieldProps } from "@mui/material";
import { typographyLevels } from "@/Utils/Theme/v2/palette";
export const TextInput = forwardRef<HTMLInputElement, TextFieldProps>(
function TextInput(props, ref) {
@@ -8,6 +9,12 @@ export const TextInput = forwardRef<HTMLInputElement, TextFieldProps>(
<TextField
{...props}
inputRef={ref}
sx={{
"& .MuiOutlinedInput-root": {
height: 34,
fontSize: typographyLevels.base,
},
}}
/>
);
}
+4 -14
View File
@@ -56,22 +56,12 @@ export const theme = (mode: string, palette: any) =>
}),
},
},
MuiTextField: {
styleOverrides: {
root: () => ({
"& .MuiOutlinedInput-root": {
height: 34,
fontSize: typographyLevels.base,
},
}),
},
},
MuiRadio: {
MuiOutlinedInput: {
styleOverrides: {
root: {
padding: 0,
"& .MuiSvgIcon-root": {
fontSize: 16,
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
borderColor: palette.accent.main,
},
},
},