feat: add automatic dark/light mode support

This adds a new configuration option `light_theme` and support for automatically
switching the active dark/light theme from terminal events.

closes #302
This commit is contained in:
CJ van den Berg 2025-09-27 23:21:03 +02:00
parent 1ade0b1b89
commit a5d3eb18f3
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
3 changed files with 68 additions and 22 deletions

View file

@ -2,6 +2,7 @@ const builtin = @import("builtin");
frame_rate: usize = 60,
theme: []const u8 = "default",
light_theme: []const u8 = "default-light",
input_mode: []const u8 = "flow",
gutter_line_numbers_mode: ?LineNumberMode = null,
gutter_line_numbers_style: DigitStyle = .ascii,