Better tooltip background contrast
This commit is contained in:
parent
ab7824aff7
commit
9672eaab56
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue