1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-09-29 03:41:59 +02:00
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-23 21:13:01 +02:00
import { Backdrop, styled } from "@mui/material";
2023-05-24 09:03:28 +02:00
import theme from "./theme";
export const Paragraph = styled(Typography)({
paddingTop: 8,
paddingBottom: 8,
});
export const VerticallyCenteredContainer = styled(Container)({
2023-05-23 21:13:01 +02:00
display: "flex",
flexGrow: 1,
2023-05-23 21:13:01 +02:00
flexDirection: "column",
justifyContent: "center",
alignContent: "center",
color: theme.palette.text.primary,
});
2022-03-04 02:28:16 +01:00
export const LightboxBackdrop = styled(Backdrop)({
2023-05-23 21:13:01 +02:00
backgroundColor: "rgba(0, 0, 0, 0.8)", // was: 0.5
2022-03-04 02:28:16 +01:00
});