From 6f8449d39ba425d1f0fdb90370531a495665e302 Mon Sep 17 00:00:00 2001 From: LucaP Date: Sun, 11 Oct 2026 01:25:53 +0300 Subject: [PATCH] style: fade the exit plate in over 160 ms under reduced motion --- src/components/JourneyHud.vue | 3 +++ src/styles/gantry.css | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/src/components/JourneyHud.vue b/src/components/JourneyHud.vue index 27de407..2cce841 100644 --- a/src/components/JourneyHud.vue +++ b/src/components/JourneyHud.vue @@ -20,10 +20,13 @@ const next = computed(() => a route rule that fills along its lower edge. */ const route = computed(() => Math.min(1, Math.max(0, props.journey.routeProgress))); const routePercent = computed(() => `${Math.round(route.value * 100)}%`); +/* The plate is keyed by chapter, so a new chapter is a new element: under + reduced motion it fades in over 160 ms (gantry.css) instead of swapping. */