Add dark-mode colors to VM playground

This commit is contained in:
Tim Mickel 2016-06-01 14:00:46 -04:00
parent 1ab391281d
commit ed35ccfa86

View file

@ -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;