mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-05-08 18:57:53 +00:00
Add theme parameter
This commit is contained in:
parent
f51242959a
commit
a943e72ecf
@ -204,11 +204,13 @@ export const CustomButtonAccept = styled(Box)<CustomButtonProps>(
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
export const CustomInput = styled(TextField)({
|
export const CustomInput = styled(TextField)(({ theme }) => ({
|
||||||
width: "183px", // Adjust the width as needed
|
width: "183px", // Adjust the width as needed
|
||||||
borderRadius: "5px",
|
borderRadius: "5px",
|
||||||
// backgroundColor: "rgba(30, 30, 32, 1)",
|
// backgroundColor: "rgba(30, 30, 32, 1)",
|
||||||
outline: "none",
|
outline: "none",
|
||||||
|
backgroundColor: theme.palette.background.default,
|
||||||
|
color: theme.palette.text.primary,
|
||||||
input: {
|
input: {
|
||||||
fontSize: 10,
|
fontSize: 10,
|
||||||
fontFamily: "Inter",
|
fontFamily: "Inter",
|
||||||
@ -241,7 +243,7 @@ export const CustomInput = styled(TextField)({
|
|||||||
"& .MuiInput-underline:after": {
|
"& .MuiInput-underline:after": {
|
||||||
borderBottom: "none",
|
borderBottom: "none",
|
||||||
},
|
},
|
||||||
});
|
}));
|
||||||
|
|
||||||
export const CustomLabel = styled(InputLabel)(({ theme }) => ({
|
export const CustomLabel = styled(InputLabel)(({ theme }) => ({
|
||||||
fontWeight: 400,
|
fontWeight: 400,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user