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
+6 -1
View File
@@ -4,11 +4,16 @@
}
.darkTheme {
background: #000;
background: #202124;
color: #fff
}
.sepiaTheme {
background: #ece1ca;
color: #000;
}
.blackTheme {
background: #000;
color: #fff
}
+6 -1
View File
@@ -578,7 +578,7 @@ input:-moz-placeholder { color: #454545; }
}
.md-content .themes button.darkTheme {
background-color: black;
background-color: #202124;
color: white;
}
@@ -592,6 +592,11 @@ input:-moz-placeholder { color: #454545; }
color: black;
}
.md-content .themes button.blackTheme {
background-color: black;
color: white;
}
/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
-webkit-transform: scale(0.7);
+1
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"));