We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f7ce3 commit 67a8a42Copy full SHA for 67a8a42
src/lib/components/ExternalLinkIcon.svelte
src/lib/components/ExternalLinkWrapper.svelte
@@ -1,5 +1,5 @@
1
<script lang="ts">
2
- import ExternalLinkIcon from '$lib/components/ExternalLinkIcon.svelte';
+ import { ExternalLink } from 'lucide-svelte';
3
4
interface Props {
5
url: string;
@@ -18,7 +18,7 @@
18
textSize = '',
19
textColorInDarkMode = 'dark:text-primary-500',
20
textOverflow = '',
21
- iconSize = 4,
+ iconSize = 20,
22
ariaLabel = '',
23
useInlineFlex = true,
24
}: Props = $props();
@@ -36,7 +36,7 @@
36
</span>
37
38
<span class="ml-1.5">
39
- <ExternalLinkIcon size={`w-${iconSize} h-${iconSize}`} />
+ <ExternalLink class=" text-primary-600 dark:text-gray-300" size={iconSize} />
40
41
</a>
42
0 commit comments