Skip to content

Commit 29ae9de

Browse files
committed
fix: update SVG icon colors for error and success states
1 parent 91e5bff commit 29ae9de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/responseTemplate.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@
119119
var iconDiv = document.getElementById('icon');
120120
if(status === "error") {
121121
iconDiv.className = "icon-error";
122-
iconDiv.innerHTML = `<svg viewBox="0 0 54 54" fill="none"><circle cx="27" cy="27" r="27" fill="#fff" opacity="0.18"/><path d="M18 18L36 36M36 18L18 36" stroke="#ff5858" stroke-width="4" stroke-linecap="round"/></svg>`;
122+
iconDiv.innerHTML = `<svg viewBox="0 0 54 54" fill="none"><circle cx="27" cy="27" r="27" fill="#fff" opacity="0.18"/><path d="M18 18L36 36M36 18L18 36" stroke="#ffffff" stroke-width="4" stroke-linecap="round"/></svg>`;
123123
} else {
124124
iconDiv.className = "icon-success";
125-
iconDiv.innerHTML = `<svg viewBox="0 0 54 54" fill="none"><circle cx="27" cy="27" r="27" fill="#fff" opacity="0.18"/><path d="M16 28.5L24.5 37L38 20" stroke="#2c4b79" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>`;
125+
iconDiv.innerHTML = `<svg viewBox="0 0 54 54" fill="none"><circle cx="27" cy="27" r="27" fill="#fff" opacity="0.18"/><path d="M16 28.5L24.5 37L38 20" stroke="#ffffff" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/></svg>`;
126126
}
127127
</script>
128128
</body>

0 commit comments

Comments
 (0)