Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe ChangesTheme Token Toggle Refinement
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|



The cloned button's click handler treated
themeas a binary on/off attribute and wiped it whenever any token was present, instead of toggling only the "primary" token. Now toggle only "primary" while preserving any other tokens, matching the server-side behavior of getThemeNames().set("primary", state).Tested locally in both Vaadin 24 & Vaadin 25 profiles.
Close #27
Summary by CodeRabbit
primarytheme token while preserving other theme tokens.