fix: Various fixes for unread tracking

This commit is contained in:
Tom Moor
2020-09-20 23:37:09 -07:00
parent d487da8f15
commit 26b9566b96
7 changed files with 49 additions and 33 deletions

View File

@ -6,7 +6,8 @@ const Badge = styled.span`
padding: 2px 6px 3px;
background-color: ${({ yellow, primary, theme }) =>
yellow ? theme.yellow : primary ? theme.primary : theme.textTertiary};
color: ${({ primary, theme }) => (primary ? theme.white : theme.background)};
color: ${({ primary, yellow, theme }) =>
primary ? theme.white : yellow ? theme.text : theme.background};
border-radius: 4px;
font-size: 11px;
font-weight: 500;