ntfy/web/src/components/styles.js

23 lines
592 B
JavaScript
Raw Normal View History

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