[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 12ff252751870bea861944f369a9ecf462c641d3).
This commit is contained in:
parent
867150e4f0
commit
a51b4a9cb0
@ -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.",
|
||||
|
@ -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: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user