feat: use theme color to highlight selected search item
Description
use theme color to highlight selected search item
also fix an eslint problem
PR Type
- [x] Feature
- [ ] Bugfix
- [ ] Hotfix
- [ ] Other (please describe):
Screenshots (if UI change)
Demo Video (if new feature)
Linked Issues
Additional context
Changelog
- [ ] I have updated the changelog/next.md with my changes.
Thank you for your contribution. We will review it promptly.
@cscnk52 is attempting to deploy a commit to the RSS3 Team on Vercel.
A member of the Team first needs to authorize it.
Suggested PR Title:
feat(panel/cmdk): improve theme color usage and semantics
Change Summary: Updated panel command search UI by replacing hardcoded hover and selection background classes with theme-based classes for better consistency across themes. Also wrapped the local mode search result text in a for semantic clarity and potential styling flexibility. These changes enhance UI theming and improve code readability.
Code Review: No change requests necessary.
I plan to refactor the entire cmdk panel, so this PR is temporarily shelved.