Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hervedombya committed Oct 20, 2023
1 parent 99ac811 commit 4fc8e38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/toast/Toast.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ const useGetRgbBackgroundColor = (status: string) => {
const theme = useTheme();
switch (status) {
case 'success':
return `rgba(10, 173 ,166, 0.4)`;
return `rgba(${theme.statusHealthyRGB}, 0.4)`;
case 'error':
return `rgba(232, 72, 85, 0.4)`;
return `rgba(${theme.statusCriticalRGB}, 0.4)`;
case 'warning':
return `rgba(248, 243, 43, 0.4)`;
return `rgba(${theme.statusWarningRGB}, 0.4)`;
default:
return theme.infoSecondary;
}
Expand Down

0 comments on commit 4fc8e38

Please sign in to comment.