Better tooltip background contrast

This commit is contained in:
Ben Grant 2021-05-13 21:08:35 +10:00
parent ab7824aff7
commit 9672eaab56

View file

@ -85,7 +85,7 @@ export const Tooltip = styled.div`
border: 1px solid ${props => props.theme.text};
border-radius: 3px;
padding: 4px 8px;
background-color: ${props => props.theme.background}DD;
background-color: ${props => props.theme.background}${props => props.theme.mode === 'light' ? 'EE' : 'DD'};
max-width: 200px;
pointer-events: none;
z-index: 100;