vanilla_respondage/options
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Tammo ter Hark 4d5dd1e746 fix(options): bold the default color choice through every browser mechanism
Row 132: after cache clear + theme reset + hard refresh the default entry of
the color-chooser dropdown still was not bold in the owner's browser — not
every browser applies font-weight to <option> elements (Safari ignores option
styling entirely; the closed select box often ignores it too), even though
the data-default attribute and <b> were in the DOM. Now stacked:
1. CSS rule select option[data-default="1"] { font-weight: 700 } (existing),
2. a real <b> around the default label (row 129, existing),
3. inline style font-weight:700 on the default <option> (new in options.js),
4. .action_update_options_string_form select:has(option[data-default="1"]:checked)
   { font-weight: 700 } — bolds the CLOSED select box when the default choice
   is selected (new in options.twig inline <style>),
5. the swatch chip label of the default stays bold via .is-default (row 126).
Also: the default mode is now read with a fallback chain (data-default option
-> data-inheritvalue -> first non-inherit option) so the swatch label bold
cannot silently disappear. OPTIONS_JS_TOKEN -> 20261126.11. Verified: render
tc=618 (served as options.js?v=20261126.11, :has rule present in HTML), jsdom
6/6 incl. new pins (inline font-weight on the default option only, :has rule
in the inline style), export exit 0. Variants not rebuilt (deferred).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
2026-11-26 16:59:01 +01:00
..
options.js fix(options): bold the default color choice through every browser mechanism 2026-11-26 16:59:01 +01:00
options.twig fix(options): bold the default color choice through every browser mechanism 2026-11-26 16:59:01 +01:00