Skip to content

Commit

Permalink
style: update back button color
Browse files Browse the repository at this point in the history
  • Loading branch information
salimi-my committed May 21, 2024
1 parent 7e512b6 commit 054b22f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/back-button.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { ChevronLeft } from 'lucide-react';
import { ArrowLeft } from 'lucide-react';
import { useRouter } from 'next/navigation';

import { Button } from '@/components/ui/button';
Expand All @@ -21,10 +21,10 @@ export default function BackButton({ slug }: BackButtonProps) {
router.back();
}
}}
className='bg-white dark:text-primary-foreground dark:hover:text-primary dark:hover:border-slate-500 mb-4'
className='bg-card mb-4'
variant='outline'
>
<ChevronLeft size={18} />
<ArrowLeft className='size-4 mr-1' />
Back
</Button>
);
Expand Down

0 comments on commit 054b22f

Please sign in to comment.