mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Small visual tweaks to the toastbar message
Dropped the font down a little because the degular font is slighty smaller than inter. Made the X icon bold.
This commit is contained in:
parent
5ead3ea339
commit
e13296c02a
1 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ const toastStyles = {
|
|||
}
|
||||
|
||||
const messageStyles = {
|
||||
fontSize: 16,
|
||||
fontSize: 14,
|
||||
fontWeight: 'bolder',
|
||||
color: 'white',
|
||||
flex: 1,
|
||||
|
|
@ -42,7 +42,7 @@ const showToast = (
|
|||
{type === 'success' ? <CheckCircle size={24} color='white' /> : <WarningCircle size={24} color='white' />}
|
||||
<MessageContainer>{message}</MessageContainer>
|
||||
<HStack distribution='end' css={{marginLeft: 16}}>
|
||||
<X size={16} style={{cursor: 'pointer'}} color='#CCEAC4' onClick={() => toast.dismiss(id)} />
|
||||
<X size={18} style={{cursor: 'pointer'}} color='#CCEAC4' weight='bold' onClick={() => toast.dismiss(id)} />
|
||||
</HStack>
|
||||
</FullWidthContainer>
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in a new issue