blob: ac89905e6a62d3ecf4d215da3c8173718aa175f6 (
about) (
plain) (
blame)
1
2
3
4
5
|
function color() {
var svg = document.querySelector(".logo").getSVGDocument();
svg.getElementById("dark-1").setAttribute("stop-color", document.getElementById("color1").value);
svg.getElementById("dark-2").setAttribute("stop-color", document.getElementById("color2").value);
}
|