Merge branch 'chats-font-fix' into 'develop'
Add Inter 600, fix ChatPaneHeader font weight See merge request soapbox-pub/soapbox!1998
This commit is contained in:
commit
5a38f7fb09
2 changed files with 4 additions and 5 deletions
|
@ -37,11 +37,9 @@ const ChatPaneHeader = (props: IChatPaneHeader) => {
|
||||||
data-testid='title'
|
data-testid='title'
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
{typeof title === 'string' ? (
|
<Text weight='semibold' tag='div'>
|
||||||
<Text weight='semibold'>
|
{title}
|
||||||
{title}
|
</Text>
|
||||||
</Text>
|
|
||||||
) : (title)}
|
|
||||||
|
|
||||||
{(typeof unreadCount !== 'undefined' && unreadCount > 0) && (
|
{(typeof unreadCount !== 'undefined' && unreadCount > 0) && (
|
||||||
<HStack alignItems='center' space={2}>
|
<HStack alignItems='center' space={2}>
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
@import '~@fontsource/inter/300.css';
|
@import '~@fontsource/inter/300.css';
|
||||||
@import '~@fontsource/inter/400.css';
|
@import '~@fontsource/inter/400.css';
|
||||||
@import '~@fontsource/inter/500.css';
|
@import '~@fontsource/inter/500.css';
|
||||||
|
@import '~@fontsource/inter/600.css';
|
||||||
@import '~@fontsource/inter/700.css';
|
@import '~@fontsource/inter/700.css';
|
||||||
@import '~@fontsource/inter/900.css';
|
@import '~@fontsource/inter/900.css';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue