[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,
|
1,
|
||||||
2
|
2
|
||||||
],
|
],
|
||||||
"default": 0
|
"default": 2
|
||||||
},
|
},
|
||||||
"showPreviousViewOnLoad": {
|
"showPreviousViewOnLoad": {
|
||||||
"description": "DEPRECATED. Set viewOnLoad to 1 to disable showing the last page/position on load.",
|
"description": "DEPRECATED. Set viewOnLoad to 1 to disable showing the last page/position on load.",
|
||||||
|
@ -177,7 +177,7 @@ const defaultOptions = {
|
|||||||
},
|
},
|
||||||
viewerCssTheme: {
|
viewerCssTheme: {
|
||||||
/** @type {number} */
|
/** @type {number} */
|
||||||
value: 0,
|
value: typeof PDFJSDev !== "undefined" && PDFJSDev.test("CHROME") ? 2 : 0,
|
||||||
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
kind: OptionKind.VIEWER + OptionKind.PREFERENCE,
|
||||||
},
|
},
|
||||||
viewOnLoad: {
|
viewOnLoad: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user