ntfy/web/src/components/styles.js

23 lines
596 B
JavaScript
Raw Normal View History

import Typography from "@mui/material/Typography";
import Container from "@mui/material/Container";
2023-05-24 07:13:01 +12:00
import { Backdrop, styled } from "@mui/material";
2023-05-24 19:03:28 +12:00
import theme from "./theme";
export const Paragraph = styled(Typography)({
paddingTop: 8,
paddingBottom: 8,
});
export const VerticallyCenteredContainer = styled(Container)({
2023-05-24 07:13:01 +12:00
display: "flex",
flexGrow: 1,
2023-05-24 07:13:01 +12:00
flexDirection: "column",
justifyContent: "center",
alignContent: "center",
color: theme.palette.text.primary,
});
2022-03-04 14:28:16 +13:00
export const LightboxBackdrop = styled(Backdrop)({
2023-05-24 07:13:01 +12:00
backgroundColor: "rgba(0, 0, 0, 0.8)", // was: 0.5
2022-03-04 14:28:16 +13:00
});