Skip to content

Fix theme switcher runtime behavior - #70

Merged
CrazyBoy49z merged 1 commit into
2.x-devfrom
fix/theme-switcher-runtime
Sep 28, 2026
Merged

CrazyBoy49z merged 1 commit into
2.x-devfrom
fix/theme-switcher-runtime

Conversation

@CrazyBoy49z

Copy link
Copy Markdown
Member

Summary

  • make the multiple-theme selector apply the chosen theme directly through Alpine
  • persist the selected theme to localStorage
  • keep emitting lazy-ui:theme-changed
  • make the two-state toggle self-contained too
  • remove reliance on the delegated document click handler for the actual theme change

This fixes cases where the theme menu opens but selecting a theme does not change the page.

@CrazyBoy49z
CrazyBoy49z merged commit 021d0cb into 2.x-dev Sep 28, 2026
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant