Files
twenty/packages/twenty-front/src/modules/ui/layout/banner/components/Banner.tsx
bosiraphael d6fcb9cae8 5934 create alert banner component (#5950)
Closes #5934

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
2024-06-19 15:41:57 +02:00

23 lines
659 B
TypeScript

import styled from '@emotion/styled';
const StyledBanner = styled.div`
align-items: center;
backdrop-filter: blur(5px);
background: ${({ theme }) => theme.color.blue};
display: flex;
gap: ${({ theme }) => theme.spacing(3)};
height: 40px;
justify-content: center;
padding: ${({ theme }) => theme.spacing(2) + ' ' + theme.spacing(3)};
width: 100%;
color: ${({ theme }) => theme.font.color.inverted};
font-family: Inter;
font-size: ${({ theme }) => theme.font.size.md};
font-style: normal;
font-weight: ${({ theme }) => theme.font.weight.medium};
line-height: 150%;
box-sizing: border-box;
`;
export { StyledBanner as Banner };