diff --git a/cps/templates/read.html b/cps/templates/read.html index e5311998..f417e6c1 100644 --- a/cps/templates/read.html +++ b/cps/templates/read.html @@ -13,6 +13,38 @@ + + +
+
+ + +
+
@@ -128,7 +166,14 @@ else if (id == "blackTheme") { document.getElementById("main").style.backgroundColor = "black"; } - } + + } + + // font size settings logic + let fontSizeFader = document.getElementById('fontSizeFader'); + fontSizeFader.addEventListener ("change", function () { + reader.rendition.themes.fontSize(`${this.value}%`) + });