mirror of
https://github.com/amitwh/markdown-converter.git
synced 2026-10-01 09:19:34 +05:30
Registers all 37 editor themes at startup via ThemeRegistry.bootstrap.js. Side-effect module: requiring it populates the registry from a static THEMES array (25 existing menu themes refactored into the registry + 12 new: Catppuccin x4, one-light, tokyo-night-storm, synthwave-84, outrun, winter-is-coming x2, solarized-dark-hc, spring-light). Categories split: 13 light / 22 dark / 1 high-contrast / 1 seasonal (spring-light per spec). Snapshot test asserts exact id order, shape validity, and category counts. Tests use jest.resetModules() + per-test requires so the bootstrap module re-evaluates its registration loop each run. Amit Haridas