Skip to content

Conversation

@Artur-
Copy link
Member

@Artur- Artur- commented Dec 29, 2025

Replace server-side theme injection with client-side theme switching, eliminating the need to restart the dev server when changing themes.

Changes:

  • Add theme switcher UI with fixed-position buttons (Base/Lumo/Aura)
  • Support URL parameters (?theme=base|lumo|aura) for shareable links
  • Remove start:lumo and start:aura npm commands
  • Remove server-side theme injection from web-dev-server.config.js

Replace server-side theme injection with client-side theme switching,
eliminating the need to restart the dev server when changing themes.

Changes:
- Add theme switcher UI with fixed-position buttons (Base/Lumo/Aura)
- Support URL parameters (?theme=base|lumo|aura) for shareable links
- Add browser back/forward navigation support
- Remove start:lumo and start:aura npm commands
- Remove server-side theme injection from web-dev-server.config.js

Benefits:
- Instant theme switching without page reload
- Shareable URLs with specific themes
- Simple URL-only state (no localStorage complexity)
- Full accessibility (ARIA labels, keyboard navigation)
@sonarqubecloud
Copy link

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.

2 participants