From 8591985f62eb3e185630e9abaa8c2fc07dd1b9b3 Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Sun, 18 Jan 2026 16:56:53 +0300 Subject: [PATCH] feat(FontApplicator): implement an appearance animation based on existed intersection observer logic and add a reduced motion check --- .../ui/FontApplicator/FontApplicator.svelte | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte index 9bd3415..15dd0d9 100644 --- a/src/entities/Font/ui/FontApplicator/FontApplicator.svelte +++ b/src/entities/Font/ui/FontApplicator/FontApplicator.svelte @@ -3,9 +3,10 @@ Loads fonts from fontshare with link tag - Loads font only if it's not already applied - Uses IntersectionObserver to detect when font is visible - - Adds smooth transition when font is loaded + - Adds smooth transition when font appears -->