feat(options): Default fonts and colors tab with Default font/colors sections (Prompt Y)
- Tab renamed to "Default fonts and colors" with full-width h2+p intro
("Default font"), 3-col row font/fontcolor/fontsize, hr, "Default colors"
h2+p, 3-col row primarycolor ("Color 1 (primary)")/secondarycolor/new
tertiarycolor ("Color 3", #dddddd)
- headerfont moved to Top of page Header section col 2 above navbarfontcolor;
progressbarfont to Progress bar first row col 3 (col 2 stays empty)
- headertextcolor(+custom)/progressbartextcolor(+custom) removed from
config.xml (covered by navbarfontcolor/progressbarfontcolor; views fall
back to fontcolor via |default)
- 21 per-element font/color/size options moved Fonts -> Questions, rendered
full width below the 3 question columns
- variants rebuilt (defensie/erasmus/respondage); example variant config
synced
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
cf2acebc1a
commit
089ddc5642
1 changed files with 121 additions and 113 deletions
69
config.xml
69
config.xml
|
|
@ -287,9 +287,10 @@
|
|||
size/weight options below. HOUSE-STYLE: fontcolor, primarycolor and
|
||||
secondarycolor are set per variant via variants/<client>.json. -->
|
||||
<fontcolor type="colorpicker" category="Fonts" width="12" title="Default font color (body text)" options="on|off" optionlabels="Yes|No">#444444</fontcolor>
|
||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
||||
<primarycolor type="colorpicker" category="Fonts" width="12" title="Primary color" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
||||
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Secondary color" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
||||
<fontsize type="buttons" category="Fonts" width="12" title="Base font size (body text)" options="14px|16px|18px|20px" optionlabels="Small (14px)|Normal (16px)|Large (18px)|Extra large (20 px)">16px</fontsize>
|
||||
<primarycolor type="colorpicker" category="Fonts" width="12" title="Color 1 (primary)" options="on|off" optionlabels="Yes|No">#5e1c64</primarycolor>
|
||||
<secondarycolor type="colorpicker" category="Fonts" width="12" title="Color 2" options="on|off" optionlabels="Yes|No">#888888</secondarycolor>
|
||||
<tertiarycolor type="colorpicker" category="Fonts" width="12" title="Color 3" options="on|off" optionlabels="Yes|No">#dddddd</tertiarycolor>
|
||||
<!-- Per-element font+color combos (Prompt U). Each element gets:
|
||||
- <el>font (type "fontselect"): the SAME choices as the base "font"
|
||||
dropdown above (bundled + variant-custom + browser fonts), plus a
|
||||
|
|
@ -302,75 +303,59 @@
|
|||
color fontcolor). Resolved to an inline style="color: …" in the views.
|
||||
- <el>textcolorcustom (colorpicker): only visible when <el>textcolor
|
||||
= "other" (parent show-value "other"). -->
|
||||
<headerfont type="fontselect" category="Fonts" width="4" title="Font for the header / top menu">base</headerfont>
|
||||
<headertextcolor type="dropdown" category="Fonts" width="12" title="Text color for the header / top menu" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></headertextcolor>
|
||||
<headertextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the header / top menu" parent="headertextcolor">#444444</headertextcolorcustom>
|
||||
<progressbarfont type="fontselect" category="Fonts" width="4" title="Font for the progress bar">base</progressbarfont>
|
||||
<progressbartextcolor type="dropdown" category="Fonts" width="12" title="Text color for the progress bar" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></progressbartextcolor>
|
||||
<progressbartextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the progress bar" parent="progressbartextcolor">#444444</progressbartextcolorcustom>
|
||||
<questiontitlefont type="fontselect" category="Fonts" width="4" title="Font for question titles">base</questiontitlefont>
|
||||
<questiontitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<headerfont type="fontselect" category="Top of the page" width="4" title="Font for the header / top menu">base</headerfont>
|
||||
<progressbarfont type="fontselect" category="Top of the page" width="4" title="Font for the progress bar">base</progressbarfont>
|
||||
<questiontitlefont type="fontselect" category="Questions" width="4" title="Font for question titles">base</questiontitlefont>
|
||||
<questiontitletextcolor type="dropdown" category="Questions" width="12" title="Text color for question titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></questiontitletextcolor>
|
||||
<questiontitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
||||
<answersfont type="fontselect" category="Fonts" width="4" title="Font for answers and help texts">base</answersfont>
|
||||
<answerstextcolor type="dropdown" category="Fonts" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<questiontitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for question titles" parent="questiontitletextcolor">#444444</questiontitletextcolorcustom>
|
||||
<answersfont type="fontselect" category="Questions" width="4" title="Font for answers and help texts">base</answersfont>
|
||||
<answerstextcolor type="dropdown" category="Questions" width="12" title="Text color for answers and help texts" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></answerstextcolor>
|
||||
<answerstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
||||
<grouptitlefont type="fontselect" category="Fonts" width="4" title="Font for group titles">base</grouptitlefont>
|
||||
<grouptitletextcolor type="dropdown" category="Fonts" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<answerstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for answers and help texts" parent="answerstextcolor">#444444</answerstextcolorcustom>
|
||||
<grouptitlefont type="fontselect" category="Questions" width="4" title="Font for group titles">base</grouptitlefont>
|
||||
<grouptitletextcolor type="dropdown" category="Questions" width="12" title="Text color for group titles" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></grouptitletextcolor>
|
||||
<grouptitletextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
||||
<groupdescriptionfont type="fontselect" category="Fonts" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
||||
<groupdescriptiontextcolor type="dropdown" category="Fonts" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<grouptitletextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group titles" parent="grouptitletextcolor">#444444</grouptitletextcolorcustom>
|
||||
<groupdescriptionfont type="fontselect" category="Questions" width="4" title="Font for group descriptions">base</groupdescriptionfont>
|
||||
<groupdescriptiontextcolor type="dropdown" category="Questions" width="12" title="Text color for group descriptions" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></groupdescriptiontextcolor>
|
||||
<groupdescriptiontextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
||||
<buttonsfont type="fontselect" category="Fonts" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
||||
<buttonstextcolor type="dropdown" category="Fonts" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<groupdescriptiontextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for group descriptions" parent="groupdescriptiontextcolor">#444444</groupdescriptiontextcolorcustom>
|
||||
<buttonsfont type="fontselect" category="Questions" width="4" title="Font for the buttons (Previous/Next/Submit)">base</buttonsfont>
|
||||
<buttonstextcolor type="dropdown" category="Questions" width="12" title="Text color for the buttons (Previous/Next/Submit)" options="default|primary|secondary|other" optionlabels="Default font color|Primary color|Secondary color|Other…">default
|
||||
<dropdownoptions>
|
||||
<option value="default">Default font color</option>
|
||||
<option value="primary">Primary color</option>
|
||||
<option value="secondary">Secondary color</option>
|
||||
<option value="other">Other…</option>
|
||||
</dropdownoptions></buttonstextcolor>
|
||||
<buttonstextcolorcustom type="colorpicker" category="Fonts" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
||||
<questiontitlefontsize type="buttons" category="Fonts" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
||||
<questiontitlefontweight type="buttons" category="Fonts" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
||||
<grouptitlefontsize type="buttons" category="Fonts" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
||||
<grouptitlefontweight type="buttons" category="Fonts" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
||||
<groupdescriptionfontsize type="buttons" category="Fonts" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
||||
<groupdescriptionfontweight type="buttons" category="Fonts" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
||||
<buttonstextcolorcustom type="colorpicker" category="Questions" width="12" title="Custom text color for the buttons (Previous/Next/Submit)" parent="buttonstextcolor">#444444</buttonstextcolorcustom>
|
||||
<questiontitlefontsize type="buttons" category="Questions" width="6" title="Question title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</questiontitlefontsize>
|
||||
<questiontitlefontweight type="buttons" category="Questions" width="6" title="Question title font weight" options="400|700" optionlabels="Normal|Bold">700</questiontitlefontweight>
|
||||
<grouptitlefontsize type="buttons" category="Questions" width="6" title="Group title font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">2.0rem</grouptitlefontsize>
|
||||
<grouptitlefontweight type="buttons" category="Questions" width="6" title="Group title font weight" options="400|700" optionlabels="Normal|Bold">700</grouptitlefontweight>
|
||||
<groupdescriptionfontsize type="buttons" category="Questions" width="6" title="Group description font size" options="1.0rem|1.2rem|1.5rem|2.0rem|20px|24px" optionlabels="Same as Base Font Size(BFS)|1.2 BFS|1.5 BFS|2.0 BFS|20px|24px">1.2rem</groupdescriptionfontsize>
|
||||
<groupdescriptionfontweight type="buttons" category="Questions" width="6" title="Group description font weight" options="400|700" optionlabels="Normal|Bold">400</groupdescriptionfontweight>
|
||||
</options>
|
||||
|
||||
<!-- Here datas about how LimeSurvey should load the theme -->
|
||||
|
|
|
|||
Loading…
Reference in a new issue