VS code changed the boot sequence for theme styles and the previous MutationObserver code wasn't always firing in the correct sequence.
The updated template checks that Synthwave '84 theme is active, and that the theme style tag is present in the DOM. Next it creates a separate observer to watch the style tag for the initial theme injection. Once that fires, it bootstraps Neon Dreams as before.
VS code changed the boot sequence for theme styles and the previous MutationObserver code wasn't always firing in the correct sequence.
The updated template checks that Synthwave '84 theme is active, and that the theme style tag is present in the DOM. Next it creates a separate observer to watch the style tag for the initial theme injection. Once that fires, it bootstraps Neon Dreams as before.