diff --git a/templates/reader.templ b/templates/reader.templ index fee80be..6f4f7f1 100644 --- a/templates/reader.templ +++ b/templates/reader.templ @@ -259,7 +259,6 @@ templ ReaderSettingsPanel() { Noto Serif Charis SIL IBM Plex Serif - Comic Sans MS (Test) diff --git a/templates/reader_templ.go b/templates/reader_templ.go index 3fdaac4..da40f3c 100644 --- a/templates/reader_templ.go +++ b/templates/reader_templ.go @@ -189,7 +189,7 @@ func ReaderSettingsPanel() templ.Component { templ_7745c5c3_Var7 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "⚙️ Settings─DisplayChrome Behavior Auto Hide Always Visible Hide on Scroll Progress Mode Pages Chapter Percentage Time LeftReading Theme☀️Light Paper Sepia Parchment Warm Candlelight Azure Sky Arctic Frost Dusk Sunset Twilight Forest Moss Slate OLED SolarizedTypographyReading Font Literata (Default) Crimson Text Source Serif 4 EB Garamond Libertinus Serif Noto Serif Charis SIL IBM Plex Serif Comic Sans MS (Test) Font Size 18px Line Height 1.6Navigation Double Page SpreadDone") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 13, "⚙️ Settings─DisplayChrome Behavior Auto Hide Always Visible Hide on Scroll Progress Mode Pages Chapter Percentage Time LeftReading Theme☀️Light Paper Sepia Parchment Warm Candlelight Azure Sky Arctic Frost Dusk Sunset Twilight Forest Moss Slate OLED SolarizedTypographyReading Font Literata (Default) Crimson Text Source Serif 4 EB Garamond Libertinus Serif Noto Serif Charis SIL IBM Plex Serif Font Size 18px Line Height 1.6Navigation Double Page SpreadDone") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -293,7 +293,7 @@ func ReaderBookmarksPanel(bookmarks []Bookmark) templ.Component { var templ_7745c5c3_Var11 string templ_7745c5c3_Var11, templ_7745c5c3_Err = templ.JoinStringErrs(bookmark.CfiPosition) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 360, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 359, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var11)) if templ_7745c5c3_Err != nil { @@ -306,7 +306,7 @@ func ReaderBookmarksPanel(bookmarks []Bookmark) templ.Component { var templ_7745c5c3_Var12 string templ_7745c5c3_Var12, templ_7745c5c3_Err = templ.JoinStringErrs(bookmark.Title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 363, Col: 49} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 362, Col: 49} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var12)) if templ_7745c5c3_Err != nil { @@ -319,7 +319,7 @@ func ReaderBookmarksPanel(bookmarks []Bookmark) templ.Component { var templ_7745c5c3_Var13 string templ_7745c5c3_Var13, templ_7745c5c3_Err = templ.JoinStringErrs(bookmark.Position) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 365, Col: 27} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `templates/reader.templ`, Line: 364, Col: 27} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var13)) if templ_7745c5c3_Err != nil { diff --git a/web/src/reader/reader.ts b/web/src/reader/reader.ts index 6ba25d0..a199fdb 100644 --- a/web/src/reader/reader.ts +++ b/web/src/reader/reader.ts @@ -12,7 +12,6 @@ const FONT_MAP: Record = { "noto-serif": '"Noto Serif"', "charis-sil": '"Charis SIL"', "ibm-plex": '"IBM Plex Serif"', - "comic-sans": '"Comic Sans MS", "Comic Sans", cursive', }; interface ThemeColors {