feat: koloreak aldatzen ditu
This commit is contained in:
1 parent
26bd3fba39
commit
35c032972e
2 files changed
+16
-14
No files matched your search
@@ -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)];
|
||||
|
||||
Reference in new issue
Block a user