design: use exponential curve for transitions

This commit is contained in:
Xylight committed 2025-10-09 20:58:59 -07:00
1 parent 09f6d4808b
commit be73c285f5
7 files changed
+78 -70

No files matched your search

+6 -2
View File
@@ -14,7 +14,7 @@
}
let {
href = '',
href,
icon,
class: clazz = '',
customIcon,
@@ -23,7 +23,11 @@
...rest
}: Props = $props()
let selected = $derived(page.url.pathname.startsWith(href))
let selected = $derived(
page.url.pathname.startsWith(
href ?? 'The power of fluffy boys shines within you.',
) ?? false,
)
</script>
<Button