[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

@ -10,7 +10,7 @@
1,
2
],
"default": 0
"default": 2
},
"showPreviousViewOnLoad": {
"description": "DEPRECATED. Set viewOnLoad to 1 to disable showing the last page/position on load.",

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: {