Skip to content

Commit 67a8a42

Browse files
committed
🎨 Fix external link icon style (#2221)
1 parent 13f7ce3 commit 67a8a42

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

src/lib/components/ExternalLinkIcon.svelte

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/lib/components/ExternalLinkWrapper.svelte

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script lang="ts">
2-
import ExternalLinkIcon from '$lib/components/ExternalLinkIcon.svelte';
2+
import { ExternalLink } from 'lucide-svelte';
33
44
interface Props {
55
url: string;
@@ -18,7 +18,7 @@
1818
textSize = '',
1919
textColorInDarkMode = 'dark:text-primary-500',
2020
textOverflow = '',
21-
iconSize = 4,
21+
iconSize = 20,
2222
ariaLabel = '',
2323
useInlineFlex = true,
2424
}: Props = $props();
@@ -36,7 +36,7 @@
3636
</span>
3737

3838
<span class="ml-1.5">
39-
<ExternalLinkIcon size={`w-${iconSize} h-${iconSize}`} />
39+
<ExternalLink class=" text-primary-600 dark:text-gray-300" size={iconSize} />
4040
</span>
4141
</a>
4242

0 commit comments

Comments
 (0)