@@ -29,60 +29,62 @@ $p5-dark-number: #b5b5b5;
29
29
$p5-dark-selected : rgba (45 , 123 , 182 , 25 );
30
30
$p5-dark-activeline : rgb (207 , 207 , 207 );
31
31
32
+ $p5-dark-error : #df3a3d ;
33
+
32
34
.cm-s-p5-dark {
33
35
background-color : $p5-dark-black ;
34
36
color : $p5-dark-white ;
35
37
}
36
38
37
- .cm-s-p5-dark .cm-comment {
39
+ .cm-s-p5-dark span .cm-comment {
38
40
color : $p5-dark-gray ;
39
41
}
40
42
41
- .cm-s-p5-dark .cm-def {
43
+ .cm-s-p5-dark span .cm-def {
42
44
color : $p5-dark-lightblue ;
43
45
}
44
46
45
- .cm-s-p5-dark .cm-string {
47
+ .cm-s-p5-dark span .cm-string {
46
48
color : $p5-dark-green ;
47
49
}
48
50
49
- .cm-s-p5-dark .cm-string-2 {
51
+ .cm-s-p5-dark span .cm-string-2 {
50
52
color : $p5-dark-orange ;
51
53
}
52
54
53
- .cm-s-p5-dark .cm-number {
55
+ .cm-s-p5-dark span .cm-number {
54
56
color : $p5-dark-white ;
55
57
}
56
58
57
- .cm-s-p5-dark .cm-keyword {
59
+ .cm-s-p5-dark span .cm-keyword {
58
60
color : $p5-dark-goldbrown ;
59
61
}
60
62
61
- .cm-s-p5-dark .cm-variable {
63
+ .cm-s-p5-dark span .cm-variable {
62
64
color : $p5-dark-lightblue ;
63
65
}
64
66
65
- .cm-s-p5-dark .cm-variable-2 {
67
+ .cm-s-p5-dark span .cm-variable-2 {
66
68
color : $p5-dark-white ;
67
69
}
68
70
69
- .cm-s-p5-dark .cm-property {
71
+ .cm-s-p5-dark span .cm-property {
70
72
color : $p5-dark-white ;
71
73
}
72
74
73
- .cm-s-p5-dark .cm-atom {
75
+ .cm-s-p5-dark span .cm-atom {
74
76
color : $p5-dark-pink ;
75
77
}
76
78
77
- .cm-s-p5-dark .cm-operator {
79
+ .cm-s-p5-dark span .cm-operator {
78
80
color : $p5-dark-white ;
79
81
}
80
82
81
83
.cm-s-p5-dark .cm-linenumber {
82
84
color : $p5-dark-number ;
83
85
}
84
86
85
- .cm-s-p5-dark .CodeMirror-selected {
87
+ .cm-s-p5-dark div .CodeMirror-selected {
86
88
background-color : $p5-dark-selected ;
87
89
}
88
90
@@ -95,30 +97,30 @@ $p5-dark-activeline: rgb(207, 207, 207);
95
97
border-right : 1px solid #949494 ;
96
98
}
97
99
98
- .cm-s-p5-dark .cm-error {
99
- color : #df3a3d ;
100
- }
101
-
102
- .cm-s-p5-dark .CodeMirror-matchingbracket {
100
+ .cm-s-p5-dark span .CodeMirror-matchingbracket {
103
101
outline : 1px solid $p5-dark-gray ;
104
102
outline-offset : 1px ;
105
103
color : $p5-dark-white !important ;
106
104
}
107
105
108
- .cm-s-p5-dark .cm-qualifier {
106
+ .cm-s-p5-dark span .cm-qualifier {
109
107
color : $p5-dark-lightblue ;
110
108
}
111
109
112
- .cm-s-p5-dark .cm-tag {
110
+ .cm-s-p5-dark span .cm-tag {
113
111
color : $p5-dark-pink ;
114
112
}
115
113
116
- .cm-s-p5-dark .cm-builtin {
114
+ .cm-s-p5-dark span .cm-error {
115
+ color : $p5-dark-error ;
116
+ }
117
+
118
+ .cm-s-p5-dark span .cm-builtin {
117
119
color : $p5-dark-lightblue ;
118
120
font-weight : bold ;
119
121
}
120
122
121
- .cm-s-p5-dark .cm-attribute {
123
+ .cm-s-p5-dark span .cm-attribute {
122
124
color : $p5-dark-lightblue ;
123
125
}
124
126
0 commit comments