Skip to content

Commit

Permalink
fix toast icon color (#516)
Browse files Browse the repository at this point in the history
* fix toast icon color

* Create real-days-exist.md
  • Loading branch information
felicio authored Dec 15, 2023
1 parent 70cb660 commit f6b7ca3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/real-days-exist.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@status-im/components": patch
---

fix toast icon color
2 changes: 1 addition & 1 deletion packages/components/src/toast/toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const Toast = (props: Props) => {

const renderIcon = () => {
if (!props.type) {
return cloneElement(props.icon, { color: '$white-70' })
return cloneElement(props.icon, { color: '$white/70' })
}

if (props.type === 'positive') {
Expand Down

2 comments on commit f6b7ca3

@vercel
Copy link

@vercel vercel bot commented on f6b7ca3 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

status-web – ./apps/web

status-web-status-im-web.vercel.app
status-web.vercel.app
status-web-git-main-status-im-web.vercel.app

@vercel
Copy link

@vercel vercel bot commented on f6b7ca3 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

status-components – ./packages/components

status-components.vercel.app
status-components-status-im-web.vercel.app
status-components-git-main-status-im-web.vercel.app

Please sign in to comment.