diff --git a/src/landing_page.css b/src/landing_page.css index 48a92aa..3a6bf1c 100644 --- a/src/landing_page.css +++ b/src/landing_page.css @@ -9,5 +9,5 @@ top: 0; left: 0; width: 100%; height: 100%; - background: #2c306d; + background: #1e3648; } diff --git a/src/script.js b/src/script.js index de59a07..97ad323 100644 --- a/src/script.js +++ b/src/script.js @@ -32,7 +32,7 @@ class Particle{ draw(){ ctx.beginPath(); ctx.arc(this.x, this.y, this.size, 0, Math.PI*2, false); - ctx.fillStyle = '#ffff'; + ctx.fillStyle = '#d5d9be'; ctx.fill(); } @@ -77,7 +77,7 @@ function init(){ let y = (Math.random() * ((innerHeight - size * 2)- (size * 2)) + size * 2); let directionX = (Math.random() * 5) - 2.5; let directionY = (Math.random() * 5) - 2.5; - let color = '#8C5523'; + let color = '#aebabb'; particlesArray.push(new Particle(x, y, directionX, directionY, size, color)); } @@ -93,7 +93,7 @@ function connect(){ (particlesArray[a].y - particlesArray[b].y)); if (distance < (canvas.width/7) * (canvas.height/7)){ opacityValue = 1 - (distance/20000); - ctx.strokeStyle = 'rgba(140,85,31,1' + opacityValue + ')'; + ctx.strokeStyle = 'rgba(42,78,92,' + opacityValue + ')'; ctx.lineWidth = 1; ctx.beginPath(); ctx.moveTo(particlesArray[a].x, particlesArray[a].y);