diff --git a/config.xml b/config.xml index ca60f5c..074e381 100644 --- a/config.xml +++ b/config.xml @@ -194,13 +194,17 @@ + slider, progressbar, privacy) are house-style colors and are set per + variant via variants/.json. + NOTE (Prompt U): primarycolor, fontcolor and the new secondarycolor + moved to the "Fonts" category (they live in the "Fonts and colors" + tab now); header/navbar/progressbar colors are pulled into the + "Top of the page" tab by options.twig. What remains here in the + Colors pane: sliderhandlecolor + privacybackgroundcolor (final + Colors layout = Prompt T, still open). --> #eeeeee #444444 - #5e1c64 - #444444 #5e1c64 #eeeeee #5e1c64 @@ -245,7 +249,7 @@ + the "Bundled open source fonts" optgroup below). --> - noto_sans + noto_sans @@ -275,22 +279,92 @@ - - base - base - base - base - base - base - base + + #444444 16px + #5e1c64 + #888888 + + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 + base + default + + + + + + + #444444 1.2rem 700 2.0rem diff --git a/options/options.js b/options/options.js index d82e50d..b4e3f62 100644 --- a/options/options.js +++ b/options/options.js @@ -311,14 +311,22 @@ var ThemeOptions = function () { let enabled = true; if(parentEl.length) { - // THEME ADDITION (Prompt R): parentEl is a SET of radios — read the - // CHECKED one (not the first element) and accept any of the wrapper's - // show-values (data-show-if-value, pipe-separated). Single-value - // parents ('on') behave exactly as before. - const checked = parentEl.filter(':checked'); const wrapper = $(childEl).closest('.option-visibility'); const showValues = String(wrapper.data('show-if-value') || 'on').split('|'); - enabled = checked.length > 0 && showValues.indexOf(String(checked.val())) !== -1; + // THEME ADDITION (Prompt U): the parent may also be a