feat: reader mode

This commit is contained in:
Jacky Zhao
2025-04-17 19:45:17 -07:00
parent bfd72347cf
commit b34d521293
8 changed files with 139 additions and 1 deletions

1
index.d.ts vendored
View File

@ -8,6 +8,7 @@ interface CustomEventMap {
prenav: CustomEvent<{}>
nav: CustomEvent<{ url: FullSlug }>
themechange: CustomEvent<{ theme: "light" | "dark" }>
readermodechange: CustomEvent<{ mode: "on" | "off" }>
}
type ContentIndex = Record<FullSlug, ContentDetails>