added simple JS to randomise colour on page open

This commit is contained in:
2023-09-11 11:01:26 +02:00
parent a119b7e847
commit a1cb599978
4 changed files with 5 additions and 2 deletions

1
assets/js/color.js Normal file
View File

@@ -0,0 +1 @@
document.getElementsByClassName('screen-content')[0].style.filter = "sepia(94%) hue-rotate("+Math.floor(Math.random()*360)+"deg) saturate(7) brightness(100%)"