Skip to content

Commit

Permalink
Merge pull request #101 from ChangqingW/main
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored Aug 12, 2024
2 parents 503d4c1 + f0b29a8 commit 3f0f555
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -1272,3 +1272,28 @@ html[data-theme=white] {
:root {
--ls-block-bullet-threading-width: 2px;
}

/* PDF viewer */
.extensions__pdf-settings-item.theme-picker>button.dark {
background-color: var(--ls-primary-background-color);
}
.extensions__pdf-container {
background-color: transparent;

&[data-theme=dark] {
background-color: #262E37; /* not sure how to do this without hardcoding */

.textLayer {
background-color: var(--ls-primary-background-color);
opacity: 1;
/* mix-blend-mode: multiply; */
}

.extensions__pdf-hls-text-region {
mix-blend-mode: normal;
opacity: .4;
}

}
}

0 comments on commit 3f0f555

Please sign in to comment.