diff --git a/extensions/chromium/options/options.html b/extensions/chromium/options/options.html index 57ddae7b1..ef4bec4d0 100644 --- a/extensions/chromium/options/options.html +++ b/extensions/chromium/options/options.html @@ -43,6 +43,19 @@ body { + + + + + + Use system theme + Light theme + Dark theme + + + + + diff --git a/extensions/chromium/preferences_schema.json b/extensions/chromium/preferences_schema.json index d6eb5d89b..e3a3b8d38 100644 --- a/extensions/chromium/preferences_schema.json +++ b/extensions/chromium/preferences_schema.json @@ -1,6 +1,17 @@ { "type": "object", "properties": { + "viewerCssTheme": { + "title": "Theme", + "description": "The theme to use.\n0 = Use system theme.\n1 = Light theme.\n2 = Dark theme.", + "type": "integer", + "enum": [ + 0, + 1, + 2 + ], + "default": 0 + }, "showPreviousViewOnLoad": { "description": "DEPRECATED. Set viewOnLoad to 1 to disable showing the last page/position on load.", "type": "boolean", @@ -188,15 +199,6 @@ 2 ], "default": -1 - }, - "viewerCssTheme": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "default": 0 } } }