/**
* @license
* Copyright 2020 Sébastien CANET
* SPDX-License-Identifier: GPL-3.0-or-later
*/

/**
 * @fileoverview Blockly themes add on for blocks design.
 * @author scanet@libreduc.cc (Sébastien CANET)
 */

//Classic theme

Blockly.Themes.Classic.blockStyles['delay_blocks'] = {
    "colourPrimary": "#44666b"
};
Blockly.Themes.Classic.blockStyles['io_blocks'] = {
    "colourPrimary": "#07709A"
};
Blockly.Themes.Classic.blockStyles['io_util_blocks'] = {
    "colourPrimary": "#6e6b3f"
};
Blockly.Themes.Classic.blockStyles['serial_blocks'] = {
    "colourPrimary": "#6e7682"
};
Blockly.Themes.Classic.blockStyles['rtc_blocks'] = {
    "colourPrimary": "#91C11E"
};
Blockly.Themes.Classic.blockStyles['sensors_blocks'] = {
    "colourPrimary": "#F4A261"
};
Blockly.Themes.Classic.blockStyles['actuators_blocks'] = {
    "colourPrimary": "#4169E1"
};
Blockly.Themes.Classic.blockStyles['lcd_blocks'] = {
    "colourPrimary": "#9370DB"
};

//Dark theme
Blockly.Themes.Dark.blockStyles['delay_blocks'] = {
    "colourPrimary": "#44666b",
    "colourSecondary": "#5a7c84",
    "colourTertiary": "#2e4a50"
};
Blockly.Themes.Dark.blockStyles['io_blocks'] = {
    "colourPrimary": "#07709A",
    "colourSecondary": "#0a88b8",
    "colourTertiary": "#04566f"
};
Blockly.Themes.Dark.blockStyles['io_util_blocks'] = {
    "colourPrimary": "#6e6b3f",
    "colourSecondary": "#85824f",
    "colourTertiary": "#4c4a2d"
};
Blockly.Themes.Dark.blockStyles['serial_blocks'] = {
    "colourPrimary": "#6e7682",
    "colourSecondary": "#828a96",
    "colourTertiary": "#555b66"
};
Blockly.Themes.Dark.blockStyles['rtc_blocks'] = {
    "colourPrimary": "#91C11E",
    "colourSecondary": "#dbbdd6",
    "colourTertiary": "#84497a"
};
Blockly.Themes.Dark.blockStyles['sensors_blocks'] = {
    "colourPrimary": "#F4A261",
    "colourSecondary": "#FFCC9A",
    "colourTertiary": "#C97B34"
};
Blockly.Themes.Dark.blockStyles['actuators_blocks'] = {
    "colourPrimary": "#4169E1",
    "colourSecondary": "#879BF4",
    "colourTertiary": "#2F4F90"
};
Blockly.Themes.Dark.blockStyles['lcd_blocks'] = {
    "colourPrimary": "#9370DB",
    "colourSecondary": "#B39DDB",
    "colourTertiary": "#6A5ACD"
};