Fix theme and add example (#3988)

This commit is contained in:
alschmiedt
2020-06-29 11:00:22 -07:00
committed by GitHub
parent bd887665b8
commit 5c4677010c
2 changed files with 4 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ Blockly.Themes.Dark = Blockly.Theme.defineTheme('dark', {
'base': Blockly.Themes.Classic,
'componentStyles': {
'workspaceBackgroundColour': '#1e1e1e',
'toolboxBackgroundColour': '#333',
'toolboxBackgroundColour': 'blackBackground',
'toolboxForegroundColour': '#fff',
'flyoutBackgroundColour': '#252526',
'flyoutForegroundColour': '#ccc',
@@ -27,6 +27,7 @@ Blockly.Themes.Dark = Blockly.Theme.defineTheme('dark', {
'insertionMarkerColour': '#fff',
'insertionMarkerOpacity': 0.3,
'scrollbarOpacity': 0.4,
'cursorColour': '#d0d0d0'
'cursorColour': '#d0d0d0',
'blackBackground': '#333'
}
});