DARK Color Implemented

This commit is contained in:
Luis Fernando Molina committed 2018-06-01 12:01:53 +02:00
1 parent 6fa85b1a67
commit c436cad762
3 files changed
+10 -2

No files matched your search

+8
View File
@@ -1,5 +1,13 @@
/* User Interface Colors */
UI_COLOR = {
DARK: "48, 48, 54",
LIGHT: "234, 226, 222"
};
/* Callbacks default responses. */
let GLOBAL = {};
+1 -1
View File
@@ -67,7 +67,7 @@ function newBottomSpace() {
browserCanvasContext.beginPath();
browserCanvasContext.rect(zeroPoint.x, zeroPoint.y + breakpointsHeight, zeroPoint.x + thisObject.container.frame.width, zeroPoint.y + thisObject.container.frame.height - breakpointsHeight);
browserCanvasContext.fillStyle = 'rgba(0, 0, 0, ' + opacity + ')';
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.DARK + ', ' + opacity + ')';
browserCanvasContext.closePath();
+1 -1
View File
@@ -107,7 +107,7 @@ function newTopSpace() {
browserCanvasContext.beginPath();
browserCanvasContext.rect(0, 0, thisObject.container.frame.width, thisObject.container.frame.height);
browserCanvasContext.fillStyle = 'rgba(0, 0, 0, ' + opacity + ')';
browserCanvasContext.fillStyle = 'rgba(' + UI_COLOR.DARK + ', ' + opacity + ')';
browserCanvasContext.closePath();