There are a number of hardcoded colors in search.css. There is a desire to make them variables to enable new types of styling and dark mode. Am going to attempt to fork, and provide a suggested set of tweaks. PR: https://github.com/readthedocs/addons/pull/571