From 312a57c07e140d82593da7d608943c8ff1cbee36 Mon Sep 17 00:00:00 2001 From: radishzzz Date: Sat, 17 May 2025 13:27:35 +0100 Subject: [PATCH] style: optimize animation curves and duration --- src/components/Navbar.astro | 2 +- src/components/Widgets/GoBack.astro | 2 +- src/components/Widgets/TOC.astro | 4 ++-- src/pages/[...tags_tag].astro | 2 +- src/styles/global.css | 8 ++++---- src/styles/heti.css | 2 +- uno.config.ts | 2 +- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index cffc507..09cc00b 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -12,7 +12,7 @@ const isAboutActive = isAbout function getNavItemClass(isActive: boolean) { return isActive ? 'highlight-static c-primary font-bold after:bottom-0.5em' - : 'highlight-hover transition-colors after:bottom-0.5em hover:(c-primary font-bold)' + : 'highlight-hover transition-colors transition-font-weight after:bottom-0.5em hover:(c-primary font-bold)' } const navItems = [ diff --git a/src/components/Widgets/GoBack.astro b/src/components/Widgets/GoBack.astro index 0699ac8..2136edc 100644 --- a/src/components/Widgets/GoBack.astro +++ b/src/components/Widgets/GoBack.astro @@ -5,7 +5,7 @@ import GoBackIcon from '@/assets/icons/go-back.svg';