From a12d76afdb51e0de3adf5fdaef63e5f20077ff97 Mon Sep 17 00:00:00 2001
From: Callum Barker <64287849+cbarkr@users.noreply.github.com>
Date: Thu, 13 Jun 2024 19:47:22 +0000
Subject: [PATCH] fix: fix explorer view gradient positioning on mobile (fixes #906) (#1206)

---
 index.d.ts |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/index.d.ts b/index.d.ts
index 4a93f16..a6c594f 100644
--- a/index.d.ts
+++ b/index.d.ts
@@ -5,7 +5,8 @@
 
 // dom custom event
 interface CustomEventMap {
-  nav: CustomEvent<{ url: CanonicalSlug }>
+  nav: CustomEvent<{ url: FullSlug }>
+  themechange: CustomEvent<{ theme: "light" | "dark" }>
 }
 
 declare const fetchData: Promise<ContentIndex>

--
Gitblit v1.10.0