Skip to content

Commit

Permalink
fix dark mode styling for txn toast
Browse files Browse the repository at this point in the history
  • Loading branch information
alissacrane-cb committed Aug 9, 2024
1 parent 56be914 commit f08f8db
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/transaction/components/TransactionToast.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useCallback, useEffect, useMemo } from 'react';
import { closeSvg } from '../../internal/svg/closeSvg';
import { cn } from '../../styles/theme';
import { background, cn } from '../../styles/theme';
import type { TransactionToastReact } from '../types';
import { useTransactionContext } from './TransactionProvider';

Expand Down Expand Up @@ -67,8 +67,9 @@ export function TransactionToast({
return (
<div
className={cn(
background.default,
'flex animate-enter items-center justify-between rounded-lg',
'bg-gray-100 p-2 shadow-[0px_8px_24px_0px_rgba(0,0,0,0.12)]',
'p-2 shadow-[0px_8px_24px_0px_rgba(0,0,0,0.12)]',
'-translate-x-2/4 fixed z-20',
positionClass,
className,
Expand Down

0 comments on commit f08f8db

Please sign in to comment.