Skip to content

Commit 3f0f555

Browse files
authored
Merge pull request #101 from ChangqingW/main
2 parents 503d4c1 + f0b29a8 commit 3f0f555

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

custom.css

+25
Original file line numberDiff line numberDiff line change
@@ -1272,3 +1272,28 @@ html[data-theme=white] {
12721272
:root {
12731273
--ls-block-bullet-threading-width: 2px;
12741274
}
1275+
1276+
/* PDF viewer */
1277+
.extensions__pdf-settings-item.theme-picker>button.dark {
1278+
background-color: var(--ls-primary-background-color);
1279+
}
1280+
.extensions__pdf-container {
1281+
background-color: transparent;
1282+
1283+
&[data-theme=dark] {
1284+
background-color: #262E37; /* not sure how to do this without hardcoding */
1285+
1286+
.textLayer {
1287+
background-color: var(--ls-primary-background-color);
1288+
opacity: 1;
1289+
/* mix-blend-mode: multiply; */
1290+
}
1291+
1292+
.extensions__pdf-hls-text-region {
1293+
mix-blend-mode: normal;
1294+
opacity: .4;
1295+
}
1296+
1297+
}
1298+
}
1299+

0 commit comments

Comments
 (0)