Skip to content

Commit

Permalink
Fix the black background in the ereader's white mode (#1610)
Browse files Browse the repository at this point in the history
* Fix the black background in the ereader's white mode

* Fix the black background in the ereader's white mode
  • Loading branch information
TheIceCreamTroll committed Oct 28, 2022
1 parent 40431f9 commit e9c8ccf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions UI/Web/src/app/book-reader/_models/book-white-theme.ts
Expand Up @@ -20,7 +20,7 @@ export const BookWhiteTheme = `
--drawer-text-color: black;
--drawer-pagination-horizontal-rule: inset 0 -1px 0 rgb(255 255 255 / 20%);
--drawer-pagination-border: 1px solid rgb(0 0 0 / 13%);
/* Accordion */
--accordion-header-text-color: rgba(74, 198, 148, 0.9);
Expand Down Expand Up @@ -103,7 +103,7 @@ export const BookWhiteTheme = `
.book-content *:not(input), .book-content *:not(select), .book-content *:not(code), .book-content *:not(:link), .book-content *:not(.ngx-toastr) {
color: #dcdcdc !important;
color: black !important;
}
.book-content code {
Expand All @@ -122,19 +122,19 @@ background-color: initial !important;
.book-content *:not(code), .book-content *:not(a) {
background-color: black;
background-color: white;
box-shadow: none;
text-shadow: none;
border-radius: unset;
color: #dcdcdc !important;
}
.book-content :visited, .book-content :visited *, .book-content :visited *[class] {color: rgb(211, 138, 138) !important}
.book-content :link:not(cite), :link .book-content *:not(cite) {color: #8db2e5 !important}
.book-content :visited, .book-content :visited *, .book-content :visited *[class] {color: rgb(240, 50, 50) !important}
.book-content :link:not(cite), :link .book-content *:not(cite) {color: #00f !important}
.btn-check:checked + .btn {
color: white;
background-color: var(--primary-color);
}
`;
`;

0 comments on commit e9c8ccf

Please sign in to comment.