summaryrefslogtreecommitdiff
path: root/core/File.zig
diff options
context:
space:
mode:
Diffstat (limited to 'core/File.zig')
-rw-r--r--core/File.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/File.zig b/core/File.zig
index d54d5011..1a25975f 100644
--- a/core/File.zig
+++ b/core/File.zig
@@ -3659,7 +3659,7 @@ test "Syntax takes a text's ink off in this view and puts it back, and another v
const id = p.view().active;
var arena: std.heap.ArenaAllocator = .init(gpa);
defer arena.deinit();
- const plain: pardes.Color = if (p.theme().fg) |c| .{ .rgb = c } else .default;
+ const plain: pardes.Color = if (p.theme().text) |c| .{ .rgb = c } else .default;
var inks: [16]pardes.Color = undefined;
const Frame = struct {
fn take(q: *Pardes, a: *std.heap.ArenaAllocator, shown: *const Pane, at: usize, out: []pardes.Color) !void {