diff --git a/Bundle/CoreBundle/Resources/public/js/constellations/constellations.js b/Bundle/CoreBundle/Resources/public/js/constellations/constellations.js index 38ec20c11..53a74c072 100644 --- a/Bundle/CoreBundle/Resources/public/js/constellations/constellations.js +++ b/Bundle/CoreBundle/Resources/public/js/constellations/constellations.js @@ -63,7 +63,7 @@ // assign a circle to each point for(var i in points) { - var c = new Circle(points[i], 2+Math.random()*2, 'rgba(255,255,255,0.3)'); + var c = new Circle(points[i], 2+Math.random()*2, 'rgba(4,191,150,0.3)'); points[i].circle = c; } } @@ -153,7 +153,7 @@ ctx.beginPath(); ctx.moveTo(p.x, p.y); ctx.lineTo(p.closest[i].x, p.closest[i].y); - ctx.strokeStyle = 'rgba(255,255,255,'+ p.active+')'; + ctx.strokeStyle = 'rgba(4,191,150,'+ p.active+')'; ctx.stroke(); } } @@ -172,7 +172,7 @@ if(!_this.active) return; ctx.beginPath(); ctx.arc(_this.pos.x, _this.pos.y, _this.radius, 0, 2 * Math.PI, false); - ctx.fillStyle = 'rgba(255,255,255,'+ _this.active+')'; + ctx.fillStyle = 'rgba(4,191,150,'+ _this.active+')'; ctx.fill(); }; }