From 867150e4f037255097f33c657835f5a815d5bcb8 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Sun, 1 Aug 2021 18:51:02 +0200 Subject: [PATCH] [CRX] Add option to customize Theme in options UI The `viewerCssTheme` option was not rendered because its entry in `preferences_schema.json` did not have a `title`. The order of keys in `preferences_schema.json` determines the order of the rendered preferences in the options UI. Since `viewerCssTheme` affects the UI very significantly, I have moved the option to the top. --- extensions/chromium/options/options.html | 13 +++++++++++++ extensions/chromium/preferences_schema.json | 20 +++++++++++--------- 2 files changed, 24 insertions(+), 9 deletions(-) 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 { + +