Skip to content
Snippets Groups Projects
Commit dbba2d9b authored by Jean-Marie PRIGENT's avatar Jean-Marie PRIGENT
Browse files

another test to update border color (theme)

parent 281d51c4
No related branches found
No related tags found
No related merge requests found
......@@ -88,10 +88,10 @@ function gotResult(error, results) {
document.body.style.backgroundImage = "linear-gradient(315deg, #00b712 0%, #5aff15 74%)";
}
if (label === "nail-biting"){
document.head.querySelector("meta[name=theme-color]").setAttribute("content", "#ff416c");
document.body.style.backgroundColor = "#ff416c";
document.body.style.backgroundImage = "linear-gradient(to right, #ff416c, #ff4b2b)";
document.body.style.borderColor = "#ff416c";
// Play sound trigger
// Play sound trigger
notifyAudio.play();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment