summaryrefslogtreecommitdiff
path: root/internal/processor/processor.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-27 09:30:32 +0300
committerPaul Buetow <paul@buetow.org>2026-04-27 09:30:32 +0300
commit06dd860ddc915031d2356faf23e73a16bb2b19cf (patch)
tree8239ca6d6810af2922b1bbc24048dc54eca9e159 /internal/processor/processor.go
parent91ac0b2136b5cdf19d30141b8575f21c06afbfd1 (diff)
refactor(generator): move theme sound data from Go code to embedded JSON files
- Generate sounds.json for each theme inside templates/themes/<name>/ - Load sound data at runtime from embedded FS via templates.ThemeSounds() - Replace ~1100 lines of hardcoded builder functions and presets with a 145-line loader (soundCache, initSoundCache, loadThemeSounds) - Update embed.go to include themes/*/sounds.json in the embedded FS - Update tests to use loadThemeSounds() instead of themeSoundPresets - Eliminates duplication between themeSoundPresets and JSON output Improves cohesion and DRY by keeping theme assets (CSS, JS, meta, sounds) in a single location per theme directory.
Diffstat (limited to 'internal/processor/processor.go')
0 files changed, 0 insertions, 0 deletions