changed a few colors

This commit is contained in:
MonkeyGG2
2023-08-09 16:50:51 +05:30
parent 5e3a1c4ff5
commit 83f87c851f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ section {
} }
.hexagonGrid .row .hexagon:hover::before { .hexagonGrid .row .hexagon:hover::before {
background: #3dd429; background: #72acb1;
opacity: 1; opacity: 1;
transition: 0s; transition: 0s;
} }
+2 -2
View File
@@ -59,7 +59,7 @@ class Particle {
draw() { draw() {
ctx.beginPath(); ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false); ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2, false);
ctx.fillStyle = '#72C100'; ctx.fillStyle = '#a3f6fd';
ctx.fill(); ctx.fill();
} }
@@ -108,7 +108,7 @@ function init() {
let y = (Math.random() * ((innerWidth - size * 2) - (size * 2)) + size * 2); let y = (Math.random() * ((innerWidth - size * 2) - (size * 2)) + size * 2);
let directionX = (Math.random() * 5) - 2.5; let directionX = (Math.random() * 5) - 2.5;
let directionY = (Math.random() * 5) - 2.5; let directionY = (Math.random() * 5) - 2.5;
let color = '#72C100'; let color = '#a3f6fd';
particlesArray.push(new Particle(x, y, directionX, directionY, size, color)); particlesArray.push(new Particle(x, y, directionX, directionY, size, color));
} }
} }