notificationBar.tsx 672 B

1234567891011121314151617181920212223
  1. import styled from '@emotion/styled';
  2. import {IconInfo} from 'sentry/icons';
  3. import space from 'sentry/styles/space';
  4. export const StyledNotificationBarIconInfo = styled(IconInfo)`
  5. margin-right: ${space(1)};
  6. color: ${p => p.theme.alert.info.iconColor};
  7. `;
  8. export const NotificationBar = styled('div')`
  9. display: flex;
  10. align-items: center;
  11. color: ${p => p.theme.textColor};
  12. background-color: ${p => p.theme.alert.info.backgroundLight};
  13. border-bottom: 1px solid ${p => p.theme.alert.info.border};
  14. padding: ${space(1.5)};
  15. font-size: 14px;
  16. line-height: normal;
  17. ${StyledNotificationBarIconInfo} {
  18. color: ${p => p.theme.alert.info.iconColor};
  19. }
  20. `;