You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 text was updated successfully, but these errors were encountered:
The search icon as defined in
--ifm-navbar-search-input-icon
is usescurrentColor
:However, this does not have the intended effect because
currentColor
does 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:
The text was updated successfully, but these errors were encountered: