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
The current search icon implementation relies on --ifm-navbar-search-input-icon, however there is a known bug (infima#287) with the variable in that icon that prevents it from changing color. Furthermore, from that issue thread it sounds like it will be removed in future versions:
As far as I know this CSS var is not even used on Docusaurus,
I'll keep this issue open because we should probably delete it from Infima, it's confusing for Docusaurus users and useless
Therefore I suggest that we refactor this library's implementation to instead use an SVG approach like the one Algolia uses. As part of that refactor, it would also be nice to allow the x icon to change color as well - it doesn't seem like it's possible to change this currently without global css.
In the meantime, for anyone trying to change the color of the icon you can copy and paste the entire var definition and then just change it to be the color you want:
The current search icon implementation relies on
--ifm-navbar-search-input-icon
, however there is a known bug (infima#287) with the variable in that icon that prevents it from changing color. Furthermore, from that issue thread it sounds like it will be removed in future versions:Therefore I suggest that we refactor this library's implementation to instead use an SVG approach like the one Algolia uses. As part of that refactor, it would also be nice to allow the x icon to change color as well - it doesn't seem like it's possible to change this currently without global css.
Relates to #331
The text was updated successfully, but these errors were encountered: