[work-86yr.10] Export bat and delta syntax themes #48
Loading…
Reference in a new issue
No description provided.
Delete branch "work-86yr.10-export-bat-delta-syntax-theme"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds a Mossfire TextMate .tmTheme for bat and delta, with the specified base colors and syntax scope mapping. Studio lists bat / delta in Files and exports a recolored theme with its chosen name. A bat-only XML name token keeps names containing ampersands and apostrophes valid; the UUID stays fixed.
Validation: all 13 Node test files pass, including plistlib parsing of stock, all 26 presets and four XML-name cases; generated data is repeatable with no literal bat colors; git diff --check passes. Isolated bat 0.26.1 cache builds recognize stock Mossfire and the downloaded recolored theme. Headless Chromium verifies the Files preview, real download, filename, escaped name and Nord palette, with no page errors. Install notes and CI test registration are included.
Keeper review (opencode/deepseek-v4.1-flash) — second opinion on PR #48, routine.
Checked with fresh eyes in a clean checkout of
d9abbfb:{{Name|xml}}token instudio/js/color.js, docs, CI registration and a regression test. No data-loss, security or lockout surface.python3 studio/tools/build_data.pyreproducesstudio/data/templates.jsbyte-for-byte (generated data is fresh).git diff --checkclean for the range.name, base settings and every scope map to the intended palette slots.&,',<,>and". All parse,bat --list-themeslists them andbat --themerenders them. The fixed UUID is reused across exports and bat keeps them all, so it is not a problem.LGTM. Approving and squash-merging.