styledComponents.tsx 630 B

12345678910111213141516171819
  1. import { CenteredFlex } from "@ente/shared/components/Container";
  2. import { Box, styled } from "@mui/material";
  3. export const Wrapper = styled(CenteredFlex)`
  4. position: relative;
  5. background: ${({ theme }) => theme.colors.accent.A700};
  6. border-radius: ${({ theme }) => theme.shape.borderRadius}px;
  7. min-height: 80px;
  8. `;
  9. export const CopyButtonWrapper = styled(Box)`
  10. position: absolute;
  11. top: 0px;
  12. right: 0px;
  13. margin-top: ${({ theme }) => theme.spacing(1)};
  14. `;
  15. export const CodeWrapper = styled("div")`
  16. padding: 16px 36px 16px 16px;
  17. border-radius: ${({ theme }) => theme.shape.borderRadius}px;
  18. `;