Skip to content

Commit

Permalink
Fix token in toast (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethasok authored Sep 15, 2023
1 parent c4ad00c commit 98b2e35
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Toast/Toast.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ const Viewport = styled(RadixUIToast.Viewport)`
flex-direction: column;
padding: var(--viewport-padding);
gap: ${({ theme }) => theme.click.toast.space.gap};
width: 390px;
width: ${({ theme }) => theme.click.toast.size.width};
max-width: 100vw;
margin: 0;
list-style: none;
Expand Down
3 changes: 3 additions & 0 deletions src/styles/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,9 @@
"default": string
}
},
"size": {
"width": string
},
"color": {
"title": {
"default": string
Expand Down
3 changes: 3 additions & 0 deletions src/styles/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -1896,6 +1896,9 @@
"default": "400 0.75rem/1.5 \"Inter\", '\"SF Pro Display\"', -apple-system, BlinkMacSystemFont, '\"Segoe UI\"', Roboto, Oxygen, Ubuntu, Cantarell, '\"Open Sans\"', '\"Helvetica Neue\"', sans-serif;"
}
},
"size": {
"width": "20.75rem"
},
"color": {
"title": {
"default": "#161517"
Expand Down

1 comment on commit 98b2e35

@vercel
Copy link

@vercel vercel bot commented on 98b2e35 Sep 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:

click-ui – ./

click-ui-git-main-clickhouse.vercel.app
click-ui-clickhouse.vercel.app
click-ui.vercel.app

Please sign in to comment.