@@ -26,20 +26,21 @@ export const MRC_STYLE_ENUM = 'mrc_style_enum';
26
26
export const MRC_STYLE_VARIABLES = 'mrc_style_variables' ;
27
27
export const MRC_STYLE_COMMENTS = 'mrc_style_comments' ;
28
28
export 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' ;
30
31
31
32
export const add_mrc_styles = function ( theme : Blockly . Theme ) : Blockly . Theme {
32
33
theme . setBlockStyle ( MRC_STYLE_FUNCTIONS , {
33
34
colourPrimary : "#805ba5" ,
34
35
colourSecondary : "#e6deed" ,
35
36
colourTertiary : "#664984" ,
36
- hat : ""
37
+ hat : ""
37
38
} ) ;
38
39
theme . setBlockStyle ( MRC_STYLE_ENUM , {
39
40
colourPrimary : "#5ba5a5" ,
40
41
colourSecondary : "#deeded" ,
41
42
colourTertiary : "#498484" ,
42
- hat : ""
43
+ hat : ""
43
44
} ) ;
44
45
theme . setBlockStyle ( MRC_STYLE_VARIABLES , {
45
46
colourPrimary : "#5ba55b" ,
@@ -53,13 +54,17 @@ export const add_mrc_styles = function(theme : Blockly.Theme) : Blockly.Theme {
53
54
colourTertiary :"#CDB6E9" ,
54
55
hat :""
55
56
} ) ;
56
- theme . setBlockStyle ( MRC_STYLE_COMMENTS , {
57
+ theme . setCategoryStyle ( MRC_CATEGORY_STYLE_METHODS , {
58
+ colour : '#4A148C' ,
59
+ } ) ;
60
+
61
+ theme . setBlockStyle ( MRC_STYLE_COMMENTS , {
57
62
colourPrimary : "#5b5ba5" ,
58
63
colourSecondary : "#dedeed" ,
59
64
colourTertiary : "#494984" ,
60
65
hat :""
61
66
} ) ;
62
- theme . setBlockStyle ( MRC_STYLE_MISC , {
67
+ theme . setBlockStyle ( MRC_STYLE_MISC , {
63
68
colourPrimary : "#5b5ba5" ,
64
69
colourSecondary : "#dedeed" ,
65
70
colourTertiary : "#494984" ,
0 commit comments