1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

[CRX] Use dark theme by default in Chrome extension

Default to the dark theme for consistency with the previous version of the
published extension (was 12ff252751).
This commit is contained in:
Rob Wu 2021-08-01 18:55:17 +02:00
parent 867150e4f0
commit a51b4a9cb0
2 changed files with 2 additions and 2 deletions

View file

@ -177,7 +177,7 @@ const defaultOptions = {
},
viewerCssTheme: {
/** @type {number} */
value: 0,
value: typeof PDFJSDev !== "undefined" && PDFJSDev.test("CHROME") ? 2 : 0,
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
},
viewOnLoad: {