给你一个svg图片,当你使用时,修改颜色,发现不生效,你可以找到对应的svg图片,修改里面的fill、stroke等颜色为currentColor,就可以生效了。具体改哪个属性,可以自己根据图标判断或尝试
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_249_49235)">
<path d="M8.13137 19.65H7.58137C5.15131 19.65 3.18137 17.68 3.18137 15.25V9.74998C3.18137 7.31993 5.15131 5.34998 7.58137 5.34998H13.0814C15.5114 5.34998 17.4814 7.31992 17.4814 9.74998V9.81971" stroke="#8A9099" stroke-width="1.76" stroke-linecap="round"/>
<path d="M19.5759 13.1662L21.1913 19.2095M13.2235 14.6667L11.9813 19.3456M18.5201 19.3454L17.2201 14.5442M17.3037 15.1095C17.3037 16.2469 16.3817 17.1689 15.2443 17.1689C14.1068 17.1689 13.1848 16.2469 13.1848 15.1095C13.1848 13.972 14.1068 13.05 15.2443 13.05C16.3817 13.05 17.3037 13.972 17.3037 15.1095Z" stroke="#8A9099" stroke-width="1.77098" stroke-miterlimit="10" stroke-linecap="round"/>
<path d="M8.13133 7.54999C8.22559 9.02797 9.40335 10.2057 10.8813 10.3C9.40335 10.3942 8.22559 11.572 8.13133 13.05C8.03708 11.572 6.85932 10.3942 5.38133 10.3C6.85932 10.2057 8.03708 9.02797 8.13133 7.54999Z" fill="#8A9099"/>
<path d="M1 2C1 2.55229 1.44772 3 2 3C2.55228 3 3 2.55229 3 2C3 1.44771 2.55228 1 2 1C1.44772 1 1 1.44771 1 2Z" fill="#8A9099" fill-opacity="0.6"/>
<path d="M22 23C21.4477 23 21 22.5523 21 22C21 21.4477 21.4477 21 22 21C22.5523 21 23 21.4477 23 22C23 22.5523 22.5523 23 22 23Z" fill="#8A9099" fill-opacity="0.6"/>
</g>
<defs>
<clipPath id="clip0_249_49235">
<rect width="24" height="24" fill="white"/>
</clipPath>
</defs>
</svg>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_249_49235)">
<path d="M8.13137 19.65H7.58137C5.15131 19.65 3.18137 17.68 3.18137 15.25V9.74998C3.18137 7.31993 5.15131 5.34998 7.58137 5.34998H13.0814C15.5114 5.34998 17.4814 7.31992 17.4814 9.74998V9.81971" stroke="currentColor" stroke-width="1.76" stroke-linecap="round"/>
<path d="M19.5759 13.1662L21.1913 19.2095M13.2235 14.6667L11.9813 19.3456M18.5201 19.3454L17.2201 14.5442M17.3037 15.1095C17.3037 16.2469 16.3817 17.1689 15.2443 17.1689C14.1068 17.1689 13.1848 16.2469 13.1848 15.1095C13.1848 13.972 14.1068 13.05 15.2443 13.05C16.3817 13.05 17.3037 13.972 17.3037 15.1095Z" stroke="currentColor" stroke-width="1.77098" stroke-miterlimit="10" stroke-linecap="round"/>
<path d="M8.13133 7.54999C8.22559 9.02797 9.40335 10.2057 10.8813 10.3C9.40335 10.3942 8.22559 11.572 8.13133 13.05C8.03708 11.572 6.85932 10.3942 5.38133 10.3C6.85932 10.2057 8.03708 9.02797 8.13133 7.54999Z" fill="currentColor"/>
<path d="M1 2C1 2.55229 1.44772 3 2 3C2.55228 3 3 2.55229 3 2C3 1.44771 2.55228 1 2 1C1.44772 1 1 1.44771 1 2Z" fill="currentColor" fill-opacity="0.6"/>
<path d="M22 23C21.4477 23 21 22.5523 21 22C21 21.4477 21.4477 21 22 21C22.5523 21 23 21.4477 23 22C23 22.5523 22.5523 23 22 23Z" fill="currentColor" fill-opacity="0.6"/>
</g>
<defs>
<clipPath id="clip0_249_49235">
<rect width="24" height="24" fill="currentColor"/>
</clipPath>
</defs>
</svg>