Skip to content

Commit 75ce244

Browse files
committed
style: update ComponentPreview styles for improved visibility and aesthetics
1 parent 341839b commit 75ce244

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/animations/component-preview.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const ComponentPreview = ({
4242
href={href}
4343
target="_blank"
4444
className={cn(
45-
"absolute top-0 right-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 border border-t-0 border-r-0 bg-red-50 px-2 py-0.5",
46-
"flex items-center gap-2"
45+
"absolute top-0 right-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 border border-t-0 border-r-0 bg-red-50/80 px-2 py-0.5",
46+
"flex items-center gap-2 gradient text-white"
4747
)}
4848
>
4949
<p className="flex items-center gap-2 text-sm">

0 commit comments

Comments
 (0)