styledComponents.ts 455 B

123456789101112131415161718
  1. import { VerticallyCentered } from "@ente/shared/components/Container";
  2. import { styled } from "@mui/material";
  3. export const QRCode = styled("img")(
  4. ({ theme }) => `
  5. height: 200px;
  6. width: 200px;
  7. margin: ${theme.spacing(2)};
  8. `,
  9. );
  10. export const LoadingQRCode = styled(VerticallyCentered)(
  11. ({ theme }) => `
  12. width:200px;
  13. aspect-ratio:1;
  14. border: 1px solid ${theme.palette.grey.A200};
  15. margin: ${theme.spacing(2)};
  16. `,
  17. );