From 1a6091863009324344ebeebba8b5312fbb6e9b3b Mon Sep 17 00:00:00 2001 From: Tammo ter Hark Date: Thu, 26 Nov 2026 16:49:35 +0100 Subject: [PATCH] feat(options): color-chooser option texts with live hexcodes, default bold MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Row 131: the navbarfontcolor dropdown entries now read exactly "Default font color", "Default background color", "Color 1", "Color 2", "Color 3", "Other ..." (config.xml options/optionlabels/dropdownoptions renamed from "Same as default font color" / "Other…"). options.js appends each entry's chosen hexcode in brackets — presets from their color option fields, "Other ..." from the custom picker's value (navbarfontcolorcustom) — and the entry marked data-default="1" stays bold via a real (row 129) plus CSS. Rendered list example: bold "Default font color [#444444]", "Default background color [#ffffff]", "Color 1 [#5e1c64]", ..., "Other ... [#444444]". OPTIONS_JS_TOKEN -> 20261126.10. Verified: render tc=603 (raw option texts match the list), jsdom 6/6 incl. new pins (exact label texts, hex on "Other ..." and "Default background color" entries, only on default), export exit 0. Variants not rebuilt (deferred). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- config.xml | 18 +++++++++++------- options/options.js | 7 +++++-- options/options.twig | 2 +- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/config.xml b/config.xml index 58525a4..df34454 100644 --- a/config.xml +++ b/config.xml @@ -222,19 +222,23 @@ own default value — the element text below IS that default (LimeSurvey stores it in the DB on theme reset), and the