diff --git a/.gitignore b/.gitignore index 0e35705..bf22d7a 100644 --- a/.gitignore +++ b/.gitignore @@ -32,8 +32,10 @@ # Export zips, if an output dir inside the theme is ever used. /dist/ -# Work-in-progress logo artwork — local only, never commit/publish. -/files/logos.svg +# Work-in-progress artwork sources (logo/preview SVGs) — local only, never +# 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 # commit, never publish. diff --git a/files/preview.png b/files/preview.png index c842051..d5a7a05 100644 Binary files a/files/preview.png and b/files/preview.png differ diff --git a/variants/export_public.sh b/variants/export_public.sh index 51014bb..cfea4bd 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='./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). # Client names are NOT hardcoded in this public file. Patterns are derived: