Skip to content

Commit

Permalink
fix bolds
Browse files Browse the repository at this point in the history
  • Loading branch information
tnfAngel committed Apr 17, 2024
1 parent ea825d5 commit ede978d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/layout/GuildSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export function GuildChannelLink({ guild, channel, isSelected }: Readonly<GuildC
<OverflownText
fontSize='md'
tooltipPlacement='top'
className={isSelected ? 'text-bold' : ''}
fontWeight='600'
color={isSelected ? getColorValue('textColor') : getColorValue('textMutedColor')}
>
{channel.name}
</OverflownText>
Expand Down
9 changes: 7 additions & 2 deletions src/components/layout/MainSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ export function DirectButtonLink({
</Center>
</Box>
<Box>
<Text className={isSelected ? 'text-bold' : ''} fontSize='md'>
<Text
fontWeight='600'
color={isSelected ? getColorValue('textColor') : getColorValue('textMutedColor')}
fontSize='md'
>
{label}
</Text>
</Box>
Expand Down Expand Up @@ -103,7 +107,8 @@ export function DirectChannelLink({ channel, isSelected }: Readonly<DirectChanne
<OverflownText
fontSize='md'
tooltipPlacement='top'
className={isSelected ? 'text-bold' : ''}
fontWeight='600'
color={isSelected ? getColorValue('textColor') : getColorValue('textMutedColor')}
>
{channel.type === ChannelTypes.DirectMessage ? recipient.username : channel.name}
</OverflownText>
Expand Down

0 comments on commit ede978d

Please sign in to comment.