We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00220e3 commit f272f65Copy full SHA for f272f65
1 file changed
src/webpage/editor/line.ts
@@ -89,7 +89,7 @@ class Line {
89
}
90
j++;
91
92
- ctx.fillStyle = "black";
+ ctx.fillStyle = theme === "dark" ? "white" : "black";
93
if (drawCursors) {
94
for (const cursor of cursors) {
95
ctx.fillRect(x + this.moveCursor(cursor, 0) * charWidth, y, 1, this.owner.fontSize);
0 commit comments