mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-07 11:04:38 -04:00
Merge pull request #54 from tmickel/feature/playground-dark
Add dark-mode colors to VM playground
This commit is contained in:
commit
9006b4450f
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…
Add table
Add a link
Reference in a new issue