Purged: EB Garamond, Liberation Sans 400/700, Open Sans, Source Serif 4
(rationale in README.md 'Default font'). Kept: Inter (now the default of the
font option, best screen readability at survey sizes, with Noto Sans stacked
behind it as multilingual fallback), Noto Sans, Noto Serif (the one serif,
non-Latin coverage). Added: Atkinson Hyperlegible 400/700 (OFL 1.1, from
googlefonts/atkinson-hyperlegible) as the accessibility variant for
respondents with reading impairments. sass/fonts.sass is the leading source;
css/fonts.css recompiled. README.md + files/fonts/README.md document the
choice and the alternatives. Variant propagation parked per row 222.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Previously only css/plain.css was compiled from sass/plain.sass; css/custom.css
and css/fonts.css were hand-written. Now every theme stylesheet has a leading
sass source: sass/plain.sass, sass/custom.sass, sass/fonts.sass (partials _*),
compiled with 'sass --watch sass:css' (dart-sass 1.83.4 added as local
devDependency; node_modules/package.json stay gitignored). css/*.css are build
artifacts and remain the committed runtime files; sass/ stays developer-local.
Recompiled output is semantically identical to the previous hand-written files
(dart-sass normalization only: 2-space indent, double quotes, @charset).
variants/export_public.sh step 0 now checks BOTH directions for every pair:
stale css/<name>.css vs sass/<name>.sass aborts, and a css file without a sass
source aborts; compiler resolved from PATH or node_modules/.bin/sass.
.gitignore/README document the workflow.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- nav_bar.twig: header split into two rows — row 1 .survey-nav-logo-row holds
all logos (left far left, center absolutely centered in the row, right
ms-auto far right) so they align; row 2 #navbar holds the menu texts
(language changer, save/clear all, question index) full-width, right-aligned
- sass/plain.sass (leading): #survey-nav align-items:flex-start, container
stretch, .survey-nav-logo-row relative/w-100, .logo-container and its img
padding-top:0, .logo-center top:0 translateX(-50%); dropped .logo-right
margin-left:0 (ms-auto now on the element)
- css/plain.css: compiled from sass with dart-sass (export guard green)
- custom_header.twig: <pos>logotopmargin now emitted as margin-top on the
.logo-*.logo-container, so the value is the EXACT distance from the top of
the header to the logo (0px = logo touches the top of the page)
- README.md: header layout + logo-top-distance sections updated
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
README.md: theme title line "Vanilla Respondage — LimeSurvey theme (version 6/7
compatible), extension of the core Vanilla theme by Respondage" and intro wording;
plus the placeholder files/logo-left.png and files/logo-right.png (default left
and right header logos).
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Prompt V (prompts.md rows 51-54). Mother theme folder + <name> renamed to
vanilla_respondage (version 3.3.0); client variants renamed to
respondage_defensie / respondage_erasmus (<extends>vanilla_respondage</extends>,
auto-derived by build.php). export_public.sh now derives the release name from
the theme dir and the leak-check glob matches ../respondage_* siblings, so the
public-release leak check keeps working after the rename (sabotage-tested).
All doc/tooling references updated; local-only files stay gitignored.
Also includes the pending uncommitted theme work from this testing week
(custom options page, header logos, sticky-header options, bundled OFL fonts,
per-element font overrides, font-dropdown reordering, jsdom tests) that was
verified locally but not yet pushed.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
A <client>_vanilla theme extends respondage_vanilla via <extends>, so both
folders must be deployed; core vanilla ships with LimeSurvey itself.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
The definitions dir (private variants repo) now has a standard layout per
client: <client>.json + <client>/files/... + <client>/css/variant.css.
build.php copies <client>/ into the generated theme folder, so a
client-specific font or css is part of the variant by default.
README updated accordingly.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- variants/export_public.sh builds a public folder + zip of ONLY this mother
theme: excludes .git and variants/*.json (client house-style definitions),
scans the result for client-identifying strings and aborts on any hit.
Default output: <limesurvey-root>/dist (not inside upload/themes/survey,
which is scanned for themes).
- README.md: "Public release" section; client-identifying examples scrubbed
(generic <client> placeholders, no client names/colors); note that client
definitions live in a private repo (gitignored here).
- .gitignore keeps variants/*.json (and the internal variants README) out of
this public repository.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
Architecture: a client theme extends this mother theme via <extends> and
contains only a generated config.xml + its own files/ (logos). LimeSurvey
inherits all views/css/js/images from the mother, so changes here apply to
every variant immediately.
- variants/<client>.json holds ONLY the house-style values (colors, fonts,
font sizes/weights/colors, logo files, logotopmargin, custom fonts).
- variants/build.php generates ../<client>/config.xml from the mother
config.xml + the json: only those values are replaced, <extends> is set,
<engine> is emptied except <optionspage>. Unknown option keys fail the
build loudly, so drift is caught at build time.
- Client definitions (variants/<client>.json) are gitignored (see .gitignore)
and live in a PRIVATE variants repo or locally; build.php reads them from
there via its 2nd argument or RESPONDAGE_VARIANTS_DIR.
- README.md: "Client variants" workflow.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: "Custom (this theme)" optgroup in the font dropdown plus an
instruction comment on how to place a custom font (@font-face + body class
in the variant's own css).
- variants/build.php: supports "fontOptions" (dropdown entries) and "files_add"
(extra css/js of the variant) in the variant json.
- README.md: "Custom fonts per variant" section.
data-font-package stays "websafe" because LimeSurvey only knows core font
packages; the real font is loaded via the variant's css.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: new duration option "logotopmargin" in the Images category (default 15px).
- custom_header.twig: sets padding-top of the header logos, so 0px aligns a logo
exactly with the top of the screen.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: new colorpicker "navbarfontcolor" in the Colors category.
- custom_header.twig: applies it to #survey-nav menu links (normal + hover/focus,
hover at 0.75 opacity), replacing the old bootstrap3 .navbar-default hover rule.
Pick a color that contrasts with headerbackgroundcolor.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
- config.xml: brandlogo/brandlogofile = left logo; new centerlogo/centerlogofile
and rightlogo/rightlogofile options; old secondlogo/secondlogofile removed.
- nav_bar.twig renders the three positions: left in flow, center absolutely
centered, right flush right (ms-auto on the logo, menu keeps ms-auto when no
right logo). Logos render only when the file resolves (imageSrc guard).
- sass/plain.sass: flex/relative container + absolute centering for .logo-center.
- options/options.twig: removed dead secondlogo variables.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
All text files in the theme (config.xml, sass, css, js, twig, md) used mixed
CRLF/LF. Normalize everything to LF (Unix), matching the LimeSurvey core
themes. .gitattributes (* text=auto eol=lf, binary images/fonts) keeps it
that way; config.xml documents the convention in its header comment.
Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>