mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
Merge pull request #4778 from urbit/ed/wholesale-visual-tweaks
ed: visual tweaks to notifications and sidebar
This commit is contained in:
commit
643acbeffb
@ -64,7 +64,7 @@ function Elbow(
|
||||
>
|
||||
<Box
|
||||
border="2px solid"
|
||||
borderRadius={2}
|
||||
borderRadius={3}
|
||||
borderColor={color}
|
||||
position="absolute"
|
||||
left="0px"
|
||||
|
@ -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}
|
||||
/>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user