Skip to content

Commit

Permalink
Remove box shadow from inactive links.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Oct 19, 2024
1 parent 4e49e70 commit 9773340
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/lib/Link.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@
children?: import('svelte').Snippet;
}
let {
to,
bland = false,
title = undefined,
kind = null,
children
}: Props = $props();
let { to, bland = false, title = undefined, kind = null, children }: Props = $props();
let external = $derived(to.startsWith('http'));
let inactive = $derived(to === $page.url.pathname);
Expand Down Expand Up @@ -52,7 +46,6 @@
cursor: default;
background: none;
color: currentColor;
box-shadow: none;
}
a.bland {
Expand All @@ -78,7 +71,10 @@
padding-inline-end: var(--padding);
text-decoration: none;
box-shadow: var(--border) 1px 1px;
/* text-shadow: 1px 1px black; */
}
.kinded.inactive {
box-shadow: none;
}
.person {
Expand Down

0 comments on commit 9773340

Please sign in to comment.