<script lang="ts">
    import { twMerge } from "tailwind-merge";
    export let href: string;
</script>

<a {...$$restProps} {href} class={twMerge("font-medium transition-colors hover:text-accent hover:underline", $$restProps["class"])}>
    <slot />
</a>
