Alert.styled.ts 722 B

123456789101112131415161718192021222324252627282930313233
  1. import { AlertType } from 'redux/interfaces';
  2. import styled from 'styled-components';
  3. export const Alert = styled.div<{ $type: AlertType }>`
  4. background-color: ${({ $type, theme }) => theme.alert.color[$type]};
  5. min-width: 400px;
  6. min-height: 64px;
  7. border-radius: 8px;
  8. padding: 12px;
  9. display: flex;
  10. justify-content: space-between;
  11. align-items: center;
  12. filter: drop-shadow(0px 4px 16px ${({ theme }) => theme.alert.shadow});
  13. margin-top: 10px;
  14. line-height: 20px;
  15. `;
  16. export const Title = styled.div`
  17. font-weight: 500;
  18. font-size: 14px;
  19. `;
  20. export const Message = styled.div`
  21. font-weight: normal;
  22. font-size: 14px;
  23. margin: 3px 0;
  24. ol,
  25. ul {
  26. padding-left: 25px;
  27. list-style: auto;
  28. }
  29. `;