Gedit should fallback to Adwaita specifics if none are provided by the user's theme.
Current search bar with Adwaita:
Current search bar with Adwaita Dark:
Fixed search bar with Adwaita Dark: