Skip to content

Conversation

@craquet
Copy link
Member

@craquet craquet commented Jan 16, 2026

This PR improves handling of the dark mode. Dark mode is now enabled by any parent element with the class dark. This will allow the component to blend in seamlessly in most environments. If another means of theming is used in the page, then the component must be wrapped in an element where the dark class is added as needed.

The dark prop of the ReactSearchComponent and some other components has been deprecated in favor of this CSS-based dark mode handling.

This PR also fixes an issue where the dark mode was not working at all.

@craquet craquet merged commit 504a3c0 into main Jan 20, 2026
2 checks passed
@craquet craquet deleted the dark-mode-fix branch January 20, 2026 10:18
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