let icon = document.querySelector(".some-icon");
let text = icon.querySelector("text tspan");
let path = icon.querySelector("path");
text.addEventListener("mouseenter", function() {
path.style.fill = "red";
});
text.addEventListener("mouseleave", function() {
path.style.fill = "#626262";
});
path.addEventListener("mouseenter", function() {
text.style.fill = "green";
});
path.addEventListener("mouseleave", function() {
text.style.fill = "#626262";
});