mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
34 lines
813 B
JavaScript
34 lines
813 B
JavaScript
/**
|
|
* @license
|
|
* Copyright 2019 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @fileoverview Dark theme.
|
|
* @author samelh@google.com (Sam El-Husseini)
|
|
*/
|
|
'use strict';
|
|
|
|
goog.provide('Blockly.Themes.Dark');
|
|
|
|
goog.require('Blockly.Theme');
|
|
|
|
Blockly.Themes.Dark = Blockly.Theme.defineTheme('dark', {
|
|
'base': Blockly.Themes.Classic,
|
|
'componentStyles': {
|
|
'workspaceBackgroundColour': '#1e1e1e',
|
|
'toolboxBackgroundColour': 'blackBackground',
|
|
'toolboxForegroundColour': '#fff',
|
|
'flyoutBackgroundColour': '#252526',
|
|
'flyoutForegroundColour': '#ccc',
|
|
'flyoutOpacity': 1,
|
|
'scrollbarColour': '#797979',
|
|
'insertionMarkerColour': '#fff',
|
|
'insertionMarkerOpacity': 0.3,
|
|
'scrollbarOpacity': 0.4,
|
|
'cursorColour': '#d0d0d0',
|
|
'blackBackground': '#333'
|
|
}
|
|
});
|