diff --git a/.gitignore b/.gitignore index ecaf2b3..25cb1ad 100644 --- a/.gitignore +++ b/.gitignore @@ -36,11 +36,11 @@ /files/logos.svg # NOTE: files/preview.svg is deliberately NOT ignored (standing rule, row 235): -# it is the editable source of files/preview.png and is meant to be committed — -# in a variant (private variants repo) build.php adds it only once, at first -# creation, and never overwrites it afterwards. The public export still excludes -# all files/*.svg (see variants/export_public.sh): LimeSurvey's image validator -# rejects SVG for theme images, so only the exported PNG ships. +# it is the editable source of files/preview.png and is committed AND synced +# publicly (row 237: the export excludes only files/logos.svg, not preview.svg). +# In a variant (private variants repo) build.php adds it only once, at first +# creation, and never overwrites it afterwards. LimeSurvey's image validator +# rejects SVG for option images, so the theme preview itself is still the PNG. # Session prompt log (prompts used + results). Internal working notes — never # commit, never publish. diff --git a/files/preview.svg b/files/preview.svg new file mode 100644 index 0000000..dc7c60b --- /dev/null +++ b/files/preview.svg @@ -0,0 +1,250 @@ + + + +Custom templateVanilla RespondageA clean and very versatile template, based on the Core template Vanilla, with many added options. + +Designed for LimeSurvey 7 for use on both wide screens as well as small screens (mobile phones). Uses own fonts. + +Can be used as a basis for further development.Built with pride by: www.respondage.nl diff --git a/variants/export_public.sh b/variants/export_public.sh index cfea4bd..b0ce9b3 100644 --- a/variants/export_public.sh +++ b/variants/export_public.sh @@ -105,7 +105,7 @@ mkdir -p "$STAGE" "$OUT_DIR" # in .gitignore (the public repo tracks the remaining files; the generic # variants/ tooling build.php + export_public.sh IS included, the client # definitions *.json, leak-patterns.txt and tests/ are NOT) -(cd "$THEME_DIR" && tar --exclude='./.git' --exclude='./dist' --exclude='./variants/*.json' --exclude='./variants/leak-patterns.txt' --exclude='./variants/tests' --exclude='./sass' --exclude='./css/*.map' --exclude='./files/*.svg' --exclude='./FEATURE_REQUEST*.md' --exclude='./BUG_REPORT*.md' --exclude='./SECURITY_REVIEW*.md' --exclude='./OPEN_PROMPTS.md' --exclude='./AGENTS.md' --exclude='./prompts.md' --exclude='./limesurvey.md' --exclude='./.vibe' --exclude='./node_modules' --exclude='./package.json' --exclude='./package-lock.json' --exclude='./tmp' -cf - .) | (cd "$STAGE" && tar -xf -) +(cd "$THEME_DIR" && tar --exclude='./.git' --exclude='./dist' --exclude='./variants/*.json' --exclude='./variants/leak-patterns.txt' --exclude='./variants/tests' --exclude='./sass' --exclude='./css/*.map' --exclude='./files/logos.svg' --exclude='./FEATURE_REQUEST*.md' --exclude='./BUG_REPORT*.md' --exclude='./SECURITY_REVIEW*.md' --exclude='./OPEN_PROMPTS.md' --exclude='./AGENTS.md' --exclude='./prompts.md' --exclude='./limesurvey.md' --exclude='./.vibe' --exclude='./node_modules' --exclude='./package.json' --exclude='./package-lock.json' --exclude='./tmp' -cf - .) | (cd "$STAGE" && tar -xf -) # 2. leak check: no client-identifying strings may remain (text files only). # Client names are NOT hardcoded in this public file. Patterns are derived: