parent
d40b776205
commit
4f39c7c155
10 changed files with 69 additions and 29 deletions
|
@ -1,19 +1,18 @@
|
|||
import { Typography, Container, Backdrop, styled } from "@mui/material";
|
||||
import theme from "./theme";
|
||||
|
||||
export const Paragraph = styled(Typography)({
|
||||
paddingTop: 8,
|
||||
paddingBottom: 8,
|
||||
});
|
||||
|
||||
export const VerticallyCenteredContainer = styled(Container)({
|
||||
export const VerticallyCenteredContainer = styled(Container)(({ theme }) => ({
|
||||
display: "flex",
|
||||
flexGrow: 1,
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
alignContent: "center",
|
||||
color: theme.palette.text.primary,
|
||||
});
|
||||
}));
|
||||
|
||||
export const LightboxBackdrop = styled(Backdrop)({
|
||||
backgroundColor: "rgba(0, 0, 0, 0.8)", // was: 0.5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue