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

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

//Classic Theme
Blockly.Themes.Classic.categoryStyles['delay_category'] = {
    "colour": "#44666b"
};
Blockly.Themes.Classic.categoryStyles['io_category'] = {
    "colour": "#07709A"
};
Blockly.Themes.Classic.categoryStyles['io_util_category'] = {
    "colour": "#6e6b3f"
};
Blockly.Themes.Classic.categoryStyles['interface_category'] = {
    "colour": "#88909c"
};
Blockly.Themes.Classic.categoryStyles['serial_category'] = {
    "colour": "#6e7682"
};
Blockly.Themes.Classic.categoryStyles['rtc_category'] = {
    "colour": "#91C11E"
};
Blockly.Themes.Classic.categoryStyles['sensors_category'] = {
    "colour": "#F4A261"
};
Blockly.Themes.Classic.categoryStyles['actuators_category'] = {
    "colour": "#4169E1"
};
Blockly.Themes.Classic.categoryStyles['display_category'] = {
    "colour": "#9370DB"
};
Blockly.Themes.Classic.categoryStyles['lcd_category'] = {
    "colour": "#9370DB"
};

//Dark Theme
Blockly.Themes.Dark.categoryStyles['delay_category'] = {
    "colour": "#44666b"
};
Blockly.Themes.Dark.categoryStyles['io_category'] = {
    "colour": "#07709A"
};
Blockly.Themes.Dark.categoryStyles['io_util_category'] = {
    "colour": "#6e6b3f"
};
Blockly.Themes.Dark.categoryStyles['interface_category'] = {
    "colour": "#88909c"
};
Blockly.Themes.Dark.categoryStyles['serial_category'] = {
    "colour": "#6e7682"
};
Blockly.Themes.Dark.categoryStyles['rtc_category'] = {
    "colour": "#91C11E"
};
Blockly.Themes.Dark.categoryStyles['sensors_category'] = {
    "colour": "#F4A261"
};
Blockly.Themes.Dark.categoryStyles['display_category'] = {
    "colour": "#9370DB"
};
Blockly.Themes.Dark.categoryStyles['lcd_category'] = {
    "colour": "#9370DB"
};
Blockly.Themes.Dark.categoryStyles['actuators_category'] = {
    "colour": "#4169E1"
};