基础epub阅读功能

This commit is contained in:
DelLevin-Home
2026-06-27 11:20:27 +08:00
parent 02242089e8
commit 5acbc3a602
18 changed files with 980 additions and 330 deletions

View File

@@ -1099,8 +1099,8 @@ class Reader {
this.setView(this.view)
await this.view.init({ lastLocation: cfi })
// set html bg color to grey
document.documentElement.style.backgroundColor = 'grey'
// set html bg color to match theme
document.documentElement.style.backgroundColor = style.backgroundColor
}
setView(view) {