@@ -26,6 +26,7 @@ export const MRC_STYLE_ENUM = 'mrc_style_enum';
2626export const MRC_STYLE_VARIABLES = 'mrc_style_variables' ;
2727export const MRC_STYLE_COMMENTS = 'mrc_style_comments' ;
2828export const MRC_STYLE_MISC = 'mrc_style_misc' ;
29+ export const MRC_STYLE_NONE = 'mrc_style_none' ;
2930export const MRC_STYLE_CLASS_BLOCKS = 'mrc_style_class_blocks' ;
3031export const MRC_CATEGORY_STYLE_METHODS = 'mrc_category_style_methods' ;
3132export const MRC_STYLE_MECHANISMS = 'mrc_style_mechanisms' ;
@@ -38,6 +39,7 @@ export const MRC_CATEGORY_STYLE_COMPONENTS = 'mrc_category_style_components';
3839export const add_mrc_styles = function ( theme : Blockly . Theme ) : Blockly . Theme {
3940 const procedureStyle = theme . blockStyles [ 'procedure_blocks' ] ;
4041 const variableStyle = theme . blockStyles [ 'variable_blocks' ] ;
42+ const logicStyle = theme . blockStyles [ 'logic_blocks' ] ;
4143
4244 theme . setBlockStyle ( MRC_STYLE_FUNCTIONS , {
4345 ...procedureStyle
@@ -74,12 +76,14 @@ export const add_mrc_styles = function (theme: Blockly.Theme): Blockly.Theme {
7476 colourTertiary : "#494984" ,
7577 hat : ""
7678 } ) ;
79+ theme . setBlockStyle ( MRC_STYLE_NONE , {
80+ ...logicStyle
81+ } ) ;
7782 theme . setBlockStyle ( MRC_STYLE_MECHANISMS , {
7883 colourPrimary : "#5b61a5" ,
7984 colourSecondary : "#dedfed" ,
8085 colourTertiary : "#494e84" ,
8186 hat : ""
82-
8387 } ) ;
8488 theme . setBlockStyle ( MRC_STYLE_COMPONENTS , {
8589 colourPrimary : "#5b80a5" ,
0 commit comments