Files
Checkmate/client/src/Components/ConfigBox/index.jsx
T

35 lines
880 B
React
Raw Normal View History

2024-12-18 12:19:21 -08:00
import { Stack, styled } from "@mui/material";
const ConfigBox = styled(Stack)(({ theme }) => ({
display: "flex",
flexDirection: "row",
justifyContent: "space-between",
gap: theme.spacing(20),
backgroundColor: theme.palette.primary.main,
2024-12-18 12:19:21 -08:00
border: 1,
borderStyle: "solid",
2025-01-08 21:41:59 -05:00
borderColor: theme.palette.primary.lowContrast,
2024-12-18 12:19:21 -08:00
borderRadius: theme.spacing(2),
"& > *": {
paddingTop: theme.spacing(12),
paddingBottom: theme.spacing(18),
},
"& > div:first-of-type": {
flex: 0.7,
borderRight: 1,
borderRightStyle: "solid",
2025-01-08 21:41:59 -05:00
borderRightColor: theme.palette.primary.lowContrast,
2024-12-18 12:19:21 -08:00
paddingRight: theme.spacing(15),
paddingLeft: theme.spacing(15),
},
"& > div:last-of-type": {
flex: 1,
paddingRight: theme.spacing(20),
paddingLeft: theme.spacing(18),
},
"& h1, & h2": {
2025-01-12 09:39:31 -05:00
color: theme.palette.primary.contrastTextSecondary,
2025-05-27 09:10:32 -07:00
},
2024-12-18 12:19:21 -08:00
}));
export default ConfigBox;