1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-10-29 06:17:40 +00:00

Change dark theme from black to dark gray and add a black theme

This commit is contained in:
Bharat KNV
2022-03-06 15:56:54 +05:30
parent 0693cb1ddb
commit 9efd644360
4 changed files with 18 additions and 3 deletions

View File

@@ -16,6 +16,7 @@ var reader;
reader.rendition.themes.register("lightTheme", "/static/css/epub_themes.css");
reader.rendition.themes.register("darkTheme", "/static/css/epub_themes.css");
reader.rendition.themes.register("sepiaTheme", "/static/css/epub_themes.css");
reader.rendition.themes.register("blackTheme", "/static/css/epub_themes.css");
if (calibre.useBookmarks) {
reader.on("reader:bookmarked", updateBookmark.bind(reader, "add"));