Merge pull request #4778 from urbit/ed/wholesale-visual-tweaks

ed: visual tweaks to notifications and sidebar
This commit is contained in:
matildepark 2021-04-18 13:45:15 -04:00 committed by GitHub
commit 643acbeffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -64,7 +64,7 @@ function Elbow(
>
<Box
border="2px solid"
borderRadius={2}
borderRadius={3}
borderColor={color}
position="absolute"
left="0px"

View File

@ -86,7 +86,11 @@ export function SidebarItem(props: {
let color = 'lightGray';
if (isSynced) {
if (hasUnread || hasNotification) {
color = 'black';
} else {
color = 'gray';
}
}
const fontWeight = (hasUnread || hasNotification) ? '500' : 'normal';
@ -132,7 +136,7 @@ export function SidebarItem(props: {
{DM ? img : (
<Icon
display="block"
color={isSynced ? 'black' : 'gray'}
color={isSynced ? 'black' : 'lightGray'}
icon={getModuleIcon(mod) as any}
/>
)