react-tooltip icon indicating copy to clipboard operation
react-tooltip copied to clipboard

Background color in css does not change top notch

Open daceynolan opened this issue 3 years ago • 0 comments

When overriding styles in Styled Components, setting the background-color does not change the color of the notch.

const StyledTooltip = styled(ReactTooltip)`
  // using !important to override styles from the library
  background-color: ${({ theme }) => theme.vars.foundationSurface2} !important;
  border-radius: ${({ theme }) => theme.constants.borderRadiusMd} !important;
`;

Screen Shot 2022-05-04 at 9 49 17 PM

daceynolan avatar May 05 '22 01:05 daceynolan