@@ -26,20 +26,21 @@ 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_CLASS_BLOCKS = 'mrc_style_class_blocks'
29+ export const MRC_STYLE_CLASS_BLOCKS = 'mrc_style_class_blocks' ;
30+ export const MRC_CATEGORY_STYLE_METHODS = 'mrc_category_style_methods' ;
3031
3132export const add_mrc_styles = function ( theme : Blockly . Theme ) : Blockly . Theme {
3233 theme . setBlockStyle ( MRC_STYLE_FUNCTIONS , {
3334 colourPrimary : "#805ba5" ,
3435 colourSecondary : "#e6deed" ,
3536 colourTertiary : "#664984" ,
36- hat : ""
37+ hat : ""
3738 } ) ;
3839 theme . setBlockStyle ( MRC_STYLE_ENUM , {
3940 colourPrimary : "#5ba5a5" ,
4041 colourSecondary : "#deeded" ,
4142 colourTertiary : "#498484" ,
42- hat : ""
43+ hat : ""
4344 } ) ;
4445 theme . setBlockStyle ( MRC_STYLE_VARIABLES , {
4546 colourPrimary : "#5ba55b" ,
@@ -53,13 +54,17 @@ export const add_mrc_styles = function(theme : Blockly.Theme) : Blockly.Theme {
5354 colourTertiary :"#CDB6E9" ,
5455 hat :""
5556 } ) ;
56- theme . setBlockStyle ( MRC_STYLE_COMMENTS , {
57+ theme . setCategoryStyle ( MRC_CATEGORY_STYLE_METHODS , {
58+ colour : '#4A148C' ,
59+ } ) ;
60+
61+ theme . setBlockStyle ( MRC_STYLE_COMMENTS , {
5762 colourPrimary : "#5b5ba5" ,
5863 colourSecondary : "#dedeed" ,
5964 colourTertiary : "#494984" ,
6065 hat :""
6166 } ) ;
62- theme . setBlockStyle ( MRC_STYLE_MISC , {
67+ theme . setBlockStyle ( MRC_STYLE_MISC , {
6368 colourPrimary : "#5b5ba5" ,
6469 colourSecondary : "#dedeed" ,
6570 colourTertiary : "#494984" ,
0 commit comments