feat(options): color-chooser option texts with live hexcodes, default bold
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 <b> (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, <b> only on default), export exit 0. Variants not rebuilt (deferred). Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
f26ee734d4
commit
1a60918630
1 changed files with 17 additions and 10 deletions
|
|
@ -43,7 +43,7 @@
|
|||
heuristically cached copy (the file has only Last-Modified/ETag, no Cache-Control).
|
||||
Re-register it with a version token: bump OPTIONS_JS_TOKEN below whenever
|
||||
options/options.js changes, so every browser fetches the new file once. #}
|
||||
{% set OPTIONS_JS_TOKEN = '20261126.9' %}
|
||||
{% set OPTIONS_JS_TOKEN = '20261126.10' %}
|
||||
{{ unregisterScriptFile(optionsPath ~ '/options.js') }}
|
||||
{{ registerScriptFile(optionsPath ~ '/options.js?v=' ~ OPTIONS_JS_TOKEN, 'POS_END') }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue