chore(files): row 234 — gitignore WIP svg artwork (files/*.svg), commit new preview.png

The new theme preview was added as files/preview.svg (source) +
files/preview.png (export). LimeSurvey's image validator rejects SVG for
theme images anyway, so only the PNG is tracked: .gitignore now ignores
/files/*.svg (generalizes the row-208 logos.svg entry to all WIP artwork).

Also fixed variants/export_public.sh: the staging tar did not exclude
files/*.svg, so the gitignored logos.svg still leaked into the public zip;
added --exclude='./files/*.svg'. Verified: export exit 0 and the new
dist/vanilla_respondage-0.1-public.zip contains files/preview.png and no
.svg files at all.

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-30 11:58:34 +01:00
commit 5dfe08bf6f
3 changed files with 5 additions and 3 deletions

6
.gitignore vendored
View file

@ -32,8 +32,10 @@
# Export zips, if an output dir inside the theme is ever used. # Export zips, if an output dir inside the theme is ever used.
/dist/ /dist/
# Work-in-progress logo artwork — local only, never commit/publish. # Work-in-progress artwork sources (logo/preview SVGs) — local only, never
/files/logos.svg # commit/publish. LimeSurvey's image validator rejects SVG for theme images
# anyway, so only the exported PNG is ever committed (e.g. files/preview.png).
/files/*.svg
# Session prompt log (prompts used + results). Internal working notes — never # Session prompt log (prompts used + results). Internal working notes — never
# commit, never publish. # commit, never publish.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 53 KiB

After

Width:  |  Height:  |  Size: 123 KiB

Before After
Before After

View file

@ -105,7 +105,7 @@ mkdir -p "$STAGE" "$OUT_DIR"
# in .gitignore (the public repo tracks the remaining files; the generic # in .gitignore (the public repo tracks the remaining files; the generic
# variants/ tooling build.php + export_public.sh IS included, the client # variants/ tooling build.php + export_public.sh IS included, the client
# definitions *.json, leak-patterns.txt and tests/ are NOT) # 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='./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/*.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). # 2. leak check: no client-identifying strings may remain (text files only).
# Client names are NOT hardcoded in this public file. Patterns are derived: # Client names are NOT hardcoded in this public file. Patterns are derived: