mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Add dark-mode colors to VM playground
This commit is contained in:
parent
1ab391281d
commit
ed35ccfa86
1 changed files with 11 additions and 1 deletions
|
@ -6,7 +6,17 @@ window.onload = function() {
|
||||||
var toolbox = document.getElementById('toolbox');
|
var toolbox = document.getElementById('toolbox');
|
||||||
var workspace = window.Blockly.inject('blocks', {
|
var workspace = window.Blockly.inject('blocks', {
|
||||||
toolbox: toolbox,
|
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;
|
window.workspace = workspace;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue