The search icon as defined in --ifm-navbar-search-input-icon is uses currentColor:
--ifm-navbar-search-input-icon: url('data:image/svg+xml;utf8,<svg fill="currentColor" ...
However, this does not have the intended effect because currentColor does not get applied on images rendered using url(). This results in the search icon not changing color when switching between light/dark theme (and makes it hard to customize the color more generally).
Perhaps a more flexible approach would be to use an actual SVG in the element, similar to how Docusarus has implemented it on their website:

The search icon as defined in
--ifm-navbar-search-input-iconis usescurrentColor:--ifm-navbar-search-input-icon: url('data:image/svg+xml;utf8,<svg fill="currentColor" ...However, this does not have the intended effect because
currentColordoes not get applied on images rendered usingurl(). This results in the search icon not changing color when switching between light/dark theme (and makes it hard to customize the color more generally).Perhaps a more flexible approach would be to use an actual SVG in the element, similar to how Docusarus has implemented it on their website:
