From ed35ccfa866b6dde538dccd7486543028aa24cd7 Mon Sep 17 00:00:00 2001 From: Tim Mickel Date: Wed, 1 Jun 2016 14:00:46 -0400 Subject: [PATCH] Add dark-mode colors to VM playground --- playground/playground.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/playground/playground.js b/playground/playground.js index 1b8b99523..89c5a7df7 100644 --- a/playground/playground.js +++ b/playground/playground.js @@ -6,7 +6,17 @@ window.onload = function() { var toolbox = document.getElementById('toolbox'); var workspace = window.Blockly.inject('blocks', { toolbox: toolbox, - media: '../node_modules/scratch-blocks/media/' + media: '../node_modules/scratch-blocks/media/', + colours: { + workspace: '#334771', + flyout: '#283856', + scrollbar: '#24324D', + scrollbarHover: '#0C111A', + insertionMarker: '#FFFFFF', + insertionMarkerOpacity: 0.3, + fieldShadow: 'rgba(255, 255, 255, 0.3)', + dragShadowOpacity: 0.6 + } }); window.workspace = workspace;