feat: koloreak aldatzen ditu

This commit is contained in:
txarli committed 2025-11-03 18:17:07 +01:00
1 parent 26bd3fba39
commit 35c032972e
2 files changed
+16 -14

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
<script is:inline>
let colors = ["#24d05a", "#eb4888", "#10a2f5", "#e9bc3f"];
let colors = ["var(--green)", "var(--pink)", "var(--blue)", "var(--yellow)"];
function getRandomColor() {
return colors[Math.floor(Math.random() * colors.length)];