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>
The leak-check grep pattern no longer contains (obfuscated) client names.
Patterns are now derived at runtime from:
- sibling variant theme folders (../<name>_vanilla, excluding this theme)
- variants/leak-patterns.txt (gitignored; canonical copy in the private
repo respondage_vanilla_variants)
The export tar also excludes leak-patterns.txt, and the script was verified:
export builds clean, and a planted client string is correctly detected.
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>