finish nuking theme

This commit is contained in:
Alex Holliday committed 2025-12-08 21:10:29 +00:00
1 parent dd463bb60b
commit b6c699c141
10 files changed
+92 -105

No files matched your search

+11
View File
@@ -4,6 +4,16 @@ import { useTheme } from "@mui/material/styles";
export const ButtonInput = ({ sx, ...props }: ButtonProps) => {
const theme = useTheme();
const outlinedSx =
props.variant === "outlined"
? {
color: theme.palette.text.primary,
borderColor: theme.palette.divider,
"&:hover": {
borderColor: theme.palette.text.secondary,
},
}
: {};
return (
<Button
{...props}
@@ -19,6 +29,7 @@ export const ButtonInput = ({ sx, ...props }: ButtonProps) => {
"&:hover": {
boxShadow: "none",
},
...outlinedSx,
...sx,
}}
/>
@@ -65,9 +65,6 @@ export const ButtonGroupInput: React.FC<ButtonGroupProps> = ({
sx={{
boxShadow: "none",
width: "100%",
"& .MuiButtonGroup-grouped": {
borderColor: theme.palette.divider,
},
...sx,
}}
>