File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
jjava/src/main/java/org/dflib/jjava
jupyter-jvm-basekernel/src/main/java/org/dflib/jjava/jupyter/kernel Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -146,12 +146,12 @@ public JavaKernel(String version) {
146
146
);
147
147
148
148
this .errorStyler = new StringStyler .Builder ()
149
- .addPrimaryStyle (TextColor .BOLD_BLACK_FG )
149
+ .addPrimaryStyle (TextColor .BOLD_RESET_FG )
150
150
.addSecondaryStyle (TextColor .BOLD_RED_FG )
151
- .addHighlightStyle (TextColor .BOLD_BLACK_FG )
151
+ .addHighlightStyle (TextColor .BOLD_RESET_FG )
152
152
.addHighlightStyle (TextColor .RED_BG )
153
153
//TODO map snippet ids to code cells and put the proper line number in the margin here
154
- .withLinePrefix (TextColor .BOLD_BLACK_FG + "| " )
154
+ .withLinePrefix (TextColor .BOLD_RESET_FG + "| " )
155
155
.build ();
156
156
157
157
this .mavenResolver .initImplicitExtensions ();
Original file line number Diff line number Diff line change @@ -107,9 +107,9 @@ public BaseKernel(Charset charset) {
107
107
Text .registerAll (this .renderer );
108
108
109
109
this .errorStyler = new StringStyler .Builder ()
110
- .addPrimaryStyle (TextColor .BOLD_BLACK_FG )
110
+ .addPrimaryStyle (TextColor .BOLD_RESET_FG )
111
111
.addSecondaryStyle (TextColor .BOLD_RED_FG )
112
- .addHighlightStyle (TextColor .BOLD_BLACK_FG )
112
+ .addHighlightStyle (TextColor .BOLD_RESET_FG )
113
113
.addHighlightStyle (TextColor .RED_BG )
114
114
.build ();
115
115
}
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ public enum TextColor {
32
32
WHITE_BG (47 ),
33
33
RESET_BG (49 ),
34
34
35
+ BOLD_RESET_FG (39 , 1 ),
36
+
35
37
BOLD (1 ),
36
38
UNDERLINE (4 ),
37
39
SWAP_FG_BG (7 ),
You can’t perform that action at this time.
0 commit comments